@charset "UTF-8";
/* ハプバーデータベース TOP完成版 / SWELL子テーマ style.css または追加CSS用 */
:root {
  --hdb-navy:#0b253b;
  --hdb-burgundy:#8d1f34;
  --hdb-burgundy-dark:#711628;
  --hdb-gold:#a77e36;
  --hdb-ivory:#faf7f1;
  --hdb-paper:#fffdfa;
  --hdb-text:#0d2438;
  --hdb-muted:#5d6b76;
  --hdb-line:#d9d5cd;
  --hdb-max:1200px
}

.hdb-home,.hdb-home * {
  box-sizing:border-box
}

.hdb-home {
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden;
  color:var(--hdb-text);
  background:var(--hdb-ivory);
  font-family:"Noto Sans JP","Yu Gothic",sans-serif;
  font-size:16px;
  line-height:1.75
}

.hdb-home-fragment {
  overflow:visible!important
}

.hdb-home a {
  color:inherit;
  text-decoration-thickness:1px;
  text-underline-offset:.22em
}

.hdb-container {
  width:min(calc(100% - 48px),var(--hdb-max));
  max-width:var(--hdb-max)!important;
  margin-inline:auto!important
}

.hdb-sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.hdb-hero {
  display:grid!important;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  width:100%!important;
  max-width:none!important;
  min-height:550px;
  margin:0!important;
  background:var(--hdb-paper)
}

.hdb-hero__copy {
  z-index:2;
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:78px 38px 178px max(24px,calc((100vw - var(--hdb-max))/2));
  background:linear-gradient(90deg,var(--hdb-paper) 76%,rgba(255,253,250,.72) 92%,transparent)
}

.hdb-eyebrow {
  margin:0 0 18px;
  color:var(--hdb-gold);
  font-size:inherit;
  font-weight:700;
  letter-spacing:.08em
}

.hdb-home h1,.hdb-home h2 {
  color:var(--hdb-navy);
  font-family:"Noto Serif JP","Yu Mincho",serif;
  font-weight:600;
  letter-spacing:.035em
}

.hdb-home h1 {
  margin:0 0 24px;
  font-size:clamp(42px,4.5vw,66px);
  line-height:1.45
}

.hdb-lead {
  max-width:560px;
  margin:0;
  color:#354554
}

.hdb-hero__media {
  width:100%;
  min-width:0;
  min-height:550px;
  margin:0!important
}

.hdb-hero__media img {
  display:block;
  width:100%;
  height:550px;
  object-fit:cover;
  object-position:center
}

.hdb-search {
  position:relative;
  z-index:3;
  width:min(calc(100% - 48px),var(--hdb-max));
  margin:-126px auto 0;
  padding:27px 30px 23px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(13,35,56,.13);
  box-shadow:0 16px 42px rgba(20,26,31,.13)
}

.hdb-search__main {
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(210px,.48fr) minmax(220px,.45fr);
  gap:14px
}

.hdb-search input[type=search],.hdb-search select {
  width:100%;
  height:60px;
  padding:0 19px;
  color:var(--hdb-text);
  background:#fff;
  border:1px solid #d4d8dc;
  border-radius:2px;
  font:inherit
}

.hdb-search button {
  height:60px;
  padding:0 24px;
  color:#fff;
  background:var(--hdb-burgundy);
  border:0;
  border-radius:2px;
  font:700 16px inherit;
  letter-spacing:.03em;
  cursor:pointer
}

.hdb-search button:hover {
  background:var(--hdb-burgundy-dark)
}

.hdb-search input:focus,.hdb-search select:focus,.hdb-search button:focus,.hdb-home a:focus-visible,.hdb-home summary:focus-visible {
  outline:3px solid rgba(143,32,53,.3);
  outline-offset:3px
}

.hdb-search__checks {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 28px;
  margin:17px 0 0;
  padding:0;
  border:0;
  color:#465463;
  font-size:14px
}

.hdb-search__checks legend {
  float:left;
  margin-right:4px;
  color:var(--hdb-muted);
  font-size:12px
}

.hdb-search__checks label {
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap
}

.hdb-update {
  display:flex;
  align-items:center;
  gap:28px;
  padding:30px 0 35px;
  border-bottom:1px solid var(--hdb-line)
}

.hdb-update__date {
  display:flex;
  align-items:center;
  gap:17px
}

.hdb-update__mark {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  color:var(--hdb-gold);
  border:1px solid var(--hdb-gold);
  font-size:10px;
  font-weight:700
}

.hdb-update p {
  margin:0
}

.hdb-update strong {
  font-size:17px
}

.hdb-update small {
  display:block;
  color:var(--hdb-muted);
  font-size:12px
}

.hdb-update>a {
  margin-left:auto;
  font-weight:700
}

.hdb-section {
  padding:74px 0 84px;
  border-top:1px solid var(--hdb-line)
}

.hdb-section:first-of-type {
  border-top:0
}

.hdb-section-head {
  margin-bottom:30px
}

.hdb-section-head--row {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:24px
}

.hdb-section-head h2 {
  margin:0;
  font-size:clamp(28px,3vw,39px);
  line-height:1.45
}

.hdb-section-head p {
  margin:7px 0 0;
  color:var(--hdb-muted);
  font-size:14px
}

.hdb-section-head>a {
  font-size:14px;
  font-weight:700
}

.hdb-verified-grid {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(350px,.95fr);
  gap:36px
}

.hdb-featured {
  position:relative;
  background:var(--hdb-paper);
  border:1px solid var(--hdb-line)
}

.hdb-featured>img {
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover
}

.hdb-badge {
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  margin:0;
  padding:8px 13px;
  color:#fff;
  background:var(--hdb-burgundy);
  font-size:13px;
  font-weight:700
}

.hdb-featured__body {
  padding:22px 24px 25px
}

.hdb-title-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}

.hdb-title-row h3 {
  margin:0;
  color:var(--hdb-navy);
  font-size:23px
}

.hdb-title-row p {
  display:flex;
  gap:7px;
  margin:0
}

.hdb-title-row span {
  padding:3px 8px;
  background:#efede8;
  color:#59646d;
  font-size:11px
}

.hdb-meta-list {
  display:flex;
  flex-wrap:wrap;
  gap:7px 20px;
  margin:12px 0
}

.hdb-meta-list div {
  display:flex;
  gap:6px
}

.hdb-meta-list dt {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}

.hdb-meta-list dd {
  margin:0;
  color:#4c5b69;
  font-size:12px
}

.hdb-featured__body>p {
  margin:12px 0 18px;
  color:#40505f;
  font-size:14px
}

.hdb-card-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px 28px;
  font-size:14px;
  font-weight:700
}

.hdb-venue-column {
  border-top:1px solid var(--hdb-line)
}

.hdb-venue {
  padding:16px 0 17px;
  border-bottom:1px solid var(--hdb-line)
}

.hdb-venue h3 {
  margin:0;
  color:var(--hdb-navy);
  font-size:18px
}

.hdb-venue h3 a {
  text-decoration:none
}

.hdb-venue__place {
  margin:3px 0 8px;
  color:var(--hdb-muted);
  font-size:12px
}

.hdb-venue dl {
  display:grid;
  grid-template-columns:1fr .8fr auto;
  gap:10px;
  margin:0
}

.hdb-venue dl div {
  display:flex;
  gap:5px;
  color:#4d5b67;
  font-size:11px
}

.hdb-venue dt {
  font-weight:700
}

.hdb-venue dd {
  margin:0
}

.hdb-more {
  margin:18px 0 0;
  text-align:right;
  font-size:13px;
  font-weight:700
}

.hdb-store-query {
  width:100%;
  max-width:none!important;
  margin:0!important
}

.hdb-store-query .wp-block-post-template {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important
}

.hdb-store-query .wp-block-post {
  min-width:0;
  margin:0!important
}

.hdb-store-card {
  height:100%;
  margin:0!important;
  overflow:hidden;
  background:var(--hdb-paper);
  border:1px solid var(--hdb-line);
  box-shadow:0 10px 28px rgba(13,35,56,.06)
}

.hdb-store-card__image {
  margin:0!important
}

.hdb-store-card__image a,.hdb-store-card__image img {
  display:block;
  width:100%
}

.hdb-store-card__image img {
  aspect-ratio:4/3;
  object-fit:cover
}

.hdb-store-card__body {
  display:flex;
  min-height:245px;
  flex-direction:column;
  margin:0!important;
  padding:20px 22px 22px
}

.hdb-store-card__area {
  margin:0 0 5px!important;
  color:var(--hdb-gold);
  font-size:12px;
  font-weight:700
}

.hdb-store-card__area a {
  text-decoration:none
}

.hdb-store-card__title {
  margin:0 0 12px!important;
  color:var(--hdb-navy)!important;
  font-size:21px!important;
  line-height:1.5!important
}

.hdb-store-card__title a {
  text-decoration:none
}

.hdb-store-card__excerpt {
  margin:0!important;
  color:#455564;
  font-size:13px
}

.hdb-store-card__excerpt p {
  margin:0
}

.hdb-store-card__excerpt .wp-block-post-excerpt__more-text {
  margin-top:12px;
  font-weight:700
}

.hdb-store-card__updated {
  margin:auto 0 0!important;
  padding-top:16px;
  color:var(--hdb-muted);
  font-size:11px
}

.hdb-store-card__updated time::before {
  content:"最終更新 ";
  font-weight:700
}

.hdb-query-empty {
  margin:0!important;
  padding:24px;
  background:rgba(255,255,255,.55);
  border:1px solid var(--hdb-line);
  color:var(--hdb-muted);
  text-align:center
}

.hdb-latest-section .hdb-more {
  margin:0!important;
  align-self:flex-end
}

.hdb-latest-section .hdb-more a {
  font-weight:700
}

.hdb-areas {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr))
}

.hdb-areas article {
  padding:12px 20px 5px;
  border-left:1px solid var(--hdb-line)
}

.hdb-areas article:first-child {
  border-left:0
}

.hdb-areas img {
  display:block;
  width:90px;
  height:90px;
  margin:0 auto 13px;
  object-fit:contain
}

.hdb-areas h3 {
  margin:0 0 8px;
  color:var(--hdb-navy);
  font-size:17px;
  text-align:center
}

.hdb-areas p {
  min-height:64px;
  margin:0 0 12px;
  color:#596878;
  font-size:11px;
  line-height:1.8
}

.hdb-areas a {
  font-size:12px;
  font-weight:700
}

.hdb-process {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin:0;
  padding:0;
  list-style:none;
  background:rgba(255,255,255,.52);
  border:1px solid var(--hdb-line)
}

.hdb-process li {
  position:relative;
  display:flex;
  gap:12px;
  padding:26px 28px;
  border-left:1px solid var(--hdb-line)
}

.hdb-process li:first-child {
  border-left:0
}

.hdb-process li:not(:last-child)::after {
  content:"›";
  position:absolute;
  top:50%;
  right:-9px;
  z-index:2;
  display:grid;
  place-items:center;
  width:18px;
  height:28px;
  transform:translateY(-50%);
  color:var(--hdb-gold);
  background:var(--hdb-ivory);
  font-size:28px
}

.hdb-process__number {
  display:grid;
  flex:0 0 30px;
  place-items:center;
  width:30px;
  height:30px;
  color:#fff;
  background:var(--hdb-navy);
  border-radius:50%;
  font-size:13px;
  font-weight:700
}

.hdb-process h3 {
  margin:1px 0 10px;
  color:var(--hdb-navy);
  font-size:18px
}

.hdb-process p {
  margin:0 0 12px;
  color:#4c5b68;
  font-size:13px
}

.hdb-process small {
  display:block;
  color:#596570;
  font-size:11px
}

.hdb-method-foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:15px
}

.hdb-method-foot p {
  margin:0;
  color:var(--hdb-muted);
  font-size:11px
}

.hdb-method-foot a {
  font-size:13px;
  font-weight:700;
  white-space:nowrap
}

.hdb-areas {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr))
}

.hdb-areas article {
  height:100%;
  padding:0;
  border-left:1px solid var(--hdb-line)
}

.hdb-areas article:first-child {
  border-left:0
}

.hdb-area-card {
  display:flex;
  height:100%;
  min-height:100%;
  flex-direction:column;
  padding:12px 20px 15px;
  color:inherit;
  text-decoration:none!important;
  transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease
}

.hdb-area-card:hover {
  z-index:1;
  background:rgba(255,255,255,.72);
  box-shadow:0 10px 28px rgba(13,35,56,.08);
  transform:translateY(-2px)
}

.hdb-area-card:focus-visible {
  position:relative;
  z-index:2
}

.hdb-areas img {
  display:block;
  width:90px;
  height:90px;
  margin:0 auto 13px;
  object-fit:contain
}

.hdb-areas h3 {
  margin:0 0 8px;
  color:var(--hdb-navy);
  font-size:17px;
  text-align:center
}

.hdb-areas p {
  min-height:64px;
  margin:0 0 12px;
  color:#596878;
  font-size:11px;
  line-height:1.8
}

.hdb-area-card__cta {
  display:block;
  margin-top:auto;
  font-size:12px;
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.22em
}

.hdb-process {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin:0;
  padding:0;
  list-style:none;
  background:rgba(255,255,255,.52);
  border:1px solid var(--hdb-line)
}

.hdb-process li {
  position:relative;
  display:flex;
  gap:12px;
  padding:26px 28px;
  border-left:0
}

.hdb-process li+li {
  border-left:1px solid var(--hdb-line)
}

.hdb-process li:not(:last-child)::after {
  content:"›";
  position:absolute;
  top:50%;
  right:-12px;
  z-index:2;
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  padding:0 0 2px 1px;
  transform:translateY(-50%);
  color:var(--hdb-gold);
  background:var(--hdb-paper);
  border:1px solid var(--hdb-line);
  border-radius:50%;
  font:700 20px/1 Arial,sans-serif
}

.hdb-process__number {
  display:grid;
  flex:0 0 30px;
  place-items:center;
  width:30px;
  height:30px;
  color:#fff;
  background:var(--hdb-navy);
  border-radius:50%;
  font-size:13px;
  font-weight:700
}

.hdb-process h3 {
  margin:1px 0 10px;
  color:var(--hdb-navy);
  font-size:18px
}

.hdb-process p {
  margin:0 0 12px;
  color:#4c5b68;
  font-size:13px
}

.hdb-process small {
  display:block;
  color:#596570;
  font-size:11px
}

.hdb-method-foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:15px
}

.hdb-method-foot p {
  margin:0;
  color:var(--hdb-muted);
  font-size:11px
}

.hdb-method-foot a {
  font-size:13px;
  font-weight:700;
  white-space:nowrap
}

.hdb-faq-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px 14px
}

.hdb-faq details {
  background:rgba(255,255,255,.48);
  border:1px solid var(--hdb-line)
}

.hdb-faq summary {
  padding:15px 18px;
  color:var(--hdb-navy);
  font-size:14px;
  font-weight:600;
  cursor:pointer
}

.hdb-faq details p {
  margin:0;
  padding:0 18px 17px;
  color:#526170;
  font-size:13px
}

.hdb-site-footer {
  padding:42px 0 18px;
  color:rgba(255,255,255,.82);
  background:var(--hdb-navy)
}

.hdb-footer-grid {
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr 1.12fr;
  gap:30px
}

.hdb-site-footer h2,.hdb-site-footer h3 {
  margin:0 0 12px;
  color:#fff;
  font-family:inherit
}

.hdb-site-footer h2 {
  font-size:18px
}

.hdb-site-footer h3 {
  font-size:14px
}

.hdb-site-footer p,.hdb-site-footer a {
  font-size:11px;
  line-height:1.8
}

.hdb-site-footer nav a {
  display:block;
  margin:3px 0
}

.hdb-footer-about p {
  max-width:220px
}

.hdb-footer-update {
  padding:17px;
  border:1px solid rgba(167,126,54,.72)
}

.hdb-footer-update strong {
  display:block;
  color:#fff;
  font-size:20px
}

.hdb-footer-update p {
  margin:8px 0 0
}

.hdb-footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:25px!important;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.14)
}

.hdb-footer-bottom p {
  margin:0;
  color:rgba(255,255,255,.55);
  font-size:10px
}

@media(max-width:959px) {
  .hdb-hero {
    grid-template-columns:1fr
  }

  .hdb-hero__copy {
    padding:62px 40px 48px;
    background:var(--hdb-paper)
  }

  .hdb-hero__media,.hdb-hero__media img {
    height:380px;
    min-height:380px
  }

  .hdb-search {
    margin-top:-52px
  }

  .hdb-search__main {
    grid-template-columns:1fr 1fr
  }

  .hdb-search__main button {
    grid-column:1/-1
  }

  .hdb-verified-grid {
    grid-template-columns:1fr
  }

  .hdb-areas {
    grid-template-columns:repeat(3,1fr)
  }

  .hdb-areas article:nth-child(4) {
    border-left:0
  }

  .hdb-areas article:nth-child(n+4) {
    margin-top:30px
  }

  .hdb-footer-grid {
    grid-template-columns:repeat(2,1fr)
  }

}

@media(max-width:599px) {
  .hdb-container,.hdb-search {
    width:calc(100% - 32px)
  }

  .hdb-hero__copy {
    padding:48px 20px 36px
  }

  .hdb-home h1 {
    font-size:36px
  }

  .hdb-hero__media,.hdb-hero__media img {
    height:280px;
    min-height:280px
  }

  .hdb-search {
    padding:20px 16px
  }

  .hdb-search__main {
    grid-template-columns:1fr
  }

  .hdb-search__main button {
    grid-column:auto
  }

  .hdb-search__checks {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px
  }

  .hdb-search__checks legend {
    grid-column:1/-1
  }

  .hdb-update {
    display:block
  }

  .hdb-update>a {
    display:inline-block;
    margin:14px 0 0
  }

  .hdb-section {
    padding:56px 0
  }

  .hdb-section-head--row {
    display:block
  }

  .hdb-section-head--row>a {
    display:inline-block;
    margin-top:12px
  }

  .hdb-title-row {
    display:block
  }

  .hdb-title-row p {
    margin-top:8px
  }

  .hdb-meta-list {
    display:block
  }

  .hdb-meta-list div {
    margin-top:5px
  }

  .hdb-venue dl {
    grid-template-columns:1fr
  }

  .hdb-areas {
    grid-template-columns:1fr 1fr
  }

  .hdb-areas article:nth-child(odd) {
    border-left:0
  }

  .hdb-areas article:nth-child(n+3) {
    margin-top:28px
  }

  .hdb-process,.hdb-faq-grid,.hdb-footer-grid {
    grid-template-columns:1fr
  }

  .hdb-process li,.hdb-process li:first-child {
    border-left:0;
    border-top:1px solid var(--hdb-line)
  }

  .hdb-process li:first-child {
    border-top:0
  }

  .hdb-process li::after {
    display:none!important
  }

  .hdb-method-foot,.hdb-footer-bottom {
    display:block
  }

  .hdb-method-foot a {
    display:inline-block;
    margin-top:12px
  }

  .hdb-footer-bottom p+p {
    margin-top:8px
  }

}

@media(max-width:599px) {
  .hdb-container,.hdb-search {
    width:calc(100% - 32px)
  }

  .hdb-hero__copy {
    padding:48px 20px 36px
  }

  .hdb-home h1 {
    font-size:36px
  }

  .hdb-hero__media,.hdb-hero__media img {
    height:280px;
    min-height:280px
  }

  .hdb-search {
    padding:20px 16px
  }

  .hdb-search__main {
    grid-template-columns:1fr
  }

  .hdb-search__main button {
    grid-column:auto
  }

  .hdb-search__checks {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px
  }

  .hdb-search__checks legend {
    grid-column:1/-1
  }

  .hdb-update {
    display:block
  }

  .hdb-update>a {
    display:inline-block;
    margin:14px 0 0
  }

  .hdb-section {
    padding:56px 0
  }

  .hdb-section-head--row {
    display:block
  }

  .hdb-section-head--row>a {
    display:inline-block;
    margin-top:12px
  }

  .hdb-title-row {
    display:block
  }

  .hdb-title-row p {
    margin-top:8px
  }

  .hdb-meta-list {
    display:block
  }

  .hdb-meta-list div {
    margin-top:5px
  }

  .hdb-venue dl {
    grid-template-columns:1fr
  }

  .hdb-areas {
    grid-template-columns:1fr 1fr
  }

  .hdb-areas article:nth-child(odd) {
    border-left:0
  }

  .hdb-areas article:nth-child(n+3) {
    margin-top:28px
  }

  .hdb-process,.hdb-faq-grid,.hdb-footer-grid {
    grid-template-columns:1fr
  }

  .hdb-process li,.hdb-process li:first-child,.hdb-process li+li {
    border-left:0;
    border-top:1px solid var(--hdb-line)
  }

  .hdb-process li:first-child {
    border-top:0
  }

  .hdb-process li::after {
    display:none!important
  }

  .hdb-method-foot,.hdb-footer-bottom {
    display:block
  }

  .hdb-method-foot a {
    display:inline-block;
    margin-top:12px
  }

  .hdb-footer-bottom p+p {
    margin-top:8px
  }

}

@media(prefers-reduced-motion:reduce) {
  .hdb-home * {
    scroll-behavior:auto!important;
    transition:none!important
  }

}

/* 完成見本に合わせた最終文字サイズ調整 */
.hdb-home h1 {
  font-size:clamp(42px,3.4vw,48px)
}

.hdb-featured>img {
  height:auto!important
}

.hdb-section {
  padding:58px 0 64px
}

@media(max-width:599px) {
  .hdb-home h1 {
    font-size:36px
  }

}

/*
 * SWELL本番環境のTOPページ全幅化
 * #main_content の標準最大幅900pxと post_content の内側余白をTOPだけ解除する。
 * SWELLでは home クラスが body ではなく #body_wrap に付く。
 */
#body_wrap.home #content.l-content, #body_wrap.home #main_content.l-mainContent, #body_wrap.home #main_content .l-mainContent__inner, #body_wrap.home #main_content .post_content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* SWELLが#contentへ付けるヘッダー下64pxの余白をTOPだけ解除 */
#body_wrap.home #content.l-content {
  padding-top: 0 !important;
  margin-bottom: 0 !important;
}

#body_wrap.home #content.l-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#body_wrap.home .post_content > .hdb-home {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 分割したブロック間でもFVへの重なり位置を固定する */
#body_wrap.home .hdb-home-fragment .hdb-search {
  margin: -126px auto 0 !important;
}

#body_wrap.home .hdb-home-fragment .hdb-update {
  margin: 0 auto !important;
}

/* カスタマイザーの管理バー表示時もFV幅を維持 */
#body_wrap.home .hdb-hero, #body_wrap.home .hdb-search, #body_wrap.home .hdb-update, #body_wrap.home .hdb-section, #body_wrap.home .hdb-site-footer {
  min-width: 0 !important;
}

/*
 * 2026-08-23 見出し・FVデザイン調整
 * SWELL標準のh2/h3装飾を解除し、このページ専用の見出しへ統一する。
 * FVは右側だけを画面端まで伸ばさず、左右均等な中央パネルにする。
 */
.post_content .hdb-home .hdb-section h2, .post_content .hdb-home .hdb-section h3, .post_content .hdb-home .hdb-section h4 {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.post_content .hdb-home .hdb-section h2::before, .post_content .hdb-home .hdb-section h2::after, .post_content .hdb-home .hdb-section h3::before, .post_content .hdb-home .hdb-section h3::after, .post_content .hdb-home .hdb-section h4::before, .post_content .hdb-home .hdb-section h4::after {
  content: none !important;
  display: none !important;
}

.post_content .hdb-home .hdb-section-head {
  margin: 0 0 32px !important;
  padding: 2px 0 2px 20px !important;
  border-left: 3px solid var(--hdb-gold) !important;
}

.post_content .hdb-home .hdb-section-head h2 {
  position: static !important;
  z-index: auto !important;
  margin: 0 !important;
  color: var(--hdb-navy) !important;
  font-family: "Noto Serif JP", "Yu Mincho", serif !important;
  font-size: clamp(30px, 2.4vw, 38px) !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: .035em !important;
}

.post_content .hdb-home .hdb-section h3, .post_content .hdb-home .hdb-section h4 {
  position: static !important;
  z-index: auto !important;
}

.hdb-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: min(calc(100% - 48px), var(--hdb-max)) !important;
  max-width: var(--hdb-max) !important;
  margin: 0 auto !important;
  box-shadow: 0 24px 70px rgba(20, 26, 31, .09);
  overflow: hidden;
}

.hdb-hero__copy {
  padding: 72px 32px 178px 50px;
  background: var(--hdb-paper);
}

.hdb-home h1 {
  font-size: clamp(40px, 3vw, 46px);
}

.hdb-search {
  width: min(calc(100% - 96px), 1120px);
}

@media (max-width: 959px) {
  .hdb-hero {
    grid-template-columns: 1fr !important;
    width: calc(100% - 32px) !important;
  }

  .hdb-hero__copy {
    padding: 62px 40px 48px;
  }

  .hdb-search {
    width: calc(100% - 48px);
  }

  #body_wrap.home .hdb-home-fragment .hdb-search {
    margin-top: -52px !important;
  }

  .hdb-store-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}

@media (max-width: 599px) {
  .post_content .hdb-home .hdb-section-head {
    padding-left: 14px !important;
  }

  .post_content .hdb-home .hdb-section-head h2 {
    font-size: 29px !important;
  }

  .hdb-hero {
    width: 100% !important;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .hdb-hero__copy {
    padding: 48px 20px 36px;
  }

  .hdb-home h1 {
    font-size: 36px;
  }

  .hdb-search {
    width: calc(100% - 32px);
  }

  .hdb-store-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }

  .hdb-store-card__body {
    min-height: 0;
  }

}

/* ハプバーデータベース / SWELL お問い合わせページ
 * 子テーマ style.css の末尾、または「追加CSS」に一度だけ追加。
 * 既存のTOP・店舗詳細CSSは削除しないでください。
 * .hdb-contact 内だけに適用。TOP用CSSがないページでも動作します。
 */
.hdb-contact-fullwide {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background: #faf7f1;
}

.hdb-contact-fullwide > .swell-block-fullWide__inner {
  width: 100%;
}

.hdb-contact {
  --hdb-contact-navy: #0b253b;
  --hdb-contact-burgundy: #8d1f34;
  --hdb-contact-burgundy-dark: #711628;
  --hdb-contact-gold: #a77e36;
  --hdb-contact-ivory: #faf7f1;
  --hdb-contact-paper: #fffdfa;
  --hdb-contact-text: #0d2438;
  --hdb-contact-muted: #5d6b76;
  --hdb-contact-line: #d9d5cd;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 56px clamp(20px, 4vw, 48px) 64px;
  color: var(--hdb-contact-text);
  background: var(--hdb-contact-ivory);
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.hdb-contact *, .hdb-contact *::before, .hdb-contact *::after {
  box-sizing: border-box;
}

.hdb-contact.hdb-contact--form-page {
  max-width: 960px !important;
}

.hdb-contact .wp-block-group {
  min-width: 0;
}

.hdb-contact p {
  margin: 0 0 16px !important;
}

.hdb-contact a {
  color: var(--hdb-contact-burgundy);
  text-decoration: underline;
  text-underline-offset: .22em;
}

.hdb-contact a:hover {
  text-decoration-thickness: 2px;
}

.hdb-contact :is(a, input, select, textarea, button):focus-visible {
  outline: 3px solid var(--hdb-contact-navy);
  outline-offset: 4px;
}

/* SWELL標準の見出し装飾をお問い合わせの内側だけで解除 */
.hdb-contact h1, .hdb-contact h2, .hdb-contact h3 {
  position: static !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--hdb-contact-navy) !important;
  font-family: "Noto Serif JP", "Yu Mincho", serif !important;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .035em;
}

.hdb-contact h1::before, .hdb-contact h1::after, .hdb-contact h2::before, .hdb-contact h2::after, .hdb-contact h3::before, .hdb-contact h3::after {
  content: none !important;
  display: none !important;
}

.hdb-contact h1 {
  font-size: clamp(28px, 3.2vw, 42px) !important;
}

.hdb-contact h2 {
  font-size: clamp(22px, 2.1vw, 27px) !important;
}

.hdb-contact .hdb-contact__intro {
  margin: 0 0 36px !important;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--hdb-contact-line);
}

.hdb-contact .hdb-contact__eyebrow {
  margin: 0 0 12px !important;
  color: #79602d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.hdb-contact .hdb-contact__lead {
  max-width: 850px;
  margin-bottom: 0 !important;
  color: #40505f;
}

.hdb-contact .hdb-contact__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 32px !important;
}

.hdb-contact .hdb-contact__card {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 28px;
  background: var(--hdb-contact-paper);
  border: 1px solid var(--hdb-contact-line);
  border-top: 3px solid var(--hdb-contact-gold);
}

.hdb-contact .hdb-contact__card h2 {
  font-size: clamp(22px, 2vw, 25px) !important;
}

.hdb-contact .hdb-contact__audience {
  align-self: flex-start;
  margin-bottom: 18px !important;
  padding: 3px 10px;
  color: var(--hdb-contact-navy);
  background: #eee9df;
  font-size: 13px;
  font-weight: 700;
}

.hdb-contact .hdb-contact__list {
  margin: 2px 0 24px !important;
  padding: 0 0 0 1.3em !important;
  border: 0;
  list-style: disc;
  font-size: 14px;
}

.hdb-contact .hdb-contact__list li {
  padding: 0;
  margin: 0 0 8px;
}

.hdb-contact .hdb-contact__list li::marker {
  color: var(--hdb-contact-burgundy);
}

.hdb-contact .hdb-contact__actions {
  display: block;
  margin: auto 0 12px !important;
  padding-top: 8px;
}

.hdb-contact .hdb-contact__button {
  width: 100%;
  margin: 0;
}

.hdb-contact .hdb-contact__button a, .hdb-contact .wpcf7 input[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  color: #fff;
  background: var(--hdb-contact-burgundy);
  border: 1px solid var(--hdb-contact-burgundy);
  border-radius: 2px;
  box-shadow: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.hdb-contact .hdb-contact__button--outline a {
  color: var(--hdb-contact-burgundy);
  background: transparent;
}

.hdb-contact .hdb-contact__button a:hover, .hdb-contact .wpcf7 input[type="submit"]:hover {
  color: #fff;
  background: var(--hdb-contact-burgundy-dark);
}

.hdb-contact .hdb-contact__caption {
  margin-bottom: 0 !important;
  color: var(--hdb-contact-muted);
  font-size: 13px;
  line-height: 1.8;
}

.hdb-contact .hdb-contact__notice {
  margin: 0 0 32px !important;
  padding: 24px 28px;
  border: 1px solid var(--hdb-contact-line);
  background: rgba(255, 255, 255, .5);
}

.hdb-contact .hdb-contact__notice h2 {
  padding-left: 14px !important;
  border-left: 3px solid var(--hdb-contact-gold) !important;
  font-size: 20px !important;
}

.hdb-contact .hdb-contact__notice p {
  font-size: 14px;
}

.hdb-contact .hdb-contact__notice p:last-child {
  margin-bottom: 0 !important;
}

.hdb-contact .hdb-contact__privacy {
  margin: 24px 0 0 !important;
  color: var(--hdb-contact-muted);
  font-size: 13px;
}

.hdb-contact .hdb-contact__back {
  margin-bottom: 28px !important;
  font-size: 13px;
}

.hdb-contact .hdb-contact__form-panel {
  margin: 0 !important;
  padding: 32px;
  border: 1px solid var(--hdb-contact-line);
  background: var(--hdb-contact-paper);
}

.hdb-contact .hdb-contact__form-panel > h2 {
  font-size: 23px !important;
}

/* Contact Form 7。フォーム本体の設定は05・06のテキストを使用。 */
.hdb-contact .wpcf7 {
  margin: 28px 0 0;
}

.hdb-contact .wpcf7 form {
  margin: 0;
}

.hdb-contact .hdb-contact-field {
  margin-bottom: 24px;
}

.hdb-contact .hdb-contact-field > label {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.6;
}

.hdb-contact .hdb-contact-required, .hdb-contact .hdb-contact-optional {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  vertical-align: .1em;
}

.hdb-contact .hdb-contact-required {
  color: #fff;
  background: var(--hdb-contact-burgundy);
}

.hdb-contact .hdb-contact-optional {
  color: #4d5964;
  background: #eeece7;
}

.hdb-contact .wpcf7-form-control-wrap {
  display: block;
}

.hdb-contact .wpcf7 input[type="text"], .hdb-contact .wpcf7 input[type="email"], .hdb-contact .wpcf7 input[type="url"], .hdb-contact .wpcf7 select, .hdb-contact .wpcf7 textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  color: var(--hdb-contact-text);
  background-color: #fff;
  border: 1px solid #9ba3aa;
  border-radius: 2px;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}

.hdb-contact .wpcf7 select {
  padding-right: 32px;
}

.hdb-contact .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.hdb-contact .wpcf7 ::placeholder {
  color: #687581;
  opacity: 1;
}

.hdb-contact .wpcf7 [aria-invalid="true"] {
  border-color: #a31d33 !important;
}

.hdb-contact .wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #a31d33;
  font-size: 14px;
}

.hdb-contact .hdb-contact-help {
  display: block;
  margin-top: 7px;
  color: var(--hdb-contact-muted);
  font-size: 13px;
  line-height: 1.8;
}

.hdb-contact .hdb-contact-consent {
  margin: 30px 0 24px;
  padding-top: 22px;
  border-top: 1px solid var(--hdb-contact-line);
  font-size: 14px;
}

.hdb-contact .hdb-contact-consent .wpcf7-list-item {
  margin: 0;
}

.hdb-contact .hdb-contact-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-block: 10px;
  cursor: pointer;
}

.hdb-contact .wpcf7 input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--hdb-contact-burgundy);
}

.hdb-contact .hdb-contact-submit {
  margin: 0;
}

.hdb-contact .hdb-contact-submit input[type="submit"] {
  max-width: 420px;
  margin: 0 auto;
}

.hdb-contact .wpcf7 input[type="submit"]:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.hdb-contact .wpcf7 .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.hdb-contact .wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 2px;
  font-size: 14px;
}

.hdb-contact .wpcf7 form.sent .wpcf7-response-output {
  color: #254c3d;
  border-color: #315f52;
  background: #f1f7f3;
}

.hdb-contact .wpcf7 form:is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output {
  color: #7d172a;
  border-color: #a31d33;
  background: #fff5f5;
}

@media (max-width: 781px) {
  .hdb-contact {
    padding: 36px 20px 44px;
  }

  .hdb-contact .hdb-contact__choices {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hdb-contact .hdb-contact__card {
    padding: 24px;
  }

  .hdb-contact .hdb-contact__notice {
    padding: 22px;
  }

  .hdb-contact .hdb-contact__form-panel {
    padding: 24px;
  }

  .hdb-contact .hdb-contact__lead br {
    display: none;
  }

}

@media (max-width: 399px) {
  .hdb-contact {
    padding-inline: 14px;
  }

  .hdb-contact .hdb-contact__card, .hdb-contact .hdb-contact__notice, .hdb-contact .hdb-contact__form-panel {
    padding-inline: 18px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hdb-contact .hdb-contact__button a, .hdb-contact .wpcf7 input[type="submit"] {
    transition: none;
  }

}

/* 1ページ切替版。JSが未読込でも初期は両方閉じ、リンク先だけ :target で表示します。 */
.hdb-contact.hdb-contact--tabs {
  max-width: 1040px !important;
}

.hdb-contact--tabs .hdb-contact-tabs-nav {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  margin: 0 0 16px !important;
}

.hdb-contact--tabs .hdb-contact-tabs-button {
  width: 100%;
  margin: 0 !important;
}

.hdb-contact--tabs .hdb-contact-tabs-button a {
  display: block;
  height: 100%;
  min-height: 86px;
  padding: 17px 16px;
  border: 1px solid var(--hdb-contact-line);
  border-radius: 2px;
  background: var(--hdb-contact-paper);
  color: var(--hdb-contact-navy);
  box-shadow: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.hdb-contact--tabs .hdb-contact-tabs-button small {
  font-size: 12px;
  font-weight: 400;
}

.hdb-contact--tabs .hdb-contact-tabs-button a:hover {
  border-color: var(--hdb-contact-burgundy);
  background: #f0ebe4;
}

.hdb-contact--tabs .hdb-contact-tabs-button a[aria-expanded="true"] {
  border-color: var(--hdb-contact-burgundy);
  background: var(--hdb-contact-burgundy);
  color: #fff;
}

.hdb-contact--tabs .hdb-contact-tabs-button a[aria-expanded]::after {
  content: "フォームを開く ＋";
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
}

.hdb-contact--tabs .hdb-contact-tabs-button a[aria-expanded="true"]::after {
  content: "フォームを閉じる −";
}

.hdb-contact--tabs .hdb-contact-tabs-help {
  margin: 0 0 28px !important;
  color: var(--hdb-contact-muted);
  font-size: 13px;
}

.hdb-contact--tabs .hdb-contact-tab-panel {
  display: none !important;
  margin: 0 !important;
  scroll-margin-top: 110px;
}

.hdb-contact--tabs .hdb-contact-tab-panel:target, .hdb-contact--tabs .hdb-contact-tab-panel.is-open {
  display: block !important;
}

.hdb-contact--tabs .hdb-contact-tab-panel[hidden] {
  display: none !important;
}

.hdb-contact--tabs .hdb-contact-tab-panel:focus-visible {
  outline: 3px solid var(--hdb-contact-navy);
  outline-offset: 4px;
}

.hdb-contact--tabs .hdb-contact-form-guide {
  margin: 20px 0 0 !important;
  padding-top: 18px;
  border-top: 1px solid var(--hdb-contact-line);
  font-size: 13px;
  color: var(--hdb-contact-muted);
}

.hdb-contact--tabs .hdb-contact__form-panel h2 {
  text-wrap: balance;
}

@media (max-width: 599px) {
  .hdb-contact--tabs .hdb-contact-tabs-nav {
    gap: 8px !important;
  }

  .hdb-contact--tabs .hdb-contact-tabs-button a {
    padding: 14px 9px;
    font-size: 14px;
  }

  .hdb-contact--tabs .hdb-contact-tabs-button small {
    font-size: 11px;
  }

}
