/*
Theme Name: Huddle Works
Theme URI:
Template: lightning
Description:
Author:wag
Tags:
Version: 0.6.0
*/


.hw-hero-wrap {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight:100;
  background: #ffffff;
  padding: 80px 40px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}
.hw-hero-wrap * { box-sizing: border-box; }

.hw-hero-left {}

.hw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #2d5be3;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hw-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d5be3;
  flex-shrink: 0;
}

.hw-hero-h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1e2533;
  line-height: 1.4;
  margin: 0 0 18px;
  padding: 0;
}
.hw-hero-h1 span { color: #2d5be3; }

.hw-hero-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
  margin: 0 0 30px;
  max-width: 420px;
}

.hw-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hw-btn-primary {
  background: #2d5be3;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 7px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  font-family: inherit;
}
.hw-btn-primary:hover { background: #1e46c0; color: #fff; text-decoration: none; }
.hw-btn-secondary {
  background: transparent;
  color: #1e2533;
  padding: 13px 26px;
  border-radius: 7px;
  border: 1.5px solid #d0d5e0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s;
  font-family: inherit;
}
.hw-btn-secondary:hover { border-color: #2d5be3; color: #2d5be3; text-decoration: none; }

/* RIGHT: カード */
.hw-hero-right {
  position: relative;
  height: 280px;
}
.hw-hero-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid #e8eaf2;
  border-radius: 12px;
  padding: 16px 18px;
}
.hw-card-main {
  width: 60%;
  top: 20px;
  left: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.hw-card-small {
  width: 240px;
  bottom: 30px;
  right: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.hw-card-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 6px;
}
.hw-card-value {
  font-size: 32px;
  font-weight: 700;
  color: #1e2533;
}
.hw-card-value-sm {
  font-size: 28px;
  font-weight: 700;
  color: #1e2533;
}
.hw-card-unit {
  font-size: 13px;
  font-weight: 400;
}
.hw-card-sub {
  font-size: 11px;
  color: #2d5be3;
  margin-top: 3px;
}
.hw-bar-row {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 44px;
  margin-top: 12px;
}
.hw-bar {
  background: #eef2ff;
  border-radius: 3px 3px 0 0;
  flex: 1;
}
.hw-bar.active { background: #2d5be3; }

/* レスポンシブ */
@media (max-width: 768px) {
  .hw-hero-wrap {
    grid-template-columns: 1fr;
    padding: 50px 20px 40px;
    gap: 40px;
  }
  .hw-hero-right {
    height: 240px;
  }
  .hw-hero-h1 { font-size: 26px; }
}
.hw-services-wrap {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  background: #ffffff;
  padding: 70px 40px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}
.hw-services-wrap * { box-sizing: border-box; }

.hw-services-label {
  font-size: 11px;
  font-weight: 700;
  color: #2d5be3;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hw-services-h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e2533;
  margin: 0 0 10px;
  padding: 0;
}
.hw-services-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
  max-width: 520px;
  margin: 0 0 40px;
}

.hw-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hw-service-card {
  background: #f8f9fc;
  border: 1px solid #eaecf4;
  border-radius: 14px;
  padding: 24px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hw-service-card:hover {
  box-shadow: 0 6px 24px rgba(45,91,227,0.09);
  transform: translateY(-2px);
}

.hw-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hw-icon-blue   { background: #eef2ff; }
.hw-icon-green  { background: #e8f5e9; }
.hw-icon-amber  { background: #fff8e1; }
.hw-icon-teal   { background: #e0f4f0; }
.hw-icon-purple { background: #f3eeff; }

.hw-service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e2533;
  margin: 0 0 10px;
  padding: 0;
}
.hw-service-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0 0 16px;
}
.hw-service-link {
  font-size: 12px;
  font-weight: 600;
  color: #2d5be3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hw-service-link:hover { text-decoration: underline; color: #1e46c0; }
.hw-service-link::after { content: '→'; }

/* お問い合わせカード */
.hw-service-card-cta {
  background: #1e2533;
  border: none;
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}
.hw-service-card-cta p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin: 0;
}
.hw-service-card-cta h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  padding: 0;
}
.hw-cta-link {
  background: #2d5be3;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  font-family: inherit;
}
.hw-cta-link:hover { background: #1e46c0; color: #fff; text-decoration: none; }

/* レスポンシブ */
@media (max-width: 900px) {
  .hw-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hw-services-wrap {
    padding: 50px 20px;
  }
  .hw-services-grid {
    grid-template-columns: 1fr;
  }
  .hw-services-h2 { font-size: 22px; }
}
.hw-flow-wrap {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  background: #f8f9fc;
  padding: 70px 40px;
  box-sizing: border-box;
}
.hw-flow-wrap * { box-sizing: border-box; }

.hw-flow-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hw-flow-label {
  font-size: 11px;
  font-weight: 700;
  color: #2d5be3;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hw-flow-h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e2533;
  margin: 0 0 10px;
  padding: 0;
}
.hw-flow-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
  margin: 0 0 50px;
}

/* ステップグリッド */
.hw-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* ステップ間の横線（PC） */
.hw-flow-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: #c5cfe8;
  z-index: 0;
}

.hw-flow-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.hw-step-num-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.hw-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2d5be3;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px #f8f9fc;
}

.hw-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #eaecf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.hw-flow-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1e2533;
  margin: 0 0 10px;
  padding: 0;
}
.hw-flow-step p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* 詳細カード */
.hw-flow-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.hw-flow-detail-card {
  background: #ffffff;
  border: 1px solid #eaecf4;
  border-radius: 12px;
  padding: 20px 18px;
}
.hw-flow-detail-card .hw-step-tag {
  display: inline-block;
  background: #eef2ff;
  color: #2d5be3;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.hw-flow-detail-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: #1e2533;
  margin: 0 0 8px;
  padding: 0;
}
.hw-flow-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hw-flow-detail-card ul li {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
}
.hw-flow-detail-card ul li::before {
  content: '•';
  position: absolute;
  left: 3px;
  color: #2d5be3;
}

/* 期間バー */
.hw-flow-period {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid #eaecf4;
  border-radius: 12px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hw-period-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e2533;
  white-space: nowrap;
}
.hw-period-bar-wrap {
  flex: 1;
  display: flex;
  gap: 4px;
  align-items: center;
}
.hw-period-seg {
  border-radius: 4px;
  height: 10px;
  background: #eef2ff;
}
.hw-period-seg.s1 { flex: 1; background: #bfcffa; }
.hw-period-seg.s2 { flex: 2; background: #8aaaf5; }
.hw-period-seg.s3 { flex: 2; background: #5580ef; }
.hw-period-seg.s4 { flex: 5; background: #2d5be3; }
.hw-period-note {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .hw-flow-steps,
  .hw-flow-detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .hw-flow-steps::before { display: none; }
  .hw-flow-period {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hw-period-bar-wrap { width: 100%; }
}
@media (max-width: 560px) {
  .hw-flow-wrap { padding: 50px 20px; }
  .hw-flow-steps,
  .hw-flow-detail-grid {
    grid-template-columns: 1fr;
  }
  .hw-flow-h2 { font-size: 22px; }
}

.has-black-background-color{
	background-color:#1d2533;
}