@charset "UTF-8";
/* =========================================================
   CREAGENCY 下層ページ共通コンポーネント
   読み込み順: common.css → lower.css → （必要ならページ専用CSS）
   WordPress化時: ブロックパターン／テンプレートパーツの元になる部品
   ========================================================= */

.page-lower { overflow-x: hidden; }

/* ---------- セクション ---------- */
.sec { position: relative; padding: 76px 0 84px; }
.sec .c-title { margin-top: 18px; }
.sec--mint {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 64%, rgba(168, 222, 196, 0.22) 64.1%, rgba(255, 255, 255, 0) 88%),
    linear-gradient(180deg, #eef8f4 0%, #f4faf7 100%);
}
.sec--deep {
  color: var(--c-white);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.06) 62.1%, rgba(255, 255, 255, 0) 86%),
    linear-gradient(120deg, #0f8a66 0%, #0c6d5d 60%, #0a5f51 100%);
}
.sec--deep .c-eyebrow { color: #9fe3c4; }
.sec--deep .c-title { color: var(--c-white); }
.sec--deep .c-title em { color: var(--c-yellow); }
.sec--deep .c-lead, .sec--deep .c-text { color: rgba(255, 255, 255, 0.9); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-head .c-title { font-size: clamp(26px, 2.7vw, 38px); }
.sec-head__lead { max-width: 520px; padding-bottom: 6px; font-size: 15px; line-height: 1.9; color: var(--c-muted); }
.sec--deep .sec-head__lead { color: rgba(255, 255, 255, 0.85); }
.sec-sub { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--c-line); }
.sec--deep .sec-sub { border-top-color: rgba(255, 255, 255, 0.2); }
.sec-sub__label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-green-deep);
  background: #dff3ea;
}
.sec--deep .sec-sub__label { color: var(--c-green-deep); background: #c9efdc; }

/* ---------- テキスト ---------- */
.c-large { font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; line-height: 1.75; color: var(--c-ink); }
.sec--deep .c-large { color: var(--c-white); }
.c-lead { margin-top: 22px; max-width: 880px; font-size: 16px; line-height: 2; }
.c-text { font-size: 15px; line-height: 2; }
.c-text + .c-text { margin-top: 14px; }
.c-note {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px dashed #e2b93b;
  border-radius: 4px;
  font-size: 13px;
  color: #8a6a00;
  background: #fffbe6;
}
.c-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-green-deep);
}
.c-link span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  color: var(--c-white);
  background: var(--grad-green);
  transition: transform 0.2s;
}
.c-link:hover span { transform: translateX(4px); }

/* ---------- 写真 ---------- */
.c-photo { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: #e8f3ee; }
.c-photo img { width: 100%; height: 100%; object-fit: cover; }
.c-photo--wide { aspect-ratio: 16 / 9; }
.c-photo--ph {
  /* 素材待ちのプレースホルダー。data-file の名前で写真を用意する */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed #9fd3bf;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.5) 55.1%, rgba(255, 255, 255, 0) 80%),
    linear-gradient(135deg, #e6f5ee 0%, #d3ede1 100%);
  color: var(--c-green-deep);
}
.c-photo--ph::before {
  content: "";
  width: 44px;
  height: 34px;
  border: 3px solid currentColor;
  border-radius: 6px;
  opacity: 0.6;
  background: radial-gradient(circle at 50% 55%, transparent 8px, currentColor 9px, currentColor 11px, transparent 12px);
}
.c-photo--ph::after {
  content: attr(data-file);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

/* ---------- 2カラム（写真＋テキスト） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--text-wide { grid-template-columns: 1.15fr 0.85fr; }

/* ---------- カード ---------- */
.card-grid { display: grid; gap: 18px; margin-top: 36px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }
.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 30px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.c-card--shadow { border: 0; box-shadow: var(--shadow-card); }
.c-card--center { align-items: center; text-align: center; }
a.c-card { transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
a.c-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: #b8e0cf; }
.c-card__photo { margin: -30px -28px 24px; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 10; }
.c-card__no { font-family: var(--font-en); font-size: 26px; font-weight: 700; line-height: 1; color: var(--c-green); }
.c-card__icon { display: block; align-self: flex-start; height: 60px; width: auto; margin: 18px 0 18px; }
.c-card--center .c-card__icon { align-self: center; }
.c-card__en { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-green); }
.c-card__stat { font-family: var(--font-en); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--c-green); letter-spacing: 0.02em; }
.c-card__title { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.55; color: var(--c-ink); word-break: auto-phrase; }
.c-card__text { margin-top: 12px; font-size: 15px; line-height: 1.9; color: var(--c-muted); }
.c-card__foot { margin-top: auto; padding-top: 18px; }
.c-card__more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 700; color: var(--c-green-deep); }

/* ---------- チェックリスト ---------- */
.c-check { display: grid; gap: 10px; margin-top: 18px; }
.c-check--2col { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.c-check li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 500; line-height: 1.7; color: var(--c-ink); }
.c-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--c-green);
  border-bottom: 2.5px solid var(--c-green);
  transform: rotate(-45deg);
}
.sec--deep .c-check li { color: var(--c-white); }
.sec--deep .c-check li::before { border-color: var(--c-yellow); }
.c-dots li { position: relative; padding: 8px 0 8px 20px; border-top: 1px dashed var(--c-line); font-size: 15px; line-height: 1.7; }
.c-dots li:first-child { border-top: 0; }
.c-dots li::before { content: ""; position: absolute; left: 3px; top: 1.1em; width: 7px; height: 7px; border-radius: 50%; background: #9bcdb8; }

/* ---------- 定義リスト（会社概要・仕様） ---------- */
.c-dl { margin: 0; border-top: 2px solid var(--c-green); }
.c-dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--c-line); }
.c-dl dt { font-size: 15px; font-weight: 700; color: var(--c-ink); }
.c-dl dd { margin: 0; font-size: 15px; line-height: 1.8; }
.c-dl--compact > div { grid-template-columns: 130px 1fr; padding: 11px 2px; gap: 16px; }
.c-dl--compact dt, .c-dl--compact dd { font-size: 14px; }

/* ---------- 表 ---------- */
.c-table-wrap { margin-top: 36px; overflow-x: auto; }
.c-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; background: var(--c-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.c-table th, .c-table td { padding: 18px 22px; border-bottom: 1px solid var(--c-line); font-size: 15px; line-height: 1.7; text-align: left; vertical-align: middle; }
.c-table thead th { font-size: 14px; font-weight: 700; color: var(--c-white); background: var(--c-green-deep); }
.c-table tbody th { font-weight: 700; color: var(--c-ink); background: #f5fbf8; white-space: nowrap; }
.c-table tr:last-child th, .c-table tr:last-child td { border-bottom: 0; }
.c-table .is-strong { font-weight: 700; color: var(--c-green-deep); background: #eefaf4; }

/* ---------- ステップ（横並び・矢印） ---------- */
.c-steps { display: grid; gap: 30px; margin-top: 40px; }
.c-steps--4 { grid-template-columns: repeat(4, 1fr); }
.c-steps--5 { grid-template-columns: repeat(5, 1fr); }
.c-steps--7 { grid-template-columns: repeat(7, 1fr); gap: 22px; }
.c-step {
  position: relative;
  padding: 32px 18px 22px;
  text-align: center;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.c-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -19px;
  top: 50%;
  border: 6px solid transparent;
  border-left: 9px solid var(--c-green);
  transform: translateY(-50%);
}
.c-steps--7 .c-step:not(:last-child)::after { right: -16px; }
.c-step__no {
  position: absolute;
  left: 50%;
  top: -18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -19px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-green-deep);
  box-shadow: 0 0 0 4px #fff;
}
.c-step__en { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--c-green); }
.c-step__title { display: block; margin-top: 4px; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--c-ink); }
.c-step__text { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--c-muted); text-align: left; }

/* ---------- 縦タイムライン ---------- */
.c-timeline { position: relative; margin-top: 40px; padding-left: 36px; }
.c-timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(#129a6e, #9fd3bf); }
.c-timeline li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.c-timeline li::before { content: ""; position: absolute; left: -33px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-white); border: 3px solid var(--c-green); }
.c-timeline time { font-family: var(--font-en); font-size: 18px; font-weight: 700; color: var(--c-green); }
.c-timeline p { font-size: 15px; line-height: 1.8; color: var(--c-ink); }

/* ---------- 緑のパネル ---------- */
.c-panel {
  padding: 34px 38px;
  border-radius: var(--radius);
  color: var(--c-white);
  background: linear-gradient(120deg, #11936b 0%, #0c6d5d 100%);
  box-shadow: 0 12px 28px rgba(12, 110, 85, 0.18);
}
.c-panel__label { font-family: var(--font-en); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-yellow); }
.c-panel__title { margin-top: 10px; font-size: 22px; font-weight: 700; line-height: 1.6; }
.c-panel p:not(.c-panel__label) { margin-top: 12px; font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, 0.92); }

/* ---------- フォーム ---------- */
.c-form { display: grid; gap: 26px; }
.c-field { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.c-field__label { padding-top: 14px; font-size: 15px; font-weight: 700; color: var(--c-ink); }
.c-field__req, .c-field__opt { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.c-field__req { color: var(--c-white); background: #d9534f; }
.c-field__opt { color: var(--c-muted); background: #edf1f0; }
.c-field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-input, .c-select, .c-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #c9ddd4;
  border-radius: 6px;
  font: inherit;
  font-size: 16px;
  color: var(--c-ink);
  background: var(--c-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.c-input:focus, .c-select:focus, .c-textarea:focus { outline: none; border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(18, 154, 110, 0.15); }
.c-textarea { min-height: 180px; resize: vertical; }
.c-select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23129a6e' stroke-width='2'/%3E%3C/svg%3E") right 16px center no-repeat; }
.c-consent { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; }
.c-consent input { width: 20px; height: 20px; accent-color: var(--c-green); }
.c-consent a { color: var(--c-green-deep); text-decoration: underline; }
.c-form__submit { justify-self: center; min-width: 340px; border: 0; cursor: pointer; }

/* ---------- 記事一覧・記事 ---------- */
.c-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.c-tabs button {
  padding: 9px 22px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-green-deep);
  background: var(--c-white);
  cursor: pointer;
}
.c-tabs button.is-active, .c-tabs button:hover { color: var(--c-white); border-color: var(--c-green); background: var(--c-green); }
.c-post { display: flex; flex-direction: column; overflow: hidden; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); transition: box-shadow 0.2s, transform 0.2s; }
.c-post:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.c-post .c-photo { border-radius: 0; aspect-ratio: 16 / 9; }
.c-post__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.c-post__meta { display: flex; align-items: center; gap: 12px; }
.c-post__cat { padding: 3px 10px; border-radius: 3px; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--c-white); background: var(--c-green); }
.c-post__meta time { font-family: var(--font-en); font-size: 13px; color: var(--c-muted); }
.c-post__title { margin-top: 12px; font-size: 17px; font-weight: 700; line-height: 1.65; color: var(--c-ink); }
.c-post__more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--c-green-deep); }
.c-pager { display: flex; justify-content: center; gap: 10px; margin-top: 52px; }
.c-pager a, .c-pager span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 50%; font-family: var(--font-en); font-weight: 700; color: var(--c-green-deep); background: var(--c-white); }
.c-pager .is-current { color: var(--c-white); border-color: var(--c-green); background: var(--c-green); }

.c-article { max-width: 860px; margin: 0 auto; }
.c-article__meta { display: flex; align-items: center; gap: 14px; }
.c-article__title { margin-top: 18px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.5; color: var(--c-ink); }
.c-article__kv { margin-top: 32px; }
.c-toc { margin-top: 36px; padding: 26px 32px; border-radius: var(--radius); background: var(--c-mint); }
.c-toc__title { font-family: var(--font-en); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-green); }
.c-toc ol { margin-top: 10px; padding-left: 1.4em; list-style: decimal; }
.c-toc li { padding: 4px 0; font-size: 15px; }
.c-toc a { color: var(--c-green-deep); }
.c-article__body { margin-top: 40px; }
.c-article__body > p { margin-top: 18px; font-size: 16px; line-height: 2.05; }
.c-article__body h2 {
  margin-top: 56px;
  padding: 4px 0 4px 18px;
  border-left: 5px solid var(--c-green);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
}
.c-formula { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 28px; padding: 30px; border-radius: var(--radius); background: var(--c-mint); }
.c-formula span { padding: 14px 26px; border-radius: 999px; font-size: 18px; font-weight: 700; color: var(--c-ink); background: var(--c-white); box-shadow: var(--shadow-card); }
.c-formula b { font-size: 34px; color: #d9534f; }

/* ---------- ポリシー ---------- */
.c-policy { max-width: 900px; margin: 0 auto; }
.c-policy__intro { font-size: 15px; line-height: 2; }
.c-policy h2 { margin-top: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); font-size: 21px; font-weight: 700; color: var(--c-ink); }
.c-policy h2 + p { margin-top: 16px; font-size: 15px; line-height: 2; }

/* ---------- シンプルなページヘッダー（写真なし） ---------- */
.page-hero--simple { background-image: none !important; }
.page-hero--simple::before { background: linear-gradient(90deg, #f4fbf8 0%, #eaf7f1 100%); }
.page-hero--simple .page-hero__inner { padding-top: 56px; padding-bottom: 56px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .card-grid--4, .card-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .c-steps--7 { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .c-steps--7 .c-step:nth-child(4n)::after { display: none; }
  .c-steps--5 { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .c-steps--5 .c-step:nth-child(3n)::after { display: none; }
}
@media (max-width: 900px) {
  .sec { padding: 56px 0 64px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-sub { margin-top: 52px; padding-top: 40px; }
  .split, .split--text-wide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split--reverse > :first-child { order: 0; }
  .card-grid--2, .card-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .c-check--2col { grid-template-columns: 1fr; }
  .c-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .c-steps--4, .c-steps--5, .c-steps--7 { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .c-step:not(:last-child)::after,
  .c-steps--7 .c-step:not(:last-child)::after { display: block !important; right: auto; left: 50%; top: auto; bottom: -24px; border: 6px solid transparent; border-top: 9px solid var(--c-green); transform: translateX(-50%); }
  .c-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .c-field { grid-template-columns: 1fr; gap: 8px; }
  .c-field__label { padding-top: 0; }
  .c-form__submit { min-width: 0; width: 100%; }
  .c-formula { flex-direction: column; gap: 10px; }
  .c-panel { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .card-grid--4, .card-grid--5 { grid-template-columns: minmax(0, 1fr); }
  .c-field__row { grid-template-columns: 1fr; }
}

/* ---------- 記事末尾 / 404 ---------- */
.art-check { margin-top: 22px; }
.art-check li { font-size: 16px; }
.art-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.art-foot .c-link { margin-top: 0; }
.nf { text-align: center; }
.nf__code { font-family: var(--font-en); font-size: 120px; font-weight: 900; line-height: 1; color: var(--c-green); opacity: 0.25; }
.nf .c-large { margin-top: 10px; }
.nf .c-text { margin-top: 10px; }
.nf .c-btn { margin-top: 32px; }
.page-hero--simple .page-hero__title { font-size: clamp(28px, 3vw, 42px); }

/* ---------- ページヘッダーなしのページ（企業情報・お問い合わせ）: パンくず直下の余白 ---------- */
.breadcrumb + .sec, .breadcrumb + section { padding-top: 56px; }

/* ---------- スマホ最適化（2026-10-14） ---------- */
@media (max-width: 600px) {
  /* 表：横スクロールをやめ、1行ずつカードで表示 */
  .c-table-wrap { overflow: visible; }
  .c-table { min-width: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .c-table, .c-table tbody { display: block; }
  .c-table thead { display: none; }
  .c-table tr { display: block; margin-bottom: 12px; overflow: hidden; background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow-card); }
  .c-table tbody th { display: block; padding: 12px 18px; white-space: normal; border-bottom: 1px solid var(--c-line); }
  .c-table th, .c-table td { width: auto !important; text-align: left !important; }
  .c-table td { display: flex; gap: 14px; padding: 12px 18px; }
  .c-table td::before { content: attr(data-label); flex: 0 0 8.2em; font-size: 13px; font-weight: 700; line-height: 1.9; color: var(--c-muted); }
  .c-table tr td:last-child { border-bottom: 0; }
  /* 7工程のフロー：縦に1行ずつコンパクトに */
  .c-steps--7 { gap: 18px; margin-top: 28px; }
  .c-steps--7 .c-step { display: flex; align-items: center; gap: 14px; padding: 12px 16px; text-align: left; }
  .c-steps--7 .c-step__no { position: static; flex: none; width: 34px; height: 34px; margin: 0; box-shadow: none; }
  .c-steps--7 .c-step__en { display: none; }
  .c-steps--7 .c-step__title { margin-top: 0; font-size: 16px; }
  .c-steps--7 .c-step:not(:last-child)::after { bottom: -16px; border-width: 5px; border-top-width: 7px; }
}

/* 記事一覧：同じ行のカードの高さを揃え「記事を読む」を下揃え（2026-10-15） */
li > .c-post { height: 100%; }
