:root {
  --tyat-bg: #fffaf0;
  --tyat-bg-soft: #f4fbf3;
  --tyat-paper: #ffffff;
  --tyat-ink: #2f3b32;
  --tyat-muted: #687368;
  --tyat-line: #e8dfcf;
  --tyat-green: #5d9a6f;
  --tyat-green-dark: #3c7551;
  --tyat-yellow: #ffd66b;
  --tyat-orange: #e99a5b;
  --tyat-blue: #6ba6b8;
  --tyat-shadow: 0 18px 45px rgba(68, 91, 72, .13);
  --tyat-radius: 22px;
  --tyat-radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  color: var(--tyat-ink);
  background: var(--tyat-bg);
  line-height: 1.8;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
.tyat-container { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.screen-reader-text,
.tyat-skip-link { position: absolute; left: -9999px; }
.tyat-skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; padding: 10px 14px; border-radius: 8px; }

.tyat-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 223, 207, .8);
}
.tyat-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.tyat-brand { display: flex; flex-direction: column; gap: 1px; }
.tyat-logo-text { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; color: #26352b; }
.tyat-logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--tyat-yellow); color: #5c4420; box-shadow: inset 0 -2px 0 rgba(0,0,0,.06); }
.tyat-tagline { margin: 0; color: var(--tyat-muted); font-size: .78rem; }
.tyat-nav { display: flex; align-items: center; gap: 22px; }
.tyat-menu { display: flex; gap: 18px; align-items: center; padding: 0; margin: 0; list-style: none; font-size: .93rem; font-weight: 700; color: #526052; }
.tyat-menu a:hover { color: var(--tyat-green-dark); }
.tyat-header-actions { display: flex; align-items: center; gap: 10px; }
.tyat-menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--tyat-paper); border-radius: 14px; box-shadow: var(--tyat-shadow); }
.tyat-menu-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--tyat-ink); border-radius: 9px; }

.tyat-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 17px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; line-height: 1.4; }
.tyat-btn:hover { transform: translateY(-1px); }
.tyat-btn-primary { background: var(--tyat-green); color: #fff; box-shadow: 0 10px 22px rgba(93,154,111,.26); }
.tyat-btn-primary:hover { background: var(--tyat-green-dark); color: #fff; }
.tyat-btn-secondary { background: #26352b; color: #fff; }
.tyat-btn-ghost { background: rgba(255,255,255,.68); border-color: var(--tyat-line); color: var(--tyat-ink); }
.tyat-btn-light { background: #fff; color: var(--tyat-ink); box-shadow: 0 10px 22px rgba(90,80,50,.08); }
.tyat-btn-large { min-height: 52px; padding: 13px 24px; font-size: 1rem; }

.tyat-hero { position: relative; overflow: hidden; padding: 82px 0 72px; }
.tyat-hero::before { content: ""; position: absolute; inset: -120px -100px auto auto; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,214,107,.38); filter: blur(1px); }
.tyat-hero::after { content: ""; position: absolute; left: -120px; bottom: -170px; width: 340px; height: 340px; border-radius: 50%; background: rgba(107,166,184,.17); }
.tyat-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr); gap: 52px; align-items: center; }
.tyat-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .8rem; font-weight: 900; color: var(--tyat-green-dark); text-transform: uppercase; letter-spacing: .08em; }
.tyat-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--tyat-green); border-radius: 9px; }
.tyat-hero h1 { margin: 0 0 20px; font-size: clamp(2.35rem, 5vw, 4.9rem); line-height: 1.08; letter-spacing: -.055em; color: #253127; }
.tyat-lead { max-width: 680px; margin: 0 0 28px; font-size: clamp(1rem, 2vw, 1.18rem); color: #526052; }
.tyat-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.tyat-note-small { margin: 0; color: var(--tyat-muted); font-size: .88rem; }
.tyat-hero-card { background: linear-gradient(135deg, #fff 0%, #fff8e7 100%); border: 1px solid rgba(232,223,207,.85); border-radius: 32px; box-shadow: var(--tyat-shadow); padding: 24px; transform: rotate(1.2deg); }
.tyat-mini-dashboard { background: var(--tyat-paper); border-radius: 24px; padding: 22px; box-shadow: inset 0 0 0 1px rgba(232,223,207,.7); }
.tyat-mini-top { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 12px; }
.tyat-mini-top span { color: var(--tyat-muted); font-weight: 800; }
.tyat-mini-top strong { font-size: 2rem; color: var(--tyat-green-dark); line-height: 1; }
.tyat-progress { height: 13px; background: #ecf2e8; border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.tyat-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--tyat-green), var(--tyat-yellow)); border-radius: inherit; }
.tyat-adventure-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; border: 1px solid #eee4d3; background: #fff; margin-top: 10px; }
.tyat-adventure-card span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #f1f5ee; color: var(--tyat-green-dark); font-weight: 900; }
.tyat-adventure-card.done span { background: var(--tyat-green); color: #fff; }
.tyat-adventure-card strong { display: block; line-height: 1.5; }
.tyat-adventure-card small { display: block; color: var(--tyat-muted); margin-top: 2px; }

.tyat-section { padding: 74px 0; }
.tyat-section-soft { background: var(--tyat-bg-soft); border-block: 1px solid rgba(232,223,207,.65); }
.tyat-section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.tyat-section-head .tyat-eyebrow { justify-content: center; }
.tyat-section h2, .tyat-content h1, .tyat-content h2, .tyat-page-header h1, .tyat-article-header h1 { margin-top: 0; color: #253127; line-height: 1.28; letter-spacing: -.03em; }
.tyat-section h2 { font-size: clamp(1.85rem, 3vw, 2.75rem); margin-bottom: 14px; }
.tyat-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tyat-feature-card, .tyat-note-card, .tyat-step, .tyat-safety-box, .tyat-post-card, .tyat-content { background: var(--tyat-paper); border: 1px solid var(--tyat-line); border-radius: var(--tyat-radius); box-shadow: 0 12px 30px rgba(68,91,72,.08); }
.tyat-feature-card { padding: 26px; }
.tyat-feature-card h3, .tyat-note-card h3, .tyat-step h3 { margin: 8px 0 8px; font-size: 1.15rem; }
.tyat-feature-card p, .tyat-note-card p, .tyat-step p { margin-bottom: 0; color: var(--tyat-muted); }
.tyat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff1c9; font-size: 1.45rem; }
.tyat-two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr); gap: 32px; align-items: center; }
.tyat-hashtag-box { display: inline-flex; flex-direction: column; gap: 3px; margin-top: 18px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px dashed var(--tyat-green); }
.tyat-hashtag-box span { font-size: .78rem; color: var(--tyat-muted); font-weight: 800; }
.tyat-hashtag-box strong { color: var(--tyat-green-dark); }
.tyat-note-card { padding: 28px; }
.tyat-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.tyat-step { padding: 24px; position: relative; }
.tyat-step span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tyat-yellow); color: #5c4420; font-weight: 900; }
.tyat-center-cta { text-align: center; margin-top: 30px; }
.tyat-safety-section { padding-top: 12px; }
.tyat-safety-box { padding: 28px; background: #fff9e8; border-color: #edd89c; }
.tyat-safety-box h2 { font-size: 1.45rem; margin-bottom: 8px; }
.tyat-safety-box p { margin: 0; color: #6d5b37; }

.tyat-page-header { padding: 56px 0 26px; background: linear-gradient(180deg, #fffaf0 0%, #f4fbf3 100%); border-bottom: 1px solid var(--tyat-line); }
.tyat-page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.tyat-content-wrap { padding: 40px 0 80px; }
.tyat-content { padding: clamp(22px, 4vw, 42px); max-width: 920px; margin-inline: auto; }
.tyat-content a { color: var(--tyat-green-dark); text-decoration: underline; text-underline-offset: .18em; }
.tyat-content h2 { margin-top: 2.2em; padding-bottom: .3em; border-bottom: 2px solid #eff1e9; }
.tyat-content h3 { margin-top: 1.8em; }
.tyat-content ul, .tyat-content ol { padding-left: 1.4em; }
.tyat-content blockquote { margin: 1.8em 0; padding: 18px 22px; border-left: 5px solid var(--tyat-green); background: #f8fbf5; border-radius: 0 16px 16px 0; }
.tyat-dashboard-shell { padding: 34px 0 70px; }
.tyat-dashboard-shell .tyat-container { width: min(1180px, calc(100% - 24px)); }

.tyat-single-wrap { max-width: 980px; }
.tyat-article-header { margin-bottom: 22px; }
.tyat-post-meta { color: var(--tyat-muted); font-size: .86rem; font-weight: 800; }
.tyat-featured-image { margin-bottom: 24px; overflow: hidden; border-radius: var(--tyat-radius); }
.tyat-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 42px 0 82px; }
.tyat-post-card { overflow: hidden; transition: transform .18s ease; }
.tyat-post-card:hover { transform: translateY(-3px); }
.tyat-post-card a { display: block; height: 100%; }
.tyat-post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tyat-post-card div { padding: 18px; }
.tyat-post-card h2 { font-size: 1.16rem; line-height: 1.45; margin: 0 0 8px; }
.tyat-post-card p:last-child { color: var(--tyat-muted); font-size: .92rem; }

.tyat-site-footer { background: #2d3a31; color: rgba(255,255,255,.82); padding: 44px 0 20px; }
.tyat-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; }
.tyat-footer-title { margin: 0 0 10px; color: #fff; font-weight: 900; }
.tyat-footer-menu, .tyat-legal-links { padding: 0; margin: 0; list-style: none; display: grid; gap: 6px; }
.tyat-footer-menu a, .tyat-legal-links a { color: rgba(255,255,255,.82); }
.tyat-legal-links a { text-decoration: underline; text-underline-offset: .18em; }
.tyat-copyright { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.58); }

/* Ultimate Memberのフォームがテーマに馴染むように軽く調整 */
.um, .um-page .um { font-family: inherit !important; }
.um .um-form { background: #fff; border: 1px solid var(--tyat-line); border-radius: var(--tyat-radius); box-shadow: 0 12px 30px rgba(68,91,72,.08); padding: clamp(20px, 4vw, 34px); }
.um input[type=submit].um-button,
.um a.um-button { border-radius: 999px !important; background: var(--tyat-green) !important; box-shadow: none !important; font-weight: 800 !important; }
.um input[type=submit].um-button:hover,
.um a.um-button:hover { background: var(--tyat-green-dark) !important; }

@media (max-width: 900px) {
  .tyat-header-inner { min-height: 68px; }
  .tyat-menu-toggle { display: block; }
  .tyat-nav { display: none; position: absolute; inset: 68px 18px auto 18px; padding: 18px; background: rgba(255,255,255,.97); border: 1px solid var(--tyat-line); border-radius: 20px; box-shadow: var(--tyat-shadow); flex-direction: column; align-items: stretch; }
  .tyat-nav.is-open { display: flex; }
  .tyat-menu { flex-direction: column; align-items: stretch; gap: 10px; }
  .tyat-header-actions { flex-direction: column; align-items: stretch; }
  .tyat-header-actions .tyat-btn { width: 100%; }
  .tyat-hero { padding-top: 54px; }
  .tyat-hero-grid, .tyat-two-column { grid-template-columns: 1fr; }
  .tyat-hero-card { transform: none; }
  .tyat-feature-grid, .tyat-steps, .tyat-archive-grid, .tyat-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .tyat-container { width: min(100% - 24px, 1120px); }
  .tyat-hero h1 { font-size: 2.35rem; }
  .tyat-hero-actions .tyat-btn { width: 100%; }
  .tyat-section { padding: 54px 0; }
  .tyat-feature-card, .tyat-note-card, .tyat-step, .tyat-safety-box, .tyat-content { border-radius: 18px; }
  .tyat-dashboard-shell .tyat-container { width: min(100% - 12px, 1180px); }
}
