:root {
    --tth-bg: #f7f7f4;
    --tth-bg-soft: #fbfbf8;
    --tth-surface: rgba(255,255,255,0.84);
    --tth-surface-strong: rgba(255,255,255,0.94);
    --tth-text: #0f172a;
    --tth-muted: #5b6475;
    --tth-line: rgba(148, 163, 184, 0.22);
    --tth-accent-1: #12b8ff;
    --tth-accent-2: #7a3cff;
    --tth-accent-3: #ff2fa3;
    --tth-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    --tth-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --tth-radius-xl: 32px;
    --tth-radius-lg: 24px;
    --tth-radius-md: 18px;
    --tth-container: min(1180px, calc(100% - 32px));
    --tth-header-height: 84px;
    --tth-ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
}
.tth-site,
.tth-site * {
  box-sizing: border-box;
}

.tth-site {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--tth-text);
}

.tth-site p,
.tth-site h1,
.tth-site h2,
.tth-site h3,
.tth-site h4,
.tth-site h5,
.tth-site h6,
.tth-site ul,
.tth-site ol,
.tth-site dl,
.tth-site dt,
.tth-site dd,
.tth-site figure {
  margin: 0;
}

.tth-site ul,
.tth-site ol {
  padding: 0;
  list-style: none;
}

.tth-site a {
  color: inherit;
  text-decoration: none;
}

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

.tth-site .wp-block-group,
.tth-site .wp-block-columns,
.tth-site .wp-block-column,
.tth-site .wp-block-cover,
.tth-site .wp-block-heading,
.tth-site .wp-block-paragraph,
.tth-site .wp-block-buttons,
.tth-site .wp-block-button {
  margin: 0;
  padding: 0;
}

.entry-content > .tth-site,
.wp-block-post-content > .tth-site {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.entry-content > .tth-site > *:first-child,
.wp-block-post-content > .tth-site > *:first-child {
  margin-block-start: 0 !important;
}

.entry-content > .tth-site > *:last-child,
.wp-block-post-content > .tth-site > *:last-child {
  margin-block-end: 0 !important;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--tth-text);
    background: radial-gradient(circle at top, rgba(56,189,248,0.16), transparent 30%), radial-gradient(circle at 80% 18%, rgba(139,92,246,0.14), transparent 22%), radial-gradient(circle at 18% 58%, rgba(236,72,153,0.12), transparent 22%), linear-gradient(180deg, #fafaf7 0%, #f7f9fb 46%, #f7f7f4 100%);
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
}

.tth-container {
    width: var(--tth-container);
    margin-inline: auto;
}

.tth-section {
    padding: 110px 0;
    position: relative;
}

.tth-section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 36px;
}

.tth-eyebrow {
    font-size: 12px;
    letter-spacing: 0.32em;
    font-weight: 700;
    color: var(--tth-accent-2);
    margin-bottom: 14px;
    display: inline-block;
}

.tth-title {
    margin: 0;
    font-size: clamp(32px, 4.4vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.tth-text,
.tth-lead {
    color: var(--tth-muted);
    line-height: 1.9;
    font-size: 16px;
}

.tth-lead {
    font-size: clamp(16px, 1.6vw, 19px);
}

.tth-grid {
    display: grid;
    gap: 24px;
}

.tth-card {
    border: 1px solid var(--tth-line);
    background: var(--tth-surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--tth-radius-lg);
    box-shadow: var(--tth-shadow-soft);
}

.tth-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.tth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    border-radius: 999px;
    padding: 0 26px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .28s var(--tth-ease), background-color .28s var(--tth-ease), border-color .28s var(--tth-ease), color .28s var(--tth-ease);
}

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

.tth-button-primary {
    background: #0f172a;
    color: #fff;
    box-shadow: var(--tth-shadow-soft);
}

    .tth-button-primary:hover {
        background: #1e293b;
    }

.tth-button-secondary {
    background: rgba(255,255,255,0.82);
    color: var(--tth-text);
    border-color: rgba(148,163,184,0.28);
}

    .tth-button-secondary:hover {
        background: rgba(255,255,255,0.96);
    }

.tth-site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--tth-header-height);
    border-bottom: 1px solid rgba(148,163,184,0.18);
    background: rgba(247,247,244,0.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.tth-site-header__inner {
    width: var(--tth-container);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tth-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.tth-brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(148,163,184,0.2);
    box-shadow: var(--tth-shadow-soft);
    display: grid;
    place-items: center;
    padding: 6px;
    flex-shrink: 0;
}

.tth-brand__meta {
    min-width: 0;
}

.tth-brand__en {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: #64748b;
    white-space: nowrap;
}

.tth-brand__ja {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.tth-nav {
    display: none;
    align-items: center;
    gap: 34px;
    color: #475569;
    font-size: 14px;
}

    .tth-nav a {
        transition: color .24s var(--tth-ease);
    }

        .tth-nav a:hover {
            color: var(--tth-text);
        }

.tth-menu-button {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(148,163,184,0.22);
    background: rgba(255,255,255,0.84);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--tth-shadow-soft);
    transition: transform .28s var(--tth-ease), background-color .28s var(--tth-ease);
}

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

.tth-menu-icon,
.tth-menu-icon::before,
.tth-menu-icon::after {
    width: 20px;
    height: 2px;
    background: #0f172a;
    border-radius: 999px;
    transition: transform .28s var(--tth-ease), opacity .28s var(--tth-ease);
    content: "";
    display: block;
}

.tth-menu-icon {
    position: relative;
}

    .tth-menu-icon::before {
        position: absolute;
        top: -6px;
    }

    .tth-menu-icon::after {
        position: absolute;
        top: 6px;
    }

body.menu-open .tth-menu-icon {
    background: transparent;
}

    body.menu-open .tth-menu-icon::before {
        transform: translateY(6px) rotate(45deg);
    }

    body.menu-open .tth-menu-icon::after {
        transform: translateY(-6px) rotate(-45deg);
    }

.tth-hero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 120px;
}

    .tth-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(148,163,184,0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(148,163,184,0.06) 1px, transparent 1px);
        background-size: 72px 72px;
        mask-image: radial-gradient(circle at center, black, transparent 80%);
        -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
        pointer-events: none;
    }

.tth-hero__shape,
.tth-float {
    position: absolute;
    border-radius: 999px;
    filter: blur(44px);
    opacity: 0.6;
    pointer-events: none;
    animation: tthFloat 12s ease-in-out infinite;
}

.tth-hero__shape--one {
    top: 90px;
    left: 6%;
    width: 320px;
    height: 320px;
    background: rgba(56,189,248,0.18);
}

.tth-hero__shape--two {
    top: 110px;
    right: 8%;
    width: 360px;
    height: 360px;
    background: rgba(139,92,246,0.16);
    animation-delay: 1.2s;
}

.tth-hero__shape--three {
    bottom: 10px;
    left: 34%;
    width: 280px;
    height: 280px;
    background: rgba(236,72,153,0.14);
    animation-delay: 2.4s;
}

.tth-hero__grid {
    position: relative;
    z-index: 1;
    width: var(--tth-container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 28px;
    align-items: center;
}

.tth-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.22);
    background: rgba(255,255,255,0.8);
    box-shadow: var(--tth-shadow-soft);
    font-size: 12px;
    letter-spacing: 0.28em;
    color: #64748b;
    margin-bottom: 20px;
}

.tth-hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--tth-radius-xl);
    border: 1px solid rgba(255,255,255,0.68);
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--tth-shadow);
    padding: 34px;
}

    .tth-hero-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 20%, rgba(56,189,248,0.18), transparent 28%), radial-gradient(circle at 80% 24%, rgba(139,92,246,0.18), transparent 26%), radial-gradient(circle at 56% 86%, rgba(236,72,153,0.14), transparent 24%);
        pointer-events: none;
    }

.tth-hero-panel__inner {
    position: relative;
    z-index: 1;
}

.tth-hero-title {
    margin: 0;
    font-size: clamp(46px, 7.2vw, 104px);
    line-height: 0.94;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.tth-gradient-text {
    display: block;
    background: linear-gradient(90deg, var(--tth-accent-1) 0%, var(--tth-accent-2) 48%, var(--tth-accent-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tth-hero-copy {
    max-width: 760px;
    margin-top: 26px;
    font-size: clamp(17px, 1.72vw, 21px);
    line-height: 1.9;
    color: var(--tth-muted);
}

.tth-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
    max-width: 720px;
}

.tth-note {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(148,163,184,0.18);
    box-shadow: var(--tth-shadow-soft);
}

    .tth-note strong {
        display: block;
        font-size: 28px;
        margin-bottom: 10px;
    }

    .tth-note span {
        color: var(--tth-muted);
        line-height: 1.7;
        font-size: 14px;
    }

.tth-visual {
    position: relative;
    border-radius: var(--tth-radius-xl);
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(255,255,255,0.76);
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--tth-shadow);
}

.tth-visual__chrome {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(148,163,184,0.18);
}

.tth-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
}

.tth-dot--one {
    background: rgba(18,184,255,0.88);
}

.tth-dot--two {
    background: rgba(122,60,255,0.88);
}

.tth-dot--three {
    background: rgba(255,47,163,0.88);
}

.tth-visual__body {
    padding: 24px;
}

.tth-visual-panel {
    min-height: 460px;
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,249,255,0.96), rgba(245,243,255,0.95), rgba(253,242,248,0.93));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

.tth-visual-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.tth-visual-logo {
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(148,163,184,0.18);
    padding: 14px;
    box-shadow: var(--tth-shadow-soft);
    flex-shrink: 0;
}

.tth-dark-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tth-dark-card {
    padding: 18px;
    border-radius: 22px;
    background: #0f172a;
    color: rgba(255,255,255,0.82);
    box-shadow: var(--tth-shadow-soft);
}

    .tth-dark-card strong {
        display: block;
        color: rgba(255,255,255,0.5);
        letter-spacing: 0.28em;
        font-size: 12px;
        margin-bottom: 12px;
    }

.tth-service-grid,
.tth-flow-grid,
.tth-company-grid {
    display: grid;
    gap: 24px;
}

.tth-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tth-flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tth-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tth-service-card,
.tth-flow-card,
.tth-company-card {
    padding: 28px;
}

.tth-service-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(224,242,254,1), rgba(237,233,254,1), rgba(252,231,243,1));
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
}

.tth-service-card h3,
.tth-flow-card h3,
.tth-company-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.tth-service-card p,
.tth-flow-card p,
.tth-company-card p,
.tth-company-list {
    color: var(--tth-muted);
    line-height: 1.9;
    margin: 0;
}

.tth-flow-wrap {
    padding: 38px;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(240,249,255,0.88), rgba(245,243,255,0.90));
}

.tth-flow-card strong {
    display: block;
    font-size: 40px;
    color: #cbd5e1;
    margin-bottom: 18px;
    letter-spacing: -0.05em;
}

.tth-company-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

    .tth-company-list dt {
        font-weight: 700;
        color: var(--tth-text);
        margin-bottom: 6px;
    }

    .tth-company-list dd {
        margin: 0;
    }

.tth-contact-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    color: #334155;
}

.tth-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.tth-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(148,163,184,0.16);
    flex-shrink: 0;
}

.tth-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--tth-ease), visibility .35s var(--tth-ease);
    z-index: 90;
}

.tth-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(1220px, 100%);
    height: 100dvh;
    background: #f5f7f9;
    transform: translateX(100%);
    transition: transform .48s var(--tth-ease);
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(260px, 30%) minmax(0, 70%);
    overflow: hidden;
}

.tth-menu-visual {
    position: relative;
    min-height: 100%;
    background: linear-gradient(rgba(15,23,42,0.16), rgba(15,23,42,0.10)), linear-gradient(135deg, rgba(15,23,42,0.58), rgba(18,184,255,0.20), rgba(122,60,255,0.20));
    display: flex;
    align-items: end;
    padding: 18px 20px;
    isolation: isolate;
}

    .tth-menu-visual::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 18%, rgba(255,255,255,0.18), transparent 18%), radial-gradient(circle at 84% 78%, rgba(255,255,255,0.18), transparent 18%), linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
        background-size: auto, auto, 56px 56px, 56px 56px;
        opacity: 0.6;
        z-index: -1;
    }

.tth-menu-visual__content {
    color: #fff;
    max-width: 320px;
}

    .tth-menu-visual__content p {
        margin: 0 0 12px;
        color: rgba(255,255,255,0.8);
        line-height: 1.75;
        font-size: 14px;
    }

.tth-menu-visual__title {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.7vw, 38px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.tth-menu-main {
    position: relative;
    padding: 72px 28px 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,250,252,0.92));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    overflow: hidden;
}

.tth-menu-close {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(148,163,184,0.22);
    background: rgba(255,255,255,0.88);
    border-radius: 999px;
    cursor: pointer;
    position: fixed;
    top: calc((var(--tth-header-height) - 56px) / 2);
    right: max(16px, calc((100vw - var(--tth-container)) / 2));
    box-shadow: var(--tth-shadow-soft);
    z-index: 120;
}

    .tth-menu-close::before,
    .tth-menu-close::after {
        content: "";
        position: absolute;
        width: 22px;
        height: 2px;
        background: #475569;
        left: 50%;
        top: 50%;
        border-radius: 999px;
    }

    .tth-menu-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .tth-menu-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

.tth-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    margin-top: 0;
    padding-right: 24px;
    align-content: start;
}

.tth-menu-group h3 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #1e3a8a;
    letter-spacing: -0.04em;
}

.tth-menu-list,
.tth-menu-sublist {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding-left: 6px;
}

    .tth-menu-sublist a {
        font-size: 14px;
        color: #526073;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        line-height: 1.45;
    }

        .tth-menu-sublist a::before {
            content: "›";
            color: #94a3b8;
            font-size: 18px;
        }

.tth-menu-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
    flex-shrink: 0;
}

.tth-menu-badge {
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.12);
    background: rgba(255,255,255,0.88);
    display: grid;
    place-items: center;
    color: #334155;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    padding: 8px 10px;
    box-shadow: var(--tth-shadow-soft);
}

body.menu-open {
    overflow: hidden;
}

    body.menu-open .tth-menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open .tth-menu-panel {
        transform: translateX(0);
    }

.tth-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--tth-ease), transform .7s var(--tth-ease);
}

    .tth-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes tthFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -18px, 0);
    }
}

@media (min-width: 980px) {
    .tth-nav {
        display: flex;
    }
}

@media (max-width: 1180px) {
    .tth-hero__grid,
    .tth-company-grid,
    .tth-menu-panel {
        grid-template-columns: 1fr;
    }

    .tth-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tth-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tth-menu-visual {
        min-height: 120px;
        padding: 14px 18px;
    }

    .tth-menu-main {
        padding: 72px 24px 18px;
    }

    .tth-menu-grid {
        padding-right: 0;
    }
}

@media (max-width: 820px) {
    :root {
        --tth-header-height: 76px;
    }

    .tth-section {
        padding: 86px 0;
    }

    .tth-site-header__inner {
        gap: 14px;
    }

    .tth-brand__en {
        font-size: 11px;
        letter-spacing: 0.24em;
    }

    .tth-brand__ja {
        font-size: 16px;
    }

    .tth-hero {
        padding: 28px 0 88px;
    }

    .tth-hero-panel,
    .tth-visual-panel,
    .tth-flow-wrap,
    .tth-company-card,
    .tth-service-card,
    .tth-flow-card {
        padding: 24px;
    }

    .tth-note-grid,
    .tth-dark-grid,
    .tth-menu-badges,
    .tth-menu-grid,
    .tth-service-grid,
    .tth-flow-grid {
        grid-template-columns: 1fr;
    }

    .tth-visual-top {
        flex-direction: column;
    }

    .tth-visual-logo {
        width: 84px;
        height: 84px;
    }

    .tth-menu-panel {
        width: 100%;
    }

    .tth-menu-visual {
        padding: 12px 16px;
        min-height: 88px;
        align-items: end;
    }

    .tth-menu-main {
        padding: 76px 18px 18px;
        overflow-y: auto;
    }

    .tth-menu-close {
        top: calc((var(--tth-header-height) - 56px) / 2);
        right: 16px;
    }

    .tth-menu-group h3 {
        font-size: 24px;
    }

    .tth-menu-list > li > a,
    .tth-menu-link {
        font-size: 17px;
    }

    .tth-menu-sublist a {
        font-size: 13px;
    }

    .tth-pill {
        min-height: 42px;
        padding-inline: 16px;
    }

    .tth-button {
        width: 100%;
    }

    .tth-button-row {
        display: grid;
    }
}
