:root {
  --c-primary: #276681;
  --c-accent: #00a3bc;
  --c-dark: #111111;
  --c-green: #89a18f;
  --c-pink: #c5a59f;
  --c-yellow: #c0b596;
  --c-blue: #7195a4;
  --c-text: #000000;
  --c-grey: #646464;
  --c-grey-dark: #323232;
  --c-red: #ea4335;
  --shadow-nav: 0 7px 15px 0 rgba(0, 64, 151, 0.1);
  --nav-h: 60px;
  --font: "PingFang TC", "Heiti TC", Meiryo, "微軟正黑體", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html, .timeline__years { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; vertical-align: -0.15em; fill: none; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--c-primary); color: #fff; text-decoration: none; border-radius: 0 0 6px 6px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #ffb84d; outline-offset: 2px; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); background: #fff; box-shadow: var(--shadow-nav);
}

.nav {
  display: flex; align-items: center; height: 100%;
  padding: 0 60px 0 40px;
}
.nav__brand { display: inline-flex; align-items: center; height: 26px; flex: none; }
.nav__brand img { height: 26px; width: auto; }
.nav__brand--mystory { margin-right: 23px; }
.nav__divider { display: inline-block; width: 1px; height: 34px; background: var(--c-primary); margin: 0 33px 0 34px; flex: none; }
.nav__menu {
  display: flex; align-items: center; flex: 1 1 auto;
  margin-left: clamp(24px, calc(5vw + 4px), 160px); gap: clamp(20px, calc(3vw + 4px), 100px);
  letter-spacing: 1px;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-block; color: var(--c-primary); text-decoration: none; line-height: var(--nav-h);
  white-space: nowrap;
}
.nav__link:hover, .nav__link.is-active { text-decoration: underline; }
.nav__toggle:hover, .nav__toggle[aria-expanded="true"] { text-decoration: none; }
.nav__sub {
  position: absolute; top: 57px; left: 0; width: 160px;
  background: #fff; box-shadow: var(--shadow-nav);
  display: none;
}

.nav__item--sub:hover:not(.is-closed) .nav__sub,
.nav__item--sub.is-open .nav__sub { display: block; }
.nav__sublink {
  display: block; padding: 0 20px; line-height: 60px; color: var(--c-primary); text-decoration: none; white-space: nowrap;
}
.nav__sublink:hover, .nav__sublink.is-active { text-decoration: underline; }
.nav__lang {
  display: flex; flex-direction: column; align-items: center; flex: none; align-self: flex-start;
  margin: 10px 0 0 auto; width: 60px; color: var(--c-primary); font-weight: 600; text-decoration: none; line-height: 14px;
}
.nav__lang .icon { width: 30px; height: 30px; }

.nav__search { position: relative; flex: none; align-self: flex-start; width: 40px; height: 44px; margin-top: 10px; }
.nav__search-btn { display: flex; align-items: flex-start; justify-content: center; width: 40px; height: 44px; color: var(--c-primary); }
.nav__search-btn .icon { width: 40px; height: 40px; }
.nav__search.is-open .nav__search-btn { display: none; }
.search-form { display: none; position: absolute; top: 7px; right: 10px; white-space: nowrap; }
.nav__search.is-open .search-form { display: block; }
.search-form input[type="search"] {
  width: 181px; height: 27px; border: 1px solid var(--c-primary); background: transparent; padding: 5px; border-radius: 20px;
  font: inherit; font-size: 13.3333px; line-height: 15px; color: inherit; -webkit-appearance: none; appearance: none;
}
.search-form input[type="search"]::-webkit-search-decoration, .search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form button {
  background: var(--c-primary); color: #fff; font-size: 14px; line-height: 20px; padding: 3px 15px; border-radius: 13px; margin-left: 5px; vertical-align: top;
}
.nav__burger { display: none; }

@media (max-width: 900px) { .nav__brand img { height: 27px; } }
@media (max-width: 800px) {
  .nav { padding: 0 12px 0 16px; }
  .nav__brand img { height: 22px; }
  .nav__divider { margin: 0 12px; height: 28px; }
  .nav__brand--mystory { margin-right: 10px; }
  .nav__lang { width: 56px; align-self: center; margin-top: 0; }
  .nav__lang .icon { width: 24px; height: 24px; }

  .nav__search { width: 40px; height: 40px; margin-top: 0; align-self: center; }
  .nav__search-btn { width: 40px; height: 40px; align-items: center; }
  .nav__search-btn .icon { width: 24px; height: 24px; }
  .search-form { position: fixed; top: var(--nav-h); left: 0; right: 0; padding: 10px 16px; background: #fff; box-shadow: var(--shadow-nav); }
  .nav__search.is-open .search-form { display: flex; align-items: center; }
  .search-form input[type="search"] { flex: 1 1 auto; width: auto; min-width: 0; }
  .nav__burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-left: 4px; color: var(--c-primary);
  }
  .nav__burger .icon { width: 26px; height: 26px; }
  .nav__burger .icon--close, .nav__burger[aria-expanded="true"] .icon--menu { display: none; }
  .nav__burger[aria-expanded="true"] .icon--close { display: inline-block; }
  .nav__menu {
    display: none; position: absolute; top: calc(var(--nav-h) + 3px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #fff; box-shadow: var(--shadow-nav); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__menu.is-open { display: flex; }
  .nav__sub, .nav__item--sub:hover .nav__sub { display: block; position: static; width: auto; box-shadow: none; }
  .nav__link, .nav__sublink { display: block; text-align: center; padding: 20px 0; line-height: 1; }
  .nav__menu .nav__toggle { display: none; }
}

.section-title {
  position: relative; text-align: center; color: var(--c-primary);
  padding: 70px 16px 17px; letter-spacing: 2px; line-height: 14px;
}
.section-title h1, .section-title h2 { font-size: 1.7rem; letter-spacing: 4px; font-weight: bold; margin-bottom: 13px; line-height: 14px; }
.section-title__line { display: inline-block; width: 50px; height: 3px; background: var(--c-primary); }

.line-btn {
  position: fixed; right: 18.5px; bottom: 84px; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: #06c755; color: #fff; text-decoration: none;
  font-size: 9px; font-weight: bold; letter-spacing: 1px; line-height: 1;
  filter: drop-shadow(2px 3px 3px rgba(51, 51, 102, 0.6));
}
.line-btn .icon { width: 22px; height: 22px; margin-bottom: 2px; }
.line-btn:hover { background: #05b34c; }
.to-top {
  position: fixed; right: 18.5px; bottom: 149px; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 52px; height: 55px; border-radius: 50%; background: var(--c-primary); color: #fff;
  filter: drop-shadow(2px 3px 3px rgba(51, 51, 102, 0.6));
  opacity: 0; transition: opacity 0.4s; font-size: 9px; font-weight: bold; letter-spacing: 1px; line-height: 1;
}
.to-top .icon { width: 20px; height: 20px; margin-bottom: 2px; }
.to-top.is-visible { opacity: 1; }
.to-top[hidden] { display: none; }

.yt {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: #1f2a30; color: #fff;
}
.yt__poster {
  display: block; width: 100%; height: 100%; padding: 0; text-align: left;
  background: linear-gradient(135deg, #24515f, #0f1c22);
}
.yt__poster img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.yt__poster::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.15); transition: background 0.3s;
}
.yt__poster:hover::after, .yt__poster:focus-visible::after { background: rgba(0, 0, 0, 0.35); }
.yt__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%; background: rgba(39, 102, 129, 0.92);
  transition: transform 0.3s, background 0.3s;
}
.yt__play .icon { width: 34px; height: 34px; margin-left: 4px; }
.yt__poster:hover .yt__play { transform: translate(-50%, -50%) scale(1.1); background: var(--c-primary); }
.yt__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 12px 16px;
  font-size: 14px; line-height: 1.4; background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}
.yt iframe { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; }
@supports not (aspect-ratio: 16 / 9) {
  .yt::before { content: ""; display: block; padding-top: 56.25%; }
  .yt__poster { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
  .lightbox__player::before { content: ""; display: block; padding-top: 56.25%; }
  .lightbox__player iframe { position: absolute; top: 0; left: 0; }
}

.footer { position: relative; }
.footer__links {
  display: flex; gap: 0 3px; height: 168px; overflow: hidden;
  padding: 20px 0 0 calc(22% + 240px); background: var(--c-primary); color: #fff; font-size: 0.9em;
}
.footer__col { width: 250px; flex: none; line-height: 40px; }
.footer__title { display: block; font-size: 15px; letter-spacing: 2px; }
.footer__brand { position: relative; height: 40px; }
.footer__brand > a { text-decoration: none; }
.footer__brand > a:hover { text-decoration: underline; }
.footer__social { position: absolute; left: 77px; top: -1px; display: flex; align-items: center; height: 40px; gap: 10px; }
.footer__brand--atcc .footer__social { top: -3px; }
.social { display: inline-flex; color: #efebe3; }
.social .icon { width: 25px; height: 25px; }
.social--fb .icon, .social--medium .icon { width: 19px; height: 19px; }
.social--yt .icon { width: 27px; height: 27px; }
.social:hover { color: #efebe3; }
.footer__contact { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer__contact:hover span { text-decoration: underline; }
.footer__contact .icon { width: 15px; height: 15px; flex: none; }
.footer__copyright { background: var(--c-accent); color: #fff; text-align: center; font-size: 14px; line-height: 14px; padding: 30px 0; margin-top: -5px; }
@media (max-width: 1000px) { .footer__links { padding-left: 10%; } }
@media (max-width: 900px) {
  .footer__links { display: none; }
  .footer__copyright { line-height: 20px; padding: 30px 10%; letter-spacing: 0.5px; }
}

.home { padding-top: var(--nav-h); }

.intro {
  position: relative; z-index: 1; display: flex; align-items: flex-start;
  height: 249px; padding: 48px 100px 57px; background: #fff;
}
.intro__bar { flex: none; width: 5px; height: 144px; margin: 4px 19px 0 0; background: var(--c-primary); }
.intro__text { line-height: 30px; color: var(--c-primary); }
.hero {
  position: relative; z-index: 0; height: 36.5vw; overflow: hidden; background: var(--c-primary);
}
.hero__slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: opacity 1.2s; pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }

.hero__img { position: fixed; left: 0; width: 100%; height: auto; margin-top: var(--shift, 0vw); min-height: calc(36.5vw - var(--shift, 0vw)); object-fit: cover; }
.hero__img--1 { --shift: -30vw; }
.hero__img--2 { --shift: -37vw; }
.hero__img--3 { --shift: -24vw; }
.hero__img--4 { position: relative; --shift: 0vw; }
.hero__label {
  position: absolute; top: 40px; left: 80px; display: flex; align-items: center; height: 60px;
  padding: 0 30px 0 10px; background: rgba(26, 26, 51, 0.6);
  border-radius: 100px 0 0 100px; box-shadow: 12px 0 12px rgba(26, 26, 51, 0.7); color: #fff;
}
.hero__ball {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 60px; height: 60px; margin-left: -10px; border-radius: 50%;
}
.hero__ball .icon { width: 30px; height: 30px; }
.hero__ball--green { background: var(--c-green); }
.hero__ball--pink { background: var(--c-pink); }
.hero__ball--yellow { background: var(--c-yellow); }
.hero__ball--blue { background: var(--c-blue); }
.hero__text { margin-left: 14px; font-size: 16px; line-height: 1.3; }
.hero__arrow {
  position: absolute; z-index: 3; top: 16vw; width: max(32px, 4.2vw); height: max(32px, 4.2vw);
  color: #fff; display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.hero__arrow .icon { width: 100%; height: 100%; }
.hero__arrow--prev { left: 30px; }
.hero__arrow--next { right: 30px; }
.hero__dots {
  position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; gap: 12px;
}
.hero__dot { position: relative; width: 12px; height: 12px; border: 1px solid #fff; border-radius: 50%; }
.hero__dot::before { content: ""; position: absolute; top: -10px; right: -6px; bottom: -10px; left: -6px; }
.hero__dot.is-active { background: #fff; }

.hero__pause {
  position: absolute; z-index: 3; right: 30px; bottom: 6px; width: 40px; height: 40px;
  color: #fff; display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.hero__pause .icon { width: 22px; height: 22px; }
.hero__pause .icon--play, .hero__pause.is-paused .icon--pause { display: none; }
.hero__pause.is-paused .icon--play { display: inline-block; }

.services { position: relative; padding-bottom: 120px; background: var(--c-primary); }
.services .section-title { color: #fff; }
.services .section-title__line { background: #fff; }
.services__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; padding-top: 80px; }
.service {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  width: 194px; height: 194px; margin: 20px 3%;
  padding: 0 35px; border: 2px solid #fff; border-radius: 50%;
  text-align: center; color: #fff; text-decoration: none; line-height: 20px;
  filter: drop-shadow(4px 4px 8px rgba(51, 51, 102, 0.5));
  transition: transform 0.8s, background 0.8s, border-color 0.8s;
}
.service .icon { display: block; width: 36px; height: 36px; margin: 0 auto 10px; }
.service--yellow .icon { margin-bottom: 17px; }
.service__detail {
  display: none; position: absolute; left: 10%; top: 50%; width: 90%; transform: translateY(-50%);
  text-align: left; font-size: 8px; line-height: 15px; white-space: nowrap;
}
.service:hover, .service:focus-visible { transform: scale(1.4); color: transparent; z-index: 2; }
.service:hover .icon, .service:focus-visible .icon { opacity: 0; }
.service:hover .service__detail, .service:focus-visible .service__detail { display: block; color: #fff; }
.service--green:hover, .service--green:focus-visible { background: var(--c-green); border-color: var(--c-green); }
.service--pink:hover, .service--pink:focus-visible { background: var(--c-pink); border-color: var(--c-pink); }
.service--yellow:hover, .service--yellow:focus-visible { background: var(--c-yellow); border-color: var(--c-yellow); }
.service--blue:hover, .service--blue:focus-visible { background: var(--c-blue); border-color: var(--c-blue); }
.service--en { font-size: 14px; line-height: 20px; }
.service--en .service__detail { white-space: normal; font-size: 8px; line-height: 15px; }

.clients { position: relative; padding-bottom: 70px; text-align: center; background: #fff; }
.clients__grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 4px;
  padding: 70px 22%;
}
.clients__grid li { width: 12.5%; margin: 17px 2% 19px; line-height: 0; }
.clients__grid img { width: 100%; }

@media (max-width: 900px) {
  .intro { height: 191px; padding: 30px 0 17px 40px; }
  .intro__bar { display: none; }
  .intro__text { font-size: 12px; line-height: 22px; }
  .hero { height: 54.5vw; }
  .clients { padding: 130px 10%; }
  .clients__grid li { width: 40%; }
}
@media (max-width: 800px) {
  .intro { height: auto; min-height: 179px; padding-left: 6.5vw; padding-bottom: 5px; }
  .clients { padding: 40px 10%; }
  .hero__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-height: 0; margin: 0; object-fit: cover; }
  .hero__label { top: 20px; left: 20px; height: 40px; padding-right: 18px; }
  .hero__ball { width: 44px; height: 44px; }
  .hero__ball .icon { width: 22px; height: 22px; }
  .hero__text { font-size: 15px; }
  .hero__arrow { top: 25vw; }
  .hero__arrow--prev { left: 10px; }
  .hero__arrow--next { right: 10px; }
  .hero__pause { right: 6px; bottom: 0; }
  .services { padding-top: 20px; }
  .services__grid { padding-top: 40px; }
  .service { margin: 20px 8px; }
}
@media (max-width: 600px) { .clients__grid { grid-template-columns: repeat(2, 1fr); } }

.archive { padding-top: 0; }
.archive__hero { position: relative; width: 100%; height: 35.5vw; margin-bottom: 100px; overflow: hidden; color: #fff; }
.archive__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 1s; }
.archive__mask { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0.4; transition: opacity 1s; }
.archive__mask--green { background: var(--c-green); }

.archive__title {
  position: absolute; left: 50%; top: 3vw; width: 80%; padding: 70px 0 17px; transform: translateX(-50%);
  text-align: center; font-size: 3vw; line-height: 4vw; letter-spacing: 2px; font-weight: normal;
}
.archive__text {
  position: absolute; left: 50%; top: 20vw; width: 60%; transform: translateX(-50%);
  text-align: center; font-size: 1.2vw; line-height: 2vw; opacity: 0; transition: opacity 0.7s;
}

.archive__title { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.archive__hero:hover .archive__bg, .archive__hero:hover .hero-video,
.archive__hero:focus-within .archive__bg, .archive__hero:focus-within .hero-video { filter: blur(6px); }
.archive__hero:hover .archive__mask, .archive__hero:focus-within .archive__mask { opacity: 0.8; }
.archive__hero:hover .archive__text, .archive__hero:focus-within .archive__text { opacity: 1; }
@media (hover: none) {
  .archive__mask { opacity: 0.6; }
  .archive__text { opacity: 1; }
}
.archive__mask, .archive__title, .archive__text, .archive__arrow { z-index: 1; }

.hero-video { position: absolute; left: 0; top: -8vw; width: 100%; height: 57.5vw; border: 0; pointer-events: none; transition: filter 1s; }
.hero-wall { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; }
.archive__arrow {
  position: absolute; top: 16vw; width: 4.2vw; height: 4.2vw; color: #fff; display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.archive__arrow .icon { width: 100%; height: 100%; }
.archive__arrow--prev { left: 30px; }
.archive__arrow--next { right: 30px; }

.cases { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 3.5px; padding: 0 7%; margin-bottom: 130px; }
.case-card {
  display: block; width: 255px; min-height: 435px; margin: 40px 20px; overflow: hidden;
  border-bottom: 1px solid var(--c-primary); color: #000; text-decoration: none; text-align: left;
  transition: box-shadow 0.5s, border-color 0.5s;
}
.case-card:hover { box-shadow: 6px 6px 18px rgba(137, 161, 143, 0.3); border-bottom-color: rgba(187, 211, 193, 0.3); }
.case-card__window { display: block; width: 100%; height: 180px; }
.case-card__window img { width: 100%; height: 100%; object-fit: cover; }
.case-card__body { display: block; padding: 0 17px; font-size: 14px; }
.case-card__title { display: block; font-weight: bold; line-height: 20px; margin: 20px 0; }
.case-card__kicker { display: block; color: var(--c-primary); }
.case-card:hover .case-card__title { text-decoration: underline; }
.case-card__excerpt {
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 22px; height: 110px;
}

.search { min-height: 60vh; }
.search .cases { margin-top: 60px; }
.search .cases[hidden] { display: none; }
.searchno { padding: 100px 7% 0; font-size: 16px; line-height: 1.8; }
.searchno[hidden] { display: none; }
.search-form--inline { display: block; margin-top: 10px; }
@media (max-width: 900px) {
  .archive__hero { margin-bottom: 0; }
  .cases { padding: 0 10%; margin-top: 100px; }
  .case-card { width: 100%; min-height: 0; margin: 50px 0 30px; }
  .case-card__window { height: 62vw; }
  .case-card__body { padding-bottom: 50px; }
  .search .cases { margin-top: 60px; }
}
@media (max-width: 800px) {
  .archive__hero { height: 98.5vw; }
  .archive__bg { filter: blur(3px); }
  .archive__mask { opacity: 0.5; }
  .archive__title { top: 32vw; font-size: 7vw; line-height: 1.3; opacity: 1; }
  .archive__text { display: none; }
  .archive__arrow { top: 49vw; width: 7.2vw; height: 7.2vw; }
  .archive__arrow--prev { left: 15px; }
  .archive__arrow--next { right: 15px; }
}

.single { padding-top: 0; }
.single__hero { position: relative; width: 100%; height: 37.5vw; overflow: hidden; background: #111; }
.single__hero img, .single__hero .yt { width: 100%; height: 100%; }
.single__hero img { object-fit: cover; }
.single__hero .yt { aspect-ratio: auto; }
.single__hero.is-playing { height: auto; aspect-ratio: 16 / 9; }
.single__hero--video { height: 39.4vw; margin-bottom: -1.9vw; }
.single__hero .hero-video { top: -4.2vw; height: 51vw; }
.single__hero .yt.is-autoplay .yt__poster { display: none; }
.article { position: relative; padding: 0 23%; }

.article__head {
  box-sizing: content-box; padding: 70px 0 17px; margin: 40px 0 26px;
  text-align: center; color: var(--c-primary); letter-spacing: 2px; font-weight: bold; line-height: 38px;
}
.article__title { font-size: 28px; line-height: 38px; font-weight: bold; }
.article__category { margin: 0; font-size: 18px; line-height: 38px; font-weight: bold; }
.article__heading, .content-title { display: block; font-size: 20px; font-weight: bold; color: var(--c-primary); padding: 20px 0; }

.content-title {
  box-sizing: content-box; padding: 70px 0 17px; margin: 40px 0 64px;
  text-align: center; font-size: 28px; line-height: 38px; font-weight: bold; color: var(--c-primary); letter-spacing: 2px;
}
.article__category a { color: var(--c-primary); text-decoration: none; }
.article__category a:hover { text-decoration: underline; }

.article__content { font-size: 17px; line-height: 30px; }
.article__content p { margin: 0; }

.article__content > :first-child { margin-top: 0; }
.article__content p a { color: var(--c-primary); }
.article__content strong { display: block; font-size: 20px; font-weight: bold; color: var(--c-primary); padding: 20px 0; }
.article__content em { font-weight: bold; }
.article__content img { width: 100%; height: auto; vertical-align: baseline; }
.article__content figure { margin: 0; }

.article__content .yt { aspect-ratio: auto; height: 28.5vw; margin: 20px 0 28px; }
.article__content .yt + .yt { margin-top: 48px; }
.article__content .content-title + .yt { margin-top: 84px; }
.article__content .yt + .recommend { padding-top: 1px; }
.article__content .spacer { height: 30px; }
.article__content .sub { color: var(--c-red); }
.article__content .bullet { font-size: 8px; vertical-align: 0.25em; margin-right: 0.8em; }
.article__content .line { width: 100%; height: 3px; background: var(--c-primary); margin: 30px 0; }
.article__content .grey-line { width: 100%; height: 2px; background: grey; margin: 30px 0; }

.cool-title { font-size: 22px; line-height: 20px; font-weight: bold; text-align: center; margin: 0; }
.cool-title .line-short { display: inline-block; width: 45px; height: 3px; margin: 0; background: var(--c-primary); }

.gallery { text-align: center; line-height: 30px; }
.gallery img { width: 30%; margin: 1%; }
.gallery__cover { display: inline-block; width: 30%; height: 10vw; margin: 1%; overflow: hidden; }
.gallery__cover img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.contact-btn {
  display: inline-block; font-size: 18px; line-height: 20px; padding: 5px 14px; background: var(--c-primary); color: #fff !important;
  text-decoration: none;
}
.contact-btn:hover { background: var(--c-accent); }

.page .article { padding-bottom: 100px; }
.page .article__head { text-align: left; margin-bottom: 64px; }

.page .article__content p { font-size: 16px; }

.rule {
  padding-left: 35px; margin: 25px 0 25px -35px; border-left: 3px solid var(--c-primary);
  font-size: 14px; font-weight: 400; line-height: 30px;
}
.article__content .rule .rule__lead { font-size: 18px; font-weight: 400; color: var(--c-primary); line-height: 30px; margin-bottom: 7px; }
.rule p { line-height: 30px; }
.rule--two { font-size: 18px; padding-bottom: 11px; line-height: 30px; }
.rule--two em { font-size: 18px; font-weight: bolder; font-style: normal; line-height: 33px; }

.page .article__content .contact-info p { font-size: 24px; font-weight: bold; color: var(--c-primary); line-height: 33px; margin-bottom: 7px; }
.page .article__content .contact-info p:last-child { line-height: 26px; margin-bottom: 0; }
.contact-info a { color: var(--c-primary); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.member { display: flex; flex-wrap: wrap; gap: 38px 0; padding: 30px 0 8px; }
.member__each { margin-right: 54px; }
.member__each {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 40px;
  width: 130px; height: 130px; border-radius: 50%; overflow: hidden;
  background: var(--c-primary); color: #fff; font-size: 15px; line-height: 22px; text-align: center; text-decoration: none;
}
.member__photo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: none; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__each:hover .member__photo, .member__each:focus-visible .member__photo { display: block; }
.member__each--join:hover, .member__each--join:focus-visible { background: #ddd; color: var(--c-primary); }

.recommend { position: relative; padding-bottom: 100px; }
.recommend--empty { height: 289px; margin-top: 40px; padding: 0; }
.recommend__title {
  box-sizing: content-box; padding: 70px 0 17px; margin: 40px 0 64px;
  font-size: 28px; line-height: 38px; font-weight: bold; text-align: center; color: var(--c-primary); letter-spacing: 2px;
}
.recommend__line { display: block; width: 50px; height: 3px; margin: 5px 0 30px; background: var(--c-primary); }
.recommend__row { display: flex; justify-content: center; gap: 0 4px; height: 110px; }
.recommend__case {
  position: relative; display: block; width: 22%; height: 100%; background: #333; overflow: hidden; text-decoration: none;
}
.recommend__case img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; margin: 0; }
.recommend__text {
  position: absolute; left: 0; top: 30%; width: 100%; padding: 0 6px;
  color: #fff; font-size: 13px; line-height: 20px; text-align: center;
}
.article__content .recommend__more { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 10px; height: 0; margin: 10px 0 0; padding-right: 4.5%; line-height: 30px; }
.recommend__more a { font-size: 13px; color: var(--c-primary); }

@media (max-width: 900px) { .ms-service .hero-video { display: none; } }
@media (max-width: 900px) {

  .single__hero, .single__hero--video { height: 37vw; margin-bottom: 0; }
  .single__hero .hero-video { top: -1.3vw; height: 38vw; }
  .article { padding: 0 8%; }
  .article__head, .page .article__head, .content-title, .recommend__title { margin: 60px 0 24px; }
  .article__content .content-title + .yt { margin-top: 44px; }
  .recommend--empty { margin-top: 60px; }
  .recommend__row { flex-direction: column; align-items: center; height: auto; margin-top: 70px; gap: 0; }
  .recommend__case { width: 57%; height: auto; margin-bottom: 45px; }
  .recommend__case img { height: auto; }
  .article__content .recommend__more { flex-direction: row; justify-content: center; height: auto; padding-right: 0; }
  .article__content .yt { height: 46.5vw; }
  .gallery__cover { height: 15vw; }
  .rule { margin-left: 0; padding-left: 18px; }
}
@media (max-width: 800px) {

  .single__hero { display: none; }
  .page .article__content .contact-info p { font-size: 22px; }
  .article, .page .article { padding: 60px 8%; }
  .article__head { margin-bottom: 60px; } .page .article__head, .recommend__title, .content-title { margin-bottom: 98px; }
  .article__content .content-title + .yt { margin-top: 118px; }
  .recommend--empty { height: 323px; }
  .member { justify-content: center; gap: 38px 0; }
  .member__each { margin: 0 14px 0 0; }
}

.mystory { padding-top: var(--nav-h); }
.ms-header { position: relative; height: 80vh; min-height: 360px; overflow: hidden; }
.ms-header > img { width: 100%; height: 100%; object-fit: cover; }

.ms-header__intro {
  position: absolute; left: 80px; bottom: 50px; display: flex; align-items: flex-start;
  width: 460px; height: 140px; padding: 20px 30px; background: rgba(0, 0, 0, 0.5); color: #fff;
}
.ms-header__intro img { width: 50px; margin-right: 44px; flex: none; }
.ms-header__intro p { width: 300px; line-height: 20px; }

.ms-service { position: relative; overflow: hidden; }
.ms-service__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-service .hero-video { top: calc(-0.03 * (56.25vw + 35px)); height: calc(56.25vw + 35px); }
.ms-service .hero-wall { display: none; }
@media (max-width: 1230px) { .ms-service .hero-video { left: -12%; width: 124%; height: calc((61.25vw + 35px) * 1.13); } }
.ms-service__content { position: relative; z-index: 1; padding: 80px 16px; background: rgba(10, 80, 107, 0.9); color: #fff; text-align: center; }

.ms-title { font-size: 32px; font-weight: normal; line-height: 14px; letter-spacing: 2px; padding: 30px 0; color: #fff; }
.ms-service__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-top: 45px; }

.ms-card {
  width: 304px; height: 284px; margin: 15px 25px; padding: 60px 30px;
  border: 2px solid #fff; border-radius: 20px; text-align: center;
}
.ms-card__title { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; font-size: 20px; line-height: 28px; margin-bottom: 30px; }
.ms-card__title .icon { width: 45px; height: 45px; flex: none; }
.ms-card__text { font-size: 14px; line-height: 22px; }

.works { padding: 100px 0; background: var(--c-dark); color: #fff; text-align: center; }
.works .ms-title { margin-bottom: 50px; }

.works__area { height: 720px; padding: 10px 0; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-bottom: 70px; }
.tab { position: relative; padding: 0 24px; margin: 5px 0; font-size: 18px; line-height: 18px; color: #fff; }
.tab::after { content: ""; display: block; width: 100%; height: 2px; margin-top: 5px; background: var(--c-primary); opacity: 0; }
.tab:hover, .tab[aria-selected="true"] { color: var(--c-primary); }
.tab:hover::after, .tab[aria-selected="true"]::after { opacity: 1; }
.videos { position: relative; padding: 0 15%; }
.videos__panel { display: none; }
.videos__panel.is-active { display: block; }
.videos__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; min-height: 630px; align-content: flex-start; }
.video-tile {
  position: relative; width: 31%; height: 200px; margin: 5px 0.4%; overflow: hidden; background: grey; color: #fff;
  transition: transform 1s;
}
.video-tile[hidden] { display: none; }
.video-tile img { width: 100%; height: 100%; object-fit: cover; }

.video-tile__hover {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: 0 8px; opacity: 0; background: rgba(0, 0, 0, 0.7);
  text-align: center; font-size: 12px; line-height: 20px; transition: opacity 1s;
}
.video-tile__title { display: block; margin: 75px 0 10px; font-size: 22px; line-height: 20px; }
.video-tile__title--small { margin: 87px 0 0; font-size: 18px; line-height: 24px; }
.video-tile:hover, .video-tile:focus-visible { transform: scale(1.05); }
.video-tile:hover .video-tile__hover, .video-tile:focus-visible .video-tile__hover { opacity: 1; }
.videos__arrow {
  position: absolute; top: 285px; width: 45px; height: 45px; color: #fff; z-index: 2;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}
.videos__arrow .icon { width: 100%; height: 100%; }
.videos__arrow--prev { left: 7%; }
.videos__arrow--next { right: 7%; }
.videos__arrow[hidden] { display: none; }
.videos__page { margin-top: 20px; font-size: 13px; color: #bbb; }

.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 999; }
.lightbox[hidden] { display: none; }
.lightbox__mask { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); cursor: pointer; }
.lightbox__player {
  position: absolute; left: 20%; top: 80px; width: 60%; min-height: 450px; aspect-ratio: 16 / 9; background: #000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.lightbox__player iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute; right: 20px; top: 16px; width: 44px; height: 44px; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close .icon { width: 30px; height: 30px; }

body.has-lightbox { overflow: hidden; }

.faq { background: var(--c-dark); color: #fff; text-align: center; }
.faq__content { text-align: left; }
.faq .ms-title { padding: 30px 16px; }
.faq__content { width: 70%; margin: 0 auto; padding: 100px 0; font-size: 16px; }
.faq__item h3 { margin: 0; font-size: inherit; font-weight: normal; }
.faq__q {
  display: block; width: 100%; padding: 20px 45px 20px 25px; text-align: left; line-height: 16px;
  background: var(--c-grey-dark); border-bottom: 2px solid var(--c-grey); color: #fff; position: relative;
}
.faq__icon { position: absolute; right: 20px; top: 0; font-size: 20px; line-height: 50px; }
.faq__a { max-height: 0; overflow: hidden; background: var(--c-grey); transition: max-height 0.7s; }
.faq__a > div { padding: 20px 25px; line-height: 26px; }
.faq__item.is-open .faq__a { max-height: 30rem; }

@media (max-width: 1130px) { .video-tile__title--small { font-size: 14px; line-height: 18px; } }
@media (max-width: 800px) {

  .ms-header { height: 32vh; min-height: 0; }
  .ms-header__intro { top: 2px; bottom: auto; left: 0; right: 0; width: auto; height: auto; min-height: 27vh; }
  .ms-header__intro img { width: 40px; margin-right: 20px; }
  .ms-header__intro p { width: auto; }
  .ms-service__content { padding: 50px 16px; }
  .ms-card { width: min(304px, 100%); margin: 15px 25px; }
  .videos { padding: 0 1%; }
  .works__area { text-align: left; }
  .videos__grid { min-height: 0; }
  .video-tile { height: 120px; }
  .video-tile__hover { padding: 0 4px; }
  .video-tile__title { margin: 37px 0 0; font-size: 13px; }
  .video-tile__title--small { margin-top: 37px; font-size: 12px; line-height: 18px; }
  .videos__arrow { top: 120px; width: 30px; height: 30px; }
  .videos__arrow--prev { left: 0; }
  .videos__arrow--next { right: 0; }
  .lightbox__player { left: 10%; width: 80%; top: 30vh; min-height: 235px; }
  .faq { margin-top: -2px; }
  .faq__content { width: 80%; padding: 40px 0 80px; }
  .faq__q { padding-right: 40px; }
}

.timeline { margin: 20px 0 28px; border: 2px solid var(--c-primary); }

.timeline.is-ready { box-sizing: border-box; height: 365px; display: flex; flex-direction: column; }
.timeline__view { padding: 30px 32px; min-height: 320px; }
.timeline.is-ready .timeline__view { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.timeline__slide { display: none; }
.timeline__slide.is-active, .timeline:not(.is-ready) .timeline__slide { display: block; }
.timeline:not(.is-ready) .timeline__slide + .timeline__slide { margin-top: 30px; padding-top: 30px; border-top: 1px solid #ddd; }
.timeline__year { font-size: 42px; line-height: 1.1; color: var(--c-primary); font-weight: bold; }
.timeline__headline { font-size: 20px; margin: 6px 0 16px; font-weight: bold; }
.timeline__list { font-size: 15px; line-height: 26px; padding-left: 1.2em; list-style: disc; }
.timeline__list li + li { margin-top: 4px; }
.timeline__intro { font-size: 16px; line-height: 30px; white-space: pre-line; }
.timeline__nav { display: none; align-items: center; gap: 8px; border-top: 2px solid var(--c-primary); background: #f3f6f8; padding: 8px 10px; }
.timeline.is-ready .timeline__nav { display: flex; }
.timeline__btn { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--c-primary); }
.timeline__btn .icon { width: 24px; height: 24px; }
.timeline__btn:disabled { opacity: 0.3; cursor: default; }
.timeline__years { display: flex; gap: 4px; overflow-x: auto; scroll-behavior: smooth; flex: 1 1 auto; padding: 4px 2px; scrollbar-width: thin; }
.timeline__dot { flex: none; padding: 6px 10px; font-size: 14px; color: var(--c-primary); border-radius: 4px; white-space: nowrap; }
.timeline__dot[aria-pressed="true"] { background: var(--c-primary); color: #fff; }
.timeline__dot:hover { background: #dde8ee; }
.timeline__dot[aria-pressed="true"]:hover { background: var(--c-primary); }
@media (max-width: 800px) {
  .timeline.is-ready { height: auto; }
  .timeline__view { padding: 20px 16px; min-height: 0; }
  .timeline__year { font-size: 32px; }
}

.notfound { max-width: 720px; margin: 0 auto; padding: 180px 24px 120px; text-align: center; color: #333; }
.notfound h1 { font-size: 24px; margin-bottom: 12px; }
.notfound p { font-size: 16px; line-height: 1.8; margin-bottom: 8px; }
.notfound__en { color: #888; }
.notfound__links { margin-top: 40px; }
.notfound__links a {
  display: inline-block; margin: 6px 8px; padding: 10px 22px; border: 1px solid var(--c-primary); border-radius: 3px;
  color: var(--c-primary); text-decoration: none; font-size: 15px;
}
.notfound__links a:hover { background: var(--c-primary); color: #fff; }
@media (max-width: 800px) {
  .notfound { padding: 120px 24px 80px; }

}

@media print {
  .site-header, .to-top, .nav__burger, .lightbox { display: none !important; }
  .home, .single, .archive, .mystory { padding-top: 0; }
}
