@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.2.0
*/

:root {
  --tt-ink: #17233b;
  --tt-ink-soft: #40506a;
  --tt-coral: #e86c50;
  --tt-coral-dark: #cd5137;
  --tt-teal: #287b78;
  --tt-blue: #5d8fab;
  --tt-cream: #fffaf0;
  --tt-paper: #fffefb;
  --tt-canvas: #f4f6f3;
  --tt-line: #e2e6e1;
  --tt-shadow: 0 18px 50px rgba(23, 35, 59, 0.08);
}

body {
  color: var(--tt-ink);
  background: var(--tt-canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt" 1;
}

a {
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(40, 123, 120, 0.38);
  outline-offset: 4px;
}

/* Site-wide brand header */
.header-container {
  background: var(--tt-paper);
  border-bottom: 1px solid var(--tt-line);
}

#header {
  background: transparent;
}

#header .header-in {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}

#header .logo {
  order: 1;
  margin: 0;
  text-align: left;
}

#header .site-name-text {
  color: var(--tt-ink);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

#header .site-name-text::after {
  content: "KOREA TRAVEL DECISION GUIDE";
  display: block;
  margin-top: 5px;
  color: var(--tt-teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

#header .tagline {
  order: 2;
  position: static;
  color: var(--tt-ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: right;
}

#navi {
  background: var(--tt-paper);
  border-top: 1px solid rgba(226, 230, 225, 0.7);
}

#navi .navi-in > ul {
  min-height: 58px;
}

#navi .navi-in a {
  color: var(--tt-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 180ms ease, background-color 180ms ease;
}

#navi .navi-in a:hover,
#navi .navi-in a:focus-visible {
  color: var(--tt-coral-dark);
  background: rgba(232, 108, 80, 0.07);
}

/* Home layout: retain Cocoon chrome but replace its generic index surface. */
.home .content {
  margin-top: 0;
  padding: 28px 20px 0;
  background: var(--tt-canvas);
}

.home .content-in {
  max-width: 1240px;
  padding: 0;
}

.home .main {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home #sidebar {
  display: none;
}

.tabitoku-home {
  width: 100%;
  padding-bottom: 72px;
}

.tt-eyebrow {
  margin: 0 0 16px;
  color: var(--tt-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.tt-hero {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 59, 0.08);
  border-radius: 32px;
  background: var(--tt-cream);
  box-shadow: var(--tt-shadow);
  isolation: isolate;
}

.tt-hero__media,
.tt-hero__shade {
  position: absolute;
  inset: 0;
}

.tt-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.tt-hero__shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.95) 31%, rgba(255, 250, 240, 0.55) 50%, rgba(255, 250, 240, 0) 68%);
}

.tt-hero__content {
  position: relative;
  z-index: 2;
  width: 55%;
  padding: 72px 0 68px 64px;
}

.tt-hero h2 {
  margin: 0;
  color: var(--tt-ink);
  font-size: clamp(40px, 4.55vw, 62px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.28;
}

.tt-hero h2 em {
  color: var(--tt-coral);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.tt-hero__lead {
  max-width: 530px;
  margin: 24px 0 0;
  color: var(--tt-ink-soft);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
}

.tt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tt-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--tt-ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.tt-button:hover {
  transform: translateY(-2px);
}

.tt-button--primary {
  color: #fff;
  background: var(--tt-ink);
  box-shadow: 4px 5px 0 #edb847;
}

.tt-button--primary:hover {
  color: #fff;
  background: #243451;
}

.tt-button--secondary {
  color: var(--tt-ink);
  background: rgba(255, 254, 251, 0.72);
}

.tt-button--secondary:hover {
  color: var(--tt-ink);
  background: #fff;
}

.tt-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 22px 0;
  overflow: hidden;
  border: 1px solid var(--tt-line);
  border-radius: 18px;
  background: var(--tt-paper);
  box-shadow: 0 10px 30px rgba(23, 35, 59, 0.05);
}

.tt-trust div {
  position: relative;
  padding: 21px 28px 20px 52px;
}

.tt-trust div + div {
  border-left: 1px solid var(--tt-line);
}

.tt-trust div::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--tt-coral);
  border-radius: 50%;
}

.tt-trust strong,
.tt-trust span {
  display: block;
}

.tt-trust strong {
  font-size: 14px;
  font-weight: 800;
}

.tt-trust span {
  margin-top: 4px;
  color: var(--tt-ink-soft);
  font-size: 12px;
}

.tt-section {
  padding-top: 104px;
}

.tt-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.tt-section-heading h2,
.tt-editorial h2 {
  margin: 0;
  color: var(--tt-ink);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.34;
}

.tt-section-heading > p {
  margin: 0 0 5px;
  color: var(--tt-ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.tt-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tt-category-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: var(--tt-ink);
  background: var(--tt-paper);
  border: 1px solid var(--tt-line);
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(23, 35, 59, 0.06);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.tt-category-card--featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.tt-category-card:hover {
  color: var(--tt-ink);
  transform: translateY(-5px);
  border-color: rgba(40, 123, 120, 0.42);
  box-shadow: 0 20px 44px rgba(23, 35, 59, 0.11);
}

.tt-category-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 7.5;
  background: #e9efec;
}

.tt-category-card--featured .tt-category-card__media {
  min-height: 310px;
  aspect-ratio: auto;
}

.tt-category-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.tt-category-card:nth-child(3) .tt-category-card__media img {
  object-position: center 54%;
}

.tt-category-card:nth-child(4) .tt-category-card__media img {
  object-position: center 62%;
}

.tt-category-card:hover .tt-category-card__media img {
  transform: scale(1.035);
}

.tt-category-card__body {
  position: relative;
  display: flex;
  min-height: 190px;
  flex: 1;
  flex-direction: column;
  padding: 24px 28px 26px;
}

.tt-category-card--featured .tt-category-card__body {
  min-height: 310px;
  justify-content: center;
  padding: 38px 42px;
}

.tt-category-card__number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(23, 35, 59, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
}

.tt-category-card__kicker {
  position: relative;
  z-index: 1;
  color: var(--tt-coral-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.tt-category-card strong {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tt-category-card--featured strong {
  font-size: clamp(27px, 3vw, 36px);
}

.tt-category-card__description {
  position: relative;
  z-index: 1;
  max-width: 94%;
  margin-top: 10px;
  color: var(--tt-ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.tt-category-card--featured .tt-category-card__description {
  max-width: 30em;
  font-size: 14px;
}

.tt-category-card__arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--tt-teal);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

@media screen and (max-width: 834px) {
  .tt-category-card--featured {
    grid-template-columns: 1fr;
  }

  .tt-category-card--featured .tt-category-card__media {
    min-height: 0;
    aspect-ratio: 16 / 7.5;
  }

  .tt-category-card--featured .tt-category-card__body {
    min-height: 190px;
    justify-content: flex-start;
    padding: 24px 28px 26px;
  }
}

@media screen and (max-width: 600px) {
  .tt-category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tt-category-card,
  .tt-category-card--featured {
    min-height: 0;
  }

  .tt-category-card__media,
  .tt-category-card--featured .tt-category-card__media {
    aspect-ratio: 16 / 8.5;
  }

  .tt-category-card__body,
  .tt-category-card--featured .tt-category-card__body {
    min-height: 178px;
    padding: 22px 24px 24px;
  }

  .tt-category-card strong,
  .tt-category-card--featured strong {
    font-size: 23px;
  }

  .tt-category-card__description,
  .tt-category-card--featured .tt-category-card__description {
    max-width: 92%;
    font-size: 13px;
  }
}
.tt-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tt-post-card {
  overflow: hidden;
  background: var(--tt-paper);
  border: 1px solid var(--tt-line);
  border-radius: 24px;
  box-shadow: 0 13px 35px rgba(23, 35, 59, 0.055);
}

.tt-post-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7efec;
}

.tt-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.tt-post-card:hover .tt-post-card__image img {
  transform: scale(1.025);
}

.tt-post-card__placeholder {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--tt-teal);
  font-size: 18px;
  font-weight: 800;
}

.tt-post-card__body {
  padding: 24px 25px 26px;
}

.tt-post-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--tt-ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.tt-post-card__meta span {
  color: var(--tt-coral-dark);
}

.tt-post-card h3 {
  margin: 15px 0 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.55;
}

.tt-post-card h3 a {
  color: var(--tt-ink);
  text-decoration: none;
}

.tt-post-card__body > p {
  margin: 15px 0 0;
  color: var(--tt-ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.tt-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 21px;
  color: var(--tt-teal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.tt-text-link:hover {
  color: var(--tt-coral-dark);
}

.tt-post-card:only-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.tt-post-card:only-child .tt-post-card__image {
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
}

.tt-post-card:only-child .tt-post-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 48px;
}

.tt-post-card:only-child h3 {
  font-size: clamp(24px, 2.8vw, 35px);
}

.tt-post-card:only-child .tt-post-card__body > p {
  font-size: 15px;
}

.tt-empty {
  padding: 42px;
  border: 1px dashed #bac8c3;
  border-radius: 20px;
  color: var(--tt-ink-soft);
  text-align: center;
  background: var(--tt-paper);
}

.tt-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 64px;
  align-items: center;
  margin-top: 104px;
  padding: 62px 66px;
  overflow: hidden;
  color: #fff;
  background: var(--tt-ink);
  border-radius: 30px;
}

.tt-editorial .tt-eyebrow {
  color: #82c8bd;
}

.tt-editorial h2 {
  color: #fff;
}

.tt-editorial__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 2;
}

.tt-editorial .tt-text-link {
  color: #ffd38a;
}

/* Bring article and utility pages into the same visual system. */
.single .main,
.page:not(.home) .main,
.archive .main {
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(23, 35, 59, 0.055);
}

.single #sidebar .widget,
.page:not(.home) #sidebar .widget,
.archive #sidebar .widget {
  overflow: hidden;
  border: 1px solid var(--tt-line);
  border-radius: 18px;
  background: var(--tt-paper);
}

.sidebar h3 {
  color: var(--tt-ink);
  border: 0;
  background: #f3f6f4;
}

.entry-content h2 {
  border-left-color: var(--tt-coral);
}

.entry-content a:not(.wp-element-button) {
  color: var(--tt-teal);
}

.footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--tt-ink);
}

.footer a {
  color: #fff;
}

@media screen and (max-width: 1023px) {
  #header .header-in {
    padding-right: 22px;
    padding-left: 22px;
  }

  .tt-hero {
    min-height: 490px;
  }

  .tt-hero__content {
    width: 61%;
    padding: 58px 0 56px 48px;
  }

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

  .tt-post-card:only-child {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media screen and (max-width: 834px) {
  #header .header-in {
    min-height: 82px;
  }

  #header .tagline {
    display: none;
  }

  .home .content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .tt-hero__shade {
    background: linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.9) 44%, rgba(255, 250, 240, 0.2) 76%);
  }

  .tt-hero__content {
    width: 68%;
    padding-left: 38px;
  }

  .tt-trust {
    margin-right: 10px;
    margin-left: 10px;
  }

  .tt-trust div {
    padding-right: 14px;
    padding-left: 42px;
  }

  .tt-trust div::before {
    left: 20px;
  }

  .tt-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tt-editorial {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 42px;
  }
}

@media screen and (max-width: 600px) {
  #header .header-in {
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #header .logo {
    text-align: center;
  }

  #header .site-name-text::after {
    font-size: 8px;
  }

  .home .content {
    padding-top: 14px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .tabitoku-home {
    padding-bottom: 48px;
  }

  .tt-hero {
    min-height: 0;
    border-radius: 24px;
  }

  .tt-hero__media {
    position: relative;
    height: 255px;
    background: var(--tt-cream);
  }

  .tt-hero__media img {
    object-position: 68% center;
  }

  .tt-hero__shade {
    display: none;
  }

  .tt-hero__content {
    width: auto;
    padding: 30px 22px 32px;
    background: var(--tt-cream);
  }

  .tt-hero h2 {
    font-size: clamp(34px, 10.3vw, 44px);
    line-height: 1.3;
  }

  .tt-hero__lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.85;
  }

  .tt-actions {
    display: grid;
    margin-top: 24px;
  }

  .tt-button {
    width: 100%;
  }

  .tt-trust {
    grid-template-columns: 1fr;
    margin: 12px 6px 0;
  }

  .tt-trust div {
    padding: 17px 20px 16px 46px;
  }

  .tt-trust div + div {
    border-top: 1px solid var(--tt-line);
    border-left: 0;
  }

  .tt-trust div::before {
    top: 23px;
    left: 22px;
  }

  .tt-section {
    padding-top: 72px;
  }

  .tt-section-heading {
    margin-bottom: 24px;
  }

  .tt-section-heading h2,
  .tt-editorial h2 {
    font-size: 33px;
  }

  .tt-section-heading > p {
    font-size: 14px;
  }

  .tt-category-grid,
  .tt-post-grid {
    grid-template-columns: 1fr;
  }

  .tt-category-card {
    min-height: 205px;
  }

  .tt-post-card:only-child {
    display: block;
  }

  .tt-post-card:only-child .tt-post-card__image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .tt-post-card:only-child .tt-post-card__body {
    padding: 26px 24px 28px;
  }

  .tt-post-card:only-child h3 {
    font-size: 23px;
  }

  .tt-post-card:only-child .tt-post-card__body > p {
    font-size: 13px;
  }

  .tt-editorial {
    margin-top: 72px;
    padding: 38px 25px;
    border-radius: 24px;
  }
}

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

/* Article-first home, 2026-08-31. Append after the existing child-theme CSS.
 * The body class is added only by the new front-page.php; other pages retain
 * their existing layout, and restoring the template disables these overrides.
 */
.tt-browse-home #header .header-in {
  width: 100%;
  max-width: 1160px;
  height: auto;
  min-height: 82px;
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
}

.tt-browse-home #header .header-in::before,
.tt-browse-home #header .header-in::after {
  display: none;
}

.tt-browse-home #header .logo {
  display: block;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: 1.2;
  text-align: left;
}

.tt-browse-home #header .logo a {
  display: block;
  padding: 0;
  line-height: 1.2;
}

.tt-browse-home #header .site-name-text {
  font-size: 27px;
  line-height: 1.2;
}

.tt-browse-home #header .site-name-text::after {
  margin-top: 5px;
  font-size: 8px;
  line-height: 1.4;
}

.tt-browse-home #header .tagline {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

/* The visible home topic navigation below replaces the large category menu. */
.tt-browse-home #navi {
  display: none;
}

.home.tt-browse-home .content {
  padding: 24px 24px 0;
}

.home.tt-browse-home .content-in {
  max-width: 1160px;
}

.tabitoku-home--browse {
  padding-bottom: 48px;
}

.tabitoku-home--browse .tt-discovery {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 32px;
  padding: 28px 30px;
  border: 1px solid var(--tt-line);
  border-radius: 20px;
  background: linear-gradient(110deg, #fffaf0, #edf5f2);
}

.tabitoku-home--browse .tt-discovery h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tt-ink);
  font-size: clamp(27px, 2.7vw, 36px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.tabitoku-home--browse .tt-discovery__lead {
  margin: 12px 0 0;
  color: var(--tt-ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.tabitoku-home--browse .tt-discovery-search {
  min-width: 0;
  margin: 0;
}

.tabitoku-home--browse .tt-discovery-search label {
  display: block;
  margin-bottom: 8px;
  color: var(--tt-ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.tabitoku-home--browse .tt-discovery-search__fields {
  display: flex;
  gap: 8px;
}

.tabitoku-home--browse .tt-discovery-search input[type="search"] {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #a7bbb5;
  border-radius: 10px;
  color: var(--tt-ink);
  background: var(--tt-paper);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.tabitoku-home--browse .tt-discovery-search input::placeholder {
  color: #61726e;
  opacity: 1;
}

.tabitoku-home--browse .tt-discovery-search button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--tt-teal);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.tabitoku-home--browse .tt-discovery-search button:hover {
  background: #1f625f;
}

.tabitoku-home--browse :is(a, button, input):focus-visible {
  outline: 3px solid var(--tt-teal);
  outline-offset: 3px;
}

.tabitoku-home--browse .tt-browse-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--tt-line);
}

.tabitoku-home--browse .tt-browse-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid var(--tt-line);
  border-radius: 999px;
  color: var(--tt-ink-soft);
  background: var(--tt-paper);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.tabitoku-home--browse .tt-browse-nav .tt-browse-nav__all {
  border-color: var(--tt-teal);
  color: #fff;
  background: var(--tt-teal);
}

.tabitoku-home--browse .tt-browse-nav__all span {
  font-size: 11px;
  opacity: 0.85;
}

.tabitoku-home--browse .tt-browse-nav a:hover {
  border-color: var(--tt-teal);
}

.tabitoku-home--browse .tt-section {
  padding-top: 40px;
  scroll-margin-top: 54px;
}

.tabitoku-home--browse .tt-latest {
  padding-top: 28px;
}

.tabitoku-home--browse .tt-browse-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.tabitoku-home--browse .tt-browse-heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1.5;
}

.tabitoku-home--browse .tt-browse-heading > p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.tabitoku-home--browse .tt-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tabitoku-home--browse .tt-post-card,
.tabitoku-home--browse .tt-post-card:only-child {
  display: block;
  grid-column: auto;
  min-width: 0;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(23, 35, 59, 0.035);
}

.tabitoku-home--browse .tt-post-card:hover {
  border-color: #96b8ae;
}

.tabitoku-home--browse .tt-post-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--tt-ink);
  text-decoration: none;
}

.tabitoku-home--browse .tt-post-card__link:focus-visible {
  outline-offset: -4px;
}

.tabitoku-home--browse .tt-post-card .tt-post-card__image {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.tabitoku-home--browse .tt-post-card__image img {
  display: block;
}

.tabitoku-home--browse .tt-post-card .tt-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 20px;
}

.tabitoku-home--browse .tt-post-card__meta {
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 11px;
  line-height: 1.6;
}

.tabitoku-home--browse .tt-post-card__meta time {
  white-space: nowrap;
}

.tabitoku-home--browse .tt-post-card h3 {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tt-ink);
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.tabitoku-home--browse .tt-post-card .tt-post-card__body > p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
}

.tabitoku-home--browse .tt-post-card .tt-text-link {
  margin-top: auto;
  padding-top: 16px;
}

.tabitoku-home--browse .tt-pagination {
  margin-top: 28px;
}

.tabitoku-home--browse .tt-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabitoku-home--browse .tt-pagination li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabitoku-home--browse .tt-pagination li > .page-numbers {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--tt-line);
  border-radius: 10px;
  color: var(--tt-ink);
  background: var(--tt-paper);
  font-size: 14px;
  text-decoration: none;
}

.tabitoku-home--browse .tt-pagination li > .current {
  border-color: var(--tt-teal);
  color: #fff;
  background: var(--tt-teal);
}

.tabitoku-home--browse .tt-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tabitoku-home--browse .tt-category-card {
  min-height: 0;
  border-radius: 16px;
  box-shadow: none;
}

.tabitoku-home--browse .tt-category-card__media {
  aspect-ratio: 16 / 8;
}

.tabitoku-home--browse .tt-category-card__body {
  min-height: 0;
  padding: 18px 20px;
}

.tabitoku-home--browse .tt-category-card strong {
  margin-top: 0;
  font-size: 19px;
  line-height: 1.5;
}

.tabitoku-home--browse .tt-category-card__description {
  max-width: none;
  margin-top: 8px;
  font-size: 12px;
}

.tabitoku-home--browse .tt-category-card__count {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--tt-teal);
  font-size: 12px;
  font-weight: 700;
}

.tabitoku-home--browse .tt-editorial {
  gap: 32px;
  margin-top: 44px;
  padding: 30px;
  border-radius: 20px;
}

.tabitoku-home--browse .tt-editorial h2 {
  font-size: 28px;
}

.tabitoku-home--browse .tt-editorial .tt-eyebrow {
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.tabitoku-home--browse .tt-editorial__body p {
  font-size: 13px;
  line-height: 1.9;
}

@media screen and (max-width: 900px) {
  .tabitoku-home--browse .tt-discovery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tabitoku-home--browse .tt-post-grid,
  .tabitoku-home--browse .tt-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .tt-browse-home #header .header-in {
    min-height: 76px;
    justify-content: center;
    padding: 14px 16px;
  }

  .tt-browse-home #header .site-name-text {
    font-size: 24px;
  }

  .home.tt-browse-home .content {
    padding: 14px 14px 0;
  }

  .tabitoku-home--browse .tt-discovery {
    gap: 18px;
    padding: 20px;
    border-radius: 16px;
  }

  .tabitoku-home--browse .tt-discovery h2 {
    font-size: clamp(23px, 6.6vw, 28px);
    line-height: 1.45;
  }

  .tabitoku-home--browse .tt-discovery__lead {
    margin-top: 8px;
    font-size: 12px;
  }

  .tabitoku-home--browse .tt-discovery-search label {
    font-size: 11px;
  }

  .tabitoku-home--browse .tt-discovery-search input[type="search"] {
    padding-right: 8px;
    padding-left: 10px;
  }

  .tabitoku-home--browse .tt-discovery-search button {
    gap: 6px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 14px;
  }

  .tabitoku-home--browse .tt-browse-nav {
    gap: 8px 6px;
    padding: 12px 0;
  }

  .tabitoku-home--browse .tt-browse-nav a {
    gap: 6px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .tabitoku-home--browse .tt-section {
    padding-top: 30px;
  }

  .tabitoku-home--browse .tt-latest {
    padding-top: 22px;
  }

  .tabitoku-home--browse .tt-browse-heading {
    gap: 6px 12px;
    margin-bottom: 14px;
  }

  .tabitoku-home--browse .tt-browse-heading h2 {
    font-size: 21px;
  }

  .tabitoku-home--browse .tt-post-grid,
  .tabitoku-home--browse .tt-category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tabitoku-home--browse .tt-post-card__link {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 14px;
  }

  .tabitoku-home--browse .tt-post-card .tt-post-card__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
  }

  .tabitoku-home--browse .tt-post-card__placeholder {
    font-size: 11px;
  }

  .tabitoku-home--browse .tt-post-card .tt-post-card__body {
    padding: 0;
  }

  .tabitoku-home--browse .tt-post-card__meta {
    gap: 2px 8px;
    font-size: 10px;
  }

  .tabitoku-home--browse .tt-post-card h3 {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.6;
  }

  .tabitoku-home--browse .tt-post-card .tt-post-card__body > p {
    display: none;
  }

  .tabitoku-home--browse .tt-post-card .tt-text-link {
    padding-top: 10px;
    font-size: 11px;
  }

  .tabitoku-home--browse .tt-category-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .tabitoku-home--browse .tt-category-card__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .tabitoku-home--browse .tt-category-card__body {
    padding: 16px;
  }

  .tabitoku-home--browse .tt-category-card strong {
    font-size: 17px;
  }

  .tabitoku-home--browse .tt-category-card__description {
    margin-top: 6px;
    font-size: 11px;
  }

  .tabitoku-home--browse .tt-category-card__count {
    padding-top: 10px;
  }

  .tabitoku-home--browse .tt-editorial {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
    padding: 24px;
  }

  .tabitoku-home--browse .tt-editorial h2 {
    font-size: 25px;
  }
}

@media screen and (max-width: 359px) {
  .home.tt-browse-home .content {
    padding-right: 10px;
    padding-left: 10px;
  }

  .tabitoku-home--browse .tt-discovery {
    padding: 17px;
  }

  .tabitoku-home--browse .tt-post-card__link {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
}

