@charset "UTF-8";
/* ==========================================================================
   attag 製品サイト 共通スタイル
   外部CDN・外部フォントへの依存なし（OS標準フォントのみ使用）
   ========================================================================== */

/* --- design tokens ------------------------------------------------------ */
:root {
  --brand: #5ec1c5;          /* attag ロゴのターコイズ */
  --brand-dark: #3fa4a8;
  --brand-darker: #2f8b8f;
  --brand-pale: #eaf7f7;
  --ink: #33383d;
  --ink-soft: #5c646b;
  --line: #e2e7ea;
  --bg: #ffffff;
  --bg-soft: #f6f9fa;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(51, 56, 61, .07);
  --wrap: 1080px;
}

/* --- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
               "Noto Sans JP", Meiryo, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand-darker); }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

/* --- layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 760px; }
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--brand { background: var(--brand); color: #fff; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 {
  font-size: 24px; line-height: 1.5; font-weight: 700; letter-spacing: .04em;
}
.section-head h2::after {
  content: ""; display: block; width: 44px; height: 3px; border-radius: 3px;
  background: var(--brand); margin: 14px auto 0;
}
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 15px; }
.lead { font-size: 15px; color: var(--ink-soft); }

/* --- header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header__inner {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 2px; padding-top: 8px;
}
.site-header__logo { align-self: flex-start; }
.site-header__logo img { width: 100px; }
/* スマホでは1行の横スクロールメニュー */
.site-nav ul {
  display: flex; flex-wrap: nowrap; gap: 15px; justify-content: flex-start;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a {
  display: inline-block; padding: 4px 2px 8px; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--brand-darker); border-bottom-color: var(--brand); }

/* --- hero --------------------------------------------------------------- */
.hero img { width: 100%; }

/* --- lead (ターコイズ背景 + イラスト) ------------------------------------ */
.lead-block { background: var(--brand); color: #fff; overflow: hidden; }
.lead-block__inner { display: grid; gap: 0; }
.lead-block__text { padding: 40px 20px 8px; text-align: center; }
.lead-block__text h1 {
  font-size: 22px; line-height: 1.6; font-weight: 700; letter-spacing: .04em;
}
.lead-block__text p { margin-top: 14px; font-size: 15px; }
.lead-block__img { padding: 0 20px 32px; }
.lead-block__img img { width: 100%; max-width: 460px; margin: 0 auto; }

/* --- features ----------------------------------------------------------- */
.feature { display: grid; gap: 20px; align-items: center; }
.feature + .feature { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.feature__img { text-align: center; }
.feature__img img {
  width: 100%; max-width: 340px; margin: 0 auto;
  border-radius: var(--radius);
}
.feature__body h3 {
  font-size: 20px; line-height: 1.55; font-weight: 700; margin-bottom: 12px;
}
.feature__body p { font-size: 15px; color: var(--ink-soft); }
.feature__note { display: block; margin-top: 10px; font-size: 13px; }

/* --- product lineup ----------------------------------------------------- */
.lineup { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lineup__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 10px 14px; text-align: center; box-shadow: var(--shadow);
}
.lineup__item img { width: 100%; }
.lineup__name {
  margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: .03em;
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 12px 30px;
  background: var(--brand); color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: .04em; text-decoration: none;
  border-radius: 999px; box-shadow: 0 4px 14px rgba(94, 193, 197, .38);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--block { display: flex; width: 100%; max-width: 420px; margin: 0 auto; }
.btn--onbrand { background: #fff; color: var(--brand-darker); box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.btn--onbrand:hover { background: #f2fbfb; }

/* --- warranty（Googleフォーム埋め込み） --------------------------------- */
.warranty { background: var(--brand-pale); }
.warranty__intro {
  font-size: 15px; color: var(--ink-soft); text-align: center; margin-bottom: 28px;
}

/* iframeは中身に合わせて自動で伸縮しないため高さを固定で指定している。
   フォームの項目を増減したら、この height を実測値＋余裕分に調整すること。
   埋め込みフォームの背景は透過なので、高さが余っても背景色に馴染む。 */
/* スマホでは左右いっぱいに広げる（Googleフォーム側の折り返しを抑えるため） */
.gform { margin: 0 -20px; overflow: hidden; }
.gform iframe { display: block; width: 100%; height: 2300px; border: 0; }
.gform__fallback {
  margin-top: 16px; text-align: center; font-size: 13px; color: var(--ink-soft);
}

/* --- LINE --------------------------------------------------------------- */
.line-block { text-align: center; }
.line-block p { font-size: 15px; color: var(--ink-soft); }
.line-block__arrow { color: var(--brand); letter-spacing: .1em; line-height: 1.2; }
.line-block__btn { display: inline-block; margin-top: 12px; }
.line-block__btn img { width: 232px; max-width: 80%; margin: 0 auto; }

/* --- notice / caution --------------------------------------------------- */
.caution {
  border: 2px solid var(--brand); border-radius: var(--radius);
  padding: 24px 20px; background: #fff;
}
.caution h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; letter-spacing: .03em; }
.caution li {
  position: relative; padding-left: 1.1em; font-size: 15px; color: var(--ink-soft);
}
.caution li + li { margin-top: 8px; }
.caution li::before { content: "◆"; position: absolute; left: 0; color: var(--brand); }

/* --- contact ------------------------------------------------------------ */
.contact__inner { display: grid; gap: 20px; align-items: center; }
.contact h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.contact__box {
  border: 2px solid var(--brand); border-radius: var(--radius);
  padding: 16px 18px; text-align: center; background: #fff;
}
.contact__label { font-size: 13px; color: var(--ink-soft); }
.contact__tel {
  display: inline-block; margin-top: 2px;
  font-size: 26px; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-darker); text-decoration: none;
}
.contact__detail { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.contact__illust { text-align: center; }
.contact__illust img { width: 120px; margin: 0 auto; }

/* 問い合わせ定義リスト（Android / iOS ページ） */
.contact-list { margin-top: 12px; font-size: 15px; }
.contact-list div { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.contact-list dt { flex: 0 0 4.5em; font-weight: 700; font-size: 14px; }
.contact-list dd { margin: 0; }

/* --- app pages ---------------------------------------------------------- */
.notice {
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 24px 20px; border: 1px solid var(--line);
}
.notice__badge {
  display: inline-block; padding: 3px 14px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .08em;
}
.notice__date { margin-top: 12px; font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.notice__title { margin-top: 4px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.notice__body { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

.download { background: var(--brand); color: #fff; overflow: hidden; }
.download__inner { display: grid; gap: 24px; align-items: center; padding: 44px 0 0; }
.download__body { text-align: center; }
.download__body h2 { font-size: 22px; line-height: 1.5; font-weight: 700; }
.download__body h2 .big { display: block; font-size: 32px; letter-spacing: .04em; }
.download__body p { margin-top: 10px; font-size: 15px; }
.download__body .btn { margin-top: 22px; }
.download__img { text-align: center; }
.download__img img { width: 190px; margin: 0 auto; display: block; }

.subapp__inner { display: grid; gap: 20px; align-items: center; justify-items: center; text-align: center; }
.subapp__icon img { width: 120px; mix-blend-mode: multiply; }
.subapp h2 { font-size: 19px; line-height: 1.6; font-weight: 700; }
.subapp .btn { margin-top: 18px; }

.page-note { font-size: 14px; color: var(--ink-soft); text-align: center; }
.page-note .underline { text-decoration: underline; }

/* --- footer ------------------------------------------------------------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 32px 0; }
.site-footer__logo img { width: 96px; margin: 0 auto 18px; }
.site-footer__nav ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
}
.site-footer__nav a { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.site-footer__nav a:hover { color: var(--brand-darker); }
.site-footer__copy {
  margin-top: 20px; text-align: center; font-size: 12px; color: var(--ink-soft);
}

/* --- 大きめ画面 --------------------------------------------------------- */
@media (min-width: 600px) {
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 28px; }
  .lineup { grid-template-columns: repeat(4, 1fr); }
  .lineup__name { font-size: 14px; }
  .lead-block__text h1 { font-size: 30px; }
  .download__body h2 { font-size: 26px; }
  .download__body h2 .big { font-size: 40px; }
  .gform { margin: 0; border-radius: var(--radius); }
  .gform iframe { height: 2100px; }
  .caution { padding: 32px 36px; }
  .notice { padding: 32px 36px; }
}

@media (min-width: 860px) {
  .site-header__inner {
    flex-direction: row; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 64px; padding-top: 0;
  }
  .site-header__logo img { width: 124px; }
  .site-nav ul { gap: 20px; justify-content: flex-end; overflow: visible; }
  .site-nav a { font-size: 14px; padding: 6px 2px; }

  .lead-block__inner {
    grid-template-columns: 1.12fr 1fr;
    align-items: center;
    max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
  }
  .lead-block__text { text-align: left; padding: 56px 0; }
  .lead-block__text h1 { font-size: 28px; }
  .lead-block__img { padding: 32px 0; }
  .lead-block__img img { max-width: 100%; }

  .feature { grid-template-columns: 320px 1fr; gap: 40px; }
  .feature--reverse .feature__img { order: 2; }

  .contact__inner { grid-template-columns: 1fr 200px; }
  .contact__illust img { width: 160px; }

  .download__inner { grid-template-columns: 1fr 300px; padding: 56px 0 0; }
  .download__body { text-align: left; }
  .download__body .btn { margin-left: 0; }
  .download__img img { width: 260px; }

  .subapp__inner { grid-template-columns: 200px 1fr; justify-items: start; text-align: left; }
  .subapp__icon img { width: 180px; }
}

/* --- モーション設定を尊重 ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ロゴ画像は白背景のJPEGのため、淡色背景に置くときは白を透過させる */
.site-footer__logo img { mix-blend-mode: multiply; }
