/* =========================================================
   Project : はじめのいちだま
   File    : 07-type-recommend.css
   Version : 2.1.0
   Updated : 2026-08-02
========================================================= */

.hitotama-type {
  padding: var(--ht-section-space) 0;
  background: var(--ht-color-bg-warm);
}

.hitotama-type .ht-section-heading__eyebrow {
  padding-bottom: 0;
}

.hitotama-type .ht-section-heading__eyebrow::before {
  content: none;
}

.hitotama-type__grid {
  display: grid;
  margin-top: var(--ht-space-12);
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.type-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  padding: 26px 24px 24px;
  border: 0;
  background: var(--ht-color-surface);
  flex-direction: column;
}

.type-card__header {
  display: grid;
  min-height: 92px;
  margin-bottom: 18px;
  align-items: center;
  gap: 14px;
  grid-template-columns: 56px minmax(0, 1fr);
}

.type-card__icon-placeholder {
  display: inline-flex;
  width: 56px;
  aspect-ratio: 1 / 1;
  border: 1px dashed #cbbfc0;
  background: var(--ht-color-primary-soft);
  color: #9f898a;
  align-items: center;
  justify-content: center;
}

.type-card__icon-placeholder span {
  font-size: 0.625rem;
  font-weight: var(--ht-font-weight-bold);
  letter-spacing: 0.08em;
}

.type-card__heading {
  min-width: 0;
}

.type-card__tag {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 3px 8px;
  background: #b58f90;
  color: var(--ht-color-surface);
  font-size: 0.8125rem;
  font-weight: var(--ht-font-weight-extra-bold);
  line-height: 1.5;
}

.type-card__title {
  margin: 7px 0 0;
  color: var(--ht-color-text);
  font-size: clamp(1.25rem, 1.12rem + 0.38vw, 1.5rem);
  font-weight: var(--ht-font-weight-extra-bold);
  line-height: 1.45;
}

.type-card__text {
  min-height: 5.7em;
  margin: 0;
  color: var(--ht-color-text-sub);
  font-size: var(--ht-font-size-body);
  line-height: var(--ht-line-height-body);
}

.type-card__school {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ht-color-border);
}

.type-card__school-label {
  margin: 0;
  color: var(--ht-color-text-muted);
  font-size: 0.8125rem;
  font-weight: var(--ht-font-weight-bold);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.type-card__school-list {
  display: grid;
  margin-top: 7px;
  color: var(--ht-color-text);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  font-weight: var(--ht-font-weight-bold);
  line-height: 1.7;
  letter-spacing: 0.01em;
  gap: 3px;
}

.hitotama-type__note {
  margin: 18px 0 0;
  color: var(--ht-color-text-muted);
  font-size: var(--ht-font-size-note);
  line-height: 1.7;
}

.hitotama-type__footer-action {
  display: flex;
  margin-top: 32px;
  justify-content: center;
}

.hitotama-type__button {
  width: min(100%, 420px);
  min-height: 56px;
  border-radius: var(--ht-button-radius);
}

@media (max-width: 1023px) {
  .hitotama-type__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hitotama-type {
    padding: var(--ht-section-space-sp) 0;
  }

  .hitotama-type__grid {
    max-width: 760px;
    margin: 30px auto 0;
    grid-template-columns: 1fr;
  }

  .type-card {
    padding: 22px 20px 20px;
  }

  .type-card__header {
    min-height: 86px;
    margin-bottom: 16px;
    gap: 12px;
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .type-card__icon-placeholder {
    width: 50px;
  }

  .type-card__school-list {
    font-size: 1rem;
  }

}

/* =========================================================
   File Information
   Updated : 2026-08-02 JST
   Status  : Latest
========================================================= */