@charset "UTF-8";
/* ===================================================================
Theme Name: ttmbd
Theme URI: https://ttmbd.com/
Author: ESSCH
Description: TOTEM（ttmbd.com）のオリジナルテーマ。2026 年のリニューアル（仕様書 2026.10.26・モック TOTEM_サイトモック_261026）。
Version: 1.0.0
Requires PHP: 8.1
Text Domain: ttmbd
=================================================================== */
@media screen and (min-width: 1367px) {
  .hidden-desktop {
    display: none;
  }
}
@media screen and (min-width: 961px) and (max-width: 1366px) {
  .hidden-laptop {
    display: none;
  }
}
@media screen and (min-width: 601px) and (max-width: 960px) {
  .hidden-tablet {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .hidden-mobile {
    display: none;
  }
}
/* 要素設定*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  background: #fff;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  html {
    overflow-x: hidden;
  }
}

body {
  background: #fff;
  color: #000;
  font: 11px/1.7 Futura, "Futura-Medium", "Futura Medium", "Open Sans Condensed", sans-serif;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  body {
    overflow-x: hidden;
  }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

header.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px 40px;
  background: linear-gradient(180deg, #fff 60%, rgba(255, 255, 255, 0));
}
@media screen and (max-width: 760px), screen and (hover: none) {
  header.bar {
    padding: 20px max(16px, env(safe-area-inset-left, 0px)) 40px;
  }
}
header.bar nav {
  display: flex;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  header.bar nav {
    gap: 14px;
  }
}
header.bar nav a {
  color: #8a8a8a;
  transition: color 0.4s;
}
header.bar nav a:hover, header.bar nav a.on {
  color: #000;
}

.logo {
  width: 104px;
  fill: #000;
  display: block;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .logo {
    width: 88px;
  }
}

.label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.foot {
  display: flex;
  justify-content: space-between;
  padding: 60px 40px 24px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #8a8a8a;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .foot {
    padding: 60px 16px 24px;
    font-size: 9px;
  }
}

.works main {
  position: relative;
  padding: 150px 40px 120px;
  max-width: 920px;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .works main {
    padding: 96px 16px 55vh;
  }
}
.works .filter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
  font-size: 10.5px;
  cursor: auto;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .works .filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    margin-bottom: 48px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .works .filter::-webkit-scrollbar {
    display: none;
  }
}
.works .filter a {
  color: #8a8a8a;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .works .filter a {
    flex: none;
  }
}
.works .filter a.on {
  color: #000;
  border-bottom: 1px solid #000;
}
.works .info {
  margin-top: 100px;
  min-height: 1.7em;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8a8a8a;
  pointer-events: none;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .works .info {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    margin: 0;
    min-height: 0;
    padding: 12px max(16px, env(safe-area-inset-left, 0px)) max(14px, env(safe-area-inset-bottom, 0px));
    background: #fff;
  }
  .works .info:empty {
    display: none;
  }
}

.names {
  font: 400 20px/1.75 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .names {
    font-size: 16px;
    line-height: 2;
    max-width: none !important;
  }
}
.names .w {
  white-space: nowrap;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .names .w {
    display: block;
  }
}
.names a {
  cursor: pointer;
  color: #d2d2d2;
  transition: color 0.35s;
}
.names a sup {
  font: 8px Futura, "Futura-Medium", "Futura Medium", "Open Sans Condensed", sans-serif;
  letter-spacing: 0.1em;
  vertical-align: 1.2em;
  margin: 0 0.3em 0 0.1em;
}
.names a.on, .names a:hover {
  color: #fff;
  mix-blend-mode: difference;
}
.names .sep {
  color: #e6e6e6;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .names .sep {
    display: none;
  }
}

.bub {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 6;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0;
  scale: 0.85;
  transition: opacity 1.6s ease, scale 2s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.bub.in {
  opacity: 1;
  scale: 1;
}
.bub img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.bub:hover {
  scale: 1.05;
  z-index: 30;
  transition: opacity 1.6s ease, scale 0.9s ease;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .bub:hover {
    scale: 1;
  }
}

.work {
  height: 100vh;
  overflow: hidden;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work {
    height: auto;
    overflow: visible;
  }
}
.work header.bar {
  background: none;
}
.work .next-wrap {
  display: flex;
  flex: none;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .pc {
    display: none;
  }
}
.work .sp {
  display: none;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .sp {
    display: block;
  }
}
.work .track {
  position: fixed;
  inset: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.work .track::-webkit-scrollbar {
  display: none;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .track {
    position: relative;
    inset: auto;
    margin-top: 150px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
}
.work .row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 40px 0 22vw;
  width: max-content;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .row {
    height: auto;
    padding: 0 16px;
    gap: 12px;
  }
}
.work .item {
  flex: none;
  position: relative;
  height: 42vh;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .item {
    height: auto;
    width: calc(100vw - 32px);
    scroll-snap-align: center;
  }
}
.work .item img {
  height: 100%;
  width: auto;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .item img {
    width: 100%;
    height: auto;
  }
}
.work .film {
  background: #000;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .film {
    height: auto;
  }
}
.work .film img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .film img {
    height: 100%;
  }
}
.work .film iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.work .film .play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: none;
  color: #fff;
  font: 8.5px Futura, "Futura-Medium", "Futura Medium", "Open Sans Condensed", sans-serif;
  letter-spacing: 0.18em;
  cursor: pointer;
}
.work .film.is-playing img,
.work .film.is-playing .play {
  display: none;
}
.work .detail {
  flex: none;
  width: 290px;
  margin-left: 180px;
  align-self: center;
  font: 10px/1.75 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
}
.work .detail h1 {
  font: 400 12px/1.3 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
}
.work .detail .meta {
  font: 9px/1.8 Futura, "Futura-Medium", "Futura Medium", "Open Sans Condensed", sans-serif;
  letter-spacing: 0.06em;
  color: #8a8a8a;
  margin: 2px 0 18px;
}
.work .detail h2 {
  font: 700 10px/1.6 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
  margin-bottom: 8px;
}
.work .credits {
  display: grid;
  grid-template-columns: minmax(30px, max-content) 1fr;
  column-gap: 10px;
}
.work .credits dt {
  color: #8a8a8a;
}
.work .client {
  margin-top: 14px;
}
.work .client a {
  border-bottom: 1px solid #d2d2d2;
  word-break: break-all;
}
.work .next {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 8vw 0 120px;
}
.work .next .t {
  font: 400 12px/1.3 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
  color: #d2d2d2;
  transition: color 0.4s;
}
.work .next:hover .t {
  color: #000;
}
.work .caption {
  position: fixed;
  left: 40px;
  bottom: 34px;
  z-index: 5;
  display: flex;
  gap: 18px;
  align-items: baseline;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8a8a8a;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .caption {
    position: static;
    margin: 14px 16px 0;
  }
}
.work .caption .t {
  font: 400 12px Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
  color: #000;
  letter-spacing: 0;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .caption .t {
    display: none;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .caption .count {
    font-size: 9px;
  }
}
.work .bar-line {
  position: fixed;
  left: 40px;
  right: 40px;
  bottom: 24px;
  height: 1px;
  background: #e6e6e6;
  z-index: 5;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .bar-line {
    position: static;
    margin: 8px 16px 0;
  }
}
.work .bar-line i {
  display: block;
  height: 1px;
  width: 0;
  background: #000;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below {
    padding: 40px 16px 64px;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below .detail {
    width: auto;
    margin: 0;
    font-size: 10px;
    line-height: 1.7;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below .detail h1 {
    font-size: 12px;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below .detail .meta {
    font-size: 9px;
    margin: 2px 0 16px;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below .detail h2 {
    font-size: 10px;
    margin-bottom: 8px;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below .credits,
  .work .below .client {
    font-size: 10px;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below .next {
    display: flex;
    margin: 56px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e6e6e6;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below .next .label {
    font-size: 8.5px;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .work .below .next .t {
    font-size: 12px;
  }
}

.totem section.block {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  margin: 0 40px;
  padding: 80px 0;
  border-top: 1px solid #e6e6e6;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem section.block {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 16px;
    padding: 44px 0;
  }
}
.totem section.block.first {
  margin-top: 150px;
  border-top: 0;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem section.block.first {
    margin-top: 84px;
  }
}
.totem section.block > .label {
  color: #000;
}
.totem section.block > :not(.label) {
  justify-self: start;
  text-align: left;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .label {
    font-size: 9px;
  }
}
.totem .fn2 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 28px;
  width: 100%;
  max-width: 820px;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .fn2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }
}
.totem .fn2 li {
  font: 400 12px/1.4 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .fn2 li {
    font-size: 10px;
  }
}
.totem .philo {
  max-width: 620px;
}
.totem .philo .en {
  font: 12px/2 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
  color: #000;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .philo .en {
    font-size: 10px;
    line-height: 1.9;
  }
}
.totem .philo .ja {
  margin-top: 28px;
  font: 11px/2.1 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
  letter-spacing: 0.04em;
  color: #8a8a8a;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .philo .ja {
    margin-top: 20px;
    font-size: 9px;
    line-height: 2;
  }
}
.totem .offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 760px;
  font: 11.5px/2 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .offices {
    grid-template-columns: 1fr;
    gap: 40px;
    font-size: 10px;
    line-height: 1.9;
  }
}
.totem .offices .ph {
  margin-bottom: 18px;
  background: #f2f2f2;
  aspect-ratio: 3/4;
  overflow: hidden;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .offices .ph {
    max-width: 240px;
  }
}
.totem .offices .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.totem .offices h3 {
  font: 400 13px/1.4 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
  margin-bottom: 10px;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .offices h3 {
    font-size: 12px;
  }
}
.totem .offices a {
  border-bottom: 1px solid #d2d2d2;
}
.totem .offices .map {
  display: inline-block;
  margin-top: 10px;
  font: 9.5px Futura, "Futura-Medium", "Futura Medium", "Open Sans Condensed", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .totem .offices .map {
    font-size: 9px;
  }
}

.error main,
.page main {
  padding: 150px 40px 120px;
  max-width: 920px;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .error main,
  .page main {
    padding: 96px 16px 64px;
  }
}
.error h1,
.page h1 {
  font: 400 20px/1.75 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
  margin-bottom: 24px;
}
@media screen and (max-width: 760px), screen and (hover: none) {
  .error h1,
  .page h1 {
    font-size: 16px;
  }
}
.error .body,
.page .body {
  font: 11px/2 Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", "Shuei Mincho L JIS2004", serif;
}
.error .body a,
.page .body a {
  border-bottom: 1px solid #d2d2d2;
}
