/* Tic-Tact LP: shared shell only (background, header, footer) */

@font-face {
  font-family: "Noto Sans JP";
  src: url("assets/fonts/NotoSansJP-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text: #1a1a1a;
  --muted: #767676;
  --line: #e8e8e8;
  --bg: #ffffff;
  --soft-bg: #fafafa;
  --accent: #3f716d;
}

html {
  min-width: 320px;
  font-size: 19.2px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.55;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 13.6px;
  letter-spacing: 0.04em;
}

.site-nav a:hover {
  color: var(--text);
  opacity: 1;
}

.site-main {
  flex: 1;
  background: var(--bg);
}

.hero {
  padding: 88px 0 32px;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-icon {
  display: block;
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
  border-radius: 22%;
}

.product-name {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: 2.825rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.hero__lead {
  max-width: 680px;
  margin-top: 28px;
  color: #2a2a2a;
  font-size: 1rem;
  line-height: 2;
  overflow-wrap: anywhere;
}

.content-section {
  border-top: 1px solid var(--line);
  padding: 80px 0;
}

.content-section--soft {
  background: var(--soft-bg);
}

.content-column {
  max-width: 720px;
}

.content-column h2 {
  margin-bottom: 32px;
  font-size: 1.808rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.content-column h3 {
  margin-bottom: 20px;
  font-size: 1.243rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.content-column p {
  margin-bottom: 20px;
  color: #2a2a2a;
  font-size: 0.95rem;
}

.content-column p:last-child {
  margin-bottom: 0;
}

.notice {
  margin-top: 32px;
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: var(--bg);
  color: #3f3f3f;
  font-size: 0.9rem !important;
}

.features {
  min-height: 0;
}

.feature-list {
  display: grid;
  gap: 96px;
}

.feature-item h3 {
  margin-bottom: 32px;
  color: var(--text);
  font-size: 1.5255rem;
  font-weight: 500;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-layout .feature-shot {
  width: 173.333px;
  margin: 0 auto;
}

.feature-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.feature-gallery .feature-shot {
  width: 66.6667%;
  justify-self: center;
}

.feature-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.feature-copy {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 2;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  background: var(--bg);
  font-size: 12.8px;
  text-align: center;
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-nav a {
  color: var(--muted);
}

.copyright {
  margin-top: 12px;
}

@media (max-width: 600px) {
  html {
    font-size: 17.664px;
  }

  .pc-break {
    display: none;
  }

  .hero__lead,
  .content-column p {
    line-break: strict;
    text-wrap: pretty;
  }

  .container {
    padding: 0 18px;
  }

  .site-main .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    padding: 64px 0 28px;
  }

  .app-icon {
    width: 128px;
    height: 128px;
    margin-bottom: 20px;
  }

  .product-name {
    margin-bottom: 16px;
  }

  .hero h1 {
    /* 設置時調整：390px前後の端末で「を。」だけが改行されるのを防ぐ（上限は納品値 2.26rem） */
    font-size: clamp(1.8rem, 9.2vw, 2.26rem);
    line-height: 1.45;
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: center;
  }

  .content-section {
    padding: 64px 0;
  }

  .content-column h2 {
    margin-bottom: 28px;
    font-size: 1.469rem;
    line-height: 1.5;
  }

  .content-column h3 {
    font-size: 1.243rem;
    line-height: 1.6;
  }

  .content-column p {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .notice {
    padding: 18px;
    font-size: 0.9rem !important;
  }

  .feature-list {
    gap: 72px;
  }

  .feature-item h3 {
    margin-bottom: 24px;
    font-size: 1.2995rem;
    line-height: 1.6;
  }

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-layout .feature-shot {
    width: min(66.6667%, 173.333px);
    margin: 0 auto;
  }

  .feature-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
  }

  .feature-copy {
    font-size: 0.9rem !important;
    line-height: 1.85;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
  }

  .site-nav a {
    font-size: 12.8px;
  }
}

@media (max-width: 400px) {
  .site-header__inner {
    align-items: flex-start;
    gap: 16px;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 4px;
  }
}

/* ▼2026 06 05追記 */
.app-download {
  margin-top: 32px;
  text-align: center;
}

.app-download__link {
  display: inline-block;
  line-height: 0;
}

.app-download__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  min-height: 50px;
  padding: 8px 14px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

.app-download__badge {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .app-download {
    margin-top: 28px;
  }

  .app-download__badge {
    width: 156px;
  }

  .app-download__preview {
    width: 156px;
  }
}
/* ▲ここまで */
