/* Google Ads landing page. All rules are scoped to editable UX Builder sections. */
.hatena-google-ads {
  --ha-purple: #2f0874;
  --ha-header: #24105a;
  --ha-orange: #f96c01;
  --ha-blue: #0074e4;
  --ha-text: #585858;
  --ha-light: #f6f2ff;
  --ha-border: #e8e3f3;
  --ha-gap: 20px;
  --ha-gutter: 15px;
  --ha-section: 80px;
  color: var(--ha-text);
  padding: 0 0 var(--ha-section) !important;
  margin: 0 !important;
  font-family: var(--hatena-font, 'Inter', sans-serif);
  isolation: isolate;
  overflow: clip;
  scroll-margin-top: 110px;
}
.hatena-google-ads *, .hatena-google-ads *::before, .hatena-google-ads *::after { box-sizing: border-box; }
.hatena-google-ads [id] { scroll-margin-top: 110px; }
.hatena-google-ads > .section-content { padding: 0 !important; }
/* A single outer row owns the gutter. Nested rows never inherit Bootstrap gutters. */
#main .hatena-google-ads .row.ha-ads-wrap,
.hatena-google-ads .row.ha-ads-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ha-gap);
  width: 100%;
  max-width: 1280px !important;
  padding: 0 var(--ha-gutter) !important;
  margin: 0 auto !important;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.hatena-google-ads .row.ha-ads-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ha-gap);
  width: 100%;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.hatena-google-ads .col {
  padding: 0 !important;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
#content .hatena-google-ads .col { padding: 0 !important; }
.hatena-google-ads .col > .col-inner { width: 100%; height: 100%; }
.hatena-google-ads .ha-ads-two > .col { flex-basis: calc((100% - var(--ha-gap)) / 2); max-width: calc((100% - var(--ha-gap)) / 2); }
.hatena-google-ads .ha-ads-three > .col { flex-basis: calc((100% - 2 * var(--ha-gap)) / 3); max-width: calc((100% - 2 * var(--ha-gap)) / 3); }
.hatena-google-ads .ha-ads-four > .col { flex-basis: calc((100% - 3 * var(--ha-gap)) / 4); max-width: calc((100% - 3 * var(--ha-gap)) / 4); }
.hatena-google-ads .ha-ads-five > .col { flex-basis: calc((100% - 4 * var(--ha-gap)) / 5); max-width: calc((100% - 4 * var(--ha-gap)) / 5); }
.hatena-google-ads .ha-ads-six > .col { flex-basis: calc((100% - 5 * var(--ha-gap)) / 6); max-width: calc((100% - 5 * var(--ha-gap)) / 6); }
.hatena-google-ads .ha-ads-eight > .col { flex-basis: calc((100% - 7 * var(--ha-gap)) / 8); max-width: calc((100% - 7 * var(--ha-gap)) / 8); }
.hatena-google-ads h1, .hatena-google-ads h2, .hatena-google-ads h3, .hatena-google-ads h4 {
  color: var(--ha-purple);
  font-family: inherit;
  font-weight: 750;
  letter-spacing: -.035em;
  text-transform: none;
  margin: 0;
  padding-bottom: 20px;
}
.hatena-google-ads h1 { font-size: 40px; line-height: 1.15; font-weight: 800; }
.hatena-google-ads h2 { font-size: 32px; line-height: 1.25; }
.hatena-google-ads h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.025em; padding-bottom: 0; }
.hatena-google-ads p, .hatena-google-ads li { font-size: 16px; line-height: 1.65; color: var(--ha-text); }
.hatena-google-ads p { margin: 0 0 16px; }
.hatena-google-ads .text > :last-child, .hatena-google-ads .ha-ads-text > :last-child { margin-bottom: 0; }
.hatena-google-ads a { color: var(--ha-blue); text-decoration: none; }
.hatena-google-ads a:focus-visible, .hatena-google-ads button:focus-visible { outline: 3px solid var(--ha-blue); outline-offset: 4px; }
.hatena-google-ads .ha-ads-eyebrow { color: var(--ha-blue); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; }
.hatena-google-ads .ha-ads-section-title { text-align: center; margin: 0; }
.hatena-google-ads .ha-ads-section-title p:last-child { max-width: 760px; margin-left: auto; margin-right: auto; }
.hatena-google-ads .ha-ads-section-title h2 { margin-bottom: 0; }
.hatena-google-ads .ha-ads-section-title p:last-child:not(.ha-ads-eyebrow),
.ha-ads-projects .ha-ads-wrap > .col > .col-inner > .text:first-child > p:last-child,
.ha-ads-why .ha-ads-wrap > .col:last-child > .col-inner > .text > p:last-child { margin-bottom: 0; padding-bottom: 20px; }
.hatena-google-ads .ha-ads-orange { color: var(--ha-orange); }
.hatena-google-ads .img { margin-bottom: 0; }
.hatena-google-ads .img img { display: block; width: 100%; max-width: 100%; height: auto; }
.hatena-google-ads .img-inner { overflow: hidden; }
.hatena-google-ads .ha-ads-icon { width: 32px !important; margin: 0 0 16px; }
.hatena-google-ads .ha-ads-icon img { display: block; width: 100%; height: auto; object-fit: contain; }
.hatena-google-ads .ha-ads-icon .img-inner { overflow: visible; }
.hatena-google-ads .ha-ads-card > .col-inner {
  background: #fff;
  border: 1px solid var(--ha-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 3px 16px rgb(47 8 116 / 3%);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hatena-google-ads .ha-ads-card .button { margin-top: auto; }
.hatena-google-ads .ha-ads-card > .col-inner:has(> .is-border) { border: 0; }
.hatena-google-ads .button.ha-ads-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid var(--ha-orange);
  background: var(--ha-orange);
  color: #24105a;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 12px 0 0;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hatena-google-ads .button.ha-ads-button.is-outline { background: #fff; color: var(--ha-purple); border-color: #ab91d1; }
.hatena-google-ads .ha-ads-actions { margin: 28px 0 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.hatena-google-ads .ha-ads-actions .button { margin: 0; }
.hatena-google-ads .ha-ads-actions > .col > .col-inner { display: flex; gap: 12px; flex-wrap: wrap; }
#main .hatena-google-ads .row.ha-ads-actions { margin: 28px 0 24px !important; padding: 0 !important; width: 100%; max-width: 100%; }
.ha-ads-hero { background: none; position: relative; }
/* The section's bottom spacing is outside the tinted hero background. */
.ha-ads-hero::before { content: ''; position: absolute; inset: 0 0 var(--ha-section); background: linear-gradient(110deg, #f6f2ff 0%, #fff 55%, #f5f1fc 100%); pointer-events: none; }
.ha-ads-hero .ha-ads-wrap { align-items: center; }
.ha-ads-hero > .section-content { padding: 30px 0 !important; }
.ha-ads-hero .ha-ads-breadcrumb { font-size: 12px; color: var(--ha-purple); margin: 0; padding: 0 0 30px; }
.ha-ads-hero .ha-ads-breadcrumb a { color: var(--ha-purple); }
.ha-ads-hero .ha-ads-breadcrumb span { opacity: .5; padding: 0 7px; }
.ha-ads-hero .ha-ads-description { max-width: 490px; }
.ha-ads-hero .ha-ads-trust { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.ha-ads-hero .ha-ads-trust li { font-size: 12px; display: flex; align-items: center; gap: 6px; margin: 0; }
.ha-ads-hero .ha-ads-trust li::before { content: '✓'; display: inline-grid; place-items: center; background: var(--ha-purple); color: #fff; border-radius: 50%; width: 15px; height: 15px; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.ha-ads-hero .ha-ads-visual > .col-inner { position: relative; padding: 20px 36px 10px !important; }
.ha-ads-hero .ha-ads-hero-image { width: 100% !important; }
.ha-ads-hero .ha-ads-hero-image .img-inner { border-radius: 18px; box-shadow: 0 12px 40px rgb(47 8 116 / 8%); }
.ha-ads-hero .ha-ads-badge { position: absolute; width: 116px; padding: 16px 12px; background: #fff; border: 1px solid var(--ha-border); box-shadow: 0 8px 30px rgb(47 8 116 / 9%); border-radius: 12px; text-align: center; z-index: 2; }
.ha-ads-hero .ha-ads-badge .ha-ads-icon { margin: 0 auto 9px; }
.ha-ads-hero .ha-ads-badge p { font-size: 12px; font-weight: 650; line-height: 1.4; color: var(--ha-purple); margin: 0; }
.ha-ads-hero .ha-ads-badge > .col-inner { padding: 16px 12px; }
.ha-ads-hero .ha-ads-badge-growth { left: 0; top: 10%; }
.ha-ads-hero .ha-ads-badge-users { right: 0; top: 25%; }
.ha-ads-hero .ha-ads-badge-target { right: 20px; bottom: 0; }
.hatena-google-ads.ha-ads-stats .ha-ads-four { --ha-gap: 0px; position: relative; gap: 0 !important; }
.ha-ads-stats .ha-ads-four::before { content: ''; position: absolute; inset: 0 var(--ha-gutter); background: var(--ha-light, #F6F2FF); border-radius: 12px; }
.hatena-google-ads.ha-ads-stats .ha-ads-four > .col { flex-basis: 25%; max-width: 25%; position: relative; }
.ha-ads-stats .ha-ads-stat + .ha-ads-stat::after { content: ''; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: #d6d6d6; pointer-events: none; }
.ha-ads-stats .ha-ads-stat > .col-inner { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-content: center; align-items: center; position: relative; padding: 24px 18px; background: transparent !important; border-radius: 0 !important; }
.ha-ads-stats .ha-ads-stat .ha-ads-icon { grid-row: 1 / 3; width: 56px !important; height: 56px; padding: 12px; border-radius: 50%; background: #fff; margin: 0; }
.ha-ads-stats .ha-ads-counter p { font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; color: var(--ha-purple); margin: 0 0 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ha-ads-stats .ha-ads-number { text-align: right; }
.ha-ads-stats .ha-ads-stat-label p { font-size: 12px; line-height: 1.4; margin: 0; }
.ha-ads-why .ha-ads-wrap { align-items: center; }
.ha-ads-why .ha-ads-photo > .col-inner { position: relative; }
.ha-ads-why .ha-ads-photo-badge-row { position: static !important; }
.ha-ads-why .ha-ads-photo-image { margin-bottom: 0 !important; }
.ha-ads-why .ha-ads-photo-image .img-inner { border-radius: 16px; aspect-ratio: 1.1; }
.ha-ads-why .ha-ads-photo-image img { width: 100%; height: 100%; object-fit: cover; }
.ha-ads-why .ha-ads-photo-badge { position: absolute; bottom: 20px; left: 20px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 16px; width: min(300px, calc(100% - 40px)); box-shadow: 0 4px 24px rgb(47 8 116 / 12%); }
.ha-ads-why .ha-ads-photo-badge .ha-ads-icon { flex: 0 0 32px; margin: 0; }
.ha-ads-why .ha-ads-photo-badge p { font-size: 13px; color: var(--ha-purple); line-height: 1.45; font-weight: 650; margin: 0; }
.ha-ads-why .ha-ads-photo-badge > .col-inner { display: flex; gap: 12px; align-items: center; padding: 16px; }
.ha-ads-why .ha-ads-benefits { --ha-gap: 20px; margin-top: 0 !important; }
.ha-ads-why .ha-ads-benefit > .col-inner { padding: 18px; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.ha-ads-why .ha-ads-benefit .ha-ads-icon { width: 28px !important; height: 28px; margin: 0 !important; align-self: center !important; }
.ha-ads-why .ha-ads-benefit > .col-inner > .text { grid-column: 2; min-width: 0; width: 100%; }
.ha-ads-why .ha-ads-benefit > .col-inner > .ha-ads-icon { grid-column: 1; grid-row: 1; }
.ha-ads-why .ha-ads-benefit > .col-inner > h3,
.ha-ads-why .ha-ads-benefit > .col-inner > p { grid-column: 2; min-width: 0; width: 100%; }
.ha-ads-why .ha-ads-benefit h3 { font-size: 14px; line-height: 1.35; letter-spacing: -.02em; padding: 0 !important; margin: 0 !important; align-self: center !important; }
.ha-ads-why .ha-ads-benefit p { font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
.ha-ads-types { padding-top: 0 !important; }
.ha-ads-types .ha-ads-six { --ha-gap: 14px; }
.ha-ads-types .ha-ads-type > .col-inner { text-align: center; align-items: center; padding: 24px 14px 18px; }
.ha-ads-types .ha-ads-type .ha-ads-icon { margin: 0 auto 18px; width: 32px !important; }
.ha-ads-types .ha-ads-type h3 { font-size: 15px; margin-bottom: 10px; }
.ha-ads-types .ha-ads-type p { font-size: 12px; line-height: 1.5; }
.ha-ads-types .ha-ads-type .text:not(.ha-ads-more) > p:last-child { padding-bottom: 20px; margin: 0; }
/* Recolour native Image icons, including those already imported into WordPress. */
.ha-ads-types .ha-ads-type:nth-child(1) .ha-ads-icon img,
.ha-ads-types .ha-ads-type:nth-child(4) .ha-ads-icon img { filter: hue-rotate(56deg); }
.ha-ads-types .ha-ads-type:nth-child(2) .ha-ads-icon img,
.ha-ads-types .ha-ads-type:nth-child(3) .ha-ads-icon img,
.ha-ads-types .ha-ads-type:nth-child(6) .ha-ads-icon img { filter: hue-rotate(-58deg); }
.ha-ads-types .ha-ads-type:nth-child(5) .ha-ads-icon img { filter: hue-rotate(152deg) saturate(1.5); }
.ha-ads-types .ha-ads-more { margin-top: auto; width: 100%; padding-top: 12px; border-top: 1px solid #f0edf7; }
.ha-ads-types .ha-ads-more a { font-size: 12px; font-weight: 650; color: var(--ha-blue); }
.ha-ads-types .ha-ads-more a::after { content: ' →'; padding-left: 4px; }
.ha-ads-pricing { background: none; }
.ha-ads-pricing::before { content: ''; position: absolute; inset: 0 0 var(--ha-section); background: var(--ha-light); pointer-events: none; }
.ha-ads-pricing > .section-content { padding: var(--ha-section) 0 !important; }
.ha-ads-pricing .ha-ads-price > .col-inner { position: relative; padding: 28px 24px 24px; }
.ha-ads-pricing .ha-ads-price h3 { font-size: 24px; margin: 10px 0 4px; }
.ha-ads-pricing .ha-ads-price .ha-ads-package-name { font-size: 11px; text-transform: uppercase; font-weight: 750; letter-spacing: .03em; color: var(--ha-purple); }
.ha-ads-pricing .ha-ads-price .ha-ads-price-top { text-align: center; }
.ha-ads-pricing .ha-ads-price .ha-ads-price-top p { font-size: 12px; margin: 0 0 8px; }
.ha-ads-pricing .ha-ads-price .ha-ads-fee { padding: 12px 0 16px; border-bottom: 1px solid var(--ha-border); font-weight: 650; }
.ha-ads-pricing .ha-ads-price ul { padding: 0; margin: 20px 0 24px; list-style: none; }
.ha-ads-pricing .ha-ads-price li { font-size: 12px; line-height: 1.65; margin: 0 0 12px; display: flex; gap: 8px; }
.ha-ads-pricing .ha-ads-price li::before { content: '✓'; font-weight: 750; flex-shrink: 0; }
.ha-ads-pricing .ha-ads-price .button { margin: auto 0 0; width: 100%; }
.ha-ads-pricing .ha-ads-featured > .col-inner { background: linear-gradient(145deg, #5b2acb, #2f0874); border-color: transparent; box-shadow: 0 10px 30px rgb(47 8 116 / 18%); }
.ha-ads-pricing .ha-ads-featured h3, .ha-ads-pricing .ha-ads-featured p, .ha-ads-pricing .ha-ads-featured li, .ha-ads-pricing .ha-ads-featured .ha-ads-package-name { color: #fff; }
.ha-ads-pricing .ha-ads-featured .ha-ads-fee { border-color: rgb(255 255 255 / 20%); }
.ha-ads-pricing .ha-ads-price-badge { align-self: center; background: var(--ha-orange); color: #24105a; border-radius: 20px; padding: 5px 12px; margin: -41px 0 12px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.ha-ads-pricing .ha-ads-price-badge p { color: #24105a; font-size: 10px; font-weight: 750; margin: 0; }
.ha-ads-pricing .ha-ads-pricing-note p { font-size: 12px; text-align: center; max-width: 850px; margin: 0 auto; }
.ha-ads-process .ha-ads-step > .col-inner { position: relative; padding-top: 12px; }
.ha-ads-process .ha-ads-step:not(:last-child) > .col-inner::before { content: ''; position: absolute; left: 60px; right: 2px; top: 36px; height: 1px; background: #ded3f4; }
.ha-ads-process .ha-ads-step:not(:last-child) > .col-inner::after { content: none; }
.ha-ads-process .ha-ads-step .ha-ads-icon { width: 48px !important; background: var(--ha-light); border: 1px solid #ded3f4; border-radius: 50%; padding: 12px; margin: 0 0 16px; }
.ha-ads-process .ha-ads-step .ha-ads-step-number { font-size: 14px; font-weight: 750; color: var(--ha-purple); margin-bottom: 6px; }
.ha-ads-process .ha-ads-step h3 { font-size: 15px; margin-bottom: 8px; }
.ha-ads-process .ha-ads-step p { font-size: 12px; line-height: 1.6; margin-bottom: 0; }
.ha-ads-projects { padding-top: 0 !important; }
.ha-ads-projects .ha-ads-section-title { text-align: left; }
.ha-ads-projects .ha-ads-project > .col-inner { padding: 0; overflow: hidden; }
.ha-ads-projects .ha-ads-project-image .img-inner { aspect-ratio: 1.65; }
.ha-ads-projects .ha-ads-project-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s ease; }
.ha-ads-projects .ha-ads-project-copy { padding: 20px; }
.ha-ads-projects .ha-ads-project h3 { font-size: 17px; margin-bottom: 8px; }
.ha-ads-projects .ha-ads-project p { font-size: 13px; margin-bottom: 12px; }
.ha-ads-projects .ha-ads-project a { font-weight: 650; }
.ha-ads-partners { padding-top: 0 !important; }
.ha-ads-partners .ha-ads-section-title .ha-ads-eyebrow { margin-bottom: 0; padding-bottom: 20px; }
.ha-ads-partners .ha-ads-partner-image { width: 100% !important; max-width: 960px; margin: 0 auto; }
.ha-ads-partners .ha-ads-partner-image img { width: 100%; height: auto; }
.ha-ads-partners .ha-ads-eight { --ha-gap: 12px; }
.ha-ads-partners .ha-ads-logo-card > .col-inner { border: 0; border-radius: 0; background: transparent; overflow: hidden; }
.ha-ads-partners .ha-ads-marquee-viewport { overflow: hidden; width: 100%; }
.ha-ads-partners { --ha-logo-width: 140px; --ha-logo-gap: 20px; }
.ha-ads-partners .row.ha-ads-marquee-track { flex-wrap: nowrap; width: max-content !important; gap: var(--ha-logo-gap); will-change: transform; }
/* Keep fixed logo widths when mobile's eight-column grid rules also match. */
.hatena-google-ads .ha-ads-eight.ha-ads-marquee-track > .col { flex: 0 0 var(--ha-logo-width); width: var(--ha-logo-width); max-width: var(--ha-logo-width); }
.ha-ads-partners .ha-ads-logo .img-inner { aspect-ratio: 1.5; display: flex; align-items: center; }
.ha-ads-partners .ha-ads-logo img { width: 100%; height: 100%; object-fit: contain; clip-path: inset(3px); }
.hatena-google-ads-page .page-wrapper { padding-top: 0; padding-bottom: 0; }
.hatena-google-ads-page .header-nav-main > li > a { color: #24105a; }
.ha-ads-faq { background: #faf9fd; padding-top: var(--ha-section) !important; }
/* Consecutive native FAQ/CTA sections form one continuous background band. */
.hatena-google-ads.ha-ads-cta { background: #faf9fd; padding-bottom: 0 !important; }
.ha-ads-cta > .section-content { padding-bottom: var(--ha-section) !important; }
.ha-ads-faq .ha-ads-faq-list { max-width: 880px; margin: 0 auto; }
.ha-ads-faq .accordion-item { background: #fff; border: 1px solid var(--ha-border); border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
.ha-ads-faq .accordion-title { position: relative; color: var(--ha-purple); font-size: 16px; font-weight: 650; padding: 20px 20px 20px 64px; border: 0; line-height: 1.5; background: #fff; text-transform: none; letter-spacing: 0; }
.ha-ads-faq .accordion-title .toggle { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; min-height: 0; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; line-height: 1; color: inherit; }
.ha-ads-faq .accordion-title .toggle i { display: block; font-size: 20px; line-height: 1; }
.ha-ads-faq .accordion-title.active { border: 0; background: #fff; color: var(--ha-purple); }
.ha-ads-faq .accordion-inner { padding: 0 24px 20px 64px; }
.ha-ads-faq .accordion-inner p { font-size: 14px; }
.ha-ads-cta .ha-ads-banner > .col-inner { position: relative; background: linear-gradient(115deg, #5b2acb, #2f0874); padding: 40px !important; border-radius: 16px; overflow: hidden; }
.ha-ads-cta .ha-ads-banner > .col-inner::after { content: ''; position: absolute; right: 160px; top: -80px; width: 260px; height: 260px; border: 50px solid rgb(255 255 255 / 4%); border-radius: 50%; pointer-events: none; }
.ha-ads-cta .row.ha-ads-cta-row { align-items: center; gap: 0; }
.ha-ads-cta .ha-ads-cta-copy > .col-inner { padding-right: 20px; }
.ha-ads-cta .ha-ads-cta-row > .col:last-child > .col-inner { display: flex; justify-content: flex-end; align-items: center; }
.ha-ads-cta h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.ha-ads-cta p { color: #fff; font-size: 14px; margin: 0; }
.ha-ads-cta .button { margin: 0; }
.hatena-google-ads .ha-ads-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) {
  .hatena-google-ads .ha-ads-card:hover > .col-inner { transform: translateY(-4px); border-color: #cab9e6; box-shadow: 0 10px 28px rgb(47 8 116 / 9%); }
  .hatena-google-ads .button.ha-ads-button:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgb(47 8 116 / 12%); }
  .ha-ads-projects .ha-ads-project:hover .ha-ads-project-image img { transform: scale(1.03); }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .ha-ads-hero.ha-ads-motion .ha-ads-badge { animation: ha-ads-float 5s ease-in-out infinite; }
  .ha-ads-hero.ha-ads-motion .ha-ads-badge-users { animation-delay: -2s; }
}
@keyframes ha-ads-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (min-width: 768px) and (max-width: 1023px) {
  .hatena-google-ads { --ha-gutter: 15px; --ha-gap: 20px; }
  .hatena-google-ads h1 { font-size: 36px; }
  .hatena-google-ads h2 { font-size: 28px; }
  .hatena-google-ads .ha-ads-four > .col, .hatena-google-ads .ha-ads-three > .col { flex-basis: calc((100% - var(--ha-gap)) / 2); max-width: calc((100% - var(--ha-gap)) / 2); }
  .hatena-google-ads .ha-ads-six > .col { flex-basis: calc((100% - 2 * var(--ha-gap)) / 3); max-width: calc((100% - 2 * var(--ha-gap)) / 3); }
  .hatena-google-ads .ha-ads-eight > .col { flex-basis: calc((100% - 3 * var(--ha-gap)) / 4); max-width: calc((100% - 3 * var(--ha-gap)) / 4); }
  .ha-ads-hero .ha-ads-visual > .col-inner { padding: 16px !important; }
  .ha-ads-hero .ha-ads-badge { width: 94px; padding: 12px 8px; }
  .ha-ads-hero .ha-ads-badge > .col-inner { padding: 12px 8px; }
  .ha-ads-hero .ha-ads-badge p { font-size: 10px; }
  .ha-ads-why .ha-ads-wrap > .col { flex-basis: 100%; max-width: 100%; }
  .ha-ads-why .ha-ads-photo-image .img-inner { aspect-ratio: 1.8; }
}
@media (max-width: 1023px) {
  .ha-ads-process .ha-ads-five > .col { flex-basis: 100%; max-width: 100%; }
  .ha-ads-process .ha-ads-step > .col-inner { padding: 0 0 0 72px; min-height: 64px; }
  .ha-ads-process .ha-ads-step > .col-inner::before { display: none; }
  .ha-ads-process .ha-ads-step .ha-ads-icon { position: absolute; left: 0; top: 0; }
  .ha-ads-process .ha-ads-step:not(:last-child) > .col-inner::after { content: ''; left: 23px; top: 52px; bottom: -16px; width: 1px; height: auto; border-left: 1px solid #ded3f4; right: auto; transform: none; padding: 0; }
  .ha-ads-process .ha-ads-step h3 { font-size: 17px; }
  .ha-ads-process .ha-ads-step p { font-size: 14px; }
  .ha-ads-cta .ha-ads-cta-row > .col { flex-basis: 100%; max-width: 100%; }
  .ha-ads-cta .row.ha-ads-cta-row { row-gap: 20px; }
}
@media (max-width: 767px) {
  .hatena-google-ads { --ha-gutter: 15px; --ha-gap: 20px; --ha-section: 40px; scroll-margin-top: 85px; }
  .hatena-google-ads [id] { scroll-margin-top: 85px; }
  .hatena-google-ads h1 { font-size: 30px; line-height: 1.2; }
  .hatena-google-ads h2 { font-size: 24px; line-height: 1.3; }
  .ha-ads-hero .ha-ads-visual { order: -1; }
  .ha-ads-partners { --ha-logo-width: 90px; --ha-logo-gap: 16px; }
  .hatena-google-ads .ha-ads-two > .col, .hatena-google-ads .ha-ads-three > .col, .hatena-google-ads .ha-ads-four > .col { flex-basis: 100%; max-width: 100%; }
  .hatena-google-ads .ha-ads-six > .col, .ha-ads-stats .ha-ads-four > .col { flex-basis: calc((100% - var(--ha-gap)) / 2); max-width: calc((100% - var(--ha-gap)) / 2); }
  .hatena-google-ads .ha-ads-card > .col-inner { padding: 20px; }
  .ha-ads-hero .ha-ads-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ha-ads-hero .ha-ads-actions > .col { grid-column: 1 / -1; }
  .ha-ads-hero .ha-ads-actions > .col > .col-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ha-ads-hero .ha-ads-actions .button { padding: 10px 8px; font-size: 12px; width: 100%; }
  .ha-ads-hero .ha-ads-trust { gap: 8px 16px; }
  .ha-ads-hero .ha-ads-visual > .col-inner { padding: 8px 32px 20px !important; }
  .ha-ads-hero .ha-ads-badge { width: 92px; padding: 10px 8px; }
  .ha-ads-hero .ha-ads-badge > .col-inner { padding: 10px 8px; }
  .ha-ads-hero .ha-ads-badge p { font-size: 10px; }
  .ha-ads-hero .ha-ads-badge .ha-ads-icon { width: 24px !important; }
  .ha-ads-hero .ha-ads-badge-growth { top: 6%; }
  .ha-ads-hero .ha-ads-badge-users { top: 22%; }
  .ha-ads-stats .ha-ads-stat > .col-inner { grid-template-columns: 1fr; text-align: center; padding: 20px 12px; }
  .hatena-google-ads.ha-ads-stats .ha-ads-four > .col { flex-basis: 50%; max-width: 50%; }
  .ha-ads-stats .ha-ads-stat:nth-child(3)::after { display: none; }
  .ha-ads-stats .ha-ads-stat .ha-ads-icon { grid-row: auto; margin: 0 auto 12px; width: 54px !important; height: 54px; }
  .ha-ads-stats .ha-ads-counter p { font-size: 25px; }
  .ha-ads-why .ha-ads-benefits > .col { flex-basis: 100%; max-width: 100%; }
  .ha-ads-why .ha-ads-benefit > .col-inner { padding: 18px; }
  .ha-ads-why .ha-ads-benefit h3 { font-size: 16px; }
  .ha-ads-why .ha-ads-benefit p { font-size: 14px; }
  .ha-ads-types .ha-ads-type > .col-inner { padding: 20px 12px; }
  .ha-ads-types .ha-ads-type h3 { font-size: 15px; }
  .ha-ads-pricing .ha-ads-featured { padding-top: 14px !important; }
  .ha-ads-pricing .ha-ads-price > .col-inner { padding: 28px 24px 24px; }
  .ha-ads-pricing .ha-ads-price li { font-size: 14px; }
  .ha-ads-pricing .ha-ads-price h3 { font-size: 26px; }
  .ha-ads-pricing .ha-ads-price-badge { margin-top: -41px; }
  .ha-ads-faq .accordion-title { font-size: 15px; padding: 18px 16px 18px 56px; }
  .ha-ads-faq .accordion-title .toggle { left: 16px; }
  .ha-ads-faq .accordion-inner { padding: 0 18px 18px 56px; }
  .hatena-google-ads .ha-ads-eight > .col { flex-basis: calc((100% - 3 * var(--ha-gap)) / 4); max-width: calc((100% - 3 * var(--ha-gap)) / 4); }
  .ha-ads-cta .ha-ads-banner > .col-inner { padding: 28px 24px !important; }
  .ha-ads-cta h2 { font-size: 24px; }
  .ha-ads-cta .button { width: 100%; }
}
@media (max-width: 359px) {
  .hatena-google-ads .ha-ads-six > .col { flex-basis: 100%; max-width: 100%; }
  .ha-ads-hero .ha-ads-actions { grid-template-columns: 1fr; }
  .ha-ads-hero .ha-ads-actions > .col > .col-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hatena-google-ads *, .hatena-google-ads *::before, .hatena-google-ads *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Keep content visible and easy to select while editing in UX Builder. */
.ux-builder-iframe .hatena-google-ads *, .ux-builder .hatena-google-ads * { animation: none !important; }
