/* Header rules from YOUTOWN's public layout, scoped to the reused header on hose pages. */
.unified-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 246, 242, .98);
  border-bottom: 1px solid #dce1da;
  color: #173f3c;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
}
.unified-header .header-inner,
.hose-section-inner {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.unified-header .header-inner { min-height: 90px; }
.unified-header a { text-decoration: none; }
.unified-header a.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  line-height: 1.15;
  flex-shrink: 0;
}
.unified-header .brand-name {
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #173f3c;
}
.unified-header .brand-dot { color: #bd451f; }
.unified-header .brand-tag {
  font-size: 10px;
  letter-spacing: .04em;
  margin-top: 6px;
  font-weight: 700;
  color: #65706a;
}
.unified-header .desktop-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}
.unified-header .desktop-nav a {
  font-size: 12px;
  font-weight: 700;
  padding: 12px 0;
  color: #273b37;
  white-space: nowrap;
}
.unified-header .desktop-nav a:hover { color: #bd451f; }
.unified-header .header-actions { display: flex; align-items: center; gap: 16px; }
.unified-header .header-actions .button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #bd451f;
  color: #fff;
  font-size: 13px;
  min-height: 46px;
  padding: 12px 20px;
  gap: 22px;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}
.unified-header .header-actions .button-small:hover { background: #a23717; }
.unified-header .button-small span { font-size: 23px; font-weight: 400; }
.unified-header .mobile-menu { display: none; }
.unified-header .sr-only {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.unified-header :is(a, summary):focus-visible,
.hose-section-bar :is(a, summary):focus-visible {
  outline: 3px solid #d77337;
  outline-offset: 4px;
}

.hose-section-bar {
  --hose-nav-paper: #f2efe9;
  --hose-nav-ink: #173f3c;
  position: relative;
  z-index: 20;
  background: var(--hose-nav-paper);
  color: var(--hose-nav-ink);
  border-bottom: 1px solid #ded9cf;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.35;
}
.hose-section-inner {
  min-height: 48px;
  gap: clamp(4px, 1.2vw, 16px);
  font-size: 13px;
}
.hose-section-bar .hose-section-home {
  display: block;
  min-width: 0;
  min-height: 44px;
  margin-inline-end: auto;
  overflow: hidden;
  color: var(--hose-nav-ink);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 800;
  line-height: 44px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hose-section-bar .hose-section-home:hover,
.hose-section-bar :is(.hose-section-shop, .hose-section-contact)[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
}
.hose-section-bar :is(.hose-section-shop, .hose-section-contact, .language-picker summary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 9px;
  border: 0;
  border-radius: 4px;
  color: var(--hose-nav-ink);
  font-size: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.hose-section-bar :is(.hose-section-shop:hover, .hose-section-contact:hover, .language-picker summary:hover, .language-picker[open] summary) {
  background: #e4e9e1;
}
.hose-section-bar .hose-nav-short { display: none; }
.hose-section-bar .language-picker {
  position: relative;
  margin: 0;
}
.hose-section-bar .language-picker summary {
  list-style: none;
  cursor: pointer;
}
.hose-section-bar .language-picker summary::-webkit-details-marker { display: none; }
.hose-section-bar .language-picker summary > svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}
.hose-section-bar .language-picker summary > span,
.hose-section-bar .language-picker summary > span[aria-hidden] { display: inline; }
.hose-section-bar .language-panel {
  position: absolute;
  z-index: 2;
  inset: calc(100% + 8px) 0 auto auto;
  width: min(272px, calc(100vw - 40px));
  max-height: min(60vh, 490px);
  overflow: auto;
  padding: 8px;
  border: 1px solid #b8cbc4;
  border-radius: 10px;
  background: #faf8f3;
  box-shadow: 0 12px 30px #0003;
  color: var(--hose-nav-ink);
}
.hose-section-bar .language-panel p {
  margin: 4px 10px 6px;
  color: #465a55;
  font-size: 12px;
}
.hose-section-bar .language-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 5px;
  color: var(--hose-nav-ink);
  font-size: 14px;
  text-decoration: none;
}
.hose-section-bar .language-panel a:is(:hover, :focus-visible, [aria-current]) {
  background: #e1ede5;
}

@media (max-width: 1050px) {
  .unified-header .desktop-nav { display: none; }
  .unified-header .mobile-menu { display: block; }
  .unified-header .mobile-menu summary {
    list-style: none;
    cursor: pointer;
    width: 38px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  .unified-header .mobile-menu summary::-webkit-details-marker { display: none; }
  .unified-header .mobile-menu summary > span:not(.sr-only) {
    display: block;
    width: 23px;
    height: 2px;
    background: #173f3c;
  }
  .unified-header .mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 90px);
    overflow: auto;
    background: #f7f6f2;
    padding: 16px 24px 24px;
    border-bottom: 1px solid #dce1da;
    box-shadow: 0 20px 25px #173f3c15;
  }
  .unified-header .mobile-menu nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e1e6df;
    font-size: 15px;
    color: #173f3c;
  }
}

@media (max-width: 700px) {
  .unified-header .header-inner,
  .hose-section-inner { width: calc(100% - 40px); }
  .unified-header .header-inner { min-height: 74px; gap: 8px; }
  .unified-header .brand-name { font-size: 25px; }
  .unified-header .brand-tag { font-size: 8px; }
  .unified-header .header-actions { gap: 10px; }
  .unified-header .header-actions .button-small {
    font-size: 11px;
    min-height: 43px;
    padding: 10px 13px;
    gap: 11px;
  }
  .unified-header .button-small span { font-size: 18px; }
}

@media (max-width: 560px) {
  .hose-section-inner { width: calc(100% - 32px); gap: 2px; font-size: 13px; }
  .hose-section-bar .hose-section-home { font-size: 13px; }
  .hose-section-bar .hose-nav-full { display: none; }
  .hose-section-bar .hose-nav-short { display: inline; }
  .hose-section-bar :is(.hose-section-shop, .hose-section-contact) { padding-inline: 7px; }
  .hose-section-bar .language-picker summary { padding-inline: 3px; }
  .hose-section-bar .language-picker summary > span:not([aria-hidden]) { display: none; }
}

@media (max-width: 360px) {
  .unified-header .header-inner,
  .hose-section-inner { width: calc(100% - 32px); }
  .hose-section-inner { gap: 1px; }
  .hose-section-bar .hose-section-home { font-size: 12px; }
  .hose-section-bar :is(.hose-section-shop, .hose-section-contact) { padding-inline: 4px; }
  .unified-header .brand-name { font-size: 24px; }
  .unified-header .header-actions { gap: 8px; }
  .unified-header .header-actions .button-small { padding-inline: 10px; gap: 8px; }
  .unified-header .mobile-menu summary { width: 30px; height: 38px; }
}
