@charset "utf-8";
/* ===== service（四欄滿版深色圖卡，高 640px） ===== */
.service { margin: 0 0 120px; }
.service-inner { max-width: var(--w-content); margin: 0 auto 80px; }
.service-list { display: flex; }
.service-list-item { position: relative; width: 25%; }
.service-list-item + .service-list-item { border-left: 1px solid var(--c-white); }
.service-list-item::before { content: ""; position: absolute; inset: 0; background: var(--c-white); z-index: 10; transition: .5s ease-in-out; }
.service-list-item.is-active::before { left: 100%; }
.service-list-item a {
  display: flex; flex-direction: column; position: relative; height: 640px; padding: 48px;
  overflow: hidden; color: var(--c-white); z-index: 0;
}
.service-list-item a::before {
  content: ""; position: absolute; inset: 0; background-position: 50% 50%; background-size: cover; z-index: -1; transition: .3s;
  background-image: var(--bg);
}
.service-list-item a::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); z-index: -1; }
.service-list-item a:hover::before { transform: scale(1.1); }
.service-list-ttl { font-size: 20px; font-weight: 400; }
.service-list-ttl-en { margin: 0 0 32px; font-size: 12px; }
.service-list-txt { line-height: 1.9; }
.service-list-detail { margin: auto 0 40px; opacity: 0; transition: .3s; }
.service-list-item a:hover .service-list-detail { opacity: 1; }
.service-list-detail dt { margin: 0 0 8px; font-weight: 700; }
.service-list-btn { display: flex; align-items: center; }
.service-list-btn i {
  display: inline-flex; align-items: center; justify-content: center; position: relative; width: 56px; height: 56px;
  margin: 0 24px 0 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: 100%; background: rgba(255, 255, 255, .1);
}
.service-list-btn i::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 100%;
  background: var(--c-white); transform: translate(-50%, -50%); transition: .3s;
}
.service-list-btn i::after {
  content: ""; position: relative; width: 0; height: 0; border-style: solid; border-width: 3px 0 3px 9px;
  border-color: transparent transparent transparent var(--c-white); z-index: 10; transition: .3s;
}
.service-list-btn span { opacity: 0; position: relative; display: inline-block; transition: .3s; }
.service-list-item a:hover .service-list-btn i::before { width: 56px; height: 56px; }
.service-list-item a:hover .service-list-btn i::after { border-color: transparent transparent transparent var(--c-ink); }
.service-list-item a:hover .service-list-btn span { opacity: 1; }

/* ===== project（三欄卡片：STEP） ===== */
.project { margin: 0 0 184px; }
.project .row { margin-bottom: 48px; }
.project-list { display: flex; }
.project-list-item { width: calc(100% / 3); border-bottom: 1px solid #f0f0f0; }
.project-list-item + .project-list-item { margin-left: 1px; }
.project-list-item > div { display: block; height: 100%; padding: 0 0 32px; transition: .3s; }
.project-list-item > div:hover { position: relative; color: var(--c-white); background: var(--c-dark); box-shadow: 0 10px 20px rgba(0, 0, 0, .15); }
.project-list-img { overflow: hidden; margin: 0 0 32px; aspect-ratio: 4 / 3; background: var(--c-pale); }
.project-list-img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.project-list-item > div:hover .project-list-img img { transform: scale(1.1); }
.project-list-cat { display: flex; flex-wrap: wrap; line-height: 1; margin: 0 32px 16px; }
.project-list-cat span { display: block; line-height: 18px; padding: 0 16px; border-radius: 50px; color: var(--c-white); font-size: 12px; background: var(--c-dark); transition: .3s; }
.project-list-item > div:hover .project-list-cat span { color: var(--c-dark); background: var(--c-white); }
.project-list-txt { margin: 0 32px 8px; font-size: 16px; line-height: 1.8; }
.project-list-sub { margin: 0 32px 8px; }
.project-list-tags { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0 32px; color: var(--c-gray); font-size: 12px; }

/* ===== products（深色方案區 #272727） ===== */
.products { margin: 0 0 200px; padding: 160px 0; color: var(--c-white); background: var(--c-dark); }
.products a { color: var(--c-white); }
.products-inner { position: relative; max-width: var(--w-content); margin: 0 auto; }
.products .txt-02 { color: rgba(255, 255, 255, .6); }
.products .link-detail i { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
.products .link-detail i::before { background: var(--c-white); }
.products .link-detail i::after { border-color: transparent transparent transparent var(--c-white); }
.products .link-detail:hover i::after { filter: none; border-color: transparent transparent transparent var(--c-ink); }
.products .row { margin-bottom: 80px; }
.products-sub-ttl { line-height: 1; margin: 0 0 48px; font-size: 24px; }
.products-list { display: grid; grid-template-columns: repeat(3, 30.909%); justify-content: space-between; row-gap: 48px; }
.products-list-item { position: relative; display: flex; flex-direction: column; padding: 40px 32px 32px; border: 1px solid var(--c-dark2); transition: .3s; }
.products-list-item:hover { border-color: rgba(255, 255, 255, .4); }
.products-list-item.is-gift::after {
  content: "T-money"; position: absolute; top: 16px; right: 16px; line-height: 18px; padding: 2px 12px;
  border-radius: 50px; font-family: var(--f-din); font-size: 12px; background: var(--c-key);
}
.products-list-ttl { display: inline-block; position: relative; margin: 0 0 8px; font-size: 16px; }
.products-list-ttl b { font-size: 56px; font-weight: 200; line-height: 1; margin-right: 8px; }
.products-list-price { margin: 0 0 16px; font-family: var(--f-din); font-size: 24px; }
.products-list-price small { margin-left: 4px; color: rgba(255, 255, 255, .6); font-family: var(--f-ja); font-size: 12px; }
.products-list-txt { margin: 0 0 24px; }
.products-list-txt-en { margin: auto 0 0; font-size: 12px; }
.products-list-item .link-detail i { width: 40px; height: 40px; margin-left: 16px; }
.products-list-item .link-detail:hover i::before { width: 40px; height: 40px; }
.products-note { margin: 48px 0 0; color: rgba(255, 255, 255, .6); font-size: 12px; }
