@charset "UTF-8";

:root {
  --tm-navy: #082847;
  --tm-dark-navy: #041b31;
  --tm-gold: #c99a32;
  --tm-gold-hover: #b58624;
  --tm-white: #ffffff;
  --tm-light: #f5f7f9;
  --tm-border: #dde3e8;
  --tm-text: #18222c;
  --tm-sub-text: #5d6975;
  --tm-focus: #1f6feb;
  --tm-header-height: 72px;
}

html {
  scroll-padding-top: calc(var(--tm-header-height) + 16px);
}

body.admin-bar {
  --tm-admin-bar-height: 46px;
}

body.tm-site {
  overflow-x: clip;
}

body.tm-site [id] {
  scroll-margin-top: calc(var(--tm-header-height) + 16px);
}

body.admin-bar.tm-site [id] {
  scroll-margin-top: calc(var(--tm-header-height) + var(--tm-admin-bar-height) + 16px);
}

.tm-site-shell,
.tm-site-shell *,
.tm-site-shell *::before,
.tm-site-shell *::after {
  box-sizing: border-box;
}

.tm-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100001;
  transform: translateY(-140%);
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--tm-gold);
  color: var(--tm-dark-navy);
  font-weight: 800;
  text-decoration: none;
}

.tm-skip-link:focus {
  transform: translateY(0);
}

.tm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(8, 40, 71, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(8, 40, 71, 0.08);
}

body.admin-bar .tm-site-header {
  top: var(--tm-admin-bar-height);
}

.tm-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 24px, 1200px);
  min-height: var(--tm-header-height);
  margin-inline: auto;
  padding: 10px 0;
}

.tm-site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 48px;
  max-width: min(48vw, 300px);
  color: var(--tm-navy);
  text-decoration: none;
}

.tm-site-brand__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tm-site-brand__text {
  color: var(--tm-navy);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.tm-site-brand__tagline {
  display: none;
  color: var(--tm-sub-text);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

.tm-site-brand__logo {
  display: block;
  flex: 0 0 auto;
  width: min(38vw, 138px);
  max-width: 100%;
}

.tm-site-brand__logo-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.tm-global-nav,
.tm-header-cta,
.tm-header-phone {
  display: none;
}

.tm-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  background: var(--tm-white);
  color: var(--tm-navy);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.tm-menu-toggle__icon,
.tm-menu-toggle__icon::before,
.tm-menu-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.tm-menu-toggle__icon {
  position: relative;
}

.tm-menu-toggle__icon::before,
.tm-menu-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.tm-menu-toggle__icon::before {
  top: -6px;
}

.tm-menu-toggle__icon::after {
  top: 6px;
}

.tm-menu-toggle[aria-expanded="true"] .tm-menu-toggle__icon {
  background: transparent;
}

.tm-menu-toggle[aria-expanded="true"] .tm-menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.tm-menu-toggle[aria-expanded="true"] .tm-menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.tm-mobile-nav {
  border-top: 1px solid var(--tm-border);
  background: var(--tm-white);
}

.tm-menu-js .tm-mobile-nav {
  display: none;
}

.tm-menu-js .tm-mobile-nav.is-open {
  display: block;
}

.tm-mobile-nav__list,
.tm-global-nav__list,
.tm-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-mobile-nav__list {
  display: grid;
  width: min(100% - 24px, 1200px);
  margin-inline: auto;
  padding: 10px 0;
}

.tm-mobile-nav__list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(221, 227, 232, 0.8);
  color: var(--tm-navy);
  font-weight: 800;
  text-decoration: none;
}

.tm-mobile-nav__list .current-menu-item > a,
.tm-global-nav__list .current-menu-item > a {
  color: var(--tm-gold-hover);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.tm-mobile-nav__cta {
  display: grid;
  gap: 10px;
  width: min(100% - 24px, 1200px);
  margin-inline: auto;
  padding: 4px 0 16px;
}

.tm-mobile-nav__button,
.tm-header-cta,
.tm-header-phone,
.tm-site-footer__cta {
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.tm-header-phone {
  flex-direction: column;
  gap: 1px;
}

.tm-header-phone span {
  font-size: 0.72rem;
  font-weight: 800;
}

.tm-header-phone strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.tm-mobile-nav__note {
  margin: -4px 0 0;
  color: var(--tm-sub-text);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.tm-mobile-nav__button {
  display: inline-flex;
}

.tm-mobile-nav__button--primary,
.tm-header-cta,
.tm-site-footer__cta {
  background: var(--tm-gold);
  color: var(--tm-dark-navy);
}

.tm-mobile-nav__button--outline {
  border-color: var(--tm-navy);
  color: var(--tm-navy);
}

.tm-site-header a:focus-visible,
.tm-site-header button:focus-visible,
.tm-site-footer a:focus-visible {
  outline: 3px solid var(--tm-focus);
  outline-offset: 3px;
}

.tm-site-header a:hover,
.tm-site-footer a:hover {
  color: var(--tm-gold-hover);
}

.tm-mobile-nav__button--primary:hover,
.tm-header-cta:hover,
.tm-header-phone:hover,
.tm-site-footer__cta:hover {
  background: var(--tm-gold-hover);
  color: var(--tm-dark-navy);
}

.tm-site-footer {
  background: var(--tm-dark-navy);
  color: rgba(255, 255, 255, 0.86);
}

.tm-site-footer__inner {
  width: min(100% - 24px, 1200px);
  margin-inline: auto;
  padding: 42px 0 20px;
}

.tm-site-footer__grid {
  display: grid;
  gap: 28px;
}

.tm-site-footer__logo,
.tm-site-footer__heading {
  margin: 0 0 12px;
  color: var(--tm-white);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.tm-site-footer__logo {
  font-size: 1.55rem;
}

.tm-site-footer__logo-image {
  display: block;
  width: min(100%, 150px);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.tm-site-footer p {
  margin: 0;
  line-height: 1.8;
}

.tm-site-footer__nav ul,
.tm-site-footer__utility ul,
.tm-site-footer__menu-list {
  display: grid;
  gap: 8px;
}

.tm-site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.tm-site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.tm-site-footer__cta {
  display: inline-flex;
  width: 100%;
  margin-top: 16px;
}

.tm-site-footer__menu {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tm-site-footer__bottom {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tm-site-footer__copyright {
  font-size: 0.88rem;
}

.tm-site-footer__visit-note,
.tm-site-footer__staff-location {
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Privacy policy: keep WordPress-managed content, without blog-only chrome. */
body.privacy-policy .sns-share,
body.privacy-policy .sns-follow,
body.privacy-policy .toc,
body.privacy-policy .date-tags,
body.privacy-policy .post-date,
body.privacy-policy .post-update,
body.privacy-policy .sidebar,
body.privacy-policy .widget-area,
body.privacy-policy .entry-footer {
  display: none !important;
}

.tm-privacy-policy {
  padding: clamp(42px, 7vw, 88px) 20px;
  background: #f7f8fa;
}

.tm-privacy-policy__article {
  width: min(100%, 840px);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(13, 34, 61, 0.08);
}

.tm-privacy-policy__header {
  margin-bottom: clamp(28px, 5vw, 48px);
  padding-bottom: 20px;
  border-bottom: 3px solid var(--tm-gold);
}

.tm-privacy-policy__header h1 {
  margin: 0;
  color: var(--tm-navy);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.35;
}

.tm-privacy-policy__content {
  color: #273647;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.tm-privacy-policy__content > :first-child {
  margin-top: 0;
}

.tm-privacy-policy__content > :last-child {
  margin-bottom: 0;
}

.tm-privacy-policy__content h2,
.tm-privacy-policy__content h3 {
  color: var(--tm-navy);
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .tm-privacy-policy {
    padding-inline: 14px;
  }

  .tm-privacy-policy__article {
    padding: 24px 18px;
  }
}

.tm-site-footer__utility ul {
  gap: 10px;
}

@media screen and (min-width: 768px) {
  body.admin-bar {
    --tm-admin-bar-height: 32px;
  }

  .tm-mobile-nav__cta,
  .tm-site-footer__bottom,
  .tm-site-footer__utility ul {
    display: flex;
    align-items: center;
  }

  .tm-mobile-nav__cta {
    gap: 12px;
  }

  .tm-mobile-nav__button {
    flex: 1 1 0;
  }

  .tm-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-site-footer__bottom {
    justify-content: space-between;
  }

  .tm-site-footer__utility ul {
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 1280px) {
  :root {
    --tm-header-height: 78px;
  }

  .tm-site-header__inner {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto auto;
    gap: 14px;
  }

  .tm-site-brand {
    width: 170px;
    max-width: 170px;
  }

  .tm-site-brand__logo {
    width: 160px;
  }

  .tm-site-brand__logo-image {
    max-height: 54px;
  }

  .tm-global-nav {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
  }

  .tm-global-nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
  }

  .tm-global-nav__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 7px;
    color: var(--tm-navy);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
  }

  .tm-header-cta {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 142px;
  }

  .tm-header-phone {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 136px;
  }

  .tm-menu-toggle,
  .tm-mobile-nav {
    display: none;
  }

  .tm-menu-js .tm-mobile-nav,
  .tm-menu-js .tm-mobile-nav.is-open {
    display: none;
  }

  .tm-site-footer__grid {
    grid-template-columns: 1.1fr 0.9fr 0.9fr 1.1fr;
    gap: 30px;
  }

  .tm-site-footer__cta {
    width: auto;
  }

  .tm-site-footer__logo-image {
    width: 170px;
  }
}

@media screen and (min-width: 1440px) {
  .tm-global-nav__list {
    gap: 6px;
  }

  .tm-global-nav__list a {
    padding-inline: 9px;
    font-size: 0.92rem;
  }
}

@media screen and (max-width: 374px) {
  .tm-menu-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
  }

  .tm-site-brand__text {
    font-size: 1.28rem;
  }

  .tm-site-brand__tagline {
    font-size: 0.68rem;
  }

  .tm-site-brand__logo {
    width: 124px;
  }
}
