@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ（TIDE&SEEK）
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================================
   TIDE&SEEK design tokens
   ========================================================================== */
:root {
  --ts-bg: #06121e;
  --ts-bg-alt: #0b1c29;
  --ts-bg-footer: #040d15;
  --ts-bg-footer-deep: #020609;
  --ts-surface: #0e2130;
  --ts-surface-screen: #0a1a26;
  --ts-fg: #eef4f7;
  --ts-fg-strong: #ffffff;
  --ts-fg-muted: rgba(238, 244, 247, 0.78);
  --ts-fg-subtle: rgba(238, 244, 247, 0.5);
  --ts-fg-faint: rgba(238, 244, 247, 0.38);
  --ts-accent: #4ec4ad;
  --ts-accent-hover: #6fd6c1;
  --ts-accent-text: #7fdcc9;
  --ts-accent-text-hover: #a9ebdd;
  --ts-on-accent: #04141b;
  --ts-line: rgba(238, 244, 247, 0.12);
  --ts-border: rgba(238, 244, 247, 0.22);
  --ts-border-accent: rgba(78, 196, 173, 0.45);
}

.ts-page {
  background: var(--ts-bg);
  color: var(--ts-fg);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.ts-page a { color: var(--ts-accent-text); text-decoration: none; }
.ts-page a:hover { color: var(--ts-accent-text-hover); }
.ts-page ::selection { background: #1f6b5e; color: #fff; }
.ts-mono { font-family: "IBM Plex Mono", monospace; }

/* ---- Header ---- */
.ts-header-wrap { padding: 18px 22px; }
.ts-header { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; }
.ts-logo { display: flex; align-items: center; gap: 8px; }
.ts-logo svg { display: block; margin-right: -5px; }
.ts-logo-text { font-weight: 900; font-size: 17px; letter-spacing: 0.06em; color: var(--ts-fg); }
.ts-logo-text .amp { color: var(--ts-accent); }
.ts-logo-text.sm { font-size: 15px; color: rgba(238, 244, 247, 0.9); }
.ts-header-right { display: flex; align-items: center; gap: 16px; }
.ts-header-tag { font-size: 10px; letter-spacing: 0.18em; color: var(--ts-fg-subtle); }

.ts-langselect { position: relative; }
.ts-lang-btn {
  display: flex; align-items: center; gap: 9px;
  background: rgba(238, 244, 247, 0.04);
  border: 1px solid var(--ts-border);
  border-radius: 2px; padding: 7px 11px; cursor: pointer; color: var(--ts-fg);
  font-family: inherit;
}
.ts-lang-btn:hover, .ts-lang-btn[aria-expanded="true"] {
  border-color: rgba(78, 196, 173, 0.6);
  background: rgba(78, 196, 173, 0.08);
}
.ts-lang-btn-label { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.ts-lang-caret {
  width: 0; height: 0;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 4px solid rgba(238, 244, 247, 0.55);
}
.ts-lang-panel {
  position: absolute; top: calc(100% + 7px); right: 0; min-width: 168px;
  background: var(--ts-bg-alt); border: 1px solid rgba(238, 244, 247, 0.16);
  border-radius: 3px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); padding: 5px;
  z-index: 20; display: none;
}
.ts-lang-panel.is-open { display: block; }
.ts-lang-panel-heading { font-size: 9px; letter-spacing: 0.2em; color: var(--ts-fg-faint); padding: 7px 10px 6px; }
.ts-page .ts-lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 9px 10px; border: none; border-radius: 2px;
  cursor: pointer; text-align: left; background: transparent; color: rgba(238, 244, 247, 0.8);
  font-size: 13px; font-weight: 700; font-family: inherit;
}
.ts-page .ts-lang-item:hover { background: rgba(78, 196, 173, 0.12); }
.ts-page .ts-lang-item.is-current { background: rgba(78, 196, 173, 0.14); color: #fff; }
.ts-lang-dot { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.ts-lang-item.is-current .ts-lang-dot { background: var(--ts-accent); }

/* ---- Hero ---- */
.ts-hero { position: relative; padding: 64px 22px 72px; }
.ts-hero-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 340px;
  background: radial-gradient(120% 80% at 20% 0%, rgba(38, 102, 120, 0.42), rgba(6, 18, 30, 0) 70%);
  pointer-events: none;
}
.ts-hero-inner {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(32px, 5vw, 64px); max-width: 1120px; margin: 0 auto;
}
.ts-hero-text { flex: 1.6 1 420px; min-width: 0; }
.ts-hero-title {
  margin: 0; font-size: clamp(29px, 7.4vw, 40px); line-height: 1.3; font-weight: 900;
  letter-spacing: -0.01em; text-wrap: pretty;
}
.ts-hero-title .accent { color: var(--ts-accent); }
.ts-hero-quote { margin: 26px 0 0; font-size: 17px; font-weight: 700; line-height: 1.7; color: var(--ts-fg-strong); }
.ts-hero-body { margin: 20px 0 0; font-size: 15px; line-height: 1.95; color: var(--ts-fg-muted); text-wrap: pretty; }
.ts-hero-body + .ts-hero-body { margin-top: 12px; }
.ts-hero-cta-row { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; align-items: flex-start; }
.ts-page a.ts-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ts-accent); color: var(--ts-fg-strong); font-weight: 900; font-size: 16px;
  letter-spacing: 0.02em; padding: 17px 34px; border-radius: 3px;
  box-shadow: 0 10px 30px rgba(78, 196, 173, 0.22);
}
.ts-page a.ts-btn:hover { background: var(--ts-accent-hover); color: var(--ts-fg-strong); }
.ts-hero-platform { font-size: 11px; letter-spacing: 0.12em; color: var(--ts-fg-subtle); }

.ts-hero-mock-col { flex: 1 1 280px; max-width: 340px; display: flex; justify-content: center; margin: 0 auto; }
.ts-phone {
  width: clamp(250px, 26vw, 300px); padding: 9px; background: var(--ts-surface);
  border: 1px solid var(--ts-border); border-radius: 30px; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
.ts-phone-screen {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--ts-surface-screen);
  aspect-ratio: 9 / 19;
}
.ts-phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-phone-caption {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: 0.14em; color: rgba(238, 244, 247, 0.6); text-align: center; line-height: 1.8;
}
.ts-phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, 0.55);
}

/* ---- Section heading ---- */
.ts-section-label { font-size: 10px; letter-spacing: 0.2em; color: var(--ts-fg-faint); margin-bottom: 1px; }
.ts-section-title { margin: 0 0 28px; font-size: clamp(24px, 6.6vw, 32px); font-weight: 900; line-height: 1.4; letter-spacing: -0.01em; }

/* ---- News ---- */
.ts-news-section { padding: 84px 22px 80px; background: var(--ts-bg-alt); }
.ts-news-section .ts-inner { max-width: 1120px; margin: 0 auto; }
.ts-news-list { display: flex; flex-direction: column; }
.ts-news-item {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 0; color: rgba(238, 244, 247, 0.9);
}
.ts-news-item:not(:first-child) { border-top: 1px solid var(--ts-line); }
.ts-news-meta { display: flex; align-items: center; gap: 12px; }
.ts-news-date { font-size: 11px; letter-spacing: 0.1em; color: var(--ts-fg-subtle); }
.ts-news-badge {
  font-size: 9px; letter-spacing: 0.14em; border-radius: 2px; padding: 3px 7px; border: 1px solid rgba(238, 244, 247, 0.25);
  color: rgba(238, 244, 247, 0.6);
}
.ts-news-badge.is-release { color: var(--ts-accent-text); border-color: var(--ts-border-accent); }
.ts-news-title { font-size: 15px; font-weight: 700; line-height: 1.7; text-wrap: pretty; color: var(--ts-fg-strong); }
.ts-news-item:hover .ts-news-title { color: var(--ts-accent); }
.ts-news-empty { color: var(--ts-fg-muted); font-size: 15px; padding: 20px 0; }

/* ---- About ---- */
.ts-about-section { padding: 84px 22px 88px; }
.ts-about-section .ts-inner { max-width: 1120px; margin: 0 auto; position: relative; }
.ts-about-lead { margin: 24px 0 0; font-size: 17px; font-weight: 700; line-height: 1.8; color: var(--ts-fg-strong); text-wrap: pretty; }
.ts-about-body { margin: 16px 0 0; font-size: 15px; line-height: 1.95; color: rgba(238, 244, 247, 0.75); }
.ts-about-rule {
  margin-top: 40px; height: 1px;
  background: linear-gradient(90deg, rgba(78, 196, 173, 0.6), rgba(238, 244, 247, 0));
}

/* ---- Footer ---- */
.ts-footer { background: var(--ts-bg-footer); margin-top: 24px; padding-top: 24px; }
.ts-footer-top {
  max-width: 1120px; margin: 0 auto; padding: 34px 22px 44px;
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px;
}
.ts-footer-nav { display: flex; flex-direction: column; gap: 14px; }
.ts-footer-nav li { list-style: none; margin: 0; padding: 0; }
.ts-footer-nav a { font-size: 14px; font-weight: 700; color: rgba(238, 244, 247, 0.85); }
.ts-footer-nav a:hover { color: var(--ts-accent); }
.ts-footer-bottom { background: var(--ts-bg-footer-deep); padding: 20px 22px; }
.ts-footer-copy {
  max-width: 1120px; margin: 0 auto; text-align: center; font-size: 10px; letter-spacing: 0.1em; color: var(--ts-fg-faint);
}

/* ---- Simple inner page (privacy policy / contact) ---- */
.ts-simple-section { padding: 64px 22px 96px; }
.ts-simple-section .ts-inner { max-width: 840px; margin: 0 auto; }
.ts-simple-title { margin: 0 0 40px; font-size: clamp(26px, 6vw, 34px); font-weight: 900; letter-spacing: -0.01em; }
.ts-simple-body { font-size: 15px; line-height: 2; color: var(--ts-fg-muted); }
.ts-simple-body h2 {
  margin: 44px 0 16px; font-size: 18px; font-weight: 900; color: var(--ts-fg-strong); letter-spacing: -0.01em;
}
.ts-simple-body p { margin: 0 0 16px; }
.ts-simple-body ul { margin: 0 0 16px; padding-left: 1.4em; list-style: disc; }
.ts-simple-body ol { margin: 0 0 16px; padding-left: 1.4em; list-style: decimal; }
.ts-simple-body li { margin-bottom: 8px; list-style: inherit; }

/* ---- Contact form ---- */
.ts-contact-form .wpcf7-form p { margin: 0 0 22px; }
.ts-contact-form label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ts-fg); margin-bottom: 8px; }
.ts-contact-form input[type="text"],
.ts-contact-form input[type="email"],
.ts-contact-form textarea {
  width: 100%; box-sizing: border-box; background: rgba(238, 244, 247, 0.04);
  border: 1px solid var(--ts-border); border-radius: 3px; padding: 12px 14px;
  color: var(--ts-fg); font-family: inherit; font-size: 14px;
}
.ts-contact-form input:focus, .ts-contact-form textarea:focus {
  outline: none; border-color: var(--ts-accent);
}
.ts-contact-form textarea { min-height: 160px; resize: vertical; }
.ts-contact-form input[type="submit"] {
  background: var(--ts-accent); color: var(--ts-on-accent); font-weight: 900; font-size: 15px;
  border: none; border-radius: 3px; padding: 15px 32px; cursor: pointer;
}
.ts-contact-form input[type="submit"]:hover { background: var(--ts-accent-hover); }
.ts-contact-form .wpcf7-not-valid-tip { color: #ff9d9d; font-size: 12px; margin-top: 6px; }
.ts-contact-form .wpcf7-response-output { border-radius: 3px; font-size: 13px; }
.ts-contact-form .ts-consent-label {
  display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 13px; color: var(--ts-fg-muted);
}
.ts-contact-form .ts-consent-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--ts-accent); }
.ts-contact-form .ts-consent-label a { color: var(--ts-accent-text); text-decoration: underline; }
.ts-required { color: #ff6b6b; margin-left: 2px; }
.ts-required-note { font-size: 12px; color: rgba(238, 244, 247, 0.5); margin: 0 0 24px; }
