/* ===================================
   TOPページ専用スタイル
=================================== */

/* --- ヒーロー --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #1a2e4a 0%, #243d61 60%, #1a3a5c 100%);
}

/* グラフィックアクセント */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: rgba(232,98,42,0.07);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(26,46,74,0.6), transparent);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  max-width: 700px;
}

.hero__label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: 20px;
}

/* タイプライターブロック */
.hero__typewriter-block {
  display: block;
  min-height: 1.5em;
  margin-bottom: 24px;
}

.hero__typewriter-text {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
}

.hero__cursor {
  display: inline-block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--color-white);
  margin-left: 2px;
  animation: cursorBlink 0.75s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__btn-outline {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.hero__btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollLine 1.6s ease-in-out infinite;
}

.hero__scroll p {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- 3つの強み --- */
.strengths {
  background: var(--color-white);
}

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.strength-item {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--color-gray-mid);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.strength-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(232,98,42,0.1);
  transform: translateY(-4px);
}

.strength-item__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.strength-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.strength-item__desc {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* --- フロー --- */
.section-header {
  margin-bottom: 48px;
}

.flow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 40px;
}

.flow__step {
  flex: 1;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.flow__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}

.flow__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.flow__desc {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

.flow__arrow {
  font-size: 1.8rem;
  color: var(--color-accent);
  align-self: center;
  flex-shrink: 0;
  padding-top: 0;
}

.services-overview__cta {
  text-align: center;
}

/* --- 印刷種別 --- */
.print-types__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.print-type-card {
  padding: 28px 20px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.print-type-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.print-type-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.print-type-card p {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* --- CTAバナー --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, #c0501e 100%);
  padding: 64px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner__title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.cta-banner__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

/* --- 採用バナー --- */
.recruit-banner {
  background: var(--color-gray);
}

.recruit-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.recruit-banner__title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.recruit-banner__desc {
  font-size: 0.875rem;
  color: var(--color-text-sub);
}

/* --- レスポンシブ --- */
@media (max-width: 900px) {
  .print-types__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .strengths__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow {
    flex-direction: column;
    gap: 12px;
  }

  .flow__arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .print-types__grid {
    grid-template-columns: 1fr;
  }

  .cta-banner__inner,
  .recruit-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }
}
