/*
Theme Name: 平井フリックス（Twenty Twenty-Five 子テーマ)
Template: twentytwentyfive
Author: 平井
Version: 1.0
Text Domain: twentytwentyfive-child
*/

/* 平井フリックス / Webの鍛冶屋 — minimal design */
.home.page-id-5 main.wp-block-group { margin-top: 0 !important; }
.home.page-id-5 main > .wp-block-group.alignfull { padding-top: 0 !important; padding-bottom: 0 !important; }
.home.page-id-5 .hws-page {
  width: min(100% - 40px, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0 72px;
  color: #1f2933;
  font-size: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.85;
}
.home.page-id-5 .hws-page * { box-sizing: border-box; }
.home.page-id-5 .hws-hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid #e7e5df;
}
.home.page-id-5 .hws-kicker,
.home.page-id-5 .hws-section-label {
  margin: 0 0 4px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home.page-id-5 .hws-hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  color: #111827;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0 !important;
}
.home.page-id-5 .hws-lead {
  max-width: 760px;
  margin: 0 0 14px;
  color: #1f2933;
  font-size: 18px;
  font-weight: 500;
}
.home.page-id-5 .hws-sublead {
  max-width: 760px;
  margin: 0 0 32px;
  color: #4b5563;
  font-size: 16px;
}
.home.page-id-5 .hws-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home.page-id-5 .hws-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.home.page-id-5 .hws-button-primary {
  border: 1px solid #1a1a1a;
  background: #1a1a1a;
  color: #ffffff;
}
.home.page-id-5 .hws-button-secondary {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
}
.home.page-id-5 .hws-section {
  padding: 56px 0;
  border-bottom: 1px solid #ece9e3;
}
.home.page-id-5 .hws-muted {
  background: transparent;
}
.home.page-id-5 .hws-section-head {
  margin-bottom: 24px;
}
.home.page-id-5 .hws-section h2 {
  margin: 0;
  color: #111827;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0 !important;
}
.home.page-id-5 .hws-section h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}
.home.page-id-5 .hws-problem-grid,
.home.page-id-5 .hws-service-grid,
.home.page-id-5 .hws-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home.page-id-5 .hws-problem-card,
.home.page-id-5 .hws-card,
.home.page-id-5 .hws-policy-grid > div,
.home.page-id-5 .hws-report,
.home.page-id-5 .hws-profile-box,
.home.page-id-5 .hws-final-cta {
  border: 1px solid #e5e2dc;
  border-radius: 12px;
  background: #ffffff;
}
.home.page-id-5 .hws-problem-card {
  padding: 18px;
  color: #1f2933;
  font-weight: 700;
}
.home.page-id-5 .hws-card,
.home.page-id-5 .hws-report,
.home.page-id-5 .hws-profile-box,
.home.page-id-5 .hws-final-cta {
  padding: 24px;
}
.home.page-id-5 .hws-card p,
.home.page-id-5 .hws-faq p,
.home.page-id-5 .hws-profile-box p {
  margin: 0 0 12px;
  color: #4b5563;
}
.home.page-id-5 .hws-card ul,
.home.page-id-5 .hws-list-two,
.home.page-id-5 .hws-profile-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}
.home.page-id-5 .hws-card li,
.home.page-id-5 .hws-list-two li,
.home.page-id-5 .hws-profile-tags li {
  position: relative;
  padding-left: 18px;
  color: #374151;
}
.home.page-id-5 .hws-card li::before,
.home.page-id-5 .hws-list-two li::before,
.home.page-id-5 .hws-profile-tags li::before {
  content: "";
  position: absolute;
  top: .85em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #111827;
}
.home.page-id-5 .hws-list-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.home.page-id-5 .hws-price-list {
  border-top: 1px solid #e5e2dc;
}
.home.page-id-5 .hws-price-list > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e2dc;
}
.home.page-id-5 .hws-price-list span {
  color: #374151;
  font-weight: 700;
}
.home.page-id-5 .hws-price-list strong {
  color: #111827;
  white-space: nowrap;
}
.home.page-id-5 .hws-note {
  margin: 16px 0 0;
  color: #6b7280;
  font-size: 14px;
}
.home.page-id-5 .hws-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home.page-id-5 .hws-flow li {
  padding: 18px;
  border: 1px solid #e5e2dc;
  border-radius: 12px;
  background: #ffffff;
  color: #374151;
  font-weight: 700;
}
.home.page-id-5 .hws-flow span {
  display: block;
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 13px;
}
.home.page-id-5 .hws-report dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 20px;
  margin: 0;
}
.home.page-id-5 .hws-report dt {
  color: #111827;
  font-weight: 800;
}
.home.page-id-5 .hws-report dd {
  margin: 0;
  color: #4b5563;
}
.home.page-id-5 .hws-policy-grid > div {
  padding: 18px;
  color: #374151;
  font-weight: 700;
}
.home.page-id-5 .hws-faq-list {
  display: grid;
  gap: 0;
}
.home.page-id-5 .hws-faq-list > div {
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e2dc;
}
.home.page-id-5 .hws-profile-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}
.home.page-id-5 .hws-name {
  color: #111827 !important;
  font-weight: 800;
  font-size: 18px;
}
.home.page-id-5 .hws-profile-tags {
  display: grid;
  gap: 12px;
}
.home.page-id-5 .hws-profile-tags strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #6b7280;
}
.home.page-id-5 .hws-final-cta {
  margin-top: 28px;
}
.home.page-id-5 .hws-final-cta .hws-note {
  color: #6b7280;
}
/* polish 2026-06-17: ヒーローの淡い青帯 / 作業ポリシーを安心材料として強調 */
.home.page-id-5 .hws-hero {
  padding: 8px 0 56px;
}
.home.page-id-5 .hws-safe {
  background: transparent;
}
.home.page-id-5 .hws-policy-grid > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
  border-color: #e5e2dc;
}
.home.page-id-5 .hws-policy-grid > div::before {
  content: "✓";
  flex: none;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #374151;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.home.page-id-5 .hws-report {
  background: #f6f8fb;
}
.home.page-id-5 .hws-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home.page-id-5 .hws-timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 20px;
  padding: 0 0 30px;
}
.home.page-id-5 .hws-timeline > li:last-child {
  padding-bottom: 0;
}
.home.page-id-5 .hws-timeline > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: #e0ddd6;
}
.home.page-id-5 .hws-step-no {
  align-self: start;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #d4d0c8;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.home.page-id-5 .hws-step-body {
  padding-top: 6px;
}
.home.page-id-5 .hws-step-body h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  color: #111827;
}
.home.page-id-5 .hws-step-body p {
  margin: 0;
  color: #4b5563;
}
.home.page-id-5 .hws-contact-lead {
  margin: 0 0 28px;
  max-width: 760px;
  color: #4b5563;
}
.home.page-id-5 .hws-subhead {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}
.home.page-id-5 .hws-contact-cta {
  margin: 28px 0 0;
}
.home.page-id-5 .hws-profile-tags li {
  padding-left: 0;
  color: #1f2933;
}
.home.page-id-5 .hws-profile-tags li::before {
  display: none;
}
.home.page-id-5 .hws-kicker {
  text-transform: none;
  letter-spacing: normal;
}
.home .wp-block-site-title a,
.home .wp-block-site-title a:hover,
.home .wp-block-site-title a:focus {
  color: #e50914;
}
.home.page-id-5 .hws-faq-item {
  border-top: 1px solid #e5e2dc;
}
.home.page-id-5 .hws-faq-item:last-child {
  border-bottom: 1px solid #e5e2dc;
}
.home.page-id-5 .hws-faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 32px 18px 0;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}
.home.page-id-5 .hws-faq-item summary::-webkit-details-marker {
  display: none;
}
.home.page-id-5 .hws-faq-item summary::before {
  content: "Q";
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}
.home.page-id-5 .hws-faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 23px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.home.page-id-5 .hws-faq-item[open] summary::after {
  transform: rotate(-135deg);
}
.home.page-id-5 .hws-faq-item > p {
  margin: 0;
  padding: 12px 0 24px 36px;
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: #4b5563;
}
.home.page-id-5 .hws-faq-item > p::before {
  content: "A";
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f0ede8;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}
.home header.wp-block-template-part,
.home footer.wp-block-template-part {
  background: #000000;
}
.home header .wp-block-navigation a,
.home header .wp-block-navigation .wp-block-navigation-item__content {
  color: #ffffff;
}
.home header .wp-block-navigation__responsive-container-open svg {
  fill: #ffffff;
}
.home .wp-block-navigation__responsive-container.is-menu-open {
  background-color: #000000 !important;
}
.home .wp-block-navigation__responsive-container.is-menu-open a {
  color: #ffffff;
}
.home .wp-block-navigation__responsive-container-close svg {
  fill: #ffffff;
}
.home.page-id-5 .hws-button-primary:hover {
  background: #000000;
  border-color: #000000;
}
.home.page-id-5 .hws-button-secondary:hover {
  background: #f4f3f1;
  border-color: #9ca3af;
}
.home.page-id-5 .hws-faq-item summary:focus {
  outline: none;
}
.home.page-id-5 .hws-faq-item summary:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 3px;
}
.home.page-id-5 .hws-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: block;
  margin: 0 0 16px;
}
.home.page-id-5 .hws-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.home.page-id-5 .hws-hero-text {
  min-width: 0;
}
.home.page-id-5 .hws-hero-flow {
  border: 1px solid #e5e2dc;
  border-radius: 12px;
  padding: 22px 24px;
  background: #ffffff;
}
.home.page-id-5 .hws-hero-flow-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}
.home.page-id-5 .hws-hero-flow ol {
  counter-reset: hstep;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.home.page-id-5 .hws-hero-flow li {
  counter-increment: hstep;
  position: relative;
  padding-left: 40px;
  color: #374151;
  font-weight: 600;
  line-height: 1.5;
}
.home.page-id-5 .hws-hero-flow li::before {
  content: "0" counter(hstep);
  position: absolute;
  left: 0;
  top: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #d4d0c8;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  color: #111827;
}
.home.page-id-5 .hws-problem-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.55;
}
.home.page-id-5 .hws-pi {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
@media (max-width: 800px) {
  .home.page-id-5 .hws-page {
    width: min(100% - 36px, 1200px);
    padding: 28px 0 56px;
  }
  .home.page-id-5 .hws-hero {
    padding: 4px 0 36px;
    grid-template-columns: 1fr;
  }
  .home.page-id-5 .hws-hero-flow {
    display: none;
  }
  .home.page-id-5 .hws-timeline > li {
    grid-template-columns: 38px 1fr;
    gap: 16px;
  }
  .home.page-id-5 .hws-hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .home.page-id-5 .hws-lead {
    font-size: 16px;
  }
  .home.page-id-5 .hws-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .home.page-id-5 .hws-button-primary {
    width: 100%;
  }
  .home.page-id-5 .hws-button-secondary {
    width: auto;
    min-height: 0;
    padding: 8px 4px;
    border: none;
    background: none;
    color: #374151;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .home.page-id-5 .hws-problem-grid,
  .home.page-id-5 .hws-service-grid,
  .home.page-id-5 .hws-policy-grid,
  .home.page-id-5 .hws-list-two,
  .home.page-id-5 .hws-flow,
  .home.page-id-5 .hws-profile-box {
    grid-template-columns: 1fr;
  }
  .home.page-id-5 .hws-muted,
  .home.page-id-5 .hws-safe {
    padding-inline: 0;
  }
  .home.page-id-5 .hws-section {
    padding: 42px 0;
  }
  .home.page-id-5 .hws-section h2 {
    font-size: 25px;
  }
  .home.page-id-5 .hws-price-list > div,
  .home.page-id-5 .hws-report dl {
    display: block;
  }
  .home.page-id-5 .hws-price-list strong {
    display: block;
    margin-top: 4px;
  }
  .home.page-id-5 .hws-report dt {
    margin-top: 14px;
  }
}

/* 症状別の確認方法（ブログ導線）2026-06-18追加 */
.home.page-id-5 .hws-guide-lead {
  margin: 0 0 16px;
  color: #4b5563;
}
.home.page-id-5 .hws-symptom-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.home.page-id-5 .hws-symptom-links li {
  margin: 0;
}
.home.page-id-5 .hws-symptom-links a {
  display: block;
  position: relative;
  padding: 14px 40px 14px 16px;
  border: 1px solid #e5e2dc;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2933;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.home.page-id-5 .hws-symptom-links a::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-weight: 400;
}
.home.page-id-5 .hws-symptom-links a:hover {
  border-color: #1f2933;
  background: #fafafa;
}
