@charset "utf-8";

:root {
  --tb-red:        #EF0C16;
  --tb-red-dark:   #AA151C;
  --tb-ink:        #333333;
  --tb-ink-strong: #222222;
  --tb-gray:       #666666;
  --tb-gray-mid:   #555555;
  --tb-line:       #A2A2A2;
  --tb-border:     #CCCCCC;
  --tb-card-bg:    #F4F4F4;
  --tb-white:      #FFFFFF;
}

.tb-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.tb-pagetitle {
  width: 100%;
  background-image: linear-gradient(96.24deg, var(--tb-red-dark) 0%, var(--tb-red) 50%, var(--tb-red-dark) 100%);
}
.tb-pagetitle__ttl {
  color: var(--tb-white);
  font-weight: 700;
  text-shadow: 0 3px 6px rgba(0, 0, 0, .7);
}

.tb-breadcrumb {
  color: var(--tb-ink);
  font-weight: 500;
}
.tb-breadcrumb a {
  display: inline;
  color: inherit;
}
.tb-breadcrumb__sep {
  margin: 0 .5em;
}

.tb-sechead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tb-sechead__ttl {
  width: 100%;
  color: var(--tb-ink-strong);
  font-weight: 700;
}
.tb-sechead__ttl .tb-sechead__num {
  color: var(--tb-red);
}
.tb-sechead__line {
  width: 100%;
  height: 1px;
  background: var(--tb-line);
}

.tb-pill {
  display: inline-flex;
  align-items: center;
  color: var(--tb-white);
  font-weight: 700;
  white-space: nowrap;
}
.tb-pill--type { background: var(--tb-red); }
.tb-pill--area { background: var(--tb-ink); }

.tb-casecard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--tb-card-bg);
  border-radius: 2px;
  color: var(--tb-ink);
}
.tb-casecard:hover { opacity: .7; }

.tb-casecard__thumb {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}
.tb-casecard__thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tb-casecard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tb-casecard__scale {
  color: var(--tb-gray);
  font-weight: 700;
  white-space: nowrap;
}

.tb-casecard__ttl {
  width: 100%;
  color: var(--tb-ink);
  font-weight: 700;
  line-height: 1.4;
  flex-shrink: 0;
}

.tb-casecard__areaTags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-top: auto;
}

.tb-casecard__keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  width: 100%;
  color: var(--tb-red);
  font-weight: 700;
  flex-shrink: 0;
}
.tb-casecard__keyword { white-space: nowrap; }

.tb-casecardlist {
  display: flex;
  flex-wrap: wrap;
}

.tb-pickup__slider { position: relative; }

.tb-pickup__card { display: flex; }

.tb-pickup__thumb { flex-shrink: 0; overflow: hidden; }
.tb-pickup__thumb > img { width: 100%; height: 100%; object-fit: cover; }

.tb-pickup__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tb-pickup__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tb-pickup__scale {
  color: var(--tb-gray);
  font-weight: 700;
  white-space: nowrap;
}
.tb-pickup__ttl {
  color: var(--tb-ink);
  font-weight: 700;
  line-height: 1.4;
}
.tb-pickup__areaTags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.tb-pickup__keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  color: var(--tb-red);
  font-weight: 700;
}
.tb-pickup__arrow {
  position: absolute;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.tb-pickup__arrow > svg { display: block; width: 100%; height: 100%; }
.tb-pickup__arrow--prev > svg { transform: rotate(180deg); }
.tb-pickup__dots.swiper-pagination,
.tb-casetop__dots.swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  transform: none;
  --swiper-pagination-bullet-horizontal-gap: 0px;
}
.tb-pickup__dots.swiper-pagination-lock,
.tb-pickup__arrow.swiper-button-lock { display: none; }
.tb-pickup__dots .swiper-pagination-bullet,
.tb-casetop__dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tb-border);
  opacity: 1;
  cursor: pointer;
}
.tb-pickup__dots.swiper-pagination .swiper-pagination-bullet,
.tb-casetop__dots.swiper-pagination .swiper-pagination-bullet { margin: 0; }
.tb-pickup__dots .swiper-pagination-bullet-active,
.tb-casetop__dots .swiper-pagination-bullet-active { background: var(--tb-red); }
.tb-pickup__swiper { width: 100%; }
.tb-pickup__swiper .swiper-slide { height: auto; }

.tb-secsearch__head { position: relative; cursor: pointer; }

.tb-secsearch__ttl {
  color: var(--tb-ink-strong);
  font-weight: 700;
}
.tb-secsearch__desc {
  color: var(--tb-ink-strong);
  font-weight: 400;
}
.tb-secsearch__line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--tb-line);
}
.tb-secsearch__toggle {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.tb-secsearch__toggle > svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform .3s ease;
}
.tb-secsearch__panel {
  display: grid;
  transition: grid-template-rows .3s ease, margin-top .3s ease;
}
.tb-secsearch__panelInner {
  min-height: 0;
  overflow: hidden;
  background: var(--tb-card-bg);
  border-radius: 2px;
}

.tb-filterlist {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.tb-filterrow__label {
  color: var(--tb-ink-strong);
  font-weight: 700;
}
.tb-filterrow__options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.tb-filterrow:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tb-white);
}
.tb-filterchip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 29px;
  border: 1px solid var(--tb-red);
  border-radius: 3px;
  background: var(--tb-white);
  color: var(--tb-red);
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tb-filterchip:hover { background: #FDECEC; }
a.tb-filterchip { display: inline-flex; text-decoration: none; }
.tb-filterchip:hover { opacity: 1; }
.tb-filterchip.is-disabled,
span.tb-filterchip {
  border-color: var(--tb-border);
  background: var(--tb-white);
  color: #999999;
  font-weight: 400;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
.tb-filterchip:has(.tb-filterchip__input:checked),
.tb-filterchip.is-selected,
a.tb-filterchip[aria-current] {
  background: var(--tb-red);
  color: var(--tb-white);
  font-weight: 700;
}
.tb-filterchip:has(.tb-filterchip__input:checked):hover,
.tb-filterchip.is-selected:hover,
a.tb-filterchip[aria-current]:hover {
  background: #D20B14;
  border-color: #D20B14;
}
.tb-filterchip__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.tb-filterchip:has(.tb-filterchip__input:focus-visible) {
  outline: 2px solid var(--tb-ink);
  outline-offset: 2px;
}

.tb-filterchip__label {
  display: inline-grid;
  white-space: nowrap;
}
.tb-filterchip__label::after {
  content: attr(data-text);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 700;
}

.tb-pagination {
  display: flex;
  justify-content: center;
}
.tb-pagination__list {
  display: flex;
  align-items: center;
}
.tb-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tb-border);
  border-radius: 2px;
  background: var(--tb-white);
  color: var(--tb-ink);
  font-weight: 700;
  text-align: center;
}
.tb-pagination__item.is-current {
  border-color: var(--tb-red);
  background: var(--tb-red);
  color: var(--tb-white);
}
.tb-pagination__item--next { gap: 6px; }
.tb-pagination__item--next > svg { display: block; flex-shrink: 0; }

.tb-articleheader__meta { display: flex; flex-wrap: wrap; align-items: center; }
.tb-articleheader__scale { color: var(--tb-gray); font-weight: 700; white-space: nowrap; }
.tb-articleheader__ttl { width: 100%; color: var(--tb-ink); font-weight: 700; line-height: 1.4; }
.tb-articleheader__areaTags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.tb-articleheader__keywords {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px;
  color: var(--tb-red); font-weight: 700;
}
.tb-pill--radius { border-radius: 2px; }

.tb-articlehero { overflow: hidden; }
.tb-articlehero > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.tb-secarticle__inner { display: flex; align-items: flex-start; }

.tb-article { color: var(--tb-ink); font-weight: 500; line-height: 1.8; }
.tb-article > *:first-child { margin-top: 0; }

.tb-article h2 {
  position: relative;
  color: var(--tb-ink);
  font-weight: 700;
  line-height: 1.2;
}
.tb-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--tb-red);
}

.tb-article p { font-weight: 500; line-height: 1.8; }
.tb-article pre {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 0;
  border: 0;
  background: none;
}
.tb-article strong,
.tb-article b { font-weight: 700; }
.tb-article a { display: inline; color: var(--tb-red); font-weight: 700; text-decoration: underline; }
.tb-article a.tb-pdflink,
.tb-article a.case-pdf,
.tb-article a[href$=".pdf"] {
  display: flex;
  width: fit-content;
  align-items: center;
  max-width: 100%;
  background: #F8F8F8;
  border: 1px solid var(--tb-border);
  border-radius: 2px;
  color: var(--tb-red);
  font-weight: 700;
  text-decoration: none;
  vertical-align: middle;
}
.tb-article a.tb-pdflink::before,
.tb-article a.case-pdf::before,
.tb-article a[href$=".pdf"]::before {
  content: "";
  flex-shrink: 0;
  background: url(../img/icon-pdf.svg) no-repeat center / contain;
}
.tb-article a.tb-pdflink .tb-pdflink__name,
.tb-article a[href$=".pdf"] .tb-pdflink__name,
.tb-article a.case-pdf .case-pdf__txt {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.tb-article a.tb-pdflink .tb-pdflink__size,
.tb-article a[href$=".pdf"] .tb-pdflink__size,
.tb-article a.case-pdf .case-pdf__meta {
  flex-shrink: 0;
  color: var(--tb-gray);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.tb-article ul { background: #F8F8F8; border-radius: 2px; }
.tb-article ul > li {
  position: relative;
  font-weight: 500;
  line-height: 1.8;
}
.tb-article ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.8em - 6px) / 2);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tb-red);
}
.tb-article ol { counter-reset: tb-ol; }
.tb-article ol > li {
  counter-increment: tb-ol;
  position: relative;
  font-weight: 500;
  line-height: 1.8;
}
.tb-article ol > li::before {
  content: counter(tb-ol);
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tb-red);
  color: var(--tb-white);
  font-weight: 700;
  line-height: 1;
}
.tb-article img { max-width: 100%; height: auto; }
.tb-article > img,
.tb-article > p > img { display: block; border-radius: 2px; }
.tb-article img.aligncenter { margin-left: auto; margin-right: auto; }

.tb-article__image { overflow: hidden; }
.tb-article__image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tb-article__image.tb-article__image--cap { aspect-ratio: auto; overflow: visible; }
.tb-article__image.tb-article__image--cap > img { height: auto; border-radius: 2px; }
.tb-article figcaption,
.tb-article .wp-caption .wp-caption-text { color: var(--tb-gray); font-weight: 500; line-height: 1.6; }
.tb-article .wp-caption { max-width: 100%; }
.tb-article .wp-caption img { display: block; width: 100%; height: auto; border-radius: 2px; }
.tb-article__imagecols { display: flex; }
.tb-article__imagecols > .tb-article__image { margin-bottom: 0; }
.tb-article__voice,
.tb-article blockquote {
  position: relative;
  background: #F8F8F8;
  border-radius: 2px;
}
.tb-article__voice::before,
.tb-article blockquote::before {
  content: "";
  position: absolute;
  left: 1px;
  width: 2px;
  background: var(--tb-red);
}
.tb-article__voice,
.tb-article blockquote { font-weight: 700; }
.tb-article__voice p,
.tb-article blockquote p { font-weight: 700; }
.tb-article cite {
  display: block;
  color: var(--tb-gray);
  font-style: normal;
  font-weight: 500;
  text-align: right;
}
.tb-article__figurelist { display: flex; }
.tb-article__figure { position: relative; }
.tb-article__figure > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--tb-border);
  border-radius: 2px;
}
.tb-article__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.tb-article__zoom > img { display: block; width: 100%; height: 100%; }

.tb-articleside { display: flex; flex-direction: column; }

.tb-companyinfo {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 2px;
}
.tb-companyinfo__name { color: var(--tb-red); font-weight: 700; line-height: 1; }
.tb-companyinfo__name small { font-size: 14px; }
.tb-companyinfo__list { display: flex; flex-direction: column; }
.tb-companyinfo__item {
  display: flex;
  border-top: 1px solid #EEEEEE;
  color: var(--tb-ink);
  font-size: 14px;
  line-height: 1.5;
}
.tb-companyinfo__item > dt { width: 100px; flex-shrink: 0; font-weight: 700; }
.tb-companyinfo__item > dd { flex: 1; min-width: 0; font-weight: 500; }

.tb-sidecta {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--tb-red);
  border-radius: 2px;
}
.tb-sidecta__lead { width: 100%; color: var(--tb-white); font-weight: 700; line-height: 1.5; text-align: center; }
.tb-sidecta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--tb-white);
  border-radius: 2px;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
}
.tb-sidecta__btn > img { display: block; flex-shrink: 0; }
.tb-sidecta .tb-sidecta__btn--mail { background: var(--tb-white); color: var(--tb-red); }
.tb-sidecta .tb-sidecta__btn--tel { color: var(--tb-white); }

.tb-secrelated { background: #F8F8F8; }
.tb-secrelated .tb-casecard { background: var(--tb-white); }

.tb-backtolist {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: #F6F6F6;
  border-radius: 2px;
  color: #000000;
  font-weight: 700;
}
.tb-backtolist > svg { position: absolute; }

#homeContents #product.tb-casetop {
  position: relative;
  background: #FFFFFF;
}
#homeContents #product.tb-casetop::before { content: none; }
.tb-casetop__nav { display: flex; align-items: center; }
.tb-casetop__arrow {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.tb-casetop__arrow > svg { display: block; width: 100%; height: 100%; }
.tb-casetop__arrow--prev > svg { transform: rotate(180deg); }
.tb-casetop__slider { overflow: hidden; }
.tb-casetop__slider .swiper-wrapper { align-items: stretch; }
.tb-casetop__slider .swiper-slide { height: auto; }

.tb-article__figure { cursor: zoom-in; }

.tb-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tb-modal[hidden] { display: none; }

.tb-modal__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .82);
  cursor: zoom-out;
}
.tb-modal__body {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 88vh;
}
.tb-modal__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  background: var(--tb-white);
  border-radius: 2px;
}
.tb-modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tb-white);
  color: var(--tb-ink);
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}
.tb-modal__close:hover { opacity: .75; }

body.tb-modal-open { overflow: hidden; }

.tb-pickup__arrow,
.tb-casetop__arrow {
  transition: all ease .3s;
}
.tb-pickup__arrow:hover,
.tb-casetop__arrow:hover {
  opacity: .75;
}
.tb-pickup__dots .swiper-pagination-bullet,
.tb-casetop__dots .swiper-pagination-bullet {
  transition: all ease .3s;
}
.tb-pickup__dots .swiper-pagination-bullet:hover,
.tb-casetop__dots .swiper-pagination-bullet:hover {
  opacity: .75;
}

.tb-secsearch__toggle { transition: all ease .3s; }
.tb-secsearch__toggle:hover,
.tb-secsearch__head:hover .tb-secsearch__toggle { opacity: .75; }
.tb-article__figure { transition: all ease .3s; }
.tb-article__figure:hover { opacity: .75; }
.tb-modal__close { transition: all ease .3s; }

.tb-casecard { transition: all ease .3s; }
