@charset "UTF-8";
/* =========================================================
   CREAGENCY ソリューションページ専用CSS
   共通パーツ・ページヒーロー・パンくずは common.css
   ========================================================= */

.page-solutions { overflow-x: hidden; }
.sec { position: relative; padding: 72px 0 80px; }
.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%);
}

/* ---------- 悩み別インデックス ---------- */
.sol-index {
  padding-top: 64px;
  padding-bottom: 72px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 70%, rgba(168, 222, 196, 0.22) 70.1%, rgba(255, 255, 255, 0) 92%),
    linear-gradient(180deg, #eef8f4 0%, #f4faf7 100%);
}
.sol-index__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.sol-index__head .c-title { font-size: clamp(26px, 2.7vw, 38px); }
.sol-index__lead { padding-bottom: 6px; font-size: 15px; line-height: 1.9; color: var(--c-muted); }
.sol-anchors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 32px; }
.sol-anchor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 22px 20px 76px;
  text-align: center;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.sol-anchor:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: #b8e0cf; }
.sol-anchor__no { position: absolute; left: 20px; top: 16px; font-family: var(--font-en); font-size: 26px; font-weight: 700; line-height: 1; color: var(--c-green); }
.sol-anchor__img { display: block; height: 72px; width: auto; margin: 22px auto 20px; }
.sol-anchor__en { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--c-green); }
.sol-anchor__title { margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.55; color: var(--c-ink); word-break: auto-phrase; text-wrap: balance; }
.sol-anchor__arrow {
  position: absolute;
  left: 50%;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -19px;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--c-green);
  background: #e3f4ec;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.sol-anchor:hover .sol-anchor__arrow { color: var(--c-white); background: var(--c-green); }
.sol-anchor:hover .sol-anchor__arrow { transform: translateY(3px); }
.sol-extra-link {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 14px;
  padding: 22px 30px;
  border-radius: var(--radius);
  color: var(--c-white);
  background: linear-gradient(100deg, #0f8a66 0%, #0c6d5d 100%);
  box-shadow: 0 10px 24px rgba(12, 110, 85, 0.16);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sol-extra-link:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(12, 110, 85, 0.22); }
.sol-extra-link__label { font-family: var(--font-en); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-yellow); }
.sol-extra-link__title { font-size: 20px; font-weight: 700; }
.sol-extra-link__arrow { margin-left: auto; font-family: Arial, sans-serif; font-weight: 700; font-size: 18px; }

/* ---------- 詳細セクション ---------- */
.sol-detail__head { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.sol-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 16px 22px;
  text-align: center;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.sol-badge__no { font-family: var(--font-en); font-size: 44px; font-weight: 700; line-height: 1; color: var(--c-green); }
.sol-badge__img { height: 64px; width: auto; margin: 18px 0 16px; }
.sol-badge__en { font-family: var(--font-en); font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: 0.1em; color: var(--c-green-deep); }
.sol-detail__label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-green-deep);
  background: #dff3ea;
}
.sol-detail__title { margin-top: 0 !important; font-size: clamp(26px, 2.7vw, 38px); }
.sol-detail__lead { margin-top: 20px; max-width: 900px; font-size: 16px; line-height: 2; }

/* Problem → Answer */
.sol-pa { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; margin-top: 44px; }
.sol-pa__card { padding: 34px 36px 36px; border-radius: var(--radius); }
.sol-pa__card--problem { background: var(--c-white); border: 1px solid var(--c-line); }
.sol-pa__card--answer {
  color: var(--c-white);
  background: linear-gradient(120deg, #11936b 0%, #0c6d5d 100%);
  box-shadow: 0 12px 28px rgba(12, 110, 85, 0.18);
}
.sol-pa__label { font-family: var(--font-en); font-size: 16px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-green); }
.sol-pa__card--answer .sol-pa__label { color: var(--c-yellow); }
.sol-pa__card h3 { margin-top: 14px; font-size: 22px; font-weight: 700; line-height: 1.6; color: var(--c-ink); }
.sol-pa__card--answer h3 { color: var(--c-white); }
.sol-pa__card--answer p:not(.sol-pa__label) { margin-top: 16px; font-size: 15px; line-height: 2; color: rgba(255, 255, 255, 0.92); }
.sol-pa__list { margin-top: 18px; }
.sol-pa__list li { position: relative; padding: 10px 0 10px 22px; border-top: 1px dashed var(--c-line); font-size: 15px; line-height: 1.8; }
.sol-pa__list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: #9bcdb8; }
.sol-pa__shift { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.sol-pa__shift span { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--c-green); writing-mode: vertical-rl; }
.sol-pa__shift b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  color: var(--c-white);
  background: var(--grad-green);
  box-shadow: 0 6px 16px rgba(18, 154, 110, 0.3);
}

/* How we solve it */
.sol-how { margin-top: 56px; }
.sol-how__title { margin-top: 12px; font-size: 24px; font-weight: 700; color: var(--c-ink); }
.sol-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 30px; }
.sol-step {
  position: relative;
  padding: 34px 24px 26px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.sol-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -21px;
  top: 50%;
  border: 7px solid transparent;
  border-left: 10px solid var(--c-green);
  transform: translateY(-50%);
}
.sol-step__no {
  position: absolute;
  left: 20px;
  top: -20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-green-deep);
  box-shadow: 0 0 0 4px #fff;
}
.sol-step h4 { font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--c-ink); }
.sol-step p { margin-top: 10px; font-size: 15px; line-height: 1.85; color: var(--c-muted); }

/* Recommended for */
.sol-fit {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 36px;
  align-items: center;
  margin-top: 48px;
  padding: 30px 36px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.sol-fit__head h3 { margin-top: 10px; font-size: 21px; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.sol-fit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.sol-fit__list li { position: relative; padding-left: 28px; font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--c-ink); }
.sol-fit__list li::before {
  /* CSSチェックマーク（幅 > 高さ で正しい非対称形） */
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--c-green);
  border-bottom: 2.5px solid var(--c-green);
  transform: translateY(-70%) rotate(-45deg);
}
.sol-fit__btn { min-width: 320px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .sol-anchors { grid-template-columns: repeat(3, 1fr); }
  .sol-fit { grid-template-columns: 1fr 1fr; }
  .sol-fit__btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .sec { padding: 52px 0 60px; }
  .sol-index__head { flex-direction: column; align-items: flex-start; }
  .sol-index__lead br { display: none; }
  .sol-anchors { grid-template-columns: 1fr 1fr; }
  .sol-extra-link { flex-wrap: wrap; gap: 6px 20px; }
  .sol-detail__head { grid-template-columns: 1fr; gap: 24px; }
  .sol-badge { flex-direction: row; justify-content: flex-start; gap: 18px; padding: 16px 20px; }
  .sol-badge__img { margin: 0; height: 44px; }
  .sol-pa { grid-template-columns: 1fr; }
  .sol-pa__shift { flex-direction: row; padding: 14px 0; }
  .sol-pa__shift span { writing-mode: horizontal-tb; }
  .sol-pa__shift b { transform: rotate(90deg); }
  .sol-pa__card { padding: 26px 22px; }
  .sol-steps { grid-template-columns: 1fr; gap: 34px; }
  .sol-step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -24px; border: 7px solid transparent; border-top: 10px solid var(--c-green); transform: translateX(-50%); }
  .sol-fit { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
  .sol-fit__head h3 { white-space: normal; }
  .sol-fit__btn { min-width: 0; width: 100%; }
}
@media (max-width: 560px) {
  .sol-anchors { grid-template-columns: 1fr; }
  .sol-fit__list { grid-template-columns: 1fr; }
}

/* ---------- スマホ最適化（2026-10-14）：お悩みカードを2列に ---------- */
@media (max-width: 560px) {
  .sol-anchors { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sol-anchors li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sol-anchor { padding: 16px 12px 60px; }
  .sol-anchor__no { left: 14px; top: 14px; font-size: 20px; }
  .sol-anchor__img { height: 52px; margin: 18px auto 12px; }
  .sol-anchor__en { font-size: 12px; letter-spacing: 0.1em; }
  .sol-anchor__title { font-size: 15px; }
  .sol-anchor__arrow { bottom: 14px; width: 32px; height: 32px; margin-left: -16px; font-size: 14px; }
}

/* SPでは矢印上の「SHIFT」を非表示（2026-10-15） */
@media (max-width: 900px) {
  .sol-pa__shift span { display: none; }
}
