/*
 * TEAM CAFE TOKYO — CSS Refresh v1.0
 * Existing HTML, WordPress and content are preserved.
 * Load this file after the current theme style.css.
 */

:root {
  --tct-ink: #15213b;
  --tct-text: #263247;
  --tct-muted: #6f7b8d;
  --tct-sky: #59beec;
  --tct-cyan: #00a3e7;
  --tct-green: #7cac35;
  --tct-yellow: #ffc617;
  --tct-orange: #e1a02c;
  --tct-coral: #f05a32;
  --tct-pink: #ff3051;
  --tct-purple: #7655db;
  --tct-pastel-sky: #dff5ff;
  --tct-pastel-green: #e8f7d2;
  --tct-pastel-yellow: #fff0b8;
  --tct-pastel-coral: #ffd8cb;
  --tct-pastel-pink: #ffd5e1;
  --tct-pastel-purple: #e7e0ff;
  --tct-pastel-spectrum: linear-gradient(90deg, #dff5ff, #e8f7d2 22%, #fff0b8 43%, #ffd8cb 62%, #ffd5e1 80%, #e7e0ff);
  --tct-paper: #f5f9fc;
  --tct-white: #ffffff;
  --tct-line: #dce7ee;
  --tct-radius: 18px;
  --tct-shadow: 0 16px 44px rgba(21, 33, 59, 0.1);
}

/* Breadcrumbs: accessible, compact, and search-friendly ------------------- */
#page > .breadcrumbs {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 22px;
  padding: 0;
  color: #6f7785;
  font-size: 12px;
  line-height: 1.6;
}

#page > .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#page > .breadcrumbs li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

#page > .breadcrumbs li:not(:last-child)::after {
  color: #c0c5ce;
  content: "/";
}

#page > .breadcrumbs a {
  color: #475467;
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 3px;
}

#page > .breadcrumbs a:hover {
  color: #e3537b;
  text-decoration: underline;
}

#page > .breadcrumbs [aria-current="page"] {
  display: block;
  overflow: hidden;
  max-width: min(52vw, 560px);
  color: #7d8490;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Keyboard and motion UX */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(227, 83, 123, 0.42);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

@media (max-width: 600px) {
  #page > .breadcrumbs {
    width: calc(100% - 24px);
    margin: 12px auto 16px;
    font-size: 11px;
  }

  #page > .breadcrumbs [aria-current="page"] {
    max-width: 48vw;
  }
}

/* Tone system: pastel surfaces, vivid colors only for small accents. */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--tct-paper);
  color: var(--tct-text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

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

body img {
  max-width: 100%;
  height: auto;
}

/* Header */
#head {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--tct-line);
  box-shadow: 0 8px 30px rgba(21, 33, 59, 0.06);
}

#head .head-wrap {
  display: grid;
  grid-template-columns: minmax(190px, 270px) 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: min(1440px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
}

#head .head-logo {
  width: auto;
  margin: 0;
}

#head .head-logo img {
  display: block;
  width: min(240px, 100%);
  max-height: 58px;
  object-fit: contain;
}

#head .head-bnr {
  min-width: 0;
  min-height: 1px;
}

#head .head-contact,
#head .box-search {
  position: static;
  width: auto;
  margin: 0;
}

#head .btn-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--tct-yellow);
  color: var(--tct-ink);
  font-weight: 800;
}

#head .box-search form {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--tct-line);
  border-radius: 999px;
  background: var(--tct-white);
}

#head .box-search input[type="search"] {
  width: 180px;
  min-height: 44px;
  padding: 0 8px 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--tct-ink);
}

#head .box-search input[type="submit"] {
  width: 46px;
  min-height: 44px;
  border: 0;
  background: var(--tct-sky);
  color: var(--tct-ink);
  cursor: pointer;
}

#main-nav {
  border-top: 1px solid var(--tct-line);
  background: var(--tct-white);
}

#main-nav > ul {
  display: flex;
  justify-content: center;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

#main-nav > ul > li > a {
  padding: 17px 19px;
  color: var(--tct-ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, background 0.2s ease;
}

#main-nav > ul > li > a span {
  display: block;
  margin-top: 3px;
  color: var(--tct-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

#main-nav > ul > li > a:hover {
  background: #eef8fd;
  color: var(--tct-cyan);
}

#main-nav ul ul {
  overflow: hidden;
  border: 1px solid var(--tct-line);
  border-radius: 0 0 14px 14px;
  background: var(--tct-white);
  box-shadow: var(--tct-shadow);
}

#main-nav ul ul a {
  color: var(--tct-text);
}

#head .subtitle {
  position: relative;
  overflow: hidden;
  padding: 11px 24px;
  border-top: 1px solid rgba(21, 33, 59, 0.06);
  border-bottom: 1px solid rgba(21, 33, 59, 0.08);
  background: linear-gradient(90deg, #dff5ff 0%, #eef9d8 24%, #fff0b8 48%, #ffdbe5 72%, #e8e1ff 100%);
  color: var(--tct-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
}

#head .subtitle::before,
#head .subtitle::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 14px;
  border-radius: 50%;
  vertical-align: 1px;
  content: "";
}

#head .subtitle::before {
  background: var(--tct-cyan);
  box-shadow: 12px 0 0 var(--tct-yellow);
}

#head .subtitle::after {
  background: var(--tct-pink);
  box-shadow: 12px 0 0 #7655db;
}

.tct-mobile-nav-toggle,
.tct-hamburger {
  display: none;
}

/* Editorial category menu */
.tct-category-menu {
  width: min(1440px, calc(100% - 48px));
  margin: 26px auto 0;
}

.tct-category-menu {
  overflow: hidden;
  border: 1px solid var(--tct-line);
  border-radius: 18px;
  background: var(--tct-white);
  box-shadow: 0 8px 28px rgba(21, 33, 59, 0.06);
}

.tct-category-menu__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.tct-category-menu__summary {
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  color: var(--tct-ink);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.tct-category-menu__summary b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 30px;
  border-radius: 999px;
  background: var(--tct-yellow);
  color: var(--tct-ink);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.tct-category-menu__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tct-category-menu__grid a {
  position: relative;
  min-width: 0;
  padding: 20px 18px;
  border-right: 1px solid var(--tct-line);
  background: var(--tct-white);
  transition: background 0.2s ease, color 0.2s ease;
}

.tct-category-menu__grid a:last-child {
  border-right: 0;
}

.tct-category-menu__grid a:hover {
  background: var(--tct-ink);
  color: var(--tct-white);
}

.tct-category-menu__grid a > span {
  display: block;
  margin-bottom: 18px;
  color: var(--tct-cyan);
  font-size: 10px;
  font-weight: 850;
}

.tct-category-menu__grid a > strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tct-category-menu__grid a > small {
  display: block;
  margin-top: 5px;
  color: var(--tct-muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.tct-category-menu__grid a:hover > small {
  color: rgba(255, 255, 255, 0.65);
}

/* Colorful parent categories and child-category dropdowns */
.tct-category-menu {
  overflow: visible;
}

.tct-category-menu__grid > .tct-cat {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--tct-line);
  background: var(--tct-white);
}

.tct-category-menu__grid > .tct-cat:last-child {
  border-right: 0;
}

.tct-cat > summary {
  position: relative;
  min-height: 116px;
  padding: 20px 18px;
  cursor: pointer;
  list-style: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.tct-cat > summary::-webkit-details-marker {
  display: none;
}

.tct-cat > summary::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-size: 18px;
  font-weight: 800;
  content: "+";
}

.tct-cat[open] > summary::after {
  content: "−";
}

.tct-cat > summary:hover {
  filter: saturate(1.08) brightness(0.98);
}

.tct-cat > summary > span,
.tct-cat > summary > strong,
.tct-cat > summary > small {
  display: block;
}

.tct-cat > summary > span {
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 900;
}

.tct-cat > summary > strong {
  overflow: hidden;
  color: var(--tct-ink);
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tct-cat > summary > small {
  margin-top: 5px;
  color: rgba(21, 33, 59, 0.64);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tct-cat:nth-child(1) > summary {
  background: #c9efff;
}

.tct-cat:nth-child(2) > summary {
  background: #dff1bd;
}

.tct-cat:nth-child(3) > summary {
  background: #ffe59a;
}

.tct-cat:nth-child(4) > summary {
  background: #ffd2c5;
}

.tct-cat:nth-child(5) > summary {
  background: #ffc8d5;
}

.tct-cat:nth-child(6) > summary {
  background: #d9cffd;
}

.tct-cat > div {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  display: grid;
  width: min(310px, 86vw);
  overflow: hidden;
  border: 1px solid var(--tct-line);
  border-radius: 14px;
  background: var(--tct-white);
  box-shadow: 0 18px 46px rgba(21, 33, 59, 0.18);
}

.tct-cat:nth-last-child(-n + 2) > div {
  right: 0;
  left: auto;
}

.tct-cat > div > a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--tct-line);
  background: var(--tct-white);
  color: var(--tct-text);
  font-size: 12px;
  font-weight: 750;
}

.tct-cat > div > a:last-child {
  border-bottom: 0;
}

.tct-cat > div > a:hover {
  padding-left: 24px;
  background: #eef9fe;
  color: var(--tct-cyan);
}

/* Current top menu keeps the site's colorful category identity */
#main-nav > ul > li:nth-child(1) > a {
  color: #009fd6;
}

#main-nav > ul > li:nth-child(2) > a {
  color: #69ad22;
}

#main-nav > ul > li:nth-child(3) > a {
  color: #e99a00;
}

#main-nav > ul > li:nth-child(4) > a {
  color: #ff4f2e;
}

#main-nav > ul > li:nth-child(5) > a {
  color: #f31f67;
}

#main-nav > ul > li:nth-child(6) > a {
  color: #7047eb;
}

#main-nav > ul > li:nth-child(7) > a,
#main-nav > ul > li:nth-child(8) > a {
  color: #009cb5;
}

/* Home hero */
#slide {
  width: min(1440px, calc(100% - 48px));
  margin: 36px auto 56px;
}

.tct-native-hero {
  overflow: hidden;
  border-radius: 24px;
  background: var(--tct-ink);
  box-shadow: var(--tct-shadow);
}

.tct-native-hero__viewport {
  border-radius: inherit;
}

.tct-native-hero__link,
.tct-native-hero__slide img {
  border-radius: inherit;
}

.tct-native-hero__slide img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.tct-native-hero__shade {
  background: linear-gradient(90deg, rgba(9, 18, 38, 0.82), rgba(9, 18, 38, 0.12) 72%);
}

.tct-native-hero__content {
  max-width: 760px;
  padding: clamp(28px, 6vw, 82px);
}

.tct-native-hero__label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--tct-yellow);
  color: var(--tct-ink);
  font-size: 11px;
  font-weight: 850;
}

.tct-native-hero__content strong {
  display: block;
  margin: 18px 0;
  color: var(--tct-white);
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.28;
  letter-spacing: -0.035em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.28);
}

.tct-native-hero__cta {
  color: var(--tct-white);
  font-size: 13px;
  font-weight: 800;
}

.tct-native-hero__arrow {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--tct-ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.tct-native-hero__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b9c8d3;
}

.tct-native-hero__dots button.is-active {
  width: 30px;
  background: var(--tct-cyan);
}

/* Content frame */
main,
.wrap_content,
#under_header {
  width: min(1440px, calc(100% - 48px));
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.box_post {
  width: 100%;
  max-width: none;
  margin: 0 0 88px;
  padding: 0;
  background: transparent;
}

.title_fav_menu {
  position: relative;
  margin: 0 0 34px;
  color: var(--tct-ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-align: left;
}

.title_fav_menu center {
  text-align: left;
}

.title_fav_menu::after {
  display: block;
  width: 68px;
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bfe9f8, #d9edb9, #ffe39b, #ffc9b8, #f7b8ca, #cfc2f3);
  content: "";
}

/* Article grids */
.box_content_top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.box_content_top > li {
  display: flex;
  overflow: hidden;
  float: none;
  flex-direction: column;
  width: auto;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--tct-line);
  border-radius: var(--tct-radius);
  background: var(--tct-white);
  box-shadow: 0 8px 26px rgba(21, 33, 59, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box_content_top > li:hover {
  transform: translateY(-5px);
  box-shadow: var(--tct-shadow);
}

.box_content_top > li > a:first-child {
  display: block;
  overflow: hidden;
  background: #eaf4f9;
}

.box_content_top > li > a:first-child img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.box_content_top > li:hover > a:first-child img {
  transform: scale(1.035);
}

.box_content_top .list_inner,
.box_content_top .list_inner_wrap {
  width: 100%;
  height: auto;
  padding: 0;
}

.box_content_top .list_inner {
  display: flex;
  flex: 1 1 auto;
}

.box_content_top .list_inner_wrap {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.tct-card-date {
  display: block;
  margin: -5px 0 10px;
  color: #7a8493;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tct-six-articles .box_content_top h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.1em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tct-more-wrap {
  text-align: center;
}

@media (max-width: 600px) {
  .tct-six-articles .box_content_top > li:nth-child(n + 5) {
    display: none;
  }

  .tct-six-articles .box_content_top h3 {
    min-height: 0;
    -webkit-line-clamp: 3;
  }
}

.box_content_top .list_inner_wrap {
  padding: 22px 24px 26px;
}

.box_content_top [class^="category_"],
.box_content_top [class*=" category_"] {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: #e8f7fd;
  color: #087eaa;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
}

.box_content_top h3 {
  margin: 0;
  color: var(--tct-ink);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.box_content_top h3 a {
  color: var(--tct-ink);
}

.box_content_top .list_inner_wrap > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 0;
  color: var(--tct-muted);
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cross_line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  margin: 36px auto 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  border: 3px solid var(--tct-white);
  background: linear-gradient(90deg, #dff5ff, #e8f7d2, #fff0b8, #ffd8cb, #ffd5e1, #e7e0ff);
  color: var(--tct-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 20px rgba(21, 33, 59, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cross_line::after {
  margin-left: 16px;
  font-size: 16px;
  content: "→";
}

.cross_line:hover {
  transform: translateY(-3px);
  filter: saturate(1.04) brightness(1.01);
  box-shadow: 0 12px 26px rgba(21, 33, 59, 0.11);
}

/* Native people cards */
.tct-native-people__card {
  overflow: hidden;
  border: 1px solid var(--tct-line);
  border-radius: 16px;
  background: var(--tct-white);
}

.tct-native-people__card img {
  aspect-ratio: 1;
  object-fit: cover;
}

.tct-native-people__card span {
  padding: 12px;
  color: var(--tct-ink);
  font-weight: 800;
}

.tct-people-section {
  overflow: hidden;
  padding: clamp(44px, 6vw, 80px);
  border-radius: 26px;
  background: linear-gradient(135deg, #fff8d8, #e8f8ff 45%, #ffe8ef);
}

.tct-section-kicker {
  margin: 0 0 12px;
  color: var(--tct-pink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.tct-people-lead {
  margin: -16px 0 30px;
  color: var(--tct-muted);
  font-size: 14px;
}

.tct-native-people__track {
  display: grid;
  grid-auto-columns: minmax(220px, 28%);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--tct-sky) rgba(21, 33, 59, 0.08);
}

.tct-native-people__card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 320px;
  border: 3px solid var(--tct-white);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(21, 33, 59, 0.14);
  scroll-snap-align: start;
}

.tct-native-people__card:nth-child(2n) {
  transform: translateY(12px);
}

.tct-native-people__card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.tct-native-people__card::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(9, 18, 38, 0.86));
  content: "";
}

.tct-native-people__card span {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  z-index: 2;
  padding: 0;
  color: var(--tct-white);
  font-size: 24px;
  font-weight: 900;
}

/* Article page */
#content {
  width: 100%;
  max-width: none;
}

#content > .title_page {
  max-width: 1040px;
  margin: 58px auto 34px;
  padding: 0;
  background: transparent;
  color: var(--tct-ink);
}

#content > .title_page .title_page_inner {
  padding: 0;
  color: var(--tct-ink);
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

#content_page {
  max-width: 1040px;
  margin: 0 auto 100px;
  padding: clamp(26px, 5vw, 68px);
  border: 1px solid var(--tct-line);
  border-radius: 22px;
  background: var(--tct-white);
  box-shadow: var(--tct-shadow);
}

.box_single_post {
  color: var(--tct-text);
  font-size: 16px;
  line-height: 2;
}

.box_single_post > p,
.box_single_post > ul,
.box_single_post > ol {
  margin: 0 0 1.65em;
}

.box_single_post img {
  margin: 28px auto;
  border-radius: 14px;
}

.box_single_post h2,
.box_single_post h3,
.box_single_post h4 {
  height: auto;
  color: var(--tct-ink);
  font-weight: 850;
  line-height: 1.5;
}

.box_single_post h2 {
  margin: 64px 0 28px;
  padding: 18px 22px;
  border: 0;
  border-left: 7px solid var(--tct-cyan);
  border-radius: 0 12px 12px 0;
  background: #edf8fd;
  font-size: clamp(22px, 2.5vw, 31px);
}

.box_single_post h2 span {
  color: inherit;
  font-size: inherit;
}

.box_single_post h3 {
  margin: 50px 0 22px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 3px solid var(--tct-yellow);
  background: transparent;
  font-size: clamp(20px, 2vw, 27px);
}

.box_single_post a:not(.a2a_button_x):not(.a2a_button_line):not(.a2a_button_facebook) {
  color: #087eaa;
  text-decoration: underline;
  text-decoration-color: rgba(0, 163, 231, 0.35);
  text-underline-offset: 4px;
}

/* Footer */
#foot {
  margin-top: 90px;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  gap: clamp(40px, 8vw, 120px);
  padding: 72px max(24px, calc((100% - 1360px) / 2)) 54px;
  border-top: 7px solid transparent;
  border-image: linear-gradient(90deg, var(--tct-sky), var(--tct-green), var(--tct-yellow), var(--tct-coral), var(--tct-pink), var(--tct-purple)) 1;
  background: var(--tct-white);
  color: var(--tct-text);
}

#foot a {
  color: var(--tct-text);
}

#foot a:hover {
  color: var(--tct-pink);
}

.sns_footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 22px 20px;
  border-top: 1px solid var(--tct-line);
  background: linear-gradient(90deg, #eaf8ff, #fff7d8, #ffe9ef, #eeeaff);
  list-style: none;
}

.tct-footer-brand img {
  display: block;
  width: 180px;
  max-height: 100px;
  margin-bottom: 22px;
  object-fit: contain;
}

.tct-footer-brand strong {
  display: block;
  color: var(--tct-ink);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.tct-footer-brand p {
  margin: 12px 0 0;
  color: var(--tct-muted);
  font-size: 12px;
}

.tct-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.tct-footer-links > div {
  display: grid;
  align-content: start;
}

.tct-footer-links b {
  margin-bottom: 12px;
  color: var(--tct-ink);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.tct-footer-links a {
  padding: 10px 0;
  border-bottom: 1px dashed #cbd8e0;
  font-size: 12px;
}

.sns_footer li {
  margin: 0;
}

.tct-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 15px 5px 6px;
  border: 1px solid rgba(21, 33, 59, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--tct-ink);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(21, 33, 59, 0.07);
}

.tct-social svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  fill: var(--tct-white);
}

.tct-social-x svg {
  background: #111111;
}

.tct-social-instagram svg {
  background: radial-gradient(circle at 32% 100%, #ffd600 0 20%, #ff7a00 31%, #ff0169 52%, #d300c5 72%, #7638fa 100%);
}

.tct-social-facebook svg {
  background: #1877f2;
}

/* Tablet */
@media (max-width: 1000px) {
  #head .head-wrap {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  #head .head-bnr,
  #head .head-contact,
  #head .box-search {
    display: none;
  }

  .tct-mobile-nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .tct-hamburger {
    display: grid;
    width: 48px;
    height: 48px;
    place-content: center;
    gap: 5px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.92);
    background: conic-gradient(from 210deg, #bfe9f8, #d9edb9, #ffe39b, #ffc9b8, #f7b8ca, #cfc2f3, #bfe9f8);
    box-shadow: 0 9px 24px rgba(21, 33, 59, 0.11);
    cursor: pointer;
  }

  .tct-hamburger i {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--tct-ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .tct-mobile-nav-toggle:checked + .tct-hamburger i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .tct-mobile-nav-toggle:checked + .tct-hamburger i:nth-child(2) {
    opacity: 0;
  }

  .tct-mobile-nav-toggle:checked + .tct-hamburger i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  #head:has(.tct-mobile-nav-toggle:not(:checked)) #main-nav {
    display: none;
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav {
    display: block;
    border-top: 1px solid var(--tct-line);
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 10px;
    background: var(--tct-white);
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li > a {
    min-height: 72px;
    padding: 14px;
    border: 1px solid var(--tct-line);
  }

  #main-nav > ul,
  #main-nav.mobile > ul {
    display: none;
    width: 100%;
  }

  #main-nav > ul.show,
  #main-nav.mobile > ul.show {
    display: block;
  }

  #main-nav .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: var(--tct-white);
    color: var(--tct-ink);
    font-weight: 800;
  }

  #main-nav.mobile .menu-toggle {
    position: relative;
    min-height: 54px;
  }

  #main-nav.mobile .menu-toggle .fa-bars {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #bfe9f8, #d9edb9, #ffe39b, #ffc9b8, #f7b8ca, #cfc2f3, #bfe9f8);
    color: var(--tct-ink);
    box-shadow: 0 8px 22px rgba(21, 33, 59, 0.1);
  }

  .box_content_top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .tct-category-menu__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tct-category-menu__grid a:nth-child(3) {
    border-right: 0;
  }

  .tct-category-menu__grid a:nth-child(-n + 3) {
    border-bottom: 1px solid var(--tct-line);
  }

  .tct-category-menu__grid > .tct-cat:nth-child(3) {
    border-right: 0;
  }
}

/* Mobile */
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  #head .head-wrap,
  main,
  .wrap_content,
  #under_header,
  #slide,
  .tct-category-menu {
    width: min(100% - 28px, 1440px);
  }

  .tct-category-menu {
    margin-top: 14px;
  }

  .tct-category-menu__toggle:not(:checked) ~ .tct-category-menu__grid {
    display: none;
  }

  .tct-category-menu__summary {
    display: flex;
  }

  .tct-category-menu__toggle:checked + .tct-category-menu__summary {
    border-bottom: 1px solid var(--tct-line);
  }

  .tct-category-menu__toggle:checked + .tct-category-menu__summary b {
    background: var(--tct-pink);
    color: var(--tct-white);
  }

  .tct-category-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tct-category-menu__grid a,
  .tct-category-menu__grid a:nth-child(3),
  .tct-category-menu__grid a:last-child {
    min-height: 92px;
    padding: 14px;
    border-right: 1px solid var(--tct-line);
    border-bottom: 1px solid var(--tct-line);
  }

  .tct-category-menu__grid a:nth-child(even) {
    border-right: 0;
  }

  .tct-category-menu__grid a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .tct-category-menu__grid > .tct-cat,
  .tct-category-menu__grid > .tct-cat:nth-child(3) {
    border-right: 1px solid var(--tct-line);
    border-bottom: 1px solid var(--tct-line);
  }

  .tct-category-menu__grid > .tct-cat:nth-child(even) {
    border-right: 0;
  }

  .tct-category-menu__grid > .tct-cat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .tct-category-menu__grid > .tct-cat[open] {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .tct-category-menu__grid:has(.tct-cat[open]) > .tct-cat:last-child:not([open]) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .tct-cat > summary {
    min-height: 104px;
    padding: 14px;
  }

  .tct-cat > summary > span {
    margin-bottom: 10px;
  }

  .tct-cat > summary::after {
    right: 12px;
    bottom: 10px;
  }

  .tct-cat > div,
  .tct-cat:nth-last-child(-n + 2) > div {
    position: static;
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(21, 33, 59, 0.12);
    border-radius: 0;
    box-shadow: none;
  }

  .tct-cat > div > a {
    min-height: 44px;
    padding: 0 12px;
    font-size: 11px;
  }

  .tct-cat[open] > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tct-cat[open] > div > a:nth-child(odd) {
    border-right: 1px solid var(--tct-line);
  }

  .tct-native-people__track {
    grid-auto-columns: 78%;
  }

  .tct-people-section {
    padding: 32px 18px;
    border-radius: 18px;
  }

  .tct-native-people__card,
  .tct-native-people__card img {
    min-height: 300px;
  }

  .tct-category-menu__grid a > span {
    margin-bottom: 8px;
  }

  .tct-category-menu__grid a > strong {
    font-size: 13px;
  }

  #head .head-wrap {
    gap: 12px;
    min-height: 68px;
  }

  #head .head-logo img {
    width: 190px;
    max-height: 48px;
  }

  #head .box-search form {
    display: none;
  }

  #head .search-btn {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--tct-sky);
    color: var(--tct-ink);
  }

  #slide {
    margin-top: 18px;
    margin-bottom: 42px;
  }

  .tct-native-hero {
    border-radius: 17px;
  }

  .tct-native-hero__slide img {
    min-height: 440px;
    aspect-ratio: 4 / 5;
  }

  .tct-native-hero__shade {
    background: linear-gradient(0deg, rgba(9, 18, 38, 0.9), rgba(9, 18, 38, 0.05) 72%);
  }

  .tct-native-hero__content {
    padding: 26px;
  }

  .tct-native-hero__content strong {
    font-size: 29px;
    line-height: 1.35;
  }

  .tct-native-hero__arrow {
    width: 42px;
    height: 42px;
  }

  .box_post {
    margin-bottom: 64px;
  }

  .title_fav_menu {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .box_content_top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .box_content_top > li {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 150px;
  }

  .box_content_top > li > a:first-child img {
    height: 100%;
    min-height: 150px;
    aspect-ratio: auto;
  }

  .box_content_top .list_inner_wrap {
    padding: 15px;
  }

  .box_content_top h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .box_content_top .list_inner_wrap > p {
    display: none;
  }

  #content > .title_page {
    margin: 36px auto 22px;
  }

  #content > .title_page .title_page_inner {
    font-size: 30px;
  }

  #content_page {
    margin-bottom: 64px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .box_single_post h2 {
    margin-top: 46px;
    padding: 15px 16px;
    font-size: 22px;
  }

  .box_single_post h3 {
    margin-top: 40px;
    font-size: 20px;
  }

  #foot {
    margin-top: 60px;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 54px 20px 32px;
  }

  .tct-footer-brand img {
    width: 150px;
  }

  .tct-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }

  .tct-footer-links > div:last-child {
    grid-column: 1 / -1;
  }

  .sns_footer {
    flex-wrap: wrap;
    gap: 9px;
  }

  .tct-social {
    padding-right: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

/*
 * Desktop/tablet navigation guard.
 * Some desktop browser panels report a viewport below 1000px; keep the
 * hamburger strictly for phone widths and retain the editorial PC menu.
 */
@media (min-width: 768px) {
  .tct-hamburger,
  .tct-mobile-nav-toggle {
    display: none;
  }

  #head:has(.tct-mobile-nav-toggle:not(:checked)) #main-nav,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav,
  #main-nav {
    display: block;
  }

  #main-nav > ul,
  #main-nav.mobile > ul,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    width: min(1440px, calc(100% - 32px));
    padding: 10px 0;
    background: transparent;
  }

  #main-nav > ul > li {
    position: relative;
    flex: 1 1 0;
    max-width: 176px;
  }

  #main-nav > ul > li::before {
    position: absolute;
    top: 0;
    right: 14px;
    left: 14px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    opacity: 1;
  }

  #main-nav > ul > li:nth-child(1) {
    color: #009fd6;
  }

  #main-nav > ul > li:nth-child(2) {
    color: #69ad22;
  }

  #main-nav > ul > li:nth-child(3) {
    color: #e99a00;
  }

  #main-nav > ul > li:nth-child(4) {
    color: #ff4f2e;
  }

  #main-nav > ul > li:nth-child(5) {
    color: #f31f67;
  }

  #main-nav > ul > li:nth-child(6) {
    color: #7047eb;
  }

  #main-nav > ul > li:nth-child(7),
  #main-nav > ul > li:nth-child(8) {
    color: #009cb5;
  }

  #main-nav > ul > li > a,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 72px;
    padding: 16px 8px 10px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }

  #main-nav > ul > li > a:hover {
    transform: translateY(-3px);
    background: #f4f9fc;
    box-shadow: 0 9px 22px rgba(21, 33, 59, 0.08);
  }

  #main-nav > ul > li > a span {
    color: currentColor;
    opacity: 0.78;
  }

  .tct-category-menu__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tct-category-menu__grid > .tct-cat,
  .tct-category-menu__grid > .tct-cat:nth-child(3),
  .tct-category-menu__grid > .tct-cat:nth-child(even),
  .tct-category-menu__grid > .tct-cat:nth-last-child(-n + 2) {
    grid-column: auto;
    border-right: 1px solid rgba(21, 33, 59, 0.09);
    border-bottom: 0;
  }

  .tct-category-menu__grid > .tct-cat:last-child {
    border-right: 0;
  }

  .tct-cat > summary {
    min-height: 118px;
  }
}

/* Removed duplicated lower category panel; categories now live in main nav. */
.tct-category-menu {
  display: none;
}

/* Pop editorial dropdowns inside the existing top navigation */
@media (min-width: 768px) {
  #main-nav > ul > li {
    position: relative;
  }

  #main-nav > ul > li > ul {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 200;
    display: grid;
    width: 260px;
    min-width: 260px;
    overflow: hidden;
    padding: 10px;
    border: 2px solid currentColor;
    border-radius: 18px;
    background: var(--tct-white);
    box-shadow: 0 20px 50px rgba(21, 33, 59, 0.2);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate(-50%, -8px) scale(0.97);
    transform-origin: top center;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  #main-nav > ul > li:first-child > ul {
    left: 0;
    transform: translate(0, -8px) scale(0.97);
  }

  #main-nav > ul > li:first-child:hover > ul,
  #main-nav > ul > li:first-child:focus-within > ul {
    transform: translate(0, 0) scale(1);
  }

  #main-nav > ul > li:last-child > ul {
    right: 0;
    left: auto;
    transform: translate(0, -8px) scale(0.97);
  }

  #main-nav > ul > li:last-child:hover > ul,
  #main-nav > ul > li:last-child:focus-within > ul {
    transform: translate(0, 0) scale(1);
  }

  #main-nav > ul > li:hover > ul,
  #main-nav > ul > li:focus-within > ul {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
  }

  #main-nav > ul > li > ul::before {
    display: block;
    margin: 5px 8px 9px;
    color: currentColor;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.14em;
    content: "SELECT CATEGORY";
  }

  #main-nav > ul > li > ul > li {
    width: 100%;
    margin: 0;
  }

  #main-nav > ul > li > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 38px 0 14px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--tct-text);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
    transition: padding 0.18s ease, background 0.18s ease, color 0.18s ease;
  }

  #main-nav > ul > li > ul > li > a::after {
    position: absolute;
    right: 13px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: currentColor;
    color: var(--tct-white);
    font-size: 12px;
    content: "→";
  }

  #main-nav > ul > li > ul > li > a:hover {
    padding-left: 20px;
    background: #eff8fc;
    color: currentColor;
  }

  #main-nav > ul > li:nth-child(1) > ul {
    background: linear-gradient(145deg, #ffffff, #e5f7ff);
  }

  #main-nav > ul > li:nth-child(2) > ul {
    background: linear-gradient(145deg, #ffffff, #eff9dc);
  }

  #main-nav > ul > li:nth-child(3) > ul {
    background: linear-gradient(145deg, #ffffff, #fff5cf);
  }

  #main-nav > ul > li:nth-child(4) > ul {
    background: linear-gradient(145deg, #ffffff, #ffebe4);
  }

  #main-nav > ul > li:nth-child(5) > ul {
    background: linear-gradient(145deg, #ffffff, #ffe6ee);
  }

  #main-nav > ul > li:nth-child(6) > ul {
    background: linear-gradient(145deg, #ffffff, #eee9ff);
  }
}

@media (max-width: 767px) {
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav {
    overflow: hidden;
    border-top: 1px solid var(--tct-line);
    background: var(--tct-white);
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul,
  #main-nav.mobile > ul.show {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 14px 14px;
    background: var(--tct-white);
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li,
  #main-nav.mobile > ul.show > li {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--tct-line);
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:last-child,
  #main-nav.mobile > ul.show > li:last-child {
    border-bottom: 0;
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li > a,
  #main-nav.mobile > ul.show > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    min-height: 58px;
    padding: 10px 42px 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li.has-sub > a::after,
  #main-nav.mobile > ul.show > li.has-sub > a::after {
    position: absolute;
    right: 12px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #edf5f9;
    color: var(--tct-ink);
    font-size: 17px;
    font-weight: 800;
    content: "+";
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:focus-within > a::after,
  #main-nav.mobile > ul.show > li.open > a::after {
    background: var(--tct-yellow);
    content: "−";
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li > a span,
  #main-nav.mobile > ul.show > li > a span {
    display: inline;
    margin: 0 0 0 auto;
    padding-left: 12px;
    font-size: 10px;
    text-align: right;
  }

  #main-nav > ul > li > ul {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 6px;
    border: 0;
    border-radius: 0 0 14px 14px;
    background: #f2f8fb;
    box-shadow: none;
  }

  #main-nav > ul > li:hover > ul,
  #main-nav > ul > li:focus-within > ul,
  #main-nav > ul > li.open > ul {
    display: block;
  }

  #main-nav > ul > li > ul > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-bottom: 1px solid var(--tct-line);
    color: var(--tct-text);
    font-size: 11px;
    font-weight: 700;
  }

  #main-nav > ul > li > ul > li:last-child > a {
    border-bottom: 0;
  }

  #main-nav > ul > li > ul > li > a::before {
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: currentColor;
    content: "";
  }
}

/* Complete navigation/footer information architecture -------------------- */
@media (min-width: 921px) {
  #main-nav > ul > li {
    flex: 1 1 0;
    min-width: 0;
  }

  #main-nav > ul > li > a {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    text-align: center;
  }

  #main-nav > ul > li > a span {
    position: absolute;
    margin-top: 38px;
  }

  #main-nav ul ul a {
    display: flex;
    min-height: 44px;
    align-items: center;
    line-height: 1.45;
  }
}

.tct-footer-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.tct-footer-links a {
  min-height: 44px;
  align-content: center;
}

@media (max-width: 767px) {
  .tct-footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .tct-footer-links > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .tct-footer-links {
    grid-template-columns: 1fr;
  }
}

/* Smooth, accessible mobile navigation ----------------------------------- */
.tct-submenu-toggle {
  display: none;
}

@media (max-width: 767px) {
  html.tct-menu-open {
    overflow: hidden;
  }

  .tct-hamburger {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
    will-change: transform;
  }

  .tct-hamburger:active {
    transform: scale(0.94);
  }

  .tct-hamburger i {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  }

  #head:has(.tct-mobile-nav-toggle:not(:checked)) #main-nav,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav {
    display: block;
  }

  #head #main-nav {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 0;
    border-top: 0;
    opacity: 0;
    overscroll-behavior: contain;
    pointer-events: none;
    transform: translateY(-10px);
    transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.42s;
    visibility: hidden;
    will-change: max-height, opacity, transform;
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav {
    max-height: calc(100dvh - 72px);
    border-top: 1px solid var(--tct-line);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
    visibility: visible;
  }

  #head #main-nav > ul,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul {
    display: block;
  }

  #head #main-nav > ul > li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.24s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li {
    opacity: 1;
    transform: translateY(0);
  }

  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:nth-child(2) { transition-delay: 0.025s; }
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:nth-child(3) { transition-delay: 0.05s; }
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:nth-child(4) { transition-delay: 0.075s; }
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:nth-child(5) { transition-delay: 0.1s; }
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:nth-child(6) { transition-delay: 0.125s; }
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:nth-child(7) { transition-delay: 0.15s; }
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:nth-child(8) { transition-delay: 0.175s; }

  #head #main-nav > ul > li.has-sub > a::after {
    display: none;
  }

  .tct-submenu-toggle {
    position: absolute;
    top: 9px;
    right: 8px;
    z-index: 2;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f5edf2;
    color: var(--tct-ink);
    cursor: pointer;
  }

  #head #main-nav > ul > li {
    position: relative;
  }

  .tct-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }

  #head #main-nav > ul,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 10px 14px 20px;
  }

  #head #main-nav > ul > li,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li {
    box-sizing: border-box;
    width: 100%;
    margin: 6px 0;
    border: 1px solid rgba(21, 33, 59, 0.07);
    border-radius: 14px;
    background: #fbfdff;
  }

  #head #main-nav > ul > li:nth-child(1) { background: #f1fbff; }
  #head #main-nav > ul > li:nth-child(2) { background: #f8fceb; }
  #head #main-nav > ul > li:nth-child(3) { background: #fffaf0; }
  #head #main-nav > ul > li:nth-child(4) { background: #fff5f1; }
  #head #main-nav > ul > li:nth-child(5) { background: #fff3f7; }
  #head #main-nav > ul > li:nth-child(6) { background: #f8f5ff; }
  #head #main-nav > ul > li:nth-child(7),
  #head #main-nav > ul > li:nth-child(8) { background: #f1fafb; }

  #head #main-nav > ul > li > a,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li > a {
    box-sizing: border-box;
    width: 100%;
    min-height: 64px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 10px 54px 10px 14px;
    overflow: hidden;
  }

  #head #main-nav > ul > li > a span,
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li > a span {
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 4px 0 0;
    padding: 0;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tct-submenu-toggle {
    top: 13px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 5px 14px rgba(21, 33, 59, 0.08);
  }

  #head #main-nav > ul > li > ul {
    border-radius: 0 0 13px 13px;
  }
}

/* Individual article pages ----------------------------------------------- */
body.cafe-column #page,
body.single #page,
body.single-post #page,
.tct-article-sample #page {
  width: 100%;
  max-width: none;
  padding: 0 24px 88px;
  background:
    radial-gradient(circle at 4% 10%, rgba(89, 190, 236, 0.12), transparent 25rem),
    radial-gradient(circle at 96% 30%, rgba(255, 213, 225, 0.55), transparent 27rem),
    #f7fafc;
}

body.cafe-column #page > .breadcrumbs,
body.single #page > .breadcrumbs,
body.single-post #page > .breadcrumbs,
.tct-article-sample #page > .breadcrumbs {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 18px 0 13px;
  color: var(--tct-muted);
  font-size: 11px;
}

body.cafe-column #page > .clearfix,
body.single #page > .clearfix,
body.single-post #page > .clearfix,
.tct-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

body.cafe-column #page main,
body.single #page main,
body.single-post #page main,
.tct-article-sample #page main,
body.cafe-column #content,
body.single #content,
body.single-post #content,
.tct-article-sample #content {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.cafe-column #content > .title_page,
body.single #content > .title_page,
body.single-post #content > .title_page,
.tct-article-sample #content > .title_page {
  position: relative;
  overflow: hidden;
  margin: 0 0 22px;
  padding: clamp(34px, 5vw, 62px) clamp(24px, 5vw, 58px);
  border: 1px solid var(--tct-line);
  border-radius: 26px;
  background: var(--tct-pastel-spectrum);
  box-shadow: var(--tct-shadow);
}

body.cafe-column #content > .title_page::before,
body.single #content > .title_page::before,
body.single-post #content > .title_page::before,
.tct-article-sample #content > .title_page::before {
  display: block;
  margin-bottom: 12px;
  color: var(--tct-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  content: "TEAM CAFE TOKYO JOURNAL";
}

body.cafe-column #content > .title_page .title_page_inner,
body.single #content > .title_page .title_page_inner,
body.single-post #content > .title_page .title_page_inner,
.tct-article-sample #content > .title_page .title_page_inner {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tct-ink);
  font-size: clamp(27px, 3.3vw, 44px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.035em;
  text-align: left;
}

body.cafe-column #content_page,
body.single #content_page,
body.single-post #content_page,
.tct-article-sample #content_page {
  width: 100%;
  margin: 0;
}

body.cafe-column .box_single_post,
body.single .box_single_post,
body.single-post .box_single_post,
.tct-article-sample .box_single_post {
  margin: 0;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid var(--tct-line);
  border-radius: 24px;
  background: var(--tct-white);
  box-shadow: 0 16px 44px rgba(21, 33, 59, 0.08);
}

.box_single_post > p:first-child img,
.tct-article-sample .article-hero {
  width: 100%;
  margin: 0 0 34px;
  border-radius: 18px;
  object-fit: cover;
}

.box_single_post p {
  color: var(--tct-text);
  font-size: 16px;
  line-height: 2.05;
}

.tct-article-meta,
.tct-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.tct-article-meta span,
.tct-article-tags a,
#sidebar .tagcloud a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 4px 11px;
  border: 1px solid var(--tct-line);
  border-radius: 999px;
  background: #f5fbfd;
  color: var(--tct-ink);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.tct-article-tags a:nth-child(3n + 2),
#sidebar .tagcloud a:nth-child(3n + 2) {
  background: #fff9dc;
}

.tct-article-tags a:nth-child(3n),
#sidebar .tagcloud a:nth-child(3n) {
  background: #fff0f4;
}

.related {
  margin: 30px 0 0;
  padding: 25px;
  border: 1px solid var(--tct-line);
  border-radius: 22px;
  background: var(--tct-white);
  box-shadow: 0 13px 34px rgba(21, 33, 59, 0.07);
}

.related-title {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tct-ink);
  font-size: 22px;
  font-weight: 900;
}

.related-title::before {
  display: inline-flex;
  margin-right: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--tct-pastel-yellow);
  color: var(--tct-ink);
  font-size: 9px;
  letter-spacing: 0.12em;
  vertical-align: 3px;
  content: "PUSH";
}

.related-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-list {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.related-list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 13px 42px 13px 15px;
  border: 1px solid var(--tct-line);
  border-radius: 13px;
  background: #fbfdfe;
  color: var(--tct-text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.related-list a::after {
  position: absolute;
  right: 12px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--tct-pastel-sky);
  color: var(--tct-ink);
  content: "→";
}

#sidebar {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 921px) {
  body.cafe-column #sidebar,
  body.single #sidebar,
  body.single-post #sidebar,
  .tct-article-sample #sidebar {
    position: sticky;
    top: 18px;
    align-self: start;
    height: fit-content;
  }
}

#sidebar > aside,
#sidebar .widget,
.tct-sidebar-card {
  overflow: hidden;
  margin: 0 0 18px;
  padding: 21px;
  border: 1px solid var(--tct-line);
  border-radius: 19px;
  background: var(--tct-white);
  box-shadow: 0 12px 32px rgba(21, 33, 59, 0.07);
}

#sidebar > aside:first-of-type {
  position: sticky;
  top: 18px;
}

#sidebar h2,
#sidebar h3,
.tct-sidebar-card h2 {
  margin: 0 0 15px;
  padding: 0 0 11px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #a9dff3, #cce7a8, #f7d973, #f3abc1, #c8b9ed) 1;
  background: transparent;
  color: var(--tct-ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

#sidebar .accordion,
#sidebar .submenu,
.tct-sidebar-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebar .link,
#sidebar li > a,
.tct-sidebar-card li a {
  display: flex;
  align-items: center;
  min-height: 43px;
  padding: 8px 5px;
  border-bottom: 1px solid #edf2f5;
  color: var(--tct-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

#sidebar li:last-child > a,
.tct-sidebar-card li:last-child a {
  border-bottom: 0;
}

@media (max-width: 920px) {
  body.cafe-column #page > .clearfix,
  body.single #page > .clearfix,
  body.single-post #page > .clearfix,
  .tct-article-layout {
    grid-template-columns: 1fr;
  }

  #sidebar > aside:first-of-type {
    position: static;
  }

  #sidebar {
    display: grid;
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  body.cafe-column #page,
  body.single #page,
  body.single-post #page,
  .tct-article-sample #page {
    padding: 0 14px 58px;
  }

  body.cafe-column #content > .title_page,
  body.single #content > .title_page,
  body.single-post #content > .title_page,
  .tct-article-sample #content > .title_page {
    padding: 30px 20px;
    border-radius: 20px;
  }

  body.cafe-column .box_single_post,
  body.single .box_single_post,
  body.single-post .box_single_post,
  .tct-article-sample .box_single_post {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .box_single_post p {
    font-size: 15px;
    line-height: 1.95;
  }

  .related-box,
  #sidebar {
    grid-template-columns: 1fr;
  }

  .related {
    padding: 18px;
  }
}

/* Article title: quiet editorial treatment */
body.cafe-column #content > .title_page,
body.single #content > .title_page,
body.single-post #content > .title_page,
.tct-article-sample #content > .title_page {
  position: relative;
  margin-bottom: 16px;
  padding: clamp(30px, 4vw, 48px) clamp(24px, 4vw, 46px) clamp(28px, 3.6vw, 42px);
  border: 1px solid var(--tct-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(21, 33, 59, 0.07);
}

body.cafe-column #content > .title_page::after,
body.single #content > .title_page::after,
body.single-post #content > .title_page::after,
.tct-article-sample #content > .title_page::after {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #a9dff3, #cce7a8, #f7d973, #f5b8a4, #f3abc1, #c8b9ed);
  content: "";
}

body.cafe-column #content > .title_page::before,
body.single #content > .title_page::before,
body.single-post #content > .title_page::before,
.tct-article-sample #content > .title_page::before {
  margin-bottom: 10px;
  color: #8390a1;
  font-size: 9px;
  letter-spacing: 0.18em;
  content: "TCT JOURNAL";
}

body.cafe-column #content > .title_page .title_page_inner,
body.single #content > .title_page .title_page_inner,
body.single-post #content > .title_page .title_page_inner,
.tct-article-sample #content > .title_page .title_page_inner {
  max-width: 19em;
  font-size: clamp(26px, 2.65vw, 38px);
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

@media (max-width: 600px) {
  body.cafe-column #content > .title_page,
  body.single #content > .title_page,
  body.single-post #content > .title_page,
  .tct-article-sample #content > .title_page {
    padding: 26px 20px 24px;
    border-radius: 16px;
  }

  body.cafe-column #content > .title_page::after,
  body.single #content > .title_page::after,
  body.single-post #content > .title_page::after,
  .tct-article-sample #content > .title_page::after {
    right: 18px;
    left: 18px;
    height: 3px;
  }

  body.cafe-column #content > .title_page .title_page_inner,
  body.single #content > .title_page .title_page_inner,
  body.single-post #content > .title_page .title_page_inner,
  .tct-article-sample #content > .title_page .title_page_inner {
    font-size: clamp(23px, 7vw, 30px);
    line-height: 1.5;
  }
}

/* Cafe information page ---------------------------------------------------
 * Scope this refresh to the actual Elementor document used by
 * /cafe-information/ so other Elementor pages keep their own design.
 */
#page:has(.elementor-17020) {
  width: 100%;
  max-width: none;
  padding: 0 24px 88px;
  background:
    radial-gradient(circle at 8% 8%, rgba(89, 190, 236, 0.16), transparent 24rem),
    radial-gradient(circle at 92% 22%, rgba(255, 48, 81, 0.1), transparent 27rem),
    linear-gradient(180deg, #ffffff 0%, #f5f9fc 32%, #ffffff 100%);
}

#page:has(.elementor-17020) .breadcrumbs {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 18px 0 12px;
  color: var(--tct-muted);
  font-size: 11px;
}

#page:has(.elementor-17020) main,
#page:has(.elementor-17020) #content {
  float: none;
  width: min(1240px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

#page:has(.elementor-17020) .head_tempo {
  position: relative;
  overflow: hidden;
  margin: 0 0 38px;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 6vw, 76px);
  border: 1px solid var(--tct-line);
  border-radius: 28px;
  background: linear-gradient(120deg, #dff5ff, #eef9d8 28%, #fff0b8 54%, #ffdbe5 76%, #e8e1ff);
  box-shadow: var(--tct-shadow);
}

#page:has(.elementor-17020) .head_tempo::before {
  display: block;
  margin-bottom: 13px;
  color: var(--tct-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  content: "TOKYO CAFE GUIDE";
}

#page:has(.elementor-17020) .head_tempo::after {
  position: absolute;
  right: -38px;
  bottom: -62px;
  width: 210px;
  height: 210px;
  border: 34px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  content: "";
}

#page:has(.elementor-17020) .title_page,
#page:has(.elementor-17020) .title_page_inner {
  position: relative;
  z-index: 1;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tct-ink);
  font-size: clamp(28px, 4.3vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-align: left;
}

#page .elementor-17020 .elementor-section:has(.elementor-widget-image) {
  margin: 0 0 26px;
  padding: 0;
  background: transparent;
}

#page .elementor-17020 .elementor-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  max-width: none;
}

#page .elementor-17020 .elementor-column {
  width: 100%;
  min-width: 0;
}

#page .elementor-17020 .elementor-widget-wrap.elementor-element-populated {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  height: 100%;
  padding: 0 0 24px;
  border: 1px solid var(--tct-line);
  border-top: 6px solid var(--tct-sky);
  border-radius: 22px;
  background: var(--tct-white);
  box-shadow: 0 13px 36px rgba(21, 33, 59, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#page .elementor-17020 .elementor-column:nth-child(4n + 2) .elementor-widget-wrap.elementor-element-populated {
  border-top-color: var(--tct-green);
}

#page .elementor-17020 .elementor-column:nth-child(4n + 3) .elementor-widget-wrap.elementor-element-populated {
  border-top-color: var(--tct-yellow);
}

#page .elementor-17020 .elementor-column:nth-child(4n) .elementor-widget-wrap.elementor-element-populated {
  border-top-color: var(--tct-pink);
}

#page .elementor-17020 .elementor-widget-wrap.elementor-element-populated:hover {
  z-index: 2;
  box-shadow: 0 22px 50px rgba(21, 33, 59, 0.15);
  transform: translateY(-6px);
}

#page .elementor-17020 .elementor-widget-image {
  width: 100%;
  margin: 0 0 21px;
}

#page .elementor-17020 .elementor-widget-image a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #edf4f7;
}

#page .elementor-17020 .elementor-widget-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

#page .elementor-17020 .elementor-widget-wrap:hover .elementor-widget-image img {
  transform: scale(1.04);
}

#page .elementor-17020 .elementor-widget-heading,
#page .elementor-17020 .elementor-widget-text-editor {
  padding-right: 22px;
  padding-left: 22px;
}

#page .elementor-17020 .elementor-widget-heading {
  margin: 0 0 11px;
}

#page .elementor-17020 .elementor-heading-title,
#page .elementor-17020 .elementor-heading-title a {
  color: var(--tct-ink);
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

#page .elementor-17020 .elementor-heading-title a::after {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  place-items: center;
  border-radius: 50%;
  background: #eef7fa;
  color: var(--tct-cyan);
  font-size: 13px;
  vertical-align: 2px;
  content: "→";
}

#page .elementor-17020 .elementor-widget-text-editor {
  margin-top: auto;
}

#page .elementor-17020 .elementor-widget-text-editor p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--tct-muted);
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tct-category-more-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
}

.tct-category-more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 220px;
  min-height: 58px;
  padding: 0 15px 0 27px;
  border: 1px solid rgba(21, 33, 59, 0.08);
  border-radius: 999px;
  background: linear-gradient(90deg, #dff5ff, #e8f7d2 25%, #fff0b8 50%, #ffd5e1 75%, #e7e0ff);
  box-shadow: 0 12px 28px rgba(21, 33, 59, 0.1);
  color: var(--tct-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tct-category-more span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.tct-category-more:hover {
  box-shadow: 0 16px 34px rgba(21, 33, 59, 0.15);
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  #page .elementor-17020 .elementor-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page .elementor-17020 .elementor-column {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #page:has(.elementor-17020) {
    padding: 0 14px 58px;
  }

  #page:has(.elementor-17020) .breadcrumbs {
    padding: 12px 2px 8px;
  }

  #page:has(.elementor-17020) .head_tempo {
    margin-bottom: 22px;
    padding: 38px 22px;
    border-radius: 22px;
  }

  #page .elementor-17020 .elementor-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #page .elementor-17020 .elementor-section:has(.elementor-widget-image) {
    margin-bottom: 16px;
  }

  #page .elementor-17020 .elementor-widget-wrap.elementor-element-populated {
    display: grid;
    grid-template-columns: 42% 1fr;
    grid-template-rows: auto 1fr;
    padding: 0;
    border-top-width: 4px;
    border-radius: 18px;
  }

  #page .elementor-17020 .elementor-widget-image {
    grid-row: 1 / 3;
    height: 100%;
    margin: 0;
  }

  #page .elementor-17020 .elementor-widget-image a {
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
  }

  #page .elementor-17020 .elementor-widget-heading,
  #page .elementor-17020 .elementor-widget-text-editor {
    padding-right: 16px;
    padding-left: 16px;
  }

  #page .elementor-17020 .elementor-widget-heading {
    align-self: end;
    margin: 0;
    padding-top: 18px;
  }

  #page .elementor-17020 .elementor-heading-title,
  #page .elementor-17020 .elementor-heading-title a {
    font-size: 17px;
  }

  #page .elementor-17020 .elementor-heading-title a::after {
    width: 23px;
    height: 23px;
    font-size: 11px;
  }

  #page .elementor-17020 .elementor-widget-text-editor {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  #page .elementor-17020 .elementor-widget-text-editor p {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }
}

/* Unified visual tone -----------------------------------------------------
 * Large surfaces stay soft and airy. Saturated brand colors are reserved
 * for dots, labels, focus states and other compact accents.
 */
#head .btn-login {
  border: 1px solid rgba(225, 160, 44, 0.18);
  background: var(--tct-pastel-yellow);
  box-shadow: 0 8px 20px rgba(225, 160, 44, 0.1);
}

#head .box-search input[type="submit"],
#head .search-btn {
  background: var(--tct-pastel-sky);
  color: var(--tct-ink);
}

#head .subtitle,
.sns_footer,
.tct-category-more,
#page:has(.elementor-17020) .head_tempo {
  background: var(--tct-pastel-spectrum);
}

#main-nav > ul > li > a:hover,
#main-nav > ul > li > a:focus-visible {
  background: var(--tct-pastel-sky);
  color: var(--tct-ink);
}

.box_single_post h2 {
  border-left-color: #9ddcf3;
  background: #f1faff;
}

.box_single_post h3 {
  border-bottom-color: #f6d878;
}

#foot {
  border-top-width: 4px;
  border-image: linear-gradient(90deg, #a9dff3, #cce7a8, #f7d973, #f5b8a4, #f3abc1, #c8b9ed) 1;
}

#page .elementor-17020 .elementor-widget-wrap.elementor-element-populated {
  border-top-color: #a9dff3;
}

#page .elementor-17020 .elementor-column:nth-child(4n + 2) .elementor-widget-wrap.elementor-element-populated {
  border-top-color: #cce7a8;
}

#page .elementor-17020 .elementor-column:nth-child(4n + 3) .elementor-widget-wrap.elementor-element-populated {
  border-top-color: #f7d973;
}

#page .elementor-17020 .elementor-column:nth-child(4n) .elementor-widget-wrap.elementor-element-populated {
  border-top-color: #f3abc1;
}

.tct-hamburger,
#main-nav.mobile .menu-toggle .fa-bars {
  background: conic-gradient(from 210deg, #dff5ff, #e8f7d2, #fff0b8, #ffd8cb, #ffd5e1, #e7e0ff, #dff5ff);
  box-shadow: 0 8px 22px rgba(21, 33, 59, 0.08);
}

@media (max-width: 767px) {
  #head:has(.tct-mobile-nav-toggle:checked) #main-nav > ul > li:focus-within > a::after,
  #main-nav.mobile > ul.show > li.open > a::after {
    background: var(--tct-pastel-yellow);
    color: var(--tct-ink);
  }

  #main-nav > ul > li > ul {
    background: #f7fbfd;
  }
}
