/* ==========================================================================
   Public
============================================================================= */
@import url('../fontawesome-free-7.3.1-web/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap'); /*思源黑體 */

html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html {
  --fs-user: 1;   /* 切換鈕決定 */
  --fs-view: 1;   /* 螢幕寬度決定 */
  font-size: calc(100% * var(--fs-user) * var(--fs-view));
}
/*
html[data-font-size="small"] { --fs-user: 0.875; }
html[data-font-size="large"] { --fs-user: 1.25; }
*/
html[data-font-size="small"] { --fs-user: 0.875; }
html[data-font-size="large"] { --fs-user: 1.1; }

/* 768px 以上到 1399px */
@media (min-width: 48em) {
  html { --fs-view: 1; }
}

/* 1400px 以上 */
@media (min-width: 87.5em) {
  html { --fs-view: 1.125; }
}


body {
    margin:0;
	font-family:Arial, sans-serif;
    font-size:1rem;
    line-height:1.6;
	letter-spacing:0.08em;
    color:var(--text);
    background:var(--bg) url("../img/bg.png");
	background-size:100%;
    overflow-wrap:break-word;
    line-break:strict;
  }

:focus-visible {
	outline: 3px solid var(--focus);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #000;
}


.skip {
    position: absolute;
    left: 0.5rem;
    top: -4rem;
    padding: 0.75rem 1rem;
    background: #000;
    color: #fff;
    z-index: 100;
}
.skip:focus { top: 0.5rem; }


img {
	display:inline-block;
	border:none;
	vertical-align:middle;
}


a {
	display:inline-block;
	text-decoration:underline;
    transition: all 300ms ease-in-out;
}


::placeholder { color:#555; font-size:90%; }
:focus::placeholder { color:#FFF; }


/* ==== DETAILS ANIMATION (可整段刪除) ====
   interpolate-size / ::details-content / allow-discrete
   W3C CSS validator 會報 error。驗收被擋就刪掉這整段，
   退化成瞬間展開收合，不影響內容與功能。 */
   
:root { interpolate-size:allow-keywords; }

details::details-content {
  block-size: 0;
  overflow: clip;
  transition:
    block-size 0.5s ease,
    content-visibility 0.5s allow-discrete;
}

details[open]::details-content {
  block-size: auto;
}

@media (prefers-reduced-motion: reduce) {
  details::details-content {
    transition: none;
  }
}
/* ==== /DETAILS ANIMATION ==== */


.guide {
	position:absolute;
	top:0; left:2px;
	font-size:0.8vw;
	font-family:Arial;
	text-decoration:none;
}


@media (max-width:63.99em) {
	.icon_guide { display:none; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);  /* 加這個,clip 已經 deprecated */
    white-space: nowrap;     /* 防止內容換行影響佈局 */
    border: 0;
}

.sr-only-focusable:focus,
.sr-only-focusable:focus-within {  /* focus-within 處理內部元素獲得焦點 */
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
}



/* header
---------------------------------------------------------------- */
header {
	position:relative;
	display:grid;
	grid-template-columns: 1fr 2.5fr;
	border-bottom:#a3a3a3 1px solid;
}

header h1 {
	display:flex;
    align-items:center;
	text-align:center;
	border-right:#a3a3a3 1px solid;
}
header h1 img { width:80%; }

header .link { font-size:80%; text-align:right; margin-top:0.5rem; }
header .link a:is(:hover, :focus) { color:var(--hover); }

header .link div { display:inline-block; }

header .link div:first-child { padding-right:0.6rem; }
header .link div:first-child a { margin:0 0.2rem; }

header .top_search {
	border:#757575 1px solid;
	border-radius:99em;
	padding-right:0.6rem;
	margin-left:0.6rem;
}
header .top_search:focus-within {
	background:#333;
}

header .top_search:focus-within a { color:#d4cd08; }
header .top_search:focus-within input { color:#FFF; }
header .top_search:focus-within input::placeholder { color:#FFF; }

header .top_search input {
	border:none;
	background-color:transparent;
	border-radius:99em 0 0 99em;
	padding:0.3rem 1rem;
}

header .top_search input:focus {
	border:0;
	outline:0;
	font:inherit;
	box-shadow: none;
	color:#FFF;
}
header .top_search a:focus {
	outline: 3px solid #ee7777;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #ee7777;
}

header .link div:last-child { vertical-align:middle; }
header .link div:last-child a {	display:block; font-size:80%; }


/* ---- 字級切換 ---- */
.fs-switch { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0; border: 0; }
/*.fs-switch legend { float: left; padding: 0; margin-right: 0.5rem; }*/
.fs-switch .btns { display: flex; gap: 0.25rem; }
.fs-switch button {
    min-width: 1.75rem; min-height: 1.75rem;
    padding: 0.25rem 0.5rem;
    /*font: inherit;*/
    color:#000;
    background:#ececec;
    border-radius:99em;
    cursor: pointer;
	background:#ececec;
}
.fs-switch button[aria-pressed="true"] {
    background:#575757;
    color:#FFF;
    font-weight:700;
    text-decoration:none;
 }

.fs-switch button:hover { background:var(--hover); color:#FFF; }


header .pc_menu {
	font-size:115%;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	font-weight:600;
	text-align:right;
	border-top:#a3a3a3 1px solid;
	margin-top:0.4rem;
}

header .pc_menu a { color:#222; margin:0.5rem 0 0.5rem 2.5rem; text-decoration:none; }
header .pc_menu a:is(:hover, :focus) { color:var(--hover); }

header .link, header .pc_menu { padding-right:5rem; }

@media (max-width:87.5em) {
	header .link, header .pc_menu { padding-right:2rem; }
	header .pc_menu a { margin:0.5rem 0 0.5rem 2rem; }
}

@media (max-width:64em) { /*1024*/
	header { display:none; }
}




/* banner
-----------------------------------------------------------------------------*/
.banner { width:100%; }
.banner img { width:100%; }

@media (max-width:64em) {
	.banner { aspect-ratio:10 / 2.3; overflow:hidden; }
	.banner img { transform:scale(1.4); transform-origin: 50% 0;  }
}



/* content
------------------------------------------------------------------------------ */
main {
	position:relative;
	width:90%;
	min-height:30vh;
	max-width:87.5rem;
	margin-inline:auto;
	margin-bottom:5rem;
}
@media (max-width: 48em) {
    main { width:85%; }
}

/*
.breadcrumb { font-size:75%; color:#8a3939; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.breadcrumb i { color:#a77cd0; padding-right:5px;}
.breadcrumb a { color:#222; }
.breadcrumb a:hover, .breadcrumb a:focus { color:var(--hover); }

@media (max-width:64em) {
	.breadcrumb { display:none; }
}
*/

.breadcrumb { font-size:80%; margin-bottom:1rem; }

.breadcrumb i { color:#a77cd0; padding-right:5px;}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.5;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "";
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  margin-inline: 0.35rem 0.35rem;
  border-top: 2px solid #aaa;
  border-right: 2px solid #aaa;
  transform: rotate(45deg);
}

.breadcrumb a {
  color: #0b5cad;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.breadcrumb a:hover {
  text-decoration-thickness: 2px;
}

.breadcrumb a:focus-visible {
  outline: 3px solid #0b5cad;
  outline-offset: 2px;
  border-radius: 2px;
}

.breadcrumb [aria-current="page"] {
  color:#1f2937;
  font-weight: 600;
}

@media (max-width:47.9em) {
	.breadcrumb { margin:0.5rem 0 1.2rem; }
}


.share_link { width:100%; text-align:right; }
.share_link li { display:inline-block; font-size:250%; }
.share_link li:nth-child(1) a { color:#3b5998; }
.share_link li:nth-child(2) a { color:#222; }
.share_link li:nth-child(3) a { position:relative; color:#40822a; font-size:90%; bottom:2px; }
.share_link li a:hover, .share_link li a:focus { color:#d02404; box-shadow:none; outline:none; }

@media (max-width:64em) {
	.share_link li { font-size:260%; }
}

.wrap {
	display:grid;
	grid-template-columns:1fr 3.5fr;
	gap:5rem;
	margin-top:0.5rem;
}
.wrap div:last-child { min-width:0; }

.sub_menu {
	background:var(--pink);
	border-radius:1rem;
	padding:0 0.2rem 0.2rem;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	box-shadow:rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.sub_menu h2 {
	text-align:center;
	color:var(--pink-text);
	font-size:140%;
	padding:0.5rem 0;
	font-weight:600;
}

.sub_menu li a {
	display:block;
	padding:0.8rem 1.2rem;
	background:#FFF;
	border-bottom:var(--pink) 1px solid;
	text-decoration:none;
	color:var(--blue-text);
}

.sub_menu li a span {
	display:inline-block;
	text-indent:-0.9rem;
	margin-left:1.3rem;
}
.sub_menu li a span i { margin-right:-0.35rem; }

.sub_menu li:last-child a { border-radius:0 0 1rem 1rem; }
.sub_menu li a:is(:hover, :focus) { background:#ececec; }
.sub_menu li a i { color:#bc909b; }

.sub_menu li .action { background:#bbe1ea; color:#0d4b58; }

@media (min-width:87.5em) {
	.wrap { grid-template-columns:1fr 4fr; }
}
@media (max-width:64em) {
	.wrap { grid-template-columns:1fr; }
	aside { display:none; }
}


.h3 {
	color:var(--h-text);
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	font-weight:600;
	font-size:140%;
	border-left:#efbbc7 2px solid;
	padding-left:3px;
	line-height:100%;
	letter-spacing:0.2rem;
	margin-bottom:1.3rem;
}
h3 { border-left:#efbbc7 5px solid; padding-left:0.9rem; }

.content p { padding-bottom:0.7rem; }
.content p a { text-decoration-thickness:1px; text-underline-offset:5px;  }
.content p a:is(:hover, :focus) { color:var(--important); }
.content img { max-width:100%; }
.content .i_text { color:var(--important); font-weight:600; }
.content ul { padding-left:2.5rem; margin-bottom:1rem; }
.content ul li ul { padding-left:1.5rem; }

.content h4 {
	color:var(--h-text);
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	font-weight:600;
	font-size:120%;
	margin-bottom:0.6rem;
}
.content h4 img { width:2.2rem; vertical-align:text-bottom; margin-right:5px; }

.p_line { height:1px; border-bottom:var(--pink) 1px solid; margin:0.5rem 0 1rem; }

.list_search { text-align:center; }
.list_search input { padding:0.3rem 0.5rem; }
.list_search select { padding:0.6rem 0.5rem;}
.list_search a { text-decoration:none; }
.list_search a i { margin-right:0.2rem; }

.list_search .keyword { display:inline-block; }
.list_search .keyword a { padding:0.5rem; background-color:var(--blue); color:var(--blue-text); border-radius:5px; margin-left:5px; }
.list_search .keyword a:is(:hover, :focus) { background-color:var(--hover); color:#FFF; }

.list_search .add { display:inline-block; }
.list_search .add a { padding:0.5rem; background-color:var(--pink); color:var(--pink-text); border-radius:5px; }
.list_search .add a:is(:hover, :focus) { background-color:var(--hover); color:#FFF; }

.list_search .day { text-align:center; }

.list_search .year { text-align:center; }

.list_search .rss { display:inline-block; }
.list_search .rss a { padding:0.5rem; background-color:var(--green); color:var(--green-text); border-radius:5px; margin:0.3rem; }
.list_search .rss a:is(:hover, :focus) { background-color:var(--hover); color:#FFF; }

.list_search .category { display:inline-block; }
.list_search .category select { padding:0.53rem; }


@media (max-width:47.9em) {
	.list_search .keyword { display:block; }
	.list_search .keyword input { width:calc(100% - 5rem - 5px); }
	.list_search .keyword a { width:5rem; text-align:center; }
	.list_search .add { display:block; }
	.list_search .add a { width:100%; margin-top:8px; }
	.list_search .day input[type="date"] { width:45%; }
	.list_search .year select { width:100%; text-align:center; }
	.list_search .rss { width:100%; margin:10px 0 5px; }
	.list_search .rss a { width:calc((100% - 0.5rem) / 2); margin:0; text-align:center; }
	.list_search .rss a:first-child { margin-right:0.5rem; }
	.list_search .category { display:block; }
	.list_search .category select { width:100%; text-align:center; margin-bottom:8px; }
}

.content_download {
	border-top:#bbb 1px dashed; padding-top:1rem; margin-top:1rem;
}

.content_download ul { margin-bottom:1rem; padding-left:0; }
.content_download li { display:inline-block; }
.content_download li a {
	display:block;
	background-color:var(--blue);
	color:var(--blue-text);
	text-decoration:none;
	border-radius:99em;
	padding:0.6rem 1rem;
	margin:0 0.3rem 0.6rem 0;
}
.content_download li a i { color:#FFF; }

.content_download li a:is(:hover, :focus) { background-color:var(--hover); color:#FFF; }
.content_download li a:is(:hover, :focus) i { opacity:0.6; }


.content_photo {
	display:grid;
	grid-template-columns:repeat(5, 1fr);
	gap:1rem;
}

.content_photo { margin:1rem 0 2rem; }
.content_photo a {
	aspect-ratio: 4 / 3;
	border:#FFF 2px solid;
	border-radius:8px;
	overflow:hidden;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.content_photo a img {
	width:100%;
	height:100%;
	object-fit:cover;
	transition: transform 0.5s ease;
}
.content_photo a:is(:hover, :focus) img { transform: scale(1.15); }

@media (max-width:64em) {
	.content_photo { grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:47.9em) {
	.content_photo { grid-template-columns:repeat(2, 1fr); }
}

.sub_title {
	font-size:130%;
	font-weight:600;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	text-align:center;
	margin-bottom:1rem;
}

.page { text-align:center; margin:2rem 0; }
.page ul { display:inline-block; }
.page li {
	display:inline-block;
	width:2rem;
	height:2rem;
	line-height:2rem;
	font-weight:600;
	background-color:var(--pink);
	color:var(--pink-text);
}

.page li a {
	width:2rem;
	color:#666;
	font-weight:normal;
	text-decoration:none;
	background-color:#eee;
}
.page li a:is(:hover, :focus) { background:#af6060; color:#FFF; }




/* news
------------------------------------------------------------------------------ */
.news_list li a {
	display:block;
	min-width:0;
	border-bottom:#a09f9f 1px dashed;
	padding:0.6rem 0;
	text-decoration:none;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}

.news_list li a span { color:var(--txt-brown); padding-right:1rem; font-size:90%; }
.news_list li a span i { background-color:#9463ab; color:#FFF; padding:0.3rem 0.5rem; border-radius:3px; font-size:80%; margin-left:0.6rem; }
.news_list li a:is(:hover, :focus) { background:#fff1f1; }

@media (max-width:47.9em) {
	.news_list li a { overflow:visible; white-space:normal; text-overflow:clip; }
	.news_list li a span { display:block; padding-right:0; }
	.news_list li a span i { margin-left:5px; }
}


.news_title { border-bottom:#bbb 1px dashed; padding-bottom:1rem; margin-bottom:1rem; }
.news_title p {
	color:var(--txt-purple);
	font-weight:600;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	font-size:120%;
}
.news_title span { font-size:80%; }




/* about
------------------------------------------------------------------------------ */
.about h4 {
	background-color:var(--pink);
	color:var(--pink-text);
	font-size:110%;
	font-weight:600;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	border-left:var(--txt-purple) 0.5rem solid;
	border-radius:0.3rem;
	padding:0.3rem 1rem;
	margin-bottom:1rem;
}
.about p { padding-bottom:1rem; }

.about .map iframe { width:100%; margin-bottom:0.5rem; }

.about_director {
	display:grid;
	grid-template-columns: 1fr 2.5fr;
	gap:2rem;
}

.about_director img {
	width:100%;
	border:#FFF 0.2rem solid;
	border-radius:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.about_director table { width:100%; }
.about_director :is(td, th) {
	border:#b18181 1px solid;
	padding:0.5rem;
}
.about_director th { background:var(--pink); color:var(--pink-text); }
.about_director td { background:#FFF; }
.about_director td a:is(:hover, :focus) { color:var(--hover); }

@media (max-width:47.9em) {
	.about_director { grid-template-columns:1fr; }
}

.about_map {
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:2rem;
	margin-bottom:2rem;
}

.about_map a {
	background-color:#FFF;
	border:#FFF 2px solid;
	border-radius:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	text-decoration:none;
}
.about_map a:is(:hover, :focus) { border:var(--hover) 2px solid; }

.about_map .title {
	background-color:var(--pink);
	color:var(--pink-text);
	text-align:center;
	padding:0.5rem;
	border-radius:1rem 1rem 0 0;
	font-weight:600;
}
.about_map .title img { width:2rem; margin-right:3px; margin-bottom:0.2rem; }
.about_map p { padding:1rem; text-align:center; font-weight:600; }
.about_map span { font-size:90%; font-weight:normal; }

@media (max-width:64em) {
	.about_map { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:47.9em) {
	.about_map { grid-template-columns:1fr; gap:1rem; }
}


.about_team {
	display:grid;
	grid-template-columns:repeat(2, 1fr);
	gap:2.5rem;
}

.about_team > div {
	background:#FFF;
	border-radius:1rem;
	border:#FFF 0.2rem solid;
	overflow:hidden;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.about_team h4 {
	color:var(--pink-text);
	font-size:100%;
	font-weight:600;
	text-align:center;
	background-color:var(--pink);
	padding:0.5rem 0;
}

.about_team .name { font-weight:600; font-size:120%; padding-left:0.3rem; margin-bottom:0.3rem; }

.about_team .list { padding:1rem; }
.about_team .list i { color:#edc2c2; }
.about_team .item { display:flex; align-items:baseline; gap: .25em; }
.about_team .label { white-space: nowrap; }
.about_team .item a:is(:hover, :focus) { color:var(--pink-text); }

@media (max-width:64em) {
	.about_team { grid-template-columns:1fr; gap:1rem; }	
}
@media (max-width:47.9em) {
	.about_team .email { letter-spacing:0; }
}

@media (min-width: 768px) {
	.about_phone td:last-child { width:35%; text-align:left; }
	.about_phone td:nth-child(2), .about_phone td:nth-child(4) { width:9rem; }
	.about_phone td:nth-child(3) { width:5rem; }
}

.about_service {
	display:grid;
	grid-template-columns: 1fr 2fr;
	gap:2rem;
	margin:1.5rem 0;
}

.about_service > div:first-child img { width:100%; border-radius:0.5rem; }
.about_service .title {
	position:relative;
	font-size:150%;
	font-weight:600;
	padding-bottom:0.8rem;
}
.about_service .info {
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap:1rem;
}
.about_service .info > div {
	background-color:var(--pink);
	color:var(--pink-text);
	border-radius:0.5rem;
	text-align:center;
	padding:1vw 0;
	font-size:1.2vw;
	line-height:130%;
	font-weight:600;
}
.about_service .info img { width:50%; margin-bottom:3px; }

.about_service .map { position:absolute; top:-0.5rem; right:0; }
.about_service .map a {
	background-color:var(--blue);
	font-size:60%;
	font-weight:normal;
	color:var(--blue-text);
	padding:0.3rem 0.5rem;
	border-radius:5px;
	text-decoration:none;
	border:#FFF 1px solid;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.about_service .map a:is(:hover, :focus) { background-color:var(--hover); color:#FFF; }
.about_service .map a i { opacity:0.6; margin-right:3px; }

@media (max-width:47.9em) {
	.about_service { grid-template-columns:1fr; }
	.about_service .info { grid-template-columns:repeat(2, 1fr); }
	.about_service .info > div { font-size:4.5vw; padding:1rem 0; }
}





/* business
------------------------------------------------------------------------------ */
.business_1 { text-align:center; }
.business_1 img { width:80%; }

@media (max-width:47.9em) {
	.business_1 img { width:100%; }
}


.business_2 { position:relative; margin-bottom:1.5rem; }

.business_2 h4 {
	font-size:150%;
	font-weight:600;
	color:var(--h-text);
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	padding-left:4.2rem;
}
.business_2 img { position:absolute; top:0; left:0.8rem; width:3rem; z-index:2; }

.business_2 a {
	display:block;
	border:var(--pink) 3px solid;
	border-radius:1rem;
	padding:0.8rem;
	text-decoration:none;
	background:#FFF;
}

.business_2 a p {
	background:#ddd;
	padding:0.6rem 1rem;
	border-radius:0.6rem;
}
.business_2 a:is(:hover, :focus) { background:var(--pink); color:var(--pink-text); }
.business_2 a:is(:hover, :focus) p { background:#FFF; }


.business_2 ul {
	border:var(--pink) 3px solid;
	border-radius:1rem;
	padding:0.8rem;
	text-decoration:none;
	background:#FFF;
}

.business_2 li a {
	border:none;
	padding:0.5rem 1rem;
	border-bottom:#ccc 1px dashed;
	border-radius:0;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}
.business_2 li:last-child a { border-bottom:none; }
.business_2 li a span { font-size:90%; padding-right:1rem; letter-spacing:0; color:var(--blue-text); }

@media (max-width:64em) {
	.business_2 li a { overflow:visible; white-space:normal; text-overflow:clip; }
	.business_2 li a span { display:block; padding-right:0; }
}

.business_4_top {
	display:grid;
	grid-template-columns:repeat(6, 1fr);
	gap:1rem;
	margin-bottom:1.5rem;
}

.business_4_top > div {
	text-align:center;
	background:#FFF;
	border-radius:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	overflow:hidden;
}
.business_4_top .title {
	color:#FFF;
	font-weight:600;
	background-color:#7b5656;
	padding:0.5rem 0;
	margin-bottom:1rem;
}

.business_4_top img { width:50%; }

.business_4_top .info {
	font-size:90%;
	padding:0.5rem 0.5rem 0.8rem;
	line-height:140%;
}

@media (max-width:80em) {
	.business_4_top { grid-template-columns:repeat(3, 1fr); gap:2rem; }
	.business_4_top .title { font-size:110%; }
	.business_4_top .info { font-size:100%; padding:1rem 1.5rem; }
}
@media (max-width:47.9em) {
	.business_4_top { grid-template-columns:repeat(2, 1fr); gap:1.5rem; }
	.business_4_top .info { font-size:100%; padding:1rem 0.5rem; }
}


.business_5_top {
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap:1.5rem;
	margin-bottom:1.5rem;
}
.business_5_top > div {
	color:#FFF;
	font-size:120%;
	font-weight:600;
	text-align:center;
	border-radius:1rem;
	padding:1.3rem 1rem 1rem;
	background: linear-gradient(45deg,  rgba(147,23,23,1) 0%,rgba(181,90,90,1) 81%,rgba(181,90,90,1) 81%,rgba(255,155,155,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.business_5_top i { font-size:300%; }
.business_5_top p { padding-top:0.5rem; }


.business_5_project {
	display:grid;
	grid-template-columns:repeat(2, 1fr);
	gap:2rem;
	margin-bottom:1.5rem;
}
.business_5_project > div {
	background-color:#FFF;
	border-radius:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	overflow:hidden;
	text-align:center;
}

.business_5_project .photo { aspect-ratio: 4 / 2.5; }
.business_5_project img {
	width:100%;
	height:100%;
	object-fit:cover;
}
.business_5_project .title {
	background-color:var(--pink);
	color:var(--pink-text);
	font-weight:600;
	font-size:140%;
	padding:1rem;
	line-height:150%;
}

.business_5_project .time {
	position:relative;
	margin:0 auto;
	width:18vw;
	padding:1vw 0;
}
.business_5_project .time li { text-align:left; font-size:1.6vw; font-weight:600; padding:0.5vw 0; }
.business_5_project .time li i { margin-right:0.5vw; }


.business_5_project .time_line {
	position:absolute;
	top:2vw;
	left:0.8vw;
	width:0.4vw;
	height:8vw;
	background: linear-gradient(to bottom,  rgba(184,115,128,1) 59%,rgba(209,176,131,1) 95%);
}
.business_5_project .item {
	margin:0 auto 1.5rem;
	width:90%;
	background-color:#672f3a;
	color:#FFF;
	border-radius:99em;
	padding:0.5rem;
	text-align:center;
}

.business_5_project .itxt { color:var(--important); }
.business_5_project .ss { padding-left:2.6vw; }


@media (max-width:80em) {
	.business_5_project .title { font-size:115%; }
}

@media (max-width:64em) {
	.business_5_top > div { font-size:100%; }
	.business_5_top i { font-size:250%; }
	.business_5_project .title { font-size:120%; }
	
	.business_5_project .time { width:28vw;	padding:2vw 0; }
	.business_5_project .time li { font-size:2.5vw; padding:0.5vw 0; }
	.business_5_project .time li i { margin-right:0.5vw; }
	.business_5_project .ss { padding-left:3.6vw; }
	.business_5_project .time_line { top:3.3vw; left:1.3vw; width:0.5vw; height:10vw; }
}
@media (max-width:47.9em) {
	.business_5_top { grid-template-columns:repeat(2, 1fr); gap:1rem; }
	.business_5_project { grid-template-columns:1fr; }
	.business_5_project .time { width:56vw;	padding:5vw 0; }
	.business_5_project .time li { font-size:5vw; padding:1vw 0; }
	.business_5_project .time li i { margin-right:2vw; }
	.business_5_project .ss { padding-left:8vw; }
	.business_5_project .time_line { top:10vw; left:2.5vw; width:1vw; height:20vw; }
}




/* government
------------------------------------------------------------------------------ */
.government_1 {
	display:grid;
	grid-template-columns:repeat(2, 1fr);
	/*
	border:var(--pink) 3px solid;
	border-radius:1rem;
	padding:0.5rem;
	background:#FFF;
	*/
	border-bottom:#aaa 1px dashed;
	margin-bottom:1rem;
	padding-bottom:1rem;
}
.government_1 > div {
	display:flex;
	align-items:center;
	padding:0.3rem 1rem;
}

.government_1 > div:last-child { background-color:var(--pink); border-radius:0.6rem; }
.government_1 li { padding:0.2rem 0; }

.government_1 .ii { color:#FFF; }

.government_1 a:is(:hover, :focus) { color:var(--pink-text); }


@media (max-width:47.9em) {
	.government_1 { grid-template-columns:1fr; }
	.government_1 > div { padding:0.5rem 0.8rem; }
}

.government_list { padding-bottom:1rem;}

@media (min-width:48em) {
	.government_list td:nth-child(1) { width:30%; text-align:left; }
	.government_list td:nth-child(2) { width:30%; text-align:left; }
	.government_list td:nth-child(3) { width:20%; text-align:left; }
}


.government_3 {
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:2rem;
}

.government_3 > div {
	border-radius:1rem;
	background-color:#FFF;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	overflow:hidden;
}
.government_3 .photo { text-align:center; padding:1.5rem 0; }
.government_3 .photo img { width:50%; }
.government_3 .txt { text-align:center; font-size:130%; padding:0.8rem 0; font-weight:600; }

.government_3_download h4 {
	font-weight:600;
	font-size:200%;
	padding:2rem 0 0.5rem;
}
.government_3_download a {
	display:grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 6fr) minmax(0, 1.5fr);
	gap:2rem;
	
	border:var(--pink) 0.3rem solid;
	border-radius:1rem;
	padding:1rem 2rem;
	background:#FFF;
	text-decoration:none;
	font-size:120%;
	margin-bottom:1.5rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.government_3_download a:last-child { margin-bottom:0!important; }

.government_3_download a > div {
	display:flex;
	align-items:center;
}
.government_3_download img { width:100%; }

.government_3_download .gbtn {
	background-color:var(--pink);
	color:var(--pink-text);
	border-radius:0.5rem;
	justify-content:center;
	font-weight:600;
}

.government_3_download a:is(:hover, :focus) { background-color:var(--pink); border-color:#FFF; }
.government_3_download a:is(:hover, :focus) .gbtn { background-color:#FFf;}


@media (max-width:47.9em) { 
	.government_3 { gap:0.6rem; }
	.government_3 .photo { padding:0.8rem 0; }
	.government_3 .photo img { width:55%; }
	.government_3 .txt { font-size:90%; letter-spacing:0; }
	
	.government_3_download h4 { font-size:150%; }
	.government_3_download a { grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); padding:1rem; gap:1rem; font-size:100%; margin-bottom:1rem; }
	.government_3_download a > :nth-child(3) { grid-column: 1 / -1; }
	.government_3_download .gbtn { padding:0.6rem 0; }
}


.government_4 .title { 
	background:var(--pink);
	padding:1rem 1.5rem;
	border-radius:1rem 1rem 0 0;
	font-weight:600;
}
.government_4 .title span { display:block; color:var(--pink-text); }

.government_4 .explain {
	border:var(--pink) 0.5rem solid;
	border-top:none;
	border-radius:0 0 1rem 1rem;
	padding:1rem 1.5rem;
	background:rgba(255,255,255,0.8);
	margin-bottom:1.5rem;
}
.government_4 .explain span { display:block; color:var(--pink-text); font-weight:600; }
.government_4 .explain p { border-bottom:#aaa 1px dashed; padding-bottom:0.8rem; margin-bottom:0.8rem; }
.government_4 .explain p:last-child { border:none; padding-bottom:0; margin-bottom:0; }


.government-5 {
	position:relative;
	width:calc(100% - 2rem);
	margin:2rem 0 0 2rem;
	padding:2.5rem 0 0.5rem 2.5rem;
	border-left:#b392ac 0.3rem solid;
	
}

.government-5 h4 {
	position:absolute;
	top:-1.2rem;
	left:-2.4rem;
	font-size:160%;
	font-weight:600;
}
.government-5 h4 img { width:4.5rem; margin-right:0.3rem; }

.government-5 .year { font-size:120%; font-weight:600; color:#735d78; }

.government-5 a {
	display:grid;
	grid-template-columns:6fr 1fr;
	border:var(--pink) 0.2rem solid;
	border-radius:0.6rem;
	padding:0.4rem 0.6rem 0.4rem 1rem;
	background-color:rgba(255,255,255,0.5);
	text-decoration:none;
	margin-bottom:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.government-5 a > div {
	display:flex;
	align-items:center;
}
.government-5 a > div:last-child { justify-content:flex-end; }

.government-5 a > div:first-child i { font-size:160%; vertical-align:middle; color:var(--pink-text); }
.government-5 a span { background-color:var(--pink); color:var(--pink-text); padding:0.5rem; border-radius:5px; }

.government-5 a:is(:hover, :focus) { background-color:var(--pink); border-color:#FFF; }
.government-5 a:is(:hover, :focus) span { background-color:#FFF; }

@media (max-width:47.9em) {
	.government-5 a { grid-template-columns:1fr; padding:0.5rem 1rem; }
	.government-5 a span { display:block; width:100%; text-align:center; margin-top:0.3rem; }
	.government-5 a > div:first-child i { font-size:250%; vertical-align:baseline; margin-right:8px; }
}


.government_6_statistic {
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:2rem;
}
.government_6_statistic > div {
	position:relative;
	border-radius:1rem;
	background-color:#FFF;
	overflow:hidden;
	text-align:center;
	padding-bottom:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.government_6_statistic .title {
	background-color:var(--pink);
	color:var(--pink-text);
	font-size:110%;
	font-weight:600;
	padding:0.6rem 0;
}
.government_6_statistic .title span { display:block; font-size:90%; line-height:120%; }

.government_6_statistic ul { display:inline-block; margin:1rem 0; width:85%; }
.government_6_statistic li { padding:0.3rem 0; border-bottom:#aaa 1px dashed; font-size:2vw; font-weight:600; }
.government_6_statistic li:last-child { border-bottom:none; }

.government_6_statistic .no_bg {
	position:absolute;
	right:0;
	bottom:0;
	width:0;
	height:0;
	border-style:solid;
	border-width: 0 0 3rem 3rem;
	border-color: transparent transparent #735d78 transparent;
}
.government_6_statistic .no {
	position:absolute;
	right:0.6rem;
	bottom:0.15rem;
	color:#FFF;
}

.government_6_statistic .txt { font-size:110%; font-weight:600; }
.government_6_statistic .txt p { font-size:150%; color:var(--pink-text); line-height:120%; }
.government_6_statistic .txt img { width:35%; margin:0.8rem 0 0.4rem; }

@media (max-width:64em) {
	.government_6_statistic { gap:1.5rem; }
	.government_6_statistic li { font-size:2.8vw; }
	.government_6_statistic .txt img { margin:1rem 0 0.5rem; }
}
@media (max-width:47.9em) {
	.government_6_statistic { grid-template-columns:1fr; }
	.government_6_statistic ul { margin:0.5rem 0 0; }
	.government_6_statistic li { font-size:6vw; }
	.government_6_statistic .txt img { margin:1rem 0; }
}


.pagoda .ring {
  position:relative;
  margin:1rem auto 0;
  width:60%;
  aspect-ratio: 1;
  /*container-type:inline-size;*/
}
.pagoda .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pagoda .ring circle {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}
.pagoda .track { stroke: #e5e5e5; }
.pagoda .bar {
  stroke:#b85f72;
  stroke-dasharray: calc(var(--p) * 1px) 100px;
  animation: fill 1s ease-out;
}


.pagoda .num {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  font-size:2vw;
  font-weight: 700;
  letter-spacing:0;
}


@keyframes fill {
  from { stroke-dasharray: 0 100; }   /* 終點自動取上面的值 */
}

@media (prefers-reduced-motion: reduce) {
  .pagoda .bar { animation: none; }
}
@media (max-width:64em) {
	.pagoda .num { font-size:2.5vw; }
}
@media (max-width:47.9em) {
	.pagoda .num { font-size:9vw; }
}


.cremation { padding:2rem 0; }

.cremation_list {
	display:grid;
	grid-template-columns:1fr 9fr;
}
.cremation_list > div:first-child {
	display:flex;
	align-items:center;
	justify-content:center; 
	font-size:110%;
	font-weight:600;
}
.cremation_list > div:last-child {
	background-image:url(../img/bar-bg.svg);
	background-size:85%;
	background-repeat: no-repeat repeat;
}



.bars {
  --c1: #74b4e2;         /* 系列顏色 */
  --c2: #e8c2ca;
  --gap: .5rem;
}

.bars h4 { text-align:center; font-size:140%; font-weight:600; margin:3rem 0 0.5rem; }

.bars__row {
  display: grid;
  grid-template-columns: 3.5em 1fr;
  align-items: center;
  gap: 0 .75rem;
  /*margin-block: 1rem;*/
}
.bars__group {
	display:grid;
	gap:var(--gap);
	background:url("../img/bar-bg.png");
	background-size:100%;
	background-repeat:no-repeat repeat;
	padding-bottom:1rem;
}

.bars__bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 2rem;
  width: 0;                                   /* 起點 */
  min-width: 3.5em;                           /* 小數字時標籤不被切掉 */
  padding-inline: .5rem;
  overflow: hidden;
  background: var(--c);
  color: #111;
  white-space: nowrap;
  transition: width 1s ease-out;
}
.bars__bar.s1 { --c: var(--c1); }
.bars__bar.s2 { --c: var(--c2); }

.bars__row.is-in .bars__bar {
	width: var(--w);
  /* width: min(100%, calc(var(--v) / var(--max) * 100%)); 超過最大值就頂滿 */
}

.bars__year { font-weight:600; }

/* 圖例（顏色不能是唯一的資訊來源，WCAG 1.4.1） */
.bars__legend { display: flex; gap: 1rem; list-style: none; padding: 0; margin-bottom:0.5rem; justify-content:center; }
.bars__legend li::before {
  content: ""; display: inline-block; width: .8em; height: .8em;
  margin-right: .4em; background: var(--c);
}
.bars__legend .s1 { --c: var(--c1); }
.bars__legend .s2 { --c: var(--c2); }

.bars__sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .bars__bar { transition: none; }
}




/* eolc
------------------------------------------------------------------------------ */
.undertaker { margin-top:1rem; }

.documents {
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:1rem;
}

.documents > div {
	border:#FFF 1px solid;
	border-radius:1rem;
	padding:1.5rem 1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.documents > div:nth-child(1) { background-color:#e3c3eb; }
.documents > div:nth-child(2) { background-color:#fee4e9; }
.documents > div:nth-child(3) { background-color:#bae8f5; }

.documents .title {
	display:flex;
	align-items:center;
	justify-content:center;
	gap:0.5vw;
	
	font-size:2vw;
	font-weight:600;
	line-height:120%;
}
.documents .title i { font-size:4vw; }

.documents .info { margin:1rem 0.6rem; font-size:90%; }
.documents .list {
	background-color:#FFF;
	border-radius:0.5rem;
	padding:0.5rem 1rem;
	font-size:90%;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.documents .list li { position:relative; padding-left:1.5rem; line-height:120%; margin:0.5rem 0; }
.documents .list li::before {
	content: "\f14a";
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	position:absolute;
	left:0;
}
.documents > div:nth-child(1) li::before { color:#cc91df; }
.documents > div:nth-child(2) li::before { color:#de9292; }
.documents > div:nth-child(3) li::before { color:#5db7d4; }

@media (max-width:64em) {
	.documents .title { font-size:2.5vw; }
	.documents .title i { font-size:6vw; }
}
@media (max-width:47.9em) {
	.documents { grid-template-columns:1fr; }
	.documents .title { font-size:7vw; }
	.documents .title i { font-size:15vw; }
	.documents .info { font-size:100%; }
	.documents .list { font-size:100%; }
}

.documents_list { margin-top:1.5rem; }
.documents_list .title { font-size:130%; font-weight:600; color:#735050; }
.documents_list .title img { width:2.5rem; margin-right:5px; }
.documents_list table { width:100%; margin:1rem 0; }
.documents_list caption { color:var(--blue-text); background:var(--blue); font-weight:600; text-align:center; padding:0.3rem; }
.documents_list :is(th, td) { border:#bc8c8c 1px solid; padding:0.5rem; }
.documents_list th { background:var(--pink); color:var(--pink-text); width:50%; }

.documents_list ul { display:inline-block; }
.documents_list li { text-align:left; }

@media (max-width:47.9em) {
	.documents_list ul { font-size:90%; }
}


.preneed_warning {
	margin-top:2rem;
	border-radius:1rem;
	overflow:hidden;
	border:var(--pink) 5px solid;
	background:#fffbb5;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.preneed_warning .title {
	text-align:center;
	background-color:var(--pink);
	color:var(--pink-text);
	font-weight:600;
	font-size:180%;
	padding:0.5rem;	
}
.preneed_warning .title i { color:#a10000; font-size:120%; vertical-align:middle; }

.preneed_warning .list { padding:1rem 2rem; }
.preneed_warning .list li { position:relative; padding:0.7rem 0 0.7rem 1.7rem; border-bottom:#aaa 1px dashed; }
.preneed_warning .list li::before {
	content: "\f14a";
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	font-size:120%;
	position:absolute;
	top:0.5rem;
	left:0;
	color:#c74975;
}
.preneed_warning .list li:last-child { border-bottom:none; }

@media (max-width:47.9em) {
	.preneed_warning .list { padding:1rem; }
}

.preneed_download h4 {
	font-weight:600;
	font-size:200%;
	padding:2rem 0 0.5rem;
}
.preneed_download a {
	display:grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 10fr) minmax(0, 2fr);
	gap:1rem;
	
	border:var(--pink) 0.3rem solid;
	border-radius:1rem;
	padding:1rem 2rem;
	background:#FFF;
	text-decoration:none;
	font-size:120%;
	margin-bottom:1.5rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.preneed_download a:last-child { margin-bottom:0!important; }

.preneed_download a > div {
	display:flex;
	align-items:center;
}
.preneed_download img { width:100%; }

.preneed_download .gbtn {
	background-color:var(--pink);
	color:var(--pink-text);
	border-radius:0.5rem;
	justify-content:center;
	font-weight:600;
}

.preneed_download a:is(:hover, :focus) { background-color:var(--pink); border-color:#FFF; }
.preneed_download a:is(:hover, :focus) .gbtn { background-color:#FFf;}

@media (max-width:47.9em) { 
	.preneed_download h4 { font-size:150%; }
	.preneed_download a { grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); padding:1rem; gap:1rem; font-size:100%; margin-bottom:1rem; }
	.preneed_download a > :nth-child(3) { grid-column: 1 / -1; }
	.preneed_download .gbtn { padding:0.6rem 0; }
}

.documents_advisory {
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:1.5rem;
	margin-bottom:2rem;
}

.documents_advisory > div {
	font-size:2vw;
	color:rgba(255,255,255,0.8);
	text-align:center;
	border:#FFF 3px solid;
	border-radius:1rem;
	padding:1rem 1rem 1.5rem;
	box-shadow:rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.documents_advisory > div i { font-size:300%; color:#FFF; font-weight:600; }
.documents_advisory > div p { border-top:#aaa 1px dashed; padding-top:1rem; }
.documents_advisory > div:nth-child(1) { background-color:#a62424; }
.documents_advisory > div:nth-child(2) { background-color:#ffdd00; }
.documents_advisory > div:nth-child(3) { background-color:#337635; }

.documents_advisory > div:nth-child(2) i { color:#706033; }
.documents_advisory > div:nth-child(2) p { color:#333; }

@media (max-width:47.9em) {
	.documents_advisory { gap:0.5rem; }
	.documents_advisory > div { border-width:2px; padding:8px 5px 15px; font-size:3vw; }
	.documents_advisory > div p { padding-top:10px; }
}



/* funeral
------------------------------------------------------------------------------ */
.funeral_offering {
	display:grid;
	grid-template-columns:9rem 1fr;
	font-size:130%;
	font-weight:600;
	margin:1.5rem 0;
}
.funeral_offering > div { padding-bottom:1rem; }
.funeral_offering > div:nth-child(odd) { color:var(--txt-brown); }

@media (max-width:47.9em) {
	.funeral_offering { font-size:100%; }
	.funeral_offering { grid-template-columns:1fr; }
	.funeral_offering > div { padding-bottom:0; }
	.funeral_offering > div:nth-child(odd) { font-size:110%; }
	.funeral_offering > div:nth-child(even) { font-weight:normal; border-bottom:#aaa 1px dashed; padding-bottom:0.6rem; margin-bottom:0.6rem;  }
}

.funeral_faq {
	font-size:110%;
	border-radius:1rem;
	padding:1rem 3rem 1.5rem;
	background-color:var(--pink);
	font-weight:600;
	box-shadow:rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.funeral_faq p { color:var(--txt-brown); font-size:150%; }
.funeral_faq ul { list-style:disc; font-size:110%; padding-left:2rem; }
.funeral_faq li::marker { color:var(--txt-brown); }

@media (max-width:47.9em) {
	.funeral_faq { font-size:100%; padding:1rem 1.5rem 1.5rem; }
	.funeral_faq ul { padding-left:1.5rem; }
}

.funeral_regist {
	border-radius:1rem;
	font-size:150%;
	font-weight:600;
	text-align:center;
	background-color:var(--txt-purple);
	color:#FFF;
	padding:1rem;
	margin-top:1rem;
}


.funeral_download { padding:2rem 0; font-size:120%; font-weight:600; }
.funeral_download a {
	display:inline-block;
	color:#FFF;
	background-color:var(--txt-brown);
	border-radius:0.5rem;
	padding:0.8rem 2rem;
	text-decoration:none;
	margin-right:2rem;
	
}
.funeral_download a i { opacity:0.6; }
.funeral_download a:is(:hover, :focus) { background-color:var(--hover); }

@media (max-width:47.9em) {
	.funeral_download { text-align:center; padding-bottom:1rem; }
	.funeral_download a { display:block; margin-right:0; margin-bottom:10px; }
}

.funeral_date {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:2rem;
}
.funeral_date table { width:100%; background-color:#FFF; }
.funeral_date caption { border:#bc8c8c 1px solid; border-bottom:none; }
.funeral_date tr:nth-child(odd) { background:#eaeaea; }
.funeral_date :is(th, td) { border:#bc8c8c 1px solid; padding:0.5rem; }
.funeral_date th { background-color:var(--pink); color:var(--pink-text); }
.funeral_date td:first-child { width:5rem; text-align:center; }

.funeral_date p { background-color:var(--pink); text-align:center; padding:0.8rem 0; border:#bc8c8c 1px solid; border-top:none; }

@media (max-width:64em) {
	.funeral_date caption { font-size:110%; }
}
@media (max-width:47.9em) {
	.funeral_date { grid-template-columns:1fr; gap:1.5rem; }	
}


.funseral-sea {
	background-color:var(--pink);
	color:var(--pink-text);
	font-weight:600;
	text-align:center;
	font-size:120%;
	border-radius:99em;
	padding:0.8rem;
	margin-bottom:1.5rem;
}
@media (max-width:47.9em) {
	.funseral-sea { border-radius:10px; }
}



/* buried
------------------------------------------------------------------------------ */
.buried_list a {
	display:grid;
	grid-template-columns:1fr 7rem;
	gap:1.5rem;
	
	border:var(--pink) 0.3rem solid;
	border-radius:1rem;
	background-color:#FFF;
	padding:0.5rem;
	text-decoration:none;
	margin-bottom:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.buried_list a div:first-child { display:flex; align-items:center; padding-left:2rem; font-size:120%; }
.buried_list a div:last-child {
	background:var(--pink);
	color:var(--pink-text);
	text-align:center;
	border-radius:0.5rem;	
	font-weight:600;
	padding:0.5rem 0;
}
.buried_list i { position:relative; bottom:0.1rem; color:var(--txt-purple); font-size:110%; margin-right:3px; }

.buried_list a:is(:hover, :focus) {
	background-color:var(--pink);
	border-color:#FFF;
}
.buried_list a:is(:hover, :focus) div:last-child { background-color:#FFF; }

@media (max-width:64em) {
	.buried_list a div:first-child { padding-left:1rem; }
	.buried_list i { bottom:0; }
}
@media (max-width:47.9em) {
	.buried_list a { grid-template-columns:1fr 6rem; }
	.buried_list a div:first-child { padding-left:0; font-size:105%; }
	.buried_list i { bottom:2px; margin-right:2px; }
}

.buried_eco h4 {
	font-weight:600;
	color:var(--txt-purple);
	font-size:120%;
	margin-bottom:0.5rem;
}

.buried_eco_box1 {
	display:grid;
	grid-template-columns:2.5fr 1fr;
	gap:0.5rem;
	margin-bottom:1rem;
}

.buried_eco_box1 > div:last-child {
	border-radius:0.5rem; 
	overflow:hidden;
	background:url("../img/demo/buried-eco1.webp") center center;
	background-size:cover;
} 

@media (max-width:47.9em) {
	.buried_eco_box1 { grid-template-columns:1fr; gap:1rem; }
	.buried_eco_box1 > div:last-child { aspect-ratio: 4 / 2; }
}

.buried_eco_box2 {
	display:grid;
	grid-template-columns:1fr 2.5fr;
	margin-bottom:1rem;
	border-radius:0.5rem;
	overflow:hidden;
	background:#eee;
}
.buried_eco_box2 > div:first-child {
	background-size:cover;
	background-position:center center;
}
.buried_eco_box2 > div:last-child { padding:1.5rem; }
.buried_eco_box2 span { color:var(--txt-brown); font-weight:600; }

@media (max-width:47.9em) {
	.buried_eco_box2 { grid-template-columns:1fr; }
	.buried_eco_box2 > div:first-child { aspect-ratio: 2 / 1; }
}




/* memorial
------------------------------------------------------------------------------ */
.memorial_select1 {
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap:1rem;
}
.memorial_select1 a {
	position:relative;
	border-radius:1rem;
	aspect-ratio:4 / 3;
	border:#FFF 0.3rem solid;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	overflow:hidden;
}
.memorial_select1 a img {
	width:100%;
	height:100%;
	object-fit:cover;
	transition: transform 0.3s ease-in-out;
}
.memorial_select1 a img:hover { transform:scale(1.2); }

.memorial_select1 a p {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	background:rgba(0,0,0,0.7);
	color:#FFF;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	text-align:center;
	border-radius:0 0 0.7rem 0.7rem;
	padding-top:0.5rem;
}
.memorial_select1 a:is(:hover, :focus) { background-size:120%; }
.memorial_select1 a:is(:hover, :focus) p { background:rgba(140,65,120,0.9); }

@media (max-width:64em) {
	.memorial_select1 {	grid-template-columns:repeat(2, 1fr); gap:1.2rem; }
}
@media (max-width:47.9em) {
	.memorial_select1 {	gap:0.8rem; }
	.memorial_select1 a { border:#FFF 0.2rem solid; }
}


.memorial_select2 {
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap:1rem;
}
.memorial_select2 a {
	position:relative;
	border-radius:99em;
	aspect-ratio:1 / 1;
	border:#FFF 0.3rem solid;
	box-shadow:rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	overflow:hidden;
}
.memorial_select2 a img {
	width:100%;
	height:100%;
	object-fit:cover;
	transition:transform 0.3s ease-in-out;
}
.memorial_select2 a img:hover { transform:scale(1.2); }

.memorial_select2 a p {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	background:rgba(0,0,0,0.7);
	color:#FFF;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	text-align:center;
	border-radius:0 0 99em 99rem;
	padding:0.5rem 0 1rem;
}
.memorial_select2 a:is(:hover, :focus) { background-size:120%; }
.memorial_select2 a:is(:hover, :focus) p { background:rgba(140,65,120,0.9); }

@media (max-width:64em) {
	.memorial_select2 {	grid-template-columns:repeat(3, 1fr); gap:1.2rem; }
	.memorial_select2 a p { padding:0.5rem 0 1rem; }
}
@media (max-width:47.9em) {
	.memorial_select2 {	grid-template-columns:repeat(2, 1fr); gap:0.8rem; }
	.memorial_select2 a { border:#FFF 0.2rem solid; }
	.memorial_select2 a p { padding:0.4rem 0 0.9rem; font-size:85%; }
}


.memoria_search {
	display:grid;
	grid-template-columns:1fr 2fr;
	gap:1rem;
}
.memoria_search img { width:100%; border-radius:1rem; }

.memoria_search .search_form { padding-left:1rem; padding-top:1rem; }
.memoria_search .search_form input { padding:0.2rem 0.5rem; }
.memoria_search .search_form a {
	width:5rem;
	background:var(--a-bg);
	color:#FFF;
	text-decoration:none;
	padding:0.3rem 0;
	text-align:center;
	vertical-align:middle;
	border-radius:0.3rem;
	margin-left:0.3rem;
}
.memoria_search .search_form a i { opacity:0.5; }
.memoria_search .search_form a:is(:hover, :focus) { background:var(--hover); }

.memoria_search_list table { margin-top:1.5rem; }
.memoria_search_list td a { display:inline-block; font-size:80%; padding:0.5rem 0; border-radius:5px; text-decoration:none; border:#FFF 1px solid; text-align:center; }
.memoria_search_list td a:is(:hover, :focus) { background-color:var(--hover); color:#FFF; }

.memoria_search_list td .b2 { width:4rem; }
.memoria_search_list td .b4 { width:6rem; }
.memoria_search_list td .b2 i, .memoria_search_list td .b4 i { margin-right:3px; opacity:0.5; }

.memoria_search_list .memoria_btn_add { background:#6f7c22; color:#FFF; }
.memoria_search_list .memoria_btn_start { background:#a55d93; color:#FFF; }
.memoria_search_list .memoria_btn_delete { font-size:120%; color:var(--blue-text); padding:0; border:none; }
.memoria_search_list .memoria_btn_delete:is(:hover, :focus) { background-color:transparent; color:var(--hover); }

@media (min-width:48em) {
	.memoria_list td:nth-child(3) { width:40%; }
}

@media (max-width:47.9em) {
	.memoria_search { grid-template-columns:1fr; }
	.memoria_search .search_form { padding-left:0; padding-top:0; }
	.memoria_search .search_form input { width:calc(100% - 5.3rem); }
	.memoria_search_list td a { font-size:90%; }
}

.memorial_online {
	display:grid;
	grid-template-columns:1.2fr 2fr;
	gap:3rem;
}

.memorial_card {
	background-color:#f1e0e4;
	border-radius:1rem;
	padding:1rem 1.2rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.memorial_card .photo {
	margin:0 auto;
	width:10rem;
	height:10rem;
	border-radius:99em;
	overflow:hidden;
}

.memorial_card .photo img {
	width:100%;
	height:100%;
	object-fit:cover;
}
.memorial_card p {
	text-align:center;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	font-weight:600;
	font-size:150%;
	padding:0.6rem 0;
}
.memorial_card li { border-top:#FFF 1px dashed; padding:0.8rem 0; }
.memorial_card li span { color:#805268; }

.memorial_card .day {
	background-color:#a45175;
	color:#FFF;
	text-align:center;
	border-radius:10px;
}
.memorial_card .day span { color:#feecec; }
.memorial_card .day li:first-child { border-top:none; }

.memorial_message_list { margin-top:2rem; }

.memoria_day .open { color:#1c6d3b; }
.memoria_day .close { color:#a23434; }






.tributes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 1rem;
	align-items: start;
}
.card {
	padding: 1rem;
	border:1px solid var(--pink);
    border-radius:8px;
    background:#fffafb;
}


.tributes.is-masonry {
	grid-auto-rows: 8px;
	row-gap: 0;
}
.tributes .name { font-weight:bold; margin:0 0 .5rem; color:var(--pink-text); }
.tributes .name span { font-size:80%; font-weight:normal; padding-left:5px; }
.tributes .date { font-size:80%; color:var(--blue-text); margin:.5rem 0 0; text-align:right; }
.tributes .date a { display:inline-block; width:1.5rem; height:1.5rem; background-color:var(--pink); border-radius:99em; text-align:center; line-height:1.5rem; margin-left:0.2rem; }
.tributes .date a:is(:hover, :focus) { background-color:var(--hover); color:#FFF; }

@media (max-width:64em) {
	.memorial_online { gap:2rem; }
	.memorial_card li { font-size:85%; }
	.tributes .date a { width:2rem; height:2rem; line-height:2rem; vertical-align:middle; }
}
@media (max-width:47.9em) {
	.memorial_online { grid-template-columns:1fr; }
	.memorial_card li { font-size:100%; }
}


.dropzone {
  position: relative;
  padding: 2rem;
  border: 2px dashed #767676;
  text-align: center;
}
/* 讓原生 input 撐滿整個區塊、透明，點哪裡都能開檔案選擇器，也能直接接收拖曳 */
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
/* 焦點樣式不能漏，input 透明了就要把焦點環畫在外層 */
.dropzone:focus-within {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

.preview {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  /*
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  */
}

.preview:empty { display: none; }

.preview li { width: 10rem; font-size: .875rem; display:inline-block; }
.preview img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit:cover;
  border-radius:99em;
}
.preview span {
  display: block;
  margin-top: .25rem;
  overflow-wrap: anywhere;
}


.memorial_select {
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:2rem;
	margin-top:0.5rem;
}
.memorial_select a {
	display:block;
	border:var(--pink) 3px solid;
	border-radius:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	text-align:center;
	padding:1.6rem;
	background-color:#f8f8f8;
	text-decoration:none;
}
.memorial_select a img { width:45%; }
.memorial_select a p { text-align:left; font-size:90%; padding-bottom:0; }

.memorial_select a:is(:hover, :focus) {
	background-color:var(--pink);
	border:#FFF 3px solid;
	
}

@media (max-width:64em) {
	.memorial_select { gap:1rem; }
}
@media (max-width:47.9em) {
	.memorial_select { grid-template-columns:1fr; gap:2rem; }
	.memorial_select a p { font-size:100%; }
}





/* table
------------------------------------------------------------------------------ */
table caption {
	font-size:120%;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	background:#c6e8f0;
	color:#0f5667;
	font-weight:600;
	padding:0.5rem 0;
}

td input[type=checkbox] { width:1.5rem; height:1.5rem; vertical-align:middle; }




/* login
------------------------------------------------------------------------------ */
.login { margin:0 auto; width:50%; }
.login img { max-width:40%; }

.code_read { font-size:120%; color:#885794; }
.code_read:hover { color:var(--hover); }

@media (max-width:47.9em) {
	.login { width:100%; }
	.login img { max-width:35%; }
	.login input { margin-bottom:1rem!important; }
}



/* form
------------------------------------------------------------------------------ */
fieldset { border:none; padding:0; margin:0; }

legend { color:var(--blue-text); margin-bottom:1rem; font-weight:600; font-size:110%; }
legend i { color:#ed92a7; }

.form :is(input, textarea) { width:100%; padding:0.3rem 0.5rem; margin-bottom:1rem;}
.form select { width:100%; padding:0.5rem; margin-bottom:1rem; }
.form input[type="radio"], .form input[type="checkbox"] { display:inline-block; width:1.2rem; height:1.2rem; vertical-align:middle; margin-top:0.8rem; margin-right:5px; }

.form label i { color:var(--blue); }

.form ::placeholder { font-size:75%; }

.w2, .w3, .w4 { display:grid; gap:2rem; }
.w2 { grid-template-columns:repeat(2, 1fr); }
.w3 { grid-template-columns:repeat(3, 1fr); }
.w4 { grid-template-columns:repeat(4, 1fr); }

.verify_btn { background:var(--blue); color:var(--blue-text); font-size:90%; border-radius:5px; text-decoration:none; padding:0.4rem 0.8rem; }
.verify_btn i { color:#FFF; }
.verify_btn:hover { background:var(--hover); color:#FFF; }
.verify_btn:hover i { opacity:0.5; }

.show_768 { display:none; }

@media (max-width:64em) {
	.w2, .w3, .w4 { gap:1rem; }
	.form input[type="radio"] { width:1.5rem; height:1.5rem; margin-top:0.8rem; }
}
@media (max-width:47.9em) {
	.w1 { margin-bottom:1rem; }
	.w2, .w3, .w4 { grid-template-columns:1fr; margin-bottom:1rem; }
	.form input, .form select, .form textarea { margin-bottom:0; }
	.form ::placeholder { font-size:90%; }
	.form input[type="checkbox"] { width:1.5rem; height:1.5rem; margin-top:-0.2rem; }
	.verify_btn { margin-top:0.5rem; padding:0.8rem 1rem; }
	.no_768 { display:none; }
	.show_768 { display:block; }
}




/* service
------------------------------------------------------------------------------ */
.service_list {
	display:grid;
	grid-template-columns:repeat(5, 1fr);
	gap:1.5rem;
}
.service_list a {
	border:#FFF 0.2rem solid;
	border-radius:1rem;
	background-color:rgba(217,238,235,0.7);
	text-align:center;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	font-weight:600;
	text-decoration:none;
	padding:1rem 0;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.service_list a img { width:60%; margin-bottom:0.3rem; }
.service_list a:is(:hover, :focus) { background-color:var(--pink); color:var(--pink-text); }

@media (max-width:64em) {
	.service_list { grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:47.9em) {
	.service_list { grid-template-columns:repeat(2, 1fr); }
}

.service_4 .age {
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap:0.5rem;
	margin-bottom:1rem;
	margin-top:0.5rem;
}
.service_4 .age input { margin:0; margin-right:5px; }

.service_4 textarea { height:10rem; margin-bottom:0; }


@media (max-width:64em) {
	.service_4 .age { grid-template-columns:repeat(3, 1fr);  }
	
	
}
@media (max-width:47.9em) {
	.service_4 input[type="radio"] { position:relative; bottom:8px; }
	.service_4 .age { grid-template-columns:repeat(2, 1fr);  }
	.service_4 .age input[type="radio"] { bottom:0; }
}


.service_5_way {
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:1.5rem;
	margin:1rem 0;
}

.service_5_way > div {
	background-color:var(--blue);
	text-align:center;
	border:#FFF 0.2rem solid;
	border-radius:1rem;
	padding:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.service_5_way p { font-size:140%; font-weight:600; color:var(--blue-text); }

.service_5_way { padding-top:0.5rem; }

.service_5_info { margin-bottom:2rem; }
.service_5_info ul li {
	background-color:var(--pink);
	border-left:#83545e 0.5rem solid;
	 padding:1rem;
	 border-radius:1rem;
	 margin:0.5rem 0 1rem;
}
.service_5_info ul li ul li { border:none; padding:0; margin:0; }
.service_5_info ul li ul { padding-left:2.2rem;}

.service_5_info li span { font-weight:600; }


@media (max-width:64em) {
	.service_5_way > div { font-size:90%; }
}

@media (max-width:47.9em) {
	.service_5_way { grid-template-columns:1fr; gap:1rem; }
}

.public_memorial { padding-bottom:0.5rem; }
.public_memorial h4 {
	font-weight:600;
	font-size:120%;
}
.public_memorial h4 i { color:var(--blue-text); font-size:120%; }
.public_memorial h4 span { color:var(--txt-purple); }

.public_memorial li { display:inline-block; }
.public_memorial li a {
	position:relative;
	display:block;
	border-radius:99em;
	padding:0.6rem 0.6rem;
	background-color:var(--pink);
	text-decoration:none;
	margin:0.5rem 0.5rem 0.5rem 0;
	border:#FFF 1px solid;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.public_memorial li p { display:inline-block; }
.public_memorial li span { font-size:80%; color:#FFF; padding:0.3rem 0.5rem; border-radius:99em; }
.public_memorial .t1 { background-color:#366f9b; }
.public_memorial .t2 { background-color:#903157; }
.public_memorial .t3 { padding-right:2rem; }

.public_memorial li i { position:absolute; top:0.6rem; right:0.3rem; color:var(--pink-text); font-size:150%; }

.public_memorial li a:is(:hover, :focus) { background:#333; color:#FFF; }
.public_memorial li a:is(:hover, :focus) i { color:var(--pink); }


@media (max-width:64em) {
	.public_memorial li a { padding:1rem 1.2rem; padding-right:3rem; }
	.public_memorial li i { top:1rem; right:0.8rem; }
}
@media (max-width:47.9em) {
	.public_memorial li { display:block; }
	.public_memorial li a { padding:0.8rem 2rem; padding-right:3rem; margin:0.5rem 0 1rem; }
	.public_memorial p { display:block; padding-top:5px; }
	.public_memorial li i { top:1.5rem; right:0.6rem; font-size:200%; }
}

.public_memorial_form { text-align:center; padding-top:1rem; }
.public_memorial_form select { width:auto; }
.public_memorial_form input { width:70%; }






/* facility
------------------------------------------------------------------------------ */
.facility-list {
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:1rem 1.5rem;
	margin-bottom:1.5rem;
}


.facility-list a {
	display:flex;
	justify-content:center;
	align-items:center;
	gap:.5rem;
	
	padding:0.5rem 1rem;
	border:#FFF 0.2rem solid;
	border-radius:1rem;
	background-color:rgba(217,238,235,0.7);
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	font-weight:600;
	font-size:120%;
	text-decoration:none;
	text-align:center;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.facility-list a:is(:hover, :focus) { background-color:var(--pink); }
.facility-list a:is(:hover, :focus) li { color:var(--pink-text); }

.facility-list div:first-child { width:3rem; text-align:left; }
.facility-list div:last-child span { display:block; font-size:60%; font-weight:normal; line-height:110%; }

@media (max-width:47.9em) {
	.facility-list { grid-template-columns:repeat(2, 1fr); gap:0.6rem 0.5rem; }
	.facility-list a { font-size:100%; min-height:4rem; padding:0.5rem; }
	.facility-list div:first-child { width:2rem; }
}


.facility_table table {
	width:100%;
	margin:1rem 0 1.5rem;
	table-layout:fixed;
	font-size:90%;
}
	
.facility_table caption { background-color:#7b5656; color:#FFF; font-weight:600; }
.facility_table tr { background-color:#FFF; }
.facility_table tr:nth-child(even) { background-color:#eaeaea; }
.facility_table :is(th, td) { border:#b18181 1px solid; }
.facility_table th { background-color:var(--pink); color:var(--pink-text); vertical-align:middle; font-weight:600; padding:0.5rem;  }
.facility_table td { line-height:150%; padding:0 0.5rem; }

.facility_table td span { display:block; }
.facility_table td .time { color:#90417f; font-weight:600; }
.facility_table td .tel { color:#2f7556; letter-spacing:0; font-size:80%; line-height:150%; }
.facility_table td .tag { display:block; background-color:#90417f; color:#FFF; padding:0.2rem 0; font-size:85%; text-align:center; border-radius:3px; margin-top:3px; }
.facility_table td .joss { color:#90417f; font-size:90%; }

.facility_table td li { border-bottom:#888 1px dashed; padding:0.5rem 0;}
.facility_table td li:last-child { border-bottom:none; }

.facility_table .coffin th { width:2.3rem; letter-spacing:0; }
.facility_table .morgue th { width:2.8rem; letter-spacing:0; line-height:110%; }
.facility_table .morgue th span { font-weight:normal; font-size:80%; }
.facility_table .cremation { letter-spacing:0; }

.mobile { display:none; }

@media (max-width:64em) {
	.facility_table table { font-size:80%; }
}

@media (max-width:47.9em) {
	.PC { display:none; }
	.mobile { display:block; }
	.facility_table table { font-size:100%; }
	.facility_table caption { font-size:100%; }
}


/* certificate
------------------------------------------------------------------------------ */
.certificate_select {
	margin:3rem auto;
	width:70%;
	
	display:grid;
	grid-template-columns:repeat(2, 1fr);
	gap:2rem;
}
.certificate_select a {
	display:grid;
	align-items:center;
	place-items: center;
	
	background-color:var(--blue);
	padding:1.5rem 2rem;
	border-radius:1rem;
	border:#FFF 0.2rem solid;
	text-align:center;
	font-weight:600;
	font-size:120%;
	line-height:130%;
	color:var(--blue-text);
	text-decoration:none;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.certificate_select a:is(:hover, :focus) { background-color:var(--pink); color:var(--pink-text); }
.certificate_select a img { width:3rem; margin-bottom:10px; }

@media (max-width:64em) {
	.certificate_select { width:80%; }
}

@media (max-width:47.9em) {
	.certificate_select { margin:2rem auto; grid-template-columns:1fr; gap:2rem; }
}

.certificate_txt {
	background-color:#FFF;
	border-radius:1rem;
	padding:0.5rem 2rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.certificate_txt h4 {
	text-align:center;
	font-weight:600;
	font-size:130%;
	color:#a0598f;
	border-bottom:#ccc 1px dashed;
	padding:0.5rem 0;
	margin-bottom:1rem;
}
.certificate_txt h4 span { display:block; font-size:90%; }



/* green
------------------------------------------------------------------------------ */
.green {
	display:grid;
	grid-template-columns:repeat(2, 1fr);
	gap:1.5rem;
	margin:1rem 0 2rem;
}

.green > div {
	display:grid;
	grid-template-columns:1fr 2fr;
	gap:1rem;
	place-items:center;
	
	background-color:var(--pink);
	color:var(--pink-text);
	font-size:0.95vw;
	border-radius:99em;
	padding:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.green > div div:last-child { padding-right:1.5vw; }
.green img { width:100%; }
.green a { font-weight:600; }
.green a:is(:hover, :focus) { color:#000; }


.green_regist {
	background-color:#FFF;
	border-radius:1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	margin-top:2rem;
}
.green_regist h4 {
	background-color:var(--pink);
	color:var(--pink-text);
	font-size:120%;
	font-weight:600;
	border-radius:1rem 1rem 0 0;
	padding:0.8rem;
	text-align:center;
}
.green_regist .form li { display:inline-block; padding-right:1rem; line-height:100%; }
.green_regist .form li input { margin:0.4rem;  }

.green_tree_photo {
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap:1rem;
	margin:2rem 0;
}
.green_tree_photo img { width:100%; border-radius:0.5rem; }

.green_tree_map {
	display:grid;
	grid-template-columns:repeat(2, 1fr);
	gap:2rem;
}

.green_tree_map h4 { background-color:var(--pink); color:var(--pink-text); padding:0.5rem; text-align:center; font-weight:600;}
.green_tree_map .info { padding:1rem; background:#FFF; border-right:var(--pink) 1px solid; border-left:var(--pink) 1px solid; }
.green_tree_map .info span { color:var(--blue-text); }

.green_faq { border-bottom:#aaa 1px dashed; padding-bottom:0.5rem; margin-bottom:1rem; }
.green_faq summary {
	font-size:120%;
	font-weight:600;
	color:var(--blue-text);
	margin-bottom:0.5rem;
	cursor:pointer;
}
.green_faq summary span { color:#a0598f; padding-right:0.5rem; }



@media (max-width:64em) {
	.green { grid-template-columns:1fr; }
	.green > div { grid-template-columns:1fr 3fr; font-size:100%; }	
	.green_tree_map { grid-template-columns:1fr; gap:1.5rem; }
}

@media (max-width:47.9em) {
	.green { margin:0 auto; width:90%; }
	.green > div { grid-template-columns:1fr; padding:1.6rem; }
	.green > div div:last-child { padding-right:0; padding-bottom:2rem; }
	.green span { display:block; text-align:center; font-size:120%; padding-top:10px; }
	.green_tree_photo { grid-template-columns:repeat(2, 1fr); }
	.green_tree_map .info span { display:block; }
}


/* video
------------------------------------------------------------------------------ */
.video {  }

.video .box {
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap:1.5rem;
}

.video .box a {
	background-color:#FFF;
	border-radius:1rem;
	text-decoration:none;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.video .box a:is(:hover, :focus) { background-color:var(--pink); }

.video .photo {
	aspect-ratio:4 / 2.5;
	border-radius:1rem 1rem 0 0;
	border:#f7c6b1 0.2rem solid;
	border-bottom:none;
	padding:0.3rem;
}
.video .photo img {
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius:0.6rem 0.6rem 0 0;
}

.video p { padding:0.7rem 1rem 1rem; text-align:center;  }
.video span { display:block; font-size:80%; color:#285143; }

.video .box a:is(:hover, :focus) p { color:var(--pink-text); }

@media (max-width:64em) {
	.video .box { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:47.9em) {
	.video .box { grid-template-columns:1fr; }
}




/* sitemap
------------------------------------------------------------------------------ */
.sitemap_list {
	display:grid;
	grid-template-columns:repeat(5, 1fr);
	gap:1.5rem;
}

.sitemap_list .c1 { background-color:var(--pink); color:var(--pink-text); font-weight:600; }
.sitemap_list .c2 { background-color:#555; color:#FFF; font-size:90%; }

.sitemap_list a, .sitemap_list p { display:block; text-decoration:none; padding:0.5rem; text-align:center; margin-bottom:1px;}
.sitemap_list a:is(:hover, :focus) { background-color:var(--hover); color:#FFF; }

@media (max-width:64em) {
	.sitemap_list { grid-template-columns:repeat(3, 1fr); }
}

@media (max-width:47.9em) {
	.sitemap_list { grid-template-columns:1fr; }
}



/* footer
------------------------------------------------------------------------------ */
footer { position:relative; }

.footer {
	display:grid;
	grid-template-columns:1fr 2.5fr 0.5fr;
	gap:1rem;
	background:var(--pink);
	padding:3rem;
	color:#46342e;
	font-size:70%;
}

address { line-height:200%;}
address a { margin:0 1rem; }
address a:first-child { margin-left:0; }
address a:is(:hover, :focus) { color:#b30027; }

.qrcode { text-align:center; }
.qrcode img { width:6rem; margin:0 0.2rem; }

.mark img { height:3rem; margin-bottom:0.5rem; }

@media (max-width:64em) { /*1024*/
	.footer { grid-template-columns:1fr; text-align:center; padding:2rem 1.5rem; }
	address a { margin:0 0.5rem; }
}



/* btn
------------------------------------------------------------------------------ */
.btn {
	border-top:var(--pink) 1px solid;
	text-align:center;
	margin-top:1rem;
	padding-top:1.5rem;
}
.btn a {
	display:inline-block;
	color:#FFF;
	font-family:"Noto Sans TC", "Meiryo UI", sans-serif;
	font-weight:600;
	font-size:120%;
	padding:0.8rem 0;	
	border-radius:0.5rem;
	text-decoration:none;
	margin:0 1%;
}
.btn a i { opacity:0.5; margin-right:0.3rem; }

.btn a:is(:hover, :focus) { background:var(--hover); }

.btn_purple { background:#a0598f; }
.btn_brown { background:#916e40; }
.btn_blue { background:#556e8d; }
.btn_black { background:#333; }
.btn_green { background:#527a5b; }

.btn_1 a, .btn_2 a { width:25%; }
.btn_3 a { width:20%; }
.btn_4 a { width:20%; }

@media (max-width:64em) {
	.btn { margin-top:1.5rem; }
	.btn_1 a, .btn_2 a { width:30%; }
	.btn_3 a { width:25%; }
	.btn_4 a { width:21%; }
	.btn_4 a i { display:none; }
}
@media (max-width:47.9em) {
	.btn_1 a { width:100%; }
	.btn_2 a { width:45%; }
	.btn_3 a { width:30%; font-size:100%; }
	.btn_3 a i { display:none; }
	.btn_4 a { width:45%; font-size:100%; margin-bottom:1rem; }
}




/* color
------------------------------------------------------------------------------ */
:root {
    --text:#222;
    --bg:#fff;
    --focus:#000;
	--hover:#ab2424;
	--h-text:#735050;
	--important:#973f3f;
	--a-bg:#a45695;
	
	--blue:#bbe1ea;
	--blue-text:#1f6a7a;
	
	--pink:#ebd8dc;
	--pink-text:#83545e;
	
	--green:#c2d18c;
	--green-text:#4b571e;
	
	--txt-brown:#834111;
	--txt-purple:#91346f;
} 


/* youtube 比例自動縮放
-------------------------------------------------------------------------- */
.video-16x9 {
  aspect-ratio: 16 / 9;
}

.video-16x9 iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* 直式（手機短影音） */
.video-9x16 {
  aspect-ratio: 9 / 16;
  max-width: 500px;
  margin: 0 auto;
}

.video-9x16 iframe {
  width: 100%;
  height: 100%;
  display: block;
}
