/* ==========================================================
   HOBO-YA NEW SITE HEADER
   Test stylesheet for index-header-test.html
   ========================================================== */

:root {
  --hby-ocean-blue: #045893;
  --hby-ocean-blue-hover: #034978;
}

.hby-site-header,
.hby-site-header * {
  box-sizing: border-box;
}

.hby-site-header {
  background: #fff;
  color: #16363b;
}

/* Trust strip */
.hby-trustbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 34px;
  padding: 6px 18px;
  background: var(--hby-ocean-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.hby-trustbar span {
  position: relative;
  padding: 0 18px;
  white-space: nowrap;
}

.hby-trustbar span:first-child {
  padding-left: 0;
}

.hby-trustbar span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.45);
  transform: translateY(-50%);
}

/* Main row */
.hby-header-main {
  display: flex;
  align-items: center;
  min-height: 128px;
  padding: 13px 18px 12px;
  background: #fff;
}

.hby-brand {
  flex: 0 0 270px;
  padding-right: 18px;
}

.hby-logo-link {
  display: inline-block;
  line-height: 0;
}

.hby-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  border: 0;
}

.hby-header-copy {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 18px 0 8px;
  border-left: 1px solid #dbe6e8;
}

.hby-header-lead {
  margin: 0 0 7px;
  color: #173c45;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.hby-header-lead strong {
  color: var(--hby-ocean-blue);
  font-size: 1.08em;
}

.hby-header-sub {
  margin: 0;
  color: #66777b;
  font-size: 12px;
  line-height: 1.55;
}

.hby-header-contact {
  flex: 0 0 318px;
  text-align: right;
}

.hby-phone {
  display: inline-block;
  color: var(--hby-ocean-blue);
  text-decoration: none;
  text-align: right;
}

.hby-phone:hover,
.hby-phone:focus {
  color: var(--hby-ocean-blue-hover);
}

.hby-phone-label {
  display: block;
  margin-bottom: 1px;
  color: #66777b;
  font-size: 11px;
  font-weight: 700;
}

.hby-phone-number {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
}

.hby-phone-number::before {
  content: "TEL ";
  color: var(--hby-ocean-blue);
  font-size: 12px;
  vertical-align: 4px;
  letter-spacing: .03em;
}

.hby-hours {
  display: block;
  margin-top: 3px;
  color: #68777a;
  font-size: 11px;
}

.hby-contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.hby-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.hby-btn:hover,
.hby-btn:focus {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 9px rgba(0,0,0,.16);
}

.hby-btn-line {
  background: #18a53a;
}

.hby-btn-line:hover,
.hby-btn-line:focus {
  background: #12852e;
}

.hby-btn-contact {
  background: #e6a545;
  color: #3f2b0c !important;
}

.hby-btn-contact:hover,
.hby-btn-contact:focus {
  background: #f0b455;
  color: #342306 !important;
}

.hby-mobile-actions {
  display: none;
}

/* The existing PVII AMM menu remains untouched below this header. */

@media only screen and (max-width: 860px) {
  .hby-header-main {
    min-height: 110px;
    padding: 10px 14px;
  }

  .hby-brand {
    flex-basis: 220px;
    padding-right: 14px;
  }

  .hby-logo {
    width: 205px;
  }

  .hby-header-copy {
    padding-left: 14px;
    padding-right: 12px;
  }

  .hby-header-lead {
    font-size: 15px;
  }

  .hby-header-sub {
    font-size: 11px;
  }

  .hby-header-contact {
    flex-basis: 250px;
  }

  .hby-phone-number {
    font-size: 23px;
  }

  .hby-btn {
    padding: 8px 10px;
    font-size: 11px;
  }
}

/* Smartphone */
@media only screen and (max-width: 700px) {
  .hby-trustbar {
    justify-content: center;
    min-height: 31px;
    padding: 6px 4px;
    font-size: 10px;
  }

  .hby-trustbar span {
    flex: 1 1 33.333%;
    padding: 0 5px;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }

  .hby-header-main {
    display: flex;
    min-height: 80px;
    padding: 8px 10px;
  }

  .hby-brand {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }

  .hby-logo {
    width: 190px;
    max-width: 100%;
  }

  .hby-header-copy {
    display: none;
  }

  .hby-header-contact {
    flex: 0 0 auto;
    margin-left: 8px;
  }

  .hby-phone,
  .hby-contact-actions .hby-btn-line {
    display: none;
  }

  .hby-contact-actions {
    margin: 0;
  }

  .hby-contact-actions .hby-btn-contact {
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hby-contact-actions .hby-btn-contact::before {
    content: "相談・予約";
    font-size: 0;
  }

  .hby-contact-actions .hby-btn-contact {
    font-size: 0;
  }

  .hby-contact-actions .hby-btn-contact::after {
    content: "相談・予約";
    font-size: 12px;
  }

  .hby-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #d9e5e7;
    border-bottom: 1px solid #d9e5e7;
    background: #fff;
  }

  .hby-mobile-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 62px;
    padding: 8px 5px 7px;
    color: #263238 !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    border-right: 1px solid #d9e5e7;
    transition: background-color .18s ease, color .18s ease;
  }

  .hby-mobile-action:last-child {
    border-right: 0;
  }

  .hby-mobile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    font-size: 14px;
    line-height: 1;
  }

  .hby-mobile-label {
    display: block;
    white-space: nowrap;
  }

  /* LINE */
  .hby-mobile-line {
    background: #f5fff7;
    color: #138a32 !important;
  }

  .hby-mobile-line:hover,
  .hby-mobile-line:focus {
    background: #e9faed;
    color: #0f7429 !important;
  }

  .hby-mobile-icon-line {
    position: relative;
    min-width: 39px;
    height: 25px;
    padding: 0 6px;
    border-radius: 8px;
    background: #18a53a;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .02em;
  }

  .hby-mobile-icon-line::after {
    content: "";
    position: absolute;
    left: 8px;
    bottom: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid #18a53a;
    border-right: 5px solid transparent;
  }

  /* Phone */
  .hby-mobile-phone {
    background: #f2f8fd;
    color: var(--hby-ocean-blue) !important;
  }

  .hby-mobile-phone:hover,
  .hby-mobile-phone:focus {
    background: #e6f1fa;
    color: var(--hby-ocean-blue-hover) !important;
  }

  .hby-mobile-icon-phone {
    width: 30px;
    border-radius: 50%;
    background: var(--hby-ocean-blue);
    color: #fff;
  }

  /* Contact / reservation */
  .hby-mobile-contact {
    background: #fff8ee;
    color: #9a5b00 !important;
  }

  .hby-mobile-contact:hover,
  .hby-mobile-contact:focus {
    background: #fff0d9;
    color: #7e4900 !important;
  }

  .hby-mobile-icon-contact {
    width: 30px;
    border-radius: 50%;
    background: #e6a545;
    color: #fff;
  }

  .hby-pc-only {
    display: none;
  }
}

@media only screen and (max-width: 390px) {
  .hby-logo {
    width: 165px;
  }

  .hby-contact-actions .hby-btn-contact {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hby-trustbar {
    font-size: 9px;
  }
}
