/* Front page styles. Loaded only on the site front page. */

body.home {
  background: #f5f8fc !important;
}

body.home #wrapper,
body.home #content,
body.home #contentInner,
body.home main {
  background: transparent !important;
}

body.home #content {
  padding-top: 0 !important;
}

.shoukomi-home {
  background: #f5f8fc !important;
  color: #15233f !important;
}



.shoukomi-hero {
  position: relative !important;
  overflow: hidden !important;
  padding: 54px 20px 34px !important;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%) !important;
}

.shoukomi-hero__bg {
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 255, 1) 0%,
      rgba(248, 251, 255, 0.98) 34%,
      rgba(248, 251, 255, 0.78) 52%,
      rgba(248, 251, 255, 0.45) 72%,
      rgba(248, 251, 255, 0.24) 100%
    ),
    url("/wp-content/themes/affinger-child/images/top-hero.jpg") right center / auto 100% no-repeat !important;
  z-index: 0 !important;
}

.shoukomi-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(47, 109, 246, 0.08);
  z-index: 0;
}

.shoukomi-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: 40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(74, 201, 95, 0.12);
  z-index: 0;
}

.shoukomi-hero__inner {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

.shoukomi-hero__copy {
  max-width: 620px !important;
  margin-bottom: 24px !important;
}

.shoukomi-hero__eyebrow {
  margin: 0 0 12px !important;
  color: #274a7c !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.shoukomi-hero__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #10244d !important;
  font-size: clamp(42px, 5vw, 60px) !important;
  line-height: 1.16 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.shoukomi-hero__title span {
  color: #1f6ff2 !important;
}

.shoukomi-hero__text {
  margin: 0 !important;
  color: #34445f !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  font-weight: 600 !important;
}



.shoukomi-search-card {
  max-width: 1040px !important;
  margin-top: 28px !important;
  padding: 26px 30px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(199, 214, 235, 0.9) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 40px rgba(28, 61, 121, 0.12) !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(8px);
}

.shoukomi-search-card__label {
  margin: 0 0 14px !important;
  color: #1f2f4c !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.shoukomi-search-card__label::before {
  content: "剥";
  margin-right: 8px;
}

.shoukomi-search-form {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
}

.shoukomi-search-form input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 56px !important;
  padding: 0 18px !important;
  border: 1px solid #ccd8e8 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #1f2f4c !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
}

.shoukomi-search-form input::placeholder {
  color: #9aa7ba !important;
}

.shoukomi-search-form input:focus {
  outline: none !important;
  border-color: #2f6df6 !important;
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.12) !important;
}

.shoukomi-search-form button {
  width: 178px !important;
  height: 56px !important;
  border: none !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #2f7df6 0%, #1758db 100%) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 10px 22px rgba(31, 109, 242, 0.25) !important;
}

.shoukomi-search-form button:hover {
  opacity: 0.96 !important;
  transform: translateY(-1px);
}

.shoukomi-search-card__note {
  margin: 12px 0 0 !important;
  color: #75839a !important;
  font-size: 13px !important;
}



.shoukomi-hero-actions {
  max-width: 760px !important;
  margin: 22px auto 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

.shoukomi-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 0 30px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.shoukomi-btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.shoukomi-btn--outline {
  min-width: 240px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 2px solid #2f6df6 !important;
  color: #1f62df !important;
}

.shoukomi-btn--primary {
  min-width: 320px !important;
  background: linear-gradient(135deg, #2f7df6 0%, #1758db 100%) !important;
  color: #fff !important;
  border: 2px solid transparent !important;
  box-shadow: 0 12px 26px rgba(31, 109, 242, 0.25) !important;
}



.shoukomi-stats {
  max-width: 1180px !important;
  margin: 20px auto 24px !important;
  padding: 0 20px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
}

.shoukomi-stat-card {
  min-height: 96px !important;
  padding: 24px 28px !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  background: #fff !important;
  border: 1px solid #dfe8f5 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(28, 61, 121, 0.06) !important;
  box-sizing: border-box !important;
}

.shoukomi-stat-card__icon {
  width: 64px !important;
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 18px !important;
  background: #edf5ff !important;
  color: #1f6ff2 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.shoukomi-stat-card:nth-child(2) .shoukomi-stat-card__icon {
  background: #ecfff3 !important;
  color: #21a85a !important;
}

.shoukomi-stat-card:nth-child(3) .shoukomi-stat-card__icon {
  background: #fff7e6 !important;
  color: #f3a51e !important;
}

.shoukomi-stat-card__label {
  margin: 0 0 4px !important;
  color: #3e4a62 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.shoukomi-stat-card__number {
  margin: 0 !important;
  color: #135de0 !important;
  font-size: 34px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}

.shoukomi-stat-card__number span {
  margin-left: 3px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}



.shoukomi-region {
  max-width: 1180px !important;
  margin: 24px auto !important;
  padding: 0 20px !important;
  overflow-x: visible !important;
}

.shoukomi-region__box {
  overflow: visible !important;
  background: #fff !important;
  border: 1px solid #dfe8f5 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(28, 61, 121, 0.05) !important;
}

.shoukomi-region__title {
  margin: 0 !important;
  padding: 18px 24px !important;
  background: linear-gradient(135deg, #35bf4b 0%, #25a940 100%) !important;
  color: #fff !important;
  font-size: 21px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
  border: none !important;
  box-shadow: none !important;
}

.shoukomi-region__table {
  padding: 4px 22px 10px !important;
  overflow-x: visible !important;
}

.shoukomi-region__row {
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) !important;
  gap: 22px !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid #edf1f7 !important;
  min-width: 0 !important;
}

.shoukomi-region__row:last-child {
  border-bottom: none !important;
}

.shoukomi-region__name {
  color: #17233e !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.6 !important;
}

.shoukomi-region__name a {
  color: #17233e !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

.shoukomi-region__name a:hover {
  color: #1767d9 !important;
  text-decoration: underline !important;
}

.shoukomi-region__links {
  min-width: 0 !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 0 !important;
  overflow: visible !important;
}

.shoukomi-region__links a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 13px !important;
  border-right: 1px solid #d9e2ef !important;
  color: #1767d9 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.shoukomi-region__links a:hover {
  color: #0b48aa !important;
  text-decoration: underline !important;
}



.shoukomi-industry {
  max-width: 1180px !important;
  margin: 24px auto !important;
  padding: 0 20px !important;
  overflow-x: visible !important;
}

.shoukomi-industry__box {
  overflow: visible !important;
  background: #fff !important;
  border: 1px solid #dfe8f5 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(28, 61, 121, 0.05) !important;
}

.shoukomi-industry__title {
  margin: 0 !important;
  padding: 18px 24px !important;
  background: linear-gradient(135deg, #2f7df6 0%, #1758db 100%) !important;
  color: #fff !important;
  font-size: 21px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
  border: none !important;
  box-shadow: none !important;
}

.shoukomi-industry__table {
  padding: 4px 22px 10px !important;
  overflow-x: visible !important;
}

.shoukomi-industry__row {
  display: grid !important;
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 22px !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid #edf1f7 !important;
  min-width: 0 !important;
}

.shoukomi-industry__row:last-child {
  border-bottom: none !important;
}

.shoukomi-industry__name {
  color: #17233e !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.6 !important;
}

.shoukomi-industry__name a {
  color: #17233e !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

.shoukomi-industry__name a:hover {
  color: #1767d9 !important;
  text-decoration: underline !important;
}

.shoukomi-industry__links {
  min-width: 0 !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 0 !important;
  overflow: visible !important;
}

.shoukomi-industry__links a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 13px !important;
  border-right: 1px solid #d9e2ef !important;
  color: #1767d9 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.shoukomi-industry__links a:hover {
  color: #0b48aa !important;
  text-decoration: underline !important;
}



.shoukomi-popular {
  max-width: 1180px !important;
  margin: 28px auto !important;
  padding: 0 20px !important;
}

.shoukomi-section-title {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #10244d !important;
  font-size: 26px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
  text-align: center !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.shoukomi-popular__cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
}

.shoukomi-popular-card {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 118px !important;
  padding: 24px 48px 24px 24px !important;
  background: #fff !important;
  border: 1px solid #dfe8f5 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(28, 61, 121, 0.05) !important;
  color: inherit !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.shoukomi-popular-card::after {
  content: "›" !important;
  position: absolute !important;
  right: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #1f6ff2 !important;
  font-size: 30px !important;
}

.shoukomi-popular-card__icon {
  flex: 0 0 auto !important;
  width: 58px !important;
  height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 18px !important;
  background: #ecfff3 !important;
  color: #21a85a !important;
  font-size: 30px !important;
  line-height: 1 !important;
}

.shoukomi-popular-card h3 {
  margin: 0 0 7px !important;
  padding: 0 !important;
  color: #135de0 !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.shoukomi-popular-card p {
  margin: 0 !important;
  color: #5d6b82 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}



.shoukomi-cta {
  max-width: 1180px !important;
  margin: 30px auto 48px !important;
  padding: 0 20px !important;
}

.shoukomi-cta__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 28px 34px !important;
  background: linear-gradient(135deg, rgba(239, 248, 255, 0.96) 0%, rgba(246, 255, 249, 0.96) 100%) !important;
  border: 1px solid #cfe0f5 !important;
  border-radius: 22px !important;
  box-shadow: 0 8px 24px rgba(28, 61, 121, 0.06) !important;
}

.shoukomi-cta h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #10244d !important;
  font-size: 24px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.shoukomi-cta p {
  margin: 0 !important;
  color: #53627a !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}



body.home .top-search-wrap,
body.front-page .top-search-wrap,
body.home .top-prefecture-box,
body.front-page .top-prefecture-box,
body.home .top-industry-box,
body.front-page .top-industry-box {
  max-width: 860px !important;
  width: calc(100% - 32px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.home .top-search-wrap,
body.front-page .top-search-wrap {
  margin-top: 36px !important;
  margin-bottom: 34px !important;
  padding: 22px 24px 18px !important;
  background: #f8fafc !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
}

body.home .top-search-intro,
body.front-page .top-search-intro {
  margin: 0 0 12px !important;
}

body.home .top-search-lead,
body.front-page .top-search-lead {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #374151 !important;
  font-weight: 500 !important;
}

body.home .company-search-form,
body.front-page .company-search-form {
  margin: 0 !important;
}

body.home .company-search-box.company-search-box--simple,
body.front-page .company-search-box.company-search-box--simple {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

body.home .company-search-box.company-search-box--simple > input[type="text"],
body.front-page .company-search-box.company-search-box--simple > input[type="text"] {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: normal !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

body.home .company-search-box.company-search-box--simple > button,
body.front-page .company-search-box.company-search-box--simple > button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 118px !important;
  width: auto !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: none !important;
  border-radius: 12px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18) !important;
}

body.home .top-search-note,
body.front-page .top-search-note {
  margin: 12px 0 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #6b7280 !important;
}

body.home .top-actions,
body.front-page .top-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: -14px 0 36px !important;
  flex-wrap: wrap !important;
}

body.home .top-actions br,
body.front-page .top-actions br {
  display: none !important;
}

.top-action-btn {
  display: inline-block !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #1f2937 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border: 1px solid #dbe3ee !important;
}

.top-action-btn-primary {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

body.home .top-prefecture-box,
body.front-page .top-prefecture-box,
body.home .top-industry-box,
body.front-page .top-industry-box {
  margin-top: 28px !important;
  margin-bottom: 36px !important;
  border: 1px solid #d9e1e8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.home .top-prefecture-box__title,
body.front-page .top-prefecture-box__title {
  padding: 12px 18px !important;
  background: #46c04f !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

body.home .top-industry-box__title,
body.front-page .top-industry-box__title {
  padding: 12px 18px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

body.home .top-prefecture-list,
body.front-page .top-prefecture-list,
body.home .top-industry-list,
body.front-page .top-industry-list {
  padding: 14px 16px 10px !important;
  background: #fff !important;
}

body.home .top-prefecture-row,
body.front-page .top-prefecture-row {
  display: grid !important;
  grid-template-columns: 150px 1fr !important;
  gap: 10px 18px !important;
  align-items: start !important;
  padding: 9px 0 !important;
  border-bottom: 1px solid #edf2f7 !important;
}

body.home .top-industry-row,
body.front-page .top-industry-row {
  display: grid !important;
  grid-template-columns: 190px 1fr !important;
  gap: 10px 18px !important;
  align-items: start !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #edf2f7 !important;
}

body.home .top-prefecture-region,
body.front-page .top-prefecture-region,
body.home .top-industry-parent,
body.front-page .top-industry-parent {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  color: #222 !important;
  white-space: nowrap !important;
}

body.home .top-prefecture-links,
body.front-page .top-prefecture-links,
body.home .top-industry-links,
body.front-page .top-industry-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 0 !important;
  line-height: 1.8 !important;
}

body.home .top-prefecture-links a,
body.front-page .top-prefecture-links a,
body.home .top-industry-links a,
body.front-page .top-industry-links a {
  display: inline-block !important;
  color: #1d5fbf !important;
  font-size: 13px !important;
  text-decoration: none !important;
  padding: 0 10px !important;
  border-right: 1px solid #d6dde6 !important;
  white-space: nowrap !important;
}



@media screen and (max-width: 960px) {

  .shoukomi-hero {
    padding: 38px 16px 28px !important;
  }

  .shoukomi-hero__bg {
    background:
      linear-gradient(
        180deg,
        rgba(248, 251, 255, 0.98) 0%,
        rgba(248, 251, 255, 0.94) 52%,
        rgba(248, 251, 255, 0.90) 100%
      ),
      url("/wp-content/themes/affinger-child/images/top-hero.jpg") center top / cover no-repeat !important;
  }

  .shoukomi-hero__title {
    font-size: clamp(34px, 9vw, 46px) !important;
  }

  .shoukomi-search-card {
    padding: 22px 18px !important;
  }

  .shoukomi-search-form {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .shoukomi-search-form input,
  .shoukomi-search-form button {
    width: 100% !important;
  }

  .shoukomi-stats,
  .shoukomi-popular__cards {
    grid-template-columns: 1fr !important;
  }

  .shoukomi-region__row,
  .shoukomi-industry__row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .shoukomi-region__links a,
  .shoukomi-industry__links a {
    padding: 0 10px 0 0 !important;
    margin-right: 10px !important;
    border-right: none !important;
    white-space: normal !important;
  }

  .shoukomi-cta__inner {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

@media screen and (max-width: 599px) {
  .shoukomi-btn,
  .shoukomi-btn--outline,
  .shoukomi-btn--primary {
    width: 100% !important;
    min-width: 0 !important;
  }

  .shoukomi-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .shoukomi-stat-card {
    padding: 20px !important;
  }

  .shoukomi-stat-card__number {
    font-size: 30px !important;
  }

  .shoukomi-region,
  .shoukomi-industry,
  .shoukomi-popular,
  .shoukomi-cta {
    padding: 0 14px !important;
  }

  .shoukomi-region__title,
  .shoukomi-industry__title {
    padding: 15px 18px !important;
    font-size: 18px !important;
  }

  .shoukomi-region__table,
  .shoukomi-industry__table {
    padding: 2px 16px 8px !important;
  }

  .shoukomi-popular-card {
    padding: 20px 42px 20px 18px !important;
  }

  .shoukomi-cta__inner {
    padding: 24px !important;
  }
}



@media screen and (max-width: 768px) {

  .shoukomi-hero {
    padding: 24px 18px 26px !important;
    min-height: 360px !important;
  }

  .shoukomi-hero__copy {
    margin-bottom: 18px !important;
  }

  .shoukomi-hero__eyebrow {
    margin-bottom: 8px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .shoukomi-hero__title {
    margin-bottom: 10px !important;
    font-size: 38px !important;
    line-height: 1.18 !important;https://shounavi.com/wp-admin/theme-editor.php?file=st-mycontent.php&theme=affinger-child
    letter-spacing: 0 !important;
  }

  .shoukomi-hero__text {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  .shoukomi-search-card {
    margin-top: 20px !important;
    padding: 22px 20px !important;
    border-radius: 20px !important;
  }

  .shoukomi-search-card__label {
    margin-bottom: 14px !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
  }

  .shoukomi-search-form {
    gap: 12px !important;
  }

  .shoukomi-search-form input {
    height: 54px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
  }

  .shoukomi-search-form button {
    height: 58px !important;
    font-size: 17px !important;
    border-radius: 14px !important;
  }

  .shoukomi-search-card__note {
    margin-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .shoukomi-hero-actions {
    margin-top: 20px !important;
    gap: 12px !important;
  }

  .shoukomi-btn {
    min-height: 54px !important;
    font-size: 16px !important;
  }
}

@media screen and (max-width: 480px) {

  .shoukomi-hero {
    padding: 22px 16px 24px !important;
    min-height: 340px !important;
  }

  .shoukomi-hero__title {
    font-size: 33px !important;
    line-height: 1.18 !important;
  }

  .shoukomi-hero__eyebrow {
    font-size: 13px !important;
  }

  .shoukomi-hero__text {
    font-size: 14px !important;
  }

  .shoukomi-search-card {
    padding: 20px 18px !important;
  }

  .shoukomi-search-card__label {
    font-size: 15px !important;
  }
}



@media screen and (max-width: 768px) {
  body.home #content,
  body.home #content-w,
  body.home #contentInner,
  body.home main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}



.shoukomi-guide-links {
  padding: 24px 16px 24px !important;
  background: #f7fbfd !important;
}

.shoukomi-guide-links__inner {
  max-width: 1170px !important;
  margin: 0 auto !important;
}

.shoukomi-guide-links__head {
  text-align: center !important;
  margin-bottom: 18px !important;
}

.shoukomi-guide-links__eyebrow {
  display: inline-block !important;
  margin: 0 0 8px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: #e6f3f6 !important;
  color: #2f7184 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.shoukomi-guide-links__title {
  margin: 0 !important;
  color: #203544 !important;
  font-size: 1.24rem !important;
  line-height: 1.45 !important;
}

.shoukomi-guide-links__text {
  margin: 8px auto 0 !important;
  max-width: 720px !important;
  color: #5d6f7a !important;
  font-size: 0.92rem !important;
  line-height: 1.7 !important;
}

.shoukomi-guide-links__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}


.shoukomi-guide-card--overlay {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  height: 185px !important;
  min-height: 185px !important;
  border-radius: 18px !important;
  border: 1px solid #e1ebf0 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 6px 18px rgba(20, 60, 80, 0.05) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.shoukomi-guide-card--overlay:hover {
  transform: translateY(-2px) !important;
  border-color: #9ecbda !important;
  box-shadow: 0 10px 24px rgba(20, 70, 100, 0.09) !important;
}


.shoukomi-guide-card--overlay img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}


.shoukomi-guide-card--overlay::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.94) 42%,
    rgba(255, 255, 255, 0.68) 68%,
    rgba(255, 255, 255, 0.18) 100%
  ) !important;
}


.shoukomi-guide-card__overlay {
  position: relative !important;
  z-index: 2 !important;
  width: 60% !important;
  height: 185px !important;
  min-height: 185px !important;
  padding: 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
}

.shoukomi-guide-card__label {
  display: inline-block !important;
  width: fit-content !important;
  margin: 0 0 9px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: #edf7f4 !important;
  color: #2d7a68 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.shoukomi-guide-card__overlay h3 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #203544 !important;
  font-size: 1.02rem !important;
  line-height: 1.5 !important;
  font-weight: 800 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.shoukomi-guide-card__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: #2f7f95 !important;
  color: #ffffff !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.shoukomi-guide-card__button::after {
  content: "›" !important;
  margin-left: 6px !important;
}



@media screen and (max-width: 768px) {

  .shoukomi-guide-links {
    padding: 20px 12px 18px !important;
  }

  .shoukomi-guide-links__head {
    text-align: left !important;
    margin-bottom: 14px !important;
  }

  .shoukomi-guide-links__title {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
  }

  .shoukomi-guide-links__text {
    display: none !important;
  }

  .shoukomi-guide-links__grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .shoukomi-guide-card--overlay {
    height: 150px !important;
    min-height: 150px !important;
    border-radius: 16px !important;
  }

  .shoukomi-guide-card--overlay img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .shoukomi-guide-card--overlay::before {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.97) 52%,
      rgba(255, 255, 255, 0.82) 74%,
      rgba(255, 255, 255, 0.28) 100%
    ) !important;
  }

  .shoukomi-guide-card__overlay {
    width: 72% !important;
    height: 150px !important;
    min-height: 150px !important;
    padding: 14px 16px 10px !important;
    justify-content: center !important;
  }

  .shoukomi-guide-card__label {
    margin: 0 0 7px !important;
    padding: 3px 9px !important;
    font-size: 0.72rem !important;
  }

  .shoukomi-guide-card__overlay h3 {
    margin: 0 0 9px !important;
    font-size: 0.94rem !important;
    line-height: 1.4 !important;
  }

  .shoukomi-guide-card__button {
    min-height: 31px !important;
    padding: 0 12px !important;
    font-size: 0.8rem !important;
  }
}


@media screen and (max-width: 420px) {

  .shoukomi-guide-card--overlay {
    height: 145px !important;
    min-height: 145px !important;
  }

  .shoukomi-guide-card__overlay {
    width: 74% !important;
    height: 145px !important;
    min-height: 145px !important;
    padding: 13px 15px 10px !important;
  }

  .shoukomi-guide-card__overlay h3 {
    font-size: 0.9rem !important;
    line-height: 1.38 !important;
  }

  .shoukomi-guide-card__button {
    min-height: 30px !important;
    font-size: 0.78rem !important;
  }
}


.top-column-list {
  margin: 32px auto;
  padding: 24px 16px;
  background: #f7fbfd;
  border-radius: 16px;
}

.top-column-list__title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #234;
}

.top-column-list__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.top-column-card {
  background: #fff;
  border: 1px solid #e3edf2;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,.04);
}

.top-column-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.top-column-card__title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
}

.top-column-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

@media (max-width: 768px) {

  .top-column-list__items {
    grid-template-columns: 1fr;
  }
}



.top-column-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #d8edf8;
  border-radius: 12px;
  padding: 22px 24px;
}

.top-column-card__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
  color: #35b8ff;
  border-bottom: 3px solid #35b8ff;
}

.top-column-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}



.top-column-list {
  width: min(100% - 32px, 1170px);
}

@media (min-width: 769px) {

  .top-column-list__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}



.shounavi-top-random-block {
  width: min(100% - 32px, 1170px) !important;
  max-width: 1170px !important;
  margin: 0 auto 32px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}


.shounavi-top-random-block > .top-column-list {
  width: 100% !important;
  max-width: 100% !important;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}


.shounavi-top-random-more {
  width: 100% !important;
  margin-top: 12px !important;
  text-align: right !important;
  box-sizing: border-box !important;
}

.shounavi-top-random-more a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: #35b8ff !important;
  text-decoration: none !important;
}

.shounavi-top-random-more a::after {
  content: "›" !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}

.shounavi-top-random-more a:hover {
  text-decoration: underline !important;
}

@media (max-width: 768px) {

  .shounavi-top-random-block {
    width: calc(100% - 24px) !important;
    margin-bottom: 28px !important;
  }

  .shounavi-top-random-block > .top-column-list {
    margin-top: 28px !important;
  }

  .shounavi-top-random-more {
    margin-top: 10px !important;
    text-align: right !important;
  }

  .shounavi-top-random-more a {
    font-size: 13px !important;
  }

  .shounavi-top-random-block .top-column-card:nth-child(n+4) {
    display: none !important;
  }
}

