@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  overflow-x: hidden;
  color: #5a5a5a;
  background-color: #ffffff;
}
body ::selection {
  background-color: rgba(110, 157, 148, 0.5);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a,
span,
i {
  display: inline-block;
}

a,
a:hover {
  text-decoration: none;
}

input,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

button,
a {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1440px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1366px;
  }
}
h3.item-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #2A2A2A;
}
@media (min-width: 992px) {
  h3.item-title {
    font-size: 18px;
  }
}

main.inner-page {
  padding: 30px 0 60px;
  margin-top: 76px;
}
@media (min-width: 992px) {
  main.inner-page {
    margin-top: 116px;
    padding: 60px 0 120px;
  }
}

.top-menu {
  position: relative;
}

.menu-switch {
  width: 100%;
  background-color: transparent;
  color: #5a5a5a;
  border: 1px solid #6E9D94;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  padding: 6px 14px;
}
@media (min-width: 992px) {
  .menu-switch {
    display: none;
  }
}
.menu-switch:hover {
  color: #5a5a5a;
}
.menu-switch.active {
  background-color: #6E9D94;
  color: #F8F8F8;
}
.menu-switch:focus {
  outline: none;
}

.arrow-icon {
  transition: all 0.5s ease-in-out;
}
.arrow-icon.rotate {
  transform: rotate(-180deg);
}

.top-menu-container {
  padding: 0 15px;
}
@media (min-width: 992px) {
  .top-menu-container {
    padding: 0 0;
  }
}

.tab-container {
  position: absolute;
  z-index: 1;
  width: 100%;
  padding-left: 0;
  list-style: none;
  background-color: #F8F8F8;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}
@media (min-width: 992px) {
  .tab-container {
    position: static;
    align-items: flex-end;
    background-color: transparent;
    border-bottom: 2px solid #6E9D94;
    box-shadow: none;
  }
}
.tab-container li {
  border: 1px solid #cccccc;
  border-top: none;
  width: 100%;
}
@media (min-width: 992px) {
  .tab-container li {
    border: none;
    width: auto;
  }
}
.tab-container button.nav-link {
  border-radius: 0;
  color: #5a5a5a;
  font-size: 22px;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  position: relative;
  width: 100%;
  text-align: left;
}
@media (min-width: 992px) {
  .tab-container button.nav-link {
    text-align: center;
    position: relative;
    background-color: #e3e3e3;
    border: 0.5px solid #5a5a5a;
    border-bottom: none;
  }
}
.tab-container button.nav-link.active, .tab-container button.nav-link:hover {
  color: #2A2A2A;
}
@media (min-width: 992px) {
  .tab-container button.nav-link.active, .tab-container button.nav-link:hover {
    color: #355952;
    border: 2px solid #6E9D94;
    background-color: transparent;
    border-bottom: none;
    padding: 0.8rem 0.8rem;
  }
  .tab-container button.nav-link.active::before, .tab-container button.nav-link:hover::before {
    content: "";
    position: absolute;
    background-image: url("/public/frontEndPackage/images/bg-block.png");
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -2px;
  }
}
.tab-container button.nav-link:focus {
  outline: none;
}

h2 {
  color: #355952;
  margin-bottom: 32px;
  font-weight: 500;
  font-size: 32px;
}
@media (min-width: 992px) {
  h2 {
    font-size: 36px;
  }
}
h2 span {
  -webkit-text-stroke: 1px #355952;
  -webkit-text-fill-color: transparent;
}
h2.cms-title {
  padding-bottom: 16px;
  border-bottom: 1px solid #355952;
}

.news-list {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
.news-list .item {
  padding: 12px 20px;
  border-bottom: 1px solid #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 0.5rem;
  color: #5a5a5a;
}
@media (min-width: 992px) {
  .news-list .item {
    padding: 16px 24px;
  }
}

.page {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
}
.page a {
  color: #5a5a5a;
}
.page a.active, .page a:hover {
  color: #8F0D17;
}
.page i {
  color: #355952;
}

a.item {
  transition: all 0.3s ease-in-out;
}
a.item:hover {
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.25);
}

.border-block {
  border: 1px solid #355952;
  border-radius: 36px;
  background-color: #F8F8F8;
  padding: 20px 20px;
}
.border-block .top {
  border-bottom: 1px solid #355952;
  margin-bottom: 16px;
}
.border-block .top h2 {
  margin-bottom: 16px;
}

.category-top {
  align-items: center;
  row-gap: 1.5rem;
  margin-bottom: 50px;
}

.w-1920 {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.text-main {
  color: #355952;
}

.text-lightBlack {
  color: #5a5a5a;
}

.text-darkBlack {
  color: #2A2A2A;
}

.text-white {
  color: #F8F8F8;
}

.font-eng {
  font-family: Arial, Helvetica, sans-serif;
}

.fs-14 {
  font-size: 0.875rem;
}

.fs-16 {
  font-size: 1rem;
}

.fs-18 {
  font-size: 1.125rem;
}

.fs-20 {
  font-size: 1.25rem;
}

.fs-23 {
  font-size: 1.4375rem;
}

.fs-24 {
  font-size: 1.5rem;
}

.fs-28 {
  font-size: 1.75rem;
}

.fs-30 {
  font-size: 1.875rem;
}

.fs-32 {
  font-size: 2rem;
}

.fs-48 {
  font-size: 3rem;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-18 {
  margin-bottom: 1.125rem;
}

.mb-20 {
  margin-bottom: 1.25rem;
}

.mb-30 {
  margin-bottom: 1.875rem;
}

.mb-32 {
  margin-bottom: 2rem;
}

.mb-60 {
  margin-bottom: 3.75rem;
}

.mb-64 {
  margin-bottom: 4rem;
}

.mb-80 {
  margin-bottom: 5rem;
}

.py-60 {
  padding: 3.75rem 0;
}

.pb-64 {
  padding-bottom: 4rem;
}

.navbar-container {
  position: fixed;
  z-index: 1030; /* 固定nav需壓過頁面內容(hero z-index:2、手機tab下拉 z-index:20等)，否則開漢堡選單會疊字 */
  top: 0;
  left: 0;
  right: 0;
}

.navbar {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.navbar h1 {
  height: 60px;
  width: 120px;
}
@media (min-width: 992px) {
  .navbar h1 {
    height: 100px;
  }
}
.navbar .logo {
  display: block;
  background-repeat: no-repeat;
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
  background-size: contain;
  height: 100%;
}
.navbar .navbarMenu {
  position: absolute;
  width: 100%;
  height: calc(100vh - 76px);
  top: -100vh;
  left: 0;
  opacity: 0.5;
  transition: all 0.5s ease-in-out;
}
@media (min-width: 992px) {
  .navbar .navbarMenu {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    width: auto;
    height: auto;
  }
}
.navbar .navbar-nav {
  align-items: center;
  margin-top: 1rem;
}
@media (min-width: 992px) {
  .navbar .navbar-nav {
    flex-direction: row;
    margin-top: 0;
  }
}
.navbar .nav-item {
  text-align: center;
  width: 100%;
  margin-bottom: 0.8rem;
}
@media (min-width: 992px) {
  .navbar .nav-item {
    width: auto;
    margin-bottom: 0;
    margin-right: 28px;
  }
}
@media (min-width: 992px) {
  .navbar .nav-item:last-child {
    margin-right: 0;
  }
}
.navbar .nav-item .nav-link {
  color: #2A2A2A;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: all 0.3s ease-in-out;
  padding: 8px 16px;
  width: 100%;
}
.navbar .nav-item .nav-link:hover, .navbar .nav-item .nav-link.active {
  color: #002266;
  border-bottom-color: #002266;
  transition: all 0.3s ease-in-out;
}

#menuToggle {
  display: none;
}

label[for=menuToggle] {
  width: 45px;
  height: 32px;
  position: relative;
  margin-bottom: 0;
  cursor: pointer;
}
label[for=menuToggle] span {
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: #2A2A2A;
  left: 25%;
  transform: rotate(0deg);
  transition: all 0.3s ease-in-out;
}
label[for=menuToggle] span:nth-child(1) {
  top: 8px;
}
label[for=menuToggle] span:nth-child(2) {
  top: 16px;
}
label[for=menuToggle] span:nth-child(3) {
  top: 24px;
}
@media (min-width: 992px) {
  label[for=menuToggle] {
    display: none;
  }
}

#menuToggle:checked ~ label span:nth-child(1) {
  transform: rotate(45deg);
  top: 16px;
}

#menuToggle:checked ~ label span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#menuToggle:checked ~ label span:nth-child(3) {
  transform: rotate(-45deg);
  top: 16px;
}

#menuToggle:checked ~ .navbarMenu {
  background-color: #F8F8F8;
  opacity: 1;
  top: 76px;
}
@media (min-width: 992px) {
  #menuToggle:checked ~ .navbarMenu {
    background-color: transparent;
  }
}

footer {
  background-color: #002266;
  width: 100%;
  padding: 48px 0 28px;
  color: #fff;
}
footer .footer-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}
@media (min-width: 992px) {
  footer .footer-cta {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
}
footer .footer-cta__text {
  flex: 1 1 0;
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 3.2px;
}
@media (min-width: 992px) {
  footer .footer-cta__text {
    font-size: 32px;
  }
}
footer .footer-cta__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background-color: #BA8947;
  border-radius: 16px;
  padding: 20px 28px;
  color: #fff;
  transition: opacity 0.3s ease;
}
@media (min-width: 992px) {
  footer .footer-cta__btn {
    padding: 24px 32px;
  }
}
footer .footer-cta__btn:hover {
  color: #fff;
  opacity: 0.9;
}
footer .footer-cta__btn span {
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}
@media (min-width: 992px) {
  footer .footer-cta__btn span {
    font-size: 24px;
  }
}
footer .footer-cta__btn .footer-cta__mail {
  width: 40px;
  height: 40px;
}
@media (min-width: 992px) {
  footer .footer-cta__btn .footer-cta__mail {
    width: 48px;
    height: 48px;
  }
}
footer .footer-cta__btn .footer-cta__arrow {
  width: 24px;
  height: 24px;
}
footer .footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 992px) {
  footer .footer-bottom {
    flex-direction: row;
    align-items: center;
    font-size: 15px;
  }
}
footer .footer-bottom p {
  margin: 0;
}
footer .footer-bottom__copy a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}
footer .footer-bottom__copy a:hover {
  color: #fff;
  text-decoration: underline;
}
footer .footer-bottom__credit {
  letter-spacing: 0.75px;
  white-space: nowrap;
}

/* =========================================================
   首頁 2026 改版 (Figma: AG20260616001 傳辰顧問)
   主色 $navy #002266 / 強調 $gold #BA8947
   ========================================================= */
/* ---------- 大圖輪播 banner ---------- */
.banner-carousel {
  position: relative;
  margin-top: 76px;
  visibility: hidden;
}
@media (min-width: 992px) {
  .banner-carousel {
    margin-top: 116px;
  }
}
.banner-carousel.slick-initialized {
  visibility: visible;
}
.banner-carousel .slick-arrow {
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.banner-carousel .slick-arrow::before {
  color: #002266;
  font-weight: 600;
}
.banner-carousel .slick-prev::before {
  font-family: "bootstrap-icons";
  content: "\f284";
}
.banner-carousel .slick-prev {
  left: 15px;
}
.banner-carousel .slick-next::before {
  font-family: "bootstrap-icons";
  content: "\f285";
}
.banner-carousel .slick-next {
  right: 15px;
}

/* ---------- 共用：區段標題 ---------- */
.sec-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 40px;
}
.sec-title__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.sec-title__head .line {
  display: block;
  width: 48px;
  height: 1px;
  background-color: #002266;
}
@media (min-width: 992px) {
  .sec-title__head .line {
    width: 80px;
  }
}
.sec-title__head h2 {
  margin: 0;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 4px;
  white-space: nowrap;
  border: none;
}
.sec-title__head h2::after,
.sec-title__head h2 span {
  all: unset;
}
@media (min-width: 992px) {
  .sec-title__head h2 {
    font-size: 40px;
  }
}
.sec-title__sub {
  margin: 0;
  color: #2A2A2A;
  font-size: 16px;
  letter-spacing: 2px;
}
@media (min-width: 992px) {
  .sec-title__sub {
    font-size: 20px;
  }
}

/* ---------- SRLの挑戦 ---------- */
.home-challenge {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}
@media (min-width: 992px) {
  .home-challenge {
    padding: 80px 0;
  }
}
.home-challenge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/frontEndPackage/img/home/srl/bg_srl.png") center/cover no-repeat;
  z-index: 0;
  pointer-events: none;
}
.home-challenge .container-lg {
  position: relative;
  z-index: 1;
}

.challenge-grid {
  /* grid 而非 flex-wrap：50%+gap 在 iOS Safari 會因像素進位剛好爆版而掉成單欄 */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (min-width: 992px) {
  .challenge-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
  }
}

.challenge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  border-radius: 36px;
  padding: 16px 8px;
  transition: transform 0.3s ease;
}
@media (min-width: 992px) {
  .challenge-item {
    gap: 16px;
  }
}
.challenge-item:hover {
  transform: translateY(-6px);
}
.challenge-item__icon {
  width: 96px;
  height: 96px;
}
@media (min-width: 992px) {
  .challenge-item__icon {
    width: 120px;
    height: 120px;
  }
}
.challenge-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.challenge-item__title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 4.8px;
  color: #002266;
}
@media (min-width: 992px) {
  .challenge-item__title {
    font-size: 24px;
  }
}
.challenge-item__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1.4px;
  color: #2A2A2A;
}
.challenge-item {
  /* 各項目主題色 */
}
.challenge-item.is-green .challenge-item__title {
  color: #2E8959;
}
.challenge-item.is-yellow .challenge-item__title {
  color: #EDAA22;
}
.challenge-item.is-blue .challenge-item__title {
  color: #116BB7;
}

/* ---------- 取り組み例 ---------- */
.home-works {
  padding: 20px 0;
}
@media (min-width: 992px) {
  .home-works {
    padding: 40px 0;
  }
}
.home-works .works-box {
  background-color: rgba(0, 34, 102, 0.1);
  border-radius: 16px;
  padding: 24px 16px;
}
@media (min-width: 992px) {
  .home-works .works-box {
    padding: 24px 40px;
  }
}

.works-lead {
  margin-bottom: 24px;
}
.works-lead h3 {
  margin: 0 0 12px;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 3.2px;
}
@media (min-width: 992px) {
  .works-lead h3 {
    font-size: 32px;
  }
}
.works-lead p {
  margin: 0;
  color: #2A2A2A;
  font-size: 16px;
  letter-spacing: 2px;
}
@media (min-width: 992px) {
  .works-lead p {
    font-size: 20px;
  }
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 992px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

.works-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---------- NEWS・コラム ---------- */
.home-news {
  padding: 60px 0;
}
@media (min-width: 992px) {
  .home-news {
    padding: 80px 0;
  }
}
.home-news .news-list {
  row-gap: 0;
}
.home-news .news-list .item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  row-gap: 8px;
  border-bottom: 1px solid rgba(0, 34, 102, 0.15);
  color: #2A2A2A;
  transition: color 0.3s ease;
  padding: 14px 8px;
}
@media (min-width: 992px) {
  .home-news .news-list .item {
    flex-direction: row;
    align-items: baseline;
    column-gap: 24px;
    row-gap: 0;
  }
}
.home-news .news-list .item .news-date {
  flex-shrink: 0;
  color: #BA8947;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
@media (min-width: 992px) {
  .home-news .news-list .item .news-date {
    font-size: 16px;
  }
}
.home-news .news-list .item .news-title {
  color: #2A2A2A;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s ease;
}
@media (min-width: 992px) {
  .home-news .news-list .item .news-title {
    font-size: 16px;
  }
}
.home-news .news-list .item:hover {
  box-shadow: none;
}
.home-news .news-list .item:hover .news-date,
.home-news .news-list .item:hover .news-title {
  color: #BA8947;
}
.home-news .action-btn {
  text-align: right;
}
.home-news .action-btn a {
  color: #002266;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: opacity 0.3s ease;
}
@media (min-width: 992px) {
  .home-news .action-btn a {
    font-size: 20px;
  }
}
.home-news .action-btn a:hover {
  opacity: 0.7;
  color: #002266;
}

/* =========================================================
   お問い合わせ（/contact）2026 改版
   (Figma AG20260616001 傳辰顧問 お問い合わせ)
   ========================================================= */
.contact {
  background-color: #f2f4f7;
}
.contact .contact-form {
  /* 頁面標題：深藍襯線、靠左 */
}
.contact .contact-form h2#title {
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}
@media (min-width: 992px) {
  .contact .contact-form h2#title {
    font-size: 34px;
    letter-spacing: 6px;
    margin-bottom: 24px;
  }
}
.contact .contact-form {
  /* 說明文＋深藍細線 */
}
.contact .contact-form .contact-lead {
  color: #2A2A2A;
  font-size: 15px;
  letter-spacing: 1px;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid #002266;
}
@media (min-width: 992px) {
  .contact .contact-form .contact-lead {
    font-size: 16px;
    padding-bottom: 30px;
    margin-bottom: 44px;
  }
}
.contact .contact-form {
  /* 表單白卡片 */
}
.contact .contact-form #contactForm {
  background-color: #fff;
  border-radius: 20px;
  padding: 28px 18px;
}
@media (min-width: 992px) {
  .contact .contact-form #contactForm {
    padding: 48px 40px;
  }
}
.contact .contact-form .form-row {
  row-gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 992px) {
  .contact .contact-form .form-row {
    margin-bottom: 44px;
  }
}
.contact .contact-form .form-group {
  margin-bottom: 36px;
}
@media (min-width: 992px) {
  .contact .contact-form .form-group {
    margin-bottom: 52px;
  }
}
.contact .contact-form .col {
  flex-basis: auto;
  padding-left: 10px;
  padding-right: 10px;
}
@media (min-width: 576px) {
  .contact .contact-form .col {
    flex-basis: 0;
  }
}
.contact .contact-form label {
  color: #2A2A2A;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.contact .contact-form .required-badge {
  display: inline-block;
  background-color: #002266;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: 2px;
}
.contact .contact-form .form-control,
.contact .contact-form textarea {
  border: 1px solid #002266;
  border-radius: 8px;
  background-color: #fff;
  height: auto;
  padding: 14px 16px;
}
@media (min-width: 992px) {
  .contact .contact-form .form-control,
  .contact .contact-form textarea {
    padding: 17px 18px;
  }
}
.contact .contact-form .form-control:focus,
.contact .contact-form textarea:focus {
  border-color: #002266;
  box-shadow: 0 0 0 0.2rem rgba(0, 34, 102, 0.2);
}
.contact .contact-form label.error {
  color: #8F0D17;
  margin: 6px 0 0;
}
.contact .contact-form {
  /* 送信：白底深藍框大膠囊 */
}
.contact .contact-form button#submit-btn {
  border: 1px solid #002266;
  border-radius: 100px;
  background-color: #fff;
  color: #002266;
  width: min(320px, 100%);
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
@media (min-width: 992px) {
  .contact .contact-form button#submit-btn {
    font-size: 20px;
    padding: 22px 28px;
  }
}
.contact .contact-form button#submit-btn::before {
  content: "";
  background-color: #002266;
  border-radius: 100px;
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}
.contact .contact-form button#submit-btn:hover {
  transition: all 0.3s ease-in-out;
  color: #fff;
  background-color: transparent;
}
.contact .contact-form button#submit-btn:hover::before {
  transition: all 0.3s ease-in-out;
  width: 100%;
}
.contact .contact-form button#submit-btn:focus {
  outline: none;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  background-color: #002266 !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 34, 102, 0.3) !important;
}

/* =========================================================
   会社概要 2026 改版 (Figma: AG20260616001 傳辰顧問)
   專用版型：tmp_about_hero / tmp_about_card / tmp_about_table
   ========================================================= */
.about-page {
  background-color: #f4f6f9;
  /* CMS 會多包一層 .container，移除其左右留白讓卡片貼齊外層 container-lg；
     同時抵消 .row 的負邊距，避免 hero 文字被裁切；
     (hero 寬度同卡片，不出血，故不需放行 overflow) */
}
.about-page #mainContent .articleEditorBox.container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.about-page #mainContent .articleEditorBox.container .row {
  margin-left: 0;
  margin-right: 0;
}
.about-page #mainContent .articleEditorBox.container .articleBox {
  padding-left: 0;
  padding-right: 0;
}
.about-page {
  /* ---------- Hero banner：左標題 右大圖(桌機斜切，寬度同卡片、底色同頁面) ---------- */
}
.about-page .about-hero {
  position: relative;
  margin-bottom: 32px;
}
@media (min-width: 992px) {
  .about-page .about-hero {
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 340px;
    margin-bottom: 48px;
  }
}
.about-page .about-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
@media (min-width: 992px) {
  .about-page .about-hero__inner {
    padding: 40px 0;
  }
}
@media (min-width: 992px) {
  .about-page .about-hero__text {
    max-width: 50%;
  }
}
.about-page .about-hero__title {
  margin: 0;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 8px;
  border: none;
}
.about-page .about-hero__title span {
  all: unset;
}
@media (min-width: 992px) {
  .about-page .about-hero__title {
    font-size: 48px;
    letter-spacing: 12px;
  }
}
.about-page .about-hero__sub {
  margin: 8px 0 0;
  color: #BA8947;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  letter-spacing: 2px;
}
@media (min-width: 992px) {
  .about-page .about-hero__sub {
    font-size: 20px;
  }
}
.about-page .about-hero__lead {
  margin-top: 20px;
  color: #2A2A2A;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.5px;
}
@media (min-width: 992px) {
  .about-page .about-hero__lead {
    font-size: 16px;
  }
}
.about-page .about-hero {
  /* 圖：手機版不顯示(依 Figma)；桌機=絕對定位佔右半、左緣斜切 */
}
.about-page .about-hero__bg {
  display: none;
}
@media (min-width: 992px) {
  .about-page .about-hero__bg {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    left: auto;
    margin-top: 0;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  }
  .about-page .about-hero__bg img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
  }
}
.about-page {
  /* ---------- 白卡片（情報卡 / 文字卡共用） ---------- */
}
.about-page .about-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 34, 102, 0.06);
  padding: 24px 20px;
  margin-bottom: 32px;
}
@media (min-width: 992px) {
  .about-page .about-card {
    padding: 40px 48px;
    margin-bottom: 40px;
  }
}
.about-page .about-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.about-page .about-card__head i {
  color: #002266;
  font-size: 26px;
  line-height: 1;
}
.about-page .about-card__head h3 {
  margin: 0;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 3px;
  border: none;
}
@media (min-width: 992px) {
  .about-page .about-card__head h3 {
    font-size: 28px;
  }
}
.about-page .about-card__body {
  color: #2A2A2A;
  font-size: 15px;
  line-height: 1.9;
}
@media (min-width: 992px) {
  .about-page .about-card__body {
    font-size: 16px;
  }
}
.about-page {
  /* ---------- 情報卡內部：表格(左) + 地圖(右) ---------- */
}
.about-page .about-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 992px) {
  .about-page .about-info--split {
    flex-direction: row;
    gap: 40px;
  }
}
.about-page .about-info__main {
  flex: 1 1 0;
}
.about-page .about-info__side {
  flex: 0 0 42%;
}
.about-page .about-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  overflow: hidden;
}
.about-page .about-table tr + tr th,
.about-page .about-table tr + tr td {
  border-top: 1px solid #e5e8ef;
}
.about-page .about-table th,
.about-page .about-table td {
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  padding: 12px 16px;
}
@media (min-width: 992px) {
  .about-page .about-table th,
  .about-page .about-table td {
    font-size: 16px;
  }
}
.about-page .about-table th {
  width: 130px;
  background-color: #f5f6f8;
  color: #002266;
  font-weight: 700;
  white-space: nowrap;
  border-right: 1px solid #e5e8ef;
  vertical-align: top;
}
@media (min-width: 992px) {
  .about-page .about-table th {
    width: 160px;
  }
}
.about-page .about-table td {
  color: #2A2A2A;
}
.about-page .about-table td a {
  color: #116BB7;
}
.about-page .about-table td a:hover {
  text-decoration: underline;
}
.about-page {
  /* ---------- アクセス / 地圖 ---------- */
}
.about-page .about-access__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #002266;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
}
.about-page .about-access__label i {
  color: #BA8947;
}
.about-page .about-access__map {
  border-radius: 8px;
  overflow: hidden;
  height: calc(100% - 40px);
  min-height: 240px;
}
.about-page .about-access__map iframe,
.about-page .about-access__map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  object-fit: cover;
}

/* =========================================================
   なぜ台湾（/why-taiwan）2026 改版 (Figma AG20260616001 傳辰顧問)
   共用版型：tmp_tw_heading / tmp_tw_card / tmp_tw_stat
   ※ 與 業務內容(/service) 共用 client/cms-page.blade.php：
     hero／tab 切換等骨架樣式 scope 在 .why-taiwan,.service 共用，
     薄紫面板與 tw-* 版型維持 .why-taiwan 專屬（service 專屬見 _service.scss）。
   ========================================================= */
.why-taiwan,
.service {
  background-color: #f4f6f9;
  /* ---------- Hero banner（沿用 会社概要 斜切版型；資料來自 categoryTag/3） ---------- */
}
.why-taiwan .category-top,
.service .category-top {
  position: relative;
  align-items: flex-start;
  row-gap: 0;
  margin-bottom: 40px;
}
@media (min-width: 992px) {
  .why-taiwan .category-top,
  .service .category-top {
    min-height: 360px;
    margin-bottom: 56px;
  }
}
.why-taiwan .category-top,
.service .category-top {
  /* 文字欄：桌機佔左半、疊在圖上方 */
}
.why-taiwan .category-top .col-md-8,
.service .category-top .col-md-8 {
  position: relative;
  z-index: 2;
}
@media (min-width: 992px) {
  .why-taiwan .category-top .col-md-8,
  .service .category-top .col-md-8 {
    max-width: 50%;
    padding-top: 24px;
  }
}
.why-taiwan .category-top,
.service .category-top {
  /* 標題「なぜ台湾？」 */
}
.why-taiwan .category-top .cms-title,
.service .category-top .cms-title {
  display: inline-block;
  margin-bottom: 24px;
  padding-bottom: 16px;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 8px;
  text-align: left;
  border-bottom: none;
  position: relative;
}
.why-taiwan .category-top .cms-title::after,
.service .category-top .cms-title::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 48px;
  height: 2px;
  background-color: #BA8947;
}
@media (min-width: 992px) {
  .why-taiwan .category-top .cms-title,
  .service .category-top .cms-title {
    font-size: 46px;
    letter-spacing: 12px;
  }
}
.why-taiwan .category-top,
.service .category-top {
  /* 引用文＋出典 */
}
.why-taiwan .category-top .col-md-8 > div,
.service .category-top .col-md-8 > div {
  color: #002266;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.5px;
}
@media (min-width: 992px) {
  .why-taiwan .category-top .col-md-8 > div,
  .service .category-top .col-md-8 > div {
    font-size: 15px;
  }
}
.why-taiwan .category-top,
.service .category-top {
  /* 右側大圖：桌機絕對定位佔右半、左緣斜切；手機不顯示（依 Figma） */
}
.why-taiwan .category-top .col-md-4,
.service .category-top .col-md-4 {
  display: none;
}
@media (min-width: 992px) {
  .why-taiwan .category-top .col-md-4,
  .service .category-top .col-md-4 {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    max-width: none; /* 蓋掉 bootstrap .col-md-4 的 max-width:33.33%，否則圖只剩 1/3 寬 */
    padding: 0;
    margin: 0;
    overflow: hidden;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
}
.why-taiwan .category-top .col-md-4 img,
.service .category-top .col-md-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.why-taiwan,
.service {
  /* ---------- タブ切替（桌機=膠囊分段、手機=下拉） ---------- */
}
.why-taiwan .top-menu-container,
.service .top-menu-container {
  margin-bottom: 0 !important;
}
@media (min-width: 992px) {
  .why-taiwan .top-menu-container,
  .service .top-menu-container {
    display: flex;
    justify-content: center;
  }
}
.why-taiwan,
.service {
  /* 手機版下拉按鈕：深藍底白字、文字置中、箭頭較粗、只有上方圓角 */
}
.why-taiwan .menu-switch,
.service .menu-switch {
  position: relative;
  justify-content: center; /* 標頭文字置中 */
  background-color: #002266;
  border: 1px solid #002266;
  color: #fff;
  border-radius: 8px 8px 0 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.05rem; /* 與選項同大小 */
  padding: 14px 14px;
}
.why-taiwan .menu-switch .arrow-icon,
.service .menu-switch .arrow-icon {
  color: #fff;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25em;
  -webkit-text-stroke: 0.9px #fff; /* 箭頭較粗 */
}
.why-taiwan .menu-switch .arrow-icon.rotate,
.service .menu-switch .arrow-icon.rotate {
  transform: translateY(-50%) rotate(180deg);
}
.why-taiwan .menu-switch.active, .why-taiwan .menu-switch:hover,
.service .menu-switch.active,
.service .menu-switch:hover {
  background-color: #002266;
  color: #fff;
}
.why-taiwan .tab-container,
.service .tab-container {
  /* 手機展開下拉：與按鈕接成一個框（深藍框、下方圓角），選項置中、細線分隔 */
}
@media (max-width: 991.98px) {
  .why-taiwan .tab-container,
  .service .tab-container {
    border: 1px solid #002266 !important; /* !important 保險蓋過 base 的淡灰框 */
    border-top: none !important;
    border-bottom: 3px solid #002266 !important; /* 下方底線較粗 */
    border-radius: 0; /* 只有上方(標頭)圓角，清單本身不圓 */
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 34, 102, 0.15);
    background-color: #fff;
    z-index: 20;
  }
  .why-taiwan .tab-container li,
  .service .tab-container li {
    border: none;
    background-color: #fff;
  }
  .why-taiwan .tab-container li:not(:last-child) button.nav-link,
  .service .tab-container li:not(:last-child) button.nav-link {
    border-bottom: 1px solid #002266; /* tab 間分隔線（依 Figma 實色深藍） */
  }
  .why-taiwan .tab-container button.nav-link,
  .service .tab-container button.nav-link {
    text-align: center;
    background-color: #fff; /* 消除第二列淡灰 */
    padding: 14px 12px;
  }
}
@media (min-width: 992px) {
  .why-taiwan .tab-container,
  .service .tab-container {
    display: inline-flex;
    width: auto;
    border: 1px solid rgba(0, 34, 102, 0.25);
    border-bottom: 2px solid #002266; /* 未選中分頁露出這條=底線 */
    border-radius: 8px 8px 0 0; /* 只有上方圓角 */
    overflow: visible; /* 讓選中分頁的小箭頭可露出下方 */
    background-color: #fff;
  }
}
@media (min-width: 992px) {
  .why-taiwan .tab-container li,
  .service .tab-container li {
    border: none;
  }
}
@media (min-width: 992px) {
  .why-taiwan .tab-container li:first-child button.nav-link,
  .service .tab-container li:first-child button.nav-link {
    border-top-left-radius: 8px;
  }
}
@media (min-width: 992px) {
  .why-taiwan .tab-container li:last-child button.nav-link,
  .service .tab-container li:last-child button.nav-link {
    border-top-right-radius: 8px;
  }
}
.why-taiwan .tab-container button.nav-link,
.service .tab-container button.nav-link {
  /* 手機版下拉選項：深藍字 */
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
}
@media (min-width: 992px) {
  .why-taiwan .tab-container button.nav-link,
  .service .tab-container button.nav-link {
    position: relative;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #002266;
    font-family: "Noto Serif JP", serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 12px 40px;
  }
  .why-taiwan .tab-container button.nav-link::before,
  .service .tab-container button.nav-link::before {
    display: none;
  }
}
@media (min-width: 992px) {
  .why-taiwan .tab-container button.nav-link.active,
  .service .tab-container button.nav-link.active {
    color: #fff;
    background-color: #002266;
    /* 下方小箭頭（tooltip 指標） */
  }
  .why-taiwan .tab-container button.nav-link.active::after,
  .service .tab-container button.nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #002266;
  }
}

/* ---------- 以下為 why-taiwan 專屬 ---------- */
.why-taiwan {
  /* ---------- タブ内容：薄紫パネル ---------- */
}
.why-taiwan .tab-content {
  margin-top: 32px;
  background-color: #e9ecf5;
  border-radius: 0; /* 最外層面板不要圓角，只有裡面的卡片有 */
  padding: 28px 16px;
}
@media (min-width: 992px) {
  .why-taiwan .tab-content {
    margin-top: 48px;
    padding: 56px 48px;
  }
}
.why-taiwan .tab-content {
  /* CMS 會多包一層 .container；歸零其留白讓積木貼齊面板 */
}
.why-taiwan .tab-content .container.articleEditorBox {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.why-taiwan .tab-content .container.articleEditorBox .row {
  margin-left: 0;
  margin-right: 0;
}
.why-taiwan .tab-content .container.articleEditorBox .articleBox {
  padding-left: 0;
  padding-right: 0;
}
.why-taiwan {
  /* ---------- セクション見出し ---------- */
}
.why-taiwan .tw-heading {
  text-align: center;
  margin-bottom: 32px;
}
@media (min-width: 992px) {
  .why-taiwan .tw-heading {
    margin-bottom: 40px;
  }
}
.why-taiwan .tw-heading__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  /* 手機：大字、可斷行（依 Figma），金線置中flanking */
  font-size: 28px;
  letter-spacing: 3px;
  border: none;
}
@media (min-width: 992px) {
  .why-taiwan .tw-heading__title {
    font-size: 30px;
    gap: 28px;
  }
}
.why-taiwan .tw-heading__title span.tw-heading__deco {
  flex: 0 0 auto;
  width: 32px;
  height: 1px;
  background-color: #BA8947;
}
@media (min-width: 992px) {
  .why-taiwan .tw-heading__title span.tw-heading__deco {
    width: 56px;
  }
}
.why-taiwan .tw-heading__lead {
  max-width: 900px;
  margin: 20px auto 0;
  color: #2A2A2A;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}
@media (min-width: 992px) {
  .why-taiwan .tw-heading__lead {
    font-size: 16px;
  }
}
.why-taiwan .tw-heading__lead p {
  margin: 0;
}
.why-taiwan {
  /* ---------- 特徴カード（横：icon＋標題＋本文＋大圖） ---------- */
}
.why-taiwan .tw-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background-color: #fff;
  border: 1px solid #c3cbdb; /* 清楚的細灰藍框線（依 Figma） */
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 34, 102, 0.05);
  padding: 28px 24px;
  margin-bottom: 24px;
}
@media (min-width: 992px) {
  .why-taiwan .tw-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 24px;
    padding: 32px 40px;
    margin-bottom: 28px;
  }
}
.why-taiwan .tw-card__aside {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  /* 手機堆疊時：icon 下方橫向金色分隔線 */
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(186, 137, 71, 0.55);
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__aside {
    width: 110px;
    padding-bottom: 0;
    border-bottom: none;
  }
}
.why-taiwan .tw-card__icon img {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__icon img {
    width: 96px;
    height: 96px;
  }
}
.why-taiwan .tw-card__body {
  flex: 1 1 auto;
  min-width: 0;
  /* icon 與文字之間的金色分隔線（僅桌機；手機堆疊時不顯示） */
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__body {
    padding-left: 24px;
    border-left: 1px solid rgba(186, 137, 71, 0.55);
  }
}
.why-taiwan .tw-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
  border: none;
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__title {
    justify-content: flex-start;
  }
}
.why-taiwan .tw-card__no {
  color: #BA8947;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__no {
    font-size: 30px;
  }
}
.why-taiwan .tw-card__bar {
  width: 1px;
  height: 22px;
  background-color: rgba(186, 137, 71, 0.6);
}
.why-taiwan .tw-card__name {
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1px;
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__name {
    font-size: 22px;
  }
}
.why-taiwan .tw-card__text {
  color: #2A2A2A;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.3px;
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__text {
    font-size: 15px;
  }
}
.why-taiwan .tw-card__text p {
  margin: 0;
}
.why-taiwan .tw-card__figure {
  flex: 0 0 auto;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__figure {
    width: 42%;
    max-width: 460px;
    align-self: stretch;
  }
}
.why-taiwan .tw-card__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 992px) {
  .why-taiwan .tw-card__figure img {
    min-height: 220px;
  }
}
.why-taiwan {
  /* ---------- 数字カード（seg4×3、一列三枚） ---------- */
}
.why-taiwan .tw-stat {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  border: 1px solid #e3e7f1;
  border-radius: 14px;
  padding: 28px 20px;
  margin-bottom: 16px;
}
.why-taiwan .tw-stat__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.why-taiwan .tw-stat__icon img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.why-taiwan .tw-stat__num {
  margin: 0;
  color: #BA8947;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}
@media (min-width: 992px) {
  .why-taiwan .tw-stat__num {
    font-size: 46px;
  }
}
.why-taiwan .tw-stat__unit {
  margin-left: 4px;
  font-size: 18px;
  font-weight: 700;
}
@media (min-width: 992px) {
  .why-taiwan .tw-stat__unit {
    font-size: 20px;
  }
}
.why-taiwan .tw-stat__label {
  margin: 0 0 10px;
  color: #002266;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}
@media (min-width: 992px) {
  .why-taiwan .tw-stat__label {
    font-size: 16px;
  }
}
.why-taiwan .tw-stat__note {
  color: #5a5a5a;
  font-size: 12px;
  line-height: 1.7;
}
.why-taiwan .tw-stat__note p {
  margin: 0;
}
.why-taiwan .tw-stat__note small {
  display: block;
  margin-top: 6px;
  color: #97a0b5;
  font-size: 11px;
}

/* =========================================================
   業務内容（/service）2026 改版 (Figma AG20260616001 傳辰顧問)
   專用版型：tmp_sv_lead / tmp_sv_card / tmp_sv_pillar
   ※ hero / tab 切換骨架與 why-taiwan 共用（見 _why-taiwan.scss），
     此檔只放 service 專屬樣式。
   ========================================================= */
.service {
  /* ---------- Hero 覆寫：標題下不畫金線，改用金色英文小字 ---------- */
}
.service .category-top .cms-title {
  padding-bottom: 0;
  margin-bottom: 6px;
}
.service .category-top .cms-title::after {
  display: none;
}
.service .category-top .cms-title-en {
  margin: 0 0 24px;
  color: #BA8947;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  letter-spacing: 2px;
}
.service .category-top .col-md-8 > div {
  color: #2A2A2A;
}
.service {
  /* ---------- 「3つのサービス」見出し（categoryTag cate_tag_desc：h2＋p） ---------- */
}
.service .sv-section-heading {
  text-align: center;
  margin-bottom: 28px;
}
@media (min-width: 992px) {
  .service .sv-section-heading {
    margin-bottom: 36px;
  }
}
.service .sv-section-heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 18px;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 3px;
  border: none;
}
@media (min-width: 992px) {
  .service .sv-section-heading h2 {
    font-size: 32px;
    gap: 28px;
    letter-spacing: 5px;
  }
}
.service .sv-section-heading h2::before, .service .sv-section-heading h2::after {
  content: "";
  flex: 0 0 auto;
  width: 32px;
  height: 1px;
  background-color: #002266;
}
@media (min-width: 992px) {
  .service .sv-section-heading h2::before, .service .sv-section-heading h2::after {
    width: 56px;
  }
}
.service .sv-section-heading p {
  margin: 0;
  color: #2A2A2A;
  font-size: 14px;
  line-height: 1.9;
}
@media (min-width: 992px) {
  .service .sv-section-heading p {
    font-size: 16px;
  }
}
.service {
  /* ---------- タブ内容：無底色（卡片直接鋪在頁面底色上） ---------- */
}
.service .tab-content {
  margin-top: 24px;
}
@media (min-width: 992px) {
  .service .tab-content {
    margin-top: 36px;
  }
}
.service .tab-content {
  /* CMS 會多包一層 .container；歸零其留白讓積木貼齊 */
}
.service .tab-content .container.articleEditorBox {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.service .tab-content .container.articleEditorBox .row {
  margin-left: 0;
  margin-right: 0;
}
.service .tab-content .container.articleEditorBox .articleBox {
  padding-left: 0;
  padding-right: 0;
}
.service {
  /* ---------- タブ紹介文（tmp_sv_lead） ---------- */
}
.service .sv-lead {
  max-width: 900px;
  margin: 0 auto 28px;
  color: #2A2A2A;
  font-size: 14px;
  line-height: 2;
  text-align: center;
}
@media (min-width: 992px) {
  .service .sv-lead {
    margin-bottom: 40px;
    font-size: 15px;
  }
}
.service .sv-lead p {
  margin: 0;
}
.service .sv-lead a {
  color: #002266;
  text-decoration: underline;
}
.service {
  /* ---------- サービスカード（tmp_sv_card，本文可展開收合） ---------- */
}
.service .sv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 34, 102, 0.06);
  padding: 20px 20px;
  padding-bottom: 64px; /* 手機：底部保留展開鈕空間 */
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .service .sv-card {
    flex-direction: row;
    flex-wrap: wrap; /* 本文(width:100%)換行到圖片下方 */
    align-items: center;
    gap: 24px 40px;
    padding: 36px 40px;
    margin-bottom: 28px;
  }
}
.service .sv-card__figure {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
}
@media (min-width: 992px) {
  .service .sv-card__figure {
    width: 38%;
    max-width: 490px;
    margin-left: 44px; /* icon 凸出圖片左側的空間 */
  }
}
.service .sv-card__figure--icon-only {
  width: auto;
  min-height: 96px;
  min-width: 96px;
}
.service .sv-card__photo {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.service .sv-card__icon {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 76px;
  height: 76px;
}
@media (min-width: 992px) {
  .service .sv-card__icon {
    top: -14px;
    left: -44px;
    width: 100px;
    height: 100px;
  }
}
.service .sv-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service .sv-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 992px) {
  .service .sv-card__body {
    /* 桌機：標題列＝標題＋右端展開鈕 */
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}
.service .sv-card__title {
  flex: 1 1 auto;
  margin: 0;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.5;
  border: none;
}
@media (min-width: 992px) {
  .service .sv-card__title {
    font-size: 24px;
  }
}
.service .sv-card__text {
  display: none; /* 收合時隱藏本文 */
  color: #2A2A2A;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.3px;
  text-align: justify;
}
@media (min-width: 992px) {
  .service .sv-card__text {
    /* 桌機：全寬排在圖片下方，左緣對齊圖片 */
    width: 100%;
    padding-left: 44px;
    font-size: 15px;
  }
}
.service .sv-card__text p {
  margin: 0 0 0.6em;
}
.service .sv-card__text p:last-child {
  margin-bottom: 0;
}
.service .sv-card__text ul {
  margin: 0 0 0.6em;
  padding-left: 1.4em;
}
.service .sv-card.is-open .sv-card__text {
  display: block;
}
.service .sv-card {
  /* 展開收合鈕：深藍圓形＋白色箭頭（手機絕對定位卡片右下、桌機在標題列右端隨標題置中） */
}
.service .sv-card__toggle {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #002266;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
}
@media (min-width: 992px) {
  .service .sv-card__toggle {
    position: static;
    margin-left: auto;
  }
}
.service .sv-card__toggle i {
  -webkit-text-stroke: 0.8px #fff;
}
.service .sv-card.is-open .sv-card__toggle {
  transform: rotate(180deg);
}
.service {
  /* ---------- 縦型カード（tmp_sv_pillar，不動産情報） ---------- */
}
.service .sv-pillar-col {
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .service .sv-pillar-col {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
.service .sv-pillar {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  border: 1px solid #c3cbdb;
  border-radius: 12px;
  padding: 28px 20px;
}
.service .sv-pillar__icon {
  display: block;
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
}
.service .sv-pillar__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service .sv-pillar__title {
  margin: 0 0 14px;
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 2px;
  border: none;
}
@media (min-width: 992px) {
  .service .sv-pillar__title {
    font-size: 21px;
  }
}
.service .sv-pillar__text {
  color: #2A2A2A;
  font-size: 13px;
  line-height: 1.9;
}
@media (min-width: 992px) {
  .service .sv-pillar__text {
    font-size: 14px;
  }
}
.service .sv-pillar__text p {
  margin: 0;
}
.service .sv-pillar__figure {
  width: 100%;
  margin-top: 18px;
}
@media (min-width: 992px) {
  .service .sv-pillar__figure {
    margin-top: auto;
    padding-top: 18px;
  }
}
.service .sv-pillar__figure img {
  display: block;
  max-width: 100%;
  max-height: 190px;
  margin: 0 auto;
}
.service {
  /* ---------- 「なぜ今、台湾なのか」球形連結 ---------- */
}
.service .sv-taiwan-ball {
  text-align: right;
  margin: 40px 0 16px;
}
@media (min-width: 992px) {
  .service .sv-taiwan-ball {
    margin: 56px 0 24px;
  }
}
.service .sv-taiwan-ball img {
  width: 170px;
  transition: transform 0.3s ease;
}
@media (min-width: 992px) {
  .service .sv-taiwan-ball img {
    width: 200px;
  }
}
.service .sv-taiwan-ball a:hover img {
  transform: scale(1.05);
}

/* =========================================================
   NEWS・コラム（/news 一覧、/news-info 內頁）2026 改版
   (Figma AG20260616001 傳辰顧問 News-1 / News-2)
   ========================================================= */
/* ---------- 共通：淺藍灰底 ---------- */
.news,
.news-info {
  background-color: #f2f4f7;
}

/* ---------- 一覧（/news） ---------- */
.news {
  /* 頁面標題：深藍襯線＋整寬灰細線 */
}
.news .news-page-title {
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 4px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid #b9bdc4;
}
@media (min-width: 992px) {
  .news .news-page-title {
    font-size: 32px;
    letter-spacing: 6px;
    padding-bottom: 20px;
  }
}
.news .news-list {
  row-gap: 0;
}
.news .news-list .item {
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 10px;
  border-bottom: 1px solid #a9adb5;
  padding: 22px 4px;
}
@media (min-width: 992px) {
  .news .news-list .item {
    flex-wrap: nowrap;
    column-gap: 28px;
    padding: 28px 12px;
  }
}
.news .news-list .item:hover {
  box-shadow: none; /* 蓋掉全站 a.item hover 陰影 */
}
.news .news-list .item:hover .item-title {
  color: #002266;
}
.news .news-list .item:hover .item-arrow {
  transform: translateX(4px);
}
.news .news-list {
  /* 徽章＋日期：手機同列、桌機上下疊 */
}
.news .news-list .item-meta {
  display: flex;
  align-items: center;
  column-gap: 14px;
}
@media (min-width: 992px) {
  .news .news-list .item-meta {
    flex: 0 0 auto;
    min-width: 96px;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 6px;
  }
}
.news .news-list .item-badge {
  display: inline-block;
  background-color: #002266;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
  padding: 7px 16px;
  border-radius: 10px;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .news .news-list .item-badge {
    font-size: 13px;
  }
}
.news .news-list .item-date {
  color: #5a5a5a;
  font-size: 13px;
  letter-spacing: 1px;
}
@media (min-width: 992px) {
  .news .news-list .item-date {
    font-size: 14px;
  }
}
.news .news-list {
  /* 標題：手機獨立一行（滿版）、桌機置於徽章右側 */
}
.news .news-list .item-title {
  order: 3;
  width: 100%;
  margin: 0;
  color: #2A2A2A;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.7;
  transition: color 0.3s ease-in-out;
}
@media (min-width: 992px) {
  .news .news-list .item-title {
    order: 0;
    width: auto;
    flex: 1 1 auto;
    font-size: 19px;
  }
}
.news .news-list .item-arrow {
  margin-left: auto;
  color: #002266;
  font-size: 16px;
  transition: transform 0.3s ease-in-out;
}
@media (min-width: 992px) {
  .news .news-list .item-arrow {
    font-size: 18px;
  }
}
.news {
  /* 分頁：目前頁深藍粗體、其他灰 */
}
.news .page a {
  color: #767b84;
  font-size: 17px;
}
.news .page a.active {
  color: #002266;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
}
.news .page a:hover {
  color: #002266;
}
.news .page i {
  color: #767b84;
}

/* ---------- 內頁（/news-info） ---------- */
.news-info .border-block {
  border: 1px solid #002266;
  border-radius: 16px;
  background-color: #fff;
  padding: 24px 20px;
}
@media (min-width: 992px) {
  .news-info .border-block {
    padding: 36px 48px;
  }
}
.news-info .border-block .top {
  border-bottom: 1px solid rgba(0, 34, 102, 0.45);
  margin-bottom: 24px;
  padding-bottom: 4px;
}
@media (min-width: 992px) {
  .news-info .border-block .top {
    margin-bottom: 32px;
  }
}
.news-info .border-block .top > i,
.news-info .border-block .top > span {
  color: #2A2A2A;
  font-size: 14px;
}
.news-info .border-block .top h2 {
  margin: 14px 0 22px;
  color: #002266;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 1.6;
}
@media (min-width: 992px) {
  .news-info .border-block .top h2 {
    font-size: 30px;
    letter-spacing: 2px;
  }
}
.news-info .border-block #content {
  color: #2A2A2A;
  font-size: 14px;
  line-height: 2;
}
@media (min-width: 992px) {
  .news-info .border-block #content {
    font-size: 15px;
  }
}
.news-info .border-block #content img {
  max-width: 100%;
  height: auto;
}
.news-info {
  /* 目次／前の記事 */
}
.news-info .page {
  margin-top: 28px;
}
.news-info .page a {
  color: #767b84;
  font-size: 15px;
}
.news-info .page a:hover, .news-info .page a.active {
  color: #002266;
}
