/* ==========
header
============*/
#header {
  max-height: 100px;
}

/* ==========
works
============*/
.work-title {
  text-transform: none;
  font-weight: normal;
}

/* ==========
works-card
============*/
.works-card-container {
	opacity: 0;
	transform: translateY(30px);
}

.works-card-container.is-visible {
	animation: worksFadeInUp 0.8s ease forwards;
}

@keyframes worksFadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/* ==========
timeline 
============*/

.timeline-item {
  padding: 3.5em 2em 2em;
  margin-left: 1em;
  position: relative;
  color: rgba(0, 0, 0, 0.7);
  border-left: 2px solid rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
}
.timeline-item.is-visible {
  animation: worksFadeInUp 0.8s ease forwards;
}

.timeline-item h3, .timeline-item h5 {
  font-weight: bold;
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 0.8rem;
  margin-bottom: 0;
}
.timeline-item::before {
  content: attr(date-is);
  position: absolute;
  left: 2em;
  font-weight: bold;
  top: 1em;
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 0.785rem;
}
.timeline-item::after {
  width: 15px;
  height: 15px;
  display: block;
  top: 1.3em;
  position: absolute;
  left: -8px;
  border-radius: 10px;
  content: "";
  border: 2px solid rgba(0, 0, 0, 0.3);
  background: white;
}
.timeline-item:last-child {
  -o-border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0)) 1 100%;
  border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0)) 1 100%;
}


/* ==========
contact - 下書きに入る項目カード（コンパクト化）
============*/
.draft-items .box-content {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
/* アイコンは残しつつ小さく */
.draft-items .icon-featured {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  font-size: 1rem;
}
.draft-items h4 {
  font-size: 0.95rem;
}
.draft-items p {
  font-size: 0.8rem;
}

/* スマホ・タブレット（<992px）: アイコン＋h4＋p を横並びにして縦幅を短く */
@media (max-width: 991.98px) {
  .draft-items .box-content {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: center;
    column-gap: 0.85rem;
    text-align: left;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }
  .draft-items .icon-featured {
    grid-row: 1 / 3;
    grid-column: 1;
    margin-bottom: 0 !important;
  }
  .draft-items h4 {
    grid-column: 2;
    margin-bottom: 0 !important;
    align-self: end;
  }
  .draft-items p {
    grid-column: 2;
    align-self: start;
  }
}


/* ==========
page-header - スマホ表示時のpadding調整
============*/
@media (max-width: 767.98px) {
  .page-header.page-header-modern.page-header-md {
    padding: 35px 0;
  }
}


/* ==========
contact - ご相談内容の例タグ
============*/
.example-tag {
  display: inline-block;
  background-color: rgba(79, 181, 147, 0.14); /* secondary #4fb593 の薄い緑 */
  color: #3e9377;                              /* secondary-300 系の文字 */
  border: 1px solid rgba(79, 181, 147, 0.30);
  border-radius: 6px;                          /* 角丸は控えめ */
  padding: 0.35em 0.85em;
  font-weight: 500;
  line-height: 1.6;
}

