@charset "UTF-8";
/* ==========================================================
   エン株式会社 共通スタイル
   ・メンテナンスページ
   ・個人情報関連ページ（/privacy/ /privacy_corp/ /privacy_services/ /optout/）
   ========================================================== */
:root {
  --blue-from: #5aa6f5;          /* タブ・ラベルのグラデーション */
  --blue-to:   #62dbe6;
  --navy:      #083484;          /* ロゴの紺 */
  --cyan:      #1bb1e5;          /* ロゴの水色 */
  --text:      #333;
  --text-sub:  #777;
  --line:      #e3e6ea;
  --bg:        #f3f6f9;
  --link:      #1b8fd6;
  --font: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  min-height: 100%;
  display: flex;               /* フッターを画面下に固定（内容が少ないページ用） */
  flex-direction: column;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
ul, ol { list-style: none; }
a { color: var(--link); }
a:hover { opacity: .75; }
img { max-width: 100%; vertical-align: bottom; }

/* ---------- Header（全ページ共通） ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px 12px;  /* 上はテキストと重ならない高さ */
  text-align: center;
}
/* 左上のテキスト */
.site-header__tagline {
  position: absolute;
  top: 6px;
  left: 24px;
  font-size: 11px;
  line-height: 1.5;
  color: #777;
  letter-spacing: 0.02em;
}
/* ロゴ（中央） */
.logo { display: inline-block; }
.logo img {
  display: block;
  height: 38px;
  width: auto;
}

/* ==========================================================
   メンテナンスページ
   ========================================================== */
.main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  font-size: 16px;
  line-height: 1.8;
}
.main a { color: inherit; }
.notice {
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  padding: 48px 56px;
  text-align: center;
}
.notice__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.notice__lead { color: #5b6675; }
.contact {
  text-align: center;
  padding: 40px 24px 0;
}

/* ==========================================================
   個人情報関連ページ
   ========================================================== */
/* ---------- Breadcrumb ---------- */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 24px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-sub);
}
.breadcrumb li + li::before { content: "＞"; margin: 0 8px; color: #bbb; }
.breadcrumb a { color: var(--text-sub); }

/* ---------- Page ---------- */
.page {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}
.page__head { margin-bottom: 30px; }
.page__label {
  display: inline-block;
  padding: 3px 14px;
  background: linear-gradient(to right, var(--blue-from), var(--blue-to));
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
  line-height: 1.5;
}
.page__title {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
}

/* 本文カード */
.policy {
  background: #fff;
  padding: 56px 64px 64px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}
.policy__company {
  text-align: right;
  font-weight: 700;
  margin-bottom: 24px;
}
.policy__intro { margin-bottom: 8px; }
.policy__end { margin-top: 48px; text-align: right; }

.policy__section { margin-top: 56px; }
.policy__section > h2,
.policy__section > h3 {
  display: flex;
  gap: 4px;
  padding: 0 0 12px 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  padding-top: 2px;
}
.policy__section > h2 .num,
.policy__section > h3 .num { flex-shrink: 0; color: var(--navy); }
.policy__section p + p,
.policy > p + p,
.dot-list + p,
.num-list + p { margin-top: 12px; }

/* (1)(2)… */
.paren-list { margin-top: 12px; }
.paren-list > li {
  position: relative;
  padding-left: 2.6em;
}
.paren-list > li + li { margin-top: 16px; }
.paren-list > li > .mark {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--navy);
}
.paren-list .item-title { display: block; font-weight: 700; }
.paren-list > li > p { margin-top: 4px; }

/* ①②… */
.circle-list { counter-reset: circle; margin-top: 10px; }
.circle-list > li {
  counter-increment: circle;
  position: relative;
  padding-left: 1.8em;
}
.circle-list > li + li { margin-top: 6px; }
.circle-list > li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
}
.circle-list > li:nth-child(1)::before  { content: "①"; }
.circle-list > li:nth-child(2)::before  { content: "②"; }
.circle-list > li:nth-child(3)::before  { content: "③"; }
.circle-list > li:nth-child(4)::before  { content: "④"; }
.circle-list > li:nth-child(5)::before  { content: "⑤"; }
.circle-list > li:nth-child(6)::before  { content: "⑥"; }
.circle-list > li:nth-child(7)::before  { content: "⑦"; }
.circle-list > li:nth-child(8)::before  { content: "⑧"; }
.circle-list > li:nth-child(9)::before  { content: "⑨"; }
.circle-list > li:nth-child(10)::before { content: "⑩"; }
.circle-list > li:nth-child(11)::before { content: "⑪"; }

/* 定義リスト（管理者・問い合わせ先） */
.info-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.info-list > div {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.info-list dt {
  flex: 0 0 240px;
  padding: 12px 16px;
  background: #f5f9fc;
  font-weight: 700;
}
.info-list dd { flex: 1; padding: 12px 16px; word-break: break-all; }

/* ---------- Tables ---------- */
.table-wrap { margin-top: 16px; overflow-x: auto; }
.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}
.policy-table th,
.policy-table td {
  padding: 16px 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.policy-table thead th {
  background: linear-gradient(to right, var(--blue-from), var(--blue-to));
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  padding: 10px 18px;
}
.policy-table tbody th {
  width: 30%;
  background: #f5f9fc;
  font-weight: 700;
}
.policy-table--purpose tbody th { width: 24%; }
.policy-table a { word-break: break-all; }
.policy-table .circle-list { margin-top: 0; }

.service-list li { position: relative; padding-left: 1em; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}


/* 複数文書を並べる場合 */
.policy + .policy { margin-top: 40px; }
.policy__doctitle {
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
/* 住所・代表者名 */
.policy__sign {
  margin: 0 0 32px;
  font-style: normal;
  text-align: right;
  line-height: 1.8;
}
.policy__section p.note { margin-top: 16px; font-size: 13px; color: var(--text-sub); }

/* ページ内目次 */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.toc a {
  display: inline-block;
  position: relative;
  padding: 10px 36px 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  text-decoration: none;
}
.toc a::after {                      /* 下向き矢印 */
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg);
}

/* ・リスト */
.dot-list { margin-top: 10px; }
.dot-list > li { position: relative; padding-left: 1.2em; }
.dot-list > li + li { margin-top: 4px; }
.dot-list > li::before { content: "・"; position: absolute; left: 0; top: 0; color: var(--navy); }

/* 1. 2. … */
.num-list { counter-reset: num; margin-top: 8px; }
.num-list > li { counter-increment: num; position: relative; padding-left: 2em; }
.num-list > li + li { margin-top: 4px; }
.num-list > li::before {
  content: counter(num) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-family: var(--font-en);
  font-weight: 700;
}

/* ＜〜＞ 小見出し */
.sub-head { margin-top: 16px; font-weight: 700; }
.paren-list > li > p.sub-head { margin-top: 16px; }
.paren-list > li > .item-title + p.sub-head { margin-top: 4px; }

/* お問い合わせ窓口ボックス */
.contact-box {
  margin-top: 56px;
  border: 1px solid var(--line);
}
.contact-box__title {
  padding: 10px 18px;
  background: linear-gradient(to right, var(--blue-from), var(--blue-to));
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
}
.contact-box p:not(.contact-box__title) { padding: 0 18px; }
.contact-box p:nth-child(2) { padding-top: 14px; }
.contact-box p:last-child { padding-bottom: 16px; }

/* 制定・改定日と署名 */
.policy__history { margin-top: 48px; text-align: right; line-height: 1.8; }
.policy__history .policy__sign { margin: 16px 0 0; }

/* お問い合わせ窓口ボックス内の補足 */
.contact-box .contact-box__note { font-size: 13px; color: var(--text-sub); }
.contact-box p + p:not(.contact-box__title) { margin-top: 8px; }

/* ---------- Footer（全ページ共通） ---------- */
.site-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: #5b6675;
  background: #fff;
  border-top: 1px solid var(--line);
}

/* ---------- SP ---------- */
@media (max-width: 760px) {
  body { font-size: 14px; line-height: 1.8; }
  /* ヘッダー：スマホではテキストをロゴの上に中央寄せで表示 */
  .site-header__inner { padding: 8px 16px 10px; }
  .site-header__tagline { position: static; font-size: 10px; }
  .pc-only { display: none; }

  /* メンテナンスページ */
  .main { padding: 32px 16px; }
  .notice { padding: 32px 24px; }
  .notice__title { font-size: 1.0625rem; }

  .logo { margin-top: 4px; }
  .logo img { height: 31px; }

  /* 個人情報関連ページ */
  .breadcrumb ol { padding: 8px 16px; font-size: 11px; }

  .page { padding: 28px 12px 48px; }
  .page__head { padding: 0 4px; margin-bottom: 20px; }
  .page__title { font-size: 20px; letter-spacing: .04em; }

  .policy { padding: 28px 18px 36px; }
  .policy__section { margin-top: 40px; }
  .policy__section > h2,
  .policy__section > h3 { font-size: 16px; padding-left: 12px; }
  .policy + .policy { margin-top: 24px; }
  .policy__doctitle { font-size: 18px; }
  .policy__sign { font-size: 13px; }
  .toc { flex-direction: column; gap: 8px; }
  .policy__history { font-size: 13px; }
  .toc a { display: block; }
  .paren-list > li { padding-left: 2.3em; }
  .paren-list .table-wrap { margin-left: -2.3em; }   /* 表は字下げせず横幅いっぱいに */

  .info-list > div { flex-direction: column; }
  .info-list dt { flex-basis: auto; padding: 8px 12px; }
  .info-list dd { padding: 8px 12px 12px; }

  /* 表は縦積みに */
  .policy-table,
  .policy-table tbody,
  .policy-table tr,
  .policy-table th,
  .policy-table td { display: block; width: 100%; }
  .policy-table thead { display: none; }
  .policy-table tr { border: 1px solid var(--line); }
  .policy-table tr + tr { margin-top: 12px; }
  .policy-table th,
  .policy-table td { border: none; padding: 12px 14px; }
  .policy-table tbody th { width: 100%; }
  .policy-table--purpose tbody th { width: 100%; }
  .policy-table--purpose tbody th::before {
    content: "登録対象サービス";
    display: block;
    font-size: 11px;
    color: var(--text-sub);
    font-weight: 500;
  }
  .policy-table--purpose td::before {
    content: "利用目的";
    display: block;
    font-size: 11px;
    color: var(--text-sub);
    margin-bottom: 4px;
  }
  .service-list { display: flex; flex-wrap: wrap; gap: 2px 16px; }

}
