@charset "UTF-8";
/*
 * 無料AI活用診断（/ai-shindan/）2026.08
 * 角丸は4px以下、ぼかし影は使わない、区切りは1pxの線と背景色の差で出す
 */

.ais-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヒーロー ---------- */
.ais-hero {
  padding: 120px 0 56px;
  background: #faf6ef;
}
.ais-hero__cat {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #f29600;
}
.ais-hero__title {
  margin-top: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.5;
  color: #16243f;
}
.ais-hero__lead {
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  color: #333333;
}

/* ---------- 入力 ---------- */
.ais-form-sec {
  padding: 56px 0 72px;
  background: #fff;
}
.ais-error {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid #e73828;
  border-radius: 4px;
  background: #fdf3f2;
  font-size: 14px;
  font-weight: 700;
  color: #b91c1c;
}

.ais-block + .ais-block {
  margin-top: 40px;
}
.ais-block__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #16243f;
  line-height: 1.5;
}
.ais-block__title em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}
.ais-block__no {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f29600;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ais-choices {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .ais-choices { grid-template-columns: repeat(4, 1fr); }
  .ais-choices--wide { grid-template-columns: repeat(2, 1fr); }
}

.ais-choice {
  display: block;
  cursor: pointer;
}
.ais-choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ais-choice span {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  transition: border-color .2s ease-out, background-color .2s ease-out;
}
.ais-choice:hover span {
  border-color: #f29600;
}
.ais-choice input:checked + span {
  border-color: #f29600;
  background: #fff7ed;
  font-weight: 700;
  color: #16243f;
}
.ais-choice input:focus-visible + span {
  outline: 2px solid #f29600;
  outline-offset: 2px;
}

.ais-submit {
  margin-top: 44px;
  text-align: center;
}
.ais-submit__note {
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
}

.ais-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 16px 30px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease-out;
}
.ais-btn--primary {
  background: #f29600;
  border-color: #f29600;
  color: #fff;
}
.ais-btn--primary:hover {
  background: #d98700;
  border-color: #d98700;
}
.ais-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}
.ais-btn--ghost:hover {
  background: #fff;
  color: #16243f;
}

/* ---------- 結果 ---------- */
.ais-result {
  padding: 72px 0;
  background: #faf6ef;
}
.ais-result__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #f29600;
}
.ais-result__title {
  margin-top: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.6;
  color: #16243f;
}
.ais-result__hint {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid #f29600;
  background: #fff;
  font-size: 14px;
  line-height: 1.9;
  color: #333333;
}

.ais-tasks {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.ais-task {
  border: 1px solid #efe8e0;
  border-radius: 4px;
  background: #fff;
  padding: 24px;
}
.ais-task__no {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: #16243f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ais-task__title {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: #16243f;
}
.ais-task__rows {
  margin-top: 16px;
}
.ais-task__rows > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid #efe8e0;
}
@media screen and (min-width: 768px) {
  .ais-task__rows > div {
    grid-template-columns: 130px 1fr;
    gap: 16px;
  }
}
.ais-task__rows dt {
  font-size: 13px;
  font-weight: 700;
  color: #f29600;
}
.ais-task__rows dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #333333;
}

.ais-result__more {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #6b7280;
}
.ais-advice {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid #efe8e0;
  border-radius: 4px;
  background: #fff;
}
.ais-advice__title {
  font-size: 14px;
  font-weight: 700;
  color: #f29600;
}
.ais-advice__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: #333333;
}
.ais-result__note {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.9;
  color: #6b7280;
}

/* ---------- 診断前の補足 ---------- */
.ais-about {
  padding: 64px 0 80px;
  background: #faf6ef;
}
.ais-about__title {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: #16243f;
  padding-bottom: 12px;
  border-bottom: 2px solid #f29600;
}
.ais-about__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media screen and (min-width: 768px) {
  .ais-about__grid { grid-template-columns: repeat(3, 1fr); }
}
.ais-about__item {
  border: 1px solid #efe8e0;
  border-radius: 4px;
  background: #fff;
  padding: 20px;
}
.ais-about__name {
  font-size: 15px;
  font-weight: 700;
  color: #16243f;
}
.ais-about__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: #333333;
}

/* ---------- CTA ---------- */
.ais-cta {
  padding: 64px 0;
  background: #16243f;
  color: #fff;
}
.ais-cta__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.ais-cta__text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
  color: #dcdcdc;
}
.ais-cta__btns {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media screen and (min-width: 600px) {
  .ais-cta__btns { flex-direction: row; justify-content: center; }
}

@media screen and (max-width: 599px) {
  .ais-btn { min-width: 100%; }
  .ais-choices { grid-template-columns: 1fr 1fr; }
  .ais-choices--wide { grid-template-columns: 1fr; }
}

/* h1は検索される言葉を入れる小さい見出しにする（2026.08） */
.ais-hero__h1 {
  margin: 10px 0 30px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.6;
  color: #f29600;
}

/* ヒーローをセンター揃えに。小見出し（ais-hero__cat）は撤去済み（2026.08） */
.ais-hero {
  text-align: center;
}
.ais-hero__title {
  margin-top: 0;
}
