/*
Theme Name: Global Hosho
Theme URI: https://example.com/
Description: Standalone theme for Global Hosho website.
Author: Global Hosho
Author URI: https://example.com/
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: global-hosho
*/

:root {
  --ghs-accent: #003a8c;
  --ghs-accent-dark: #00255b;
  --ghs-accent-soft: #1e5cb3;
  --ghs-text: #17243d;
  --ghs-text-muted: #435b7f;
  --ghs-bg: #edf3fc;
  --ghs-surface: #f8fbff;
  --ghs-surface-soft: #edf4ff;
  --ghs-border: #c4d8f4;
}

body {
  color: var(--ghs-text);
  background: var(--ghs-bg);
}

/* Logged-in: keep sticky header below the WordPress admin bar (32px desktop, 46px ≤782px). */
body.admin-bar .ghs-site-header.sticky-top {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .ghs-site-header.sticky-top {
    top: 46px;
  }
}


.bg-light {
  background-color: var(--ghs-surface-soft) !important;
}

.btn-primary {
  --bs-btn-bg: var(--ghs-accent);
  --bs-btn-border-color: var(--ghs-accent);
  --bs-btn-hover-bg: var(--ghs-accent-dark);
  --bs-btn-hover-border-color: var(--ghs-accent-dark);
  --bs-btn-active-bg: var(--ghs-accent-dark);
  --bs-btn-active-border-color: var(--ghs-accent-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--ghs-accent);
  --bs-btn-border-color: var(--ghs-accent);
  --bs-btn-hover-bg: var(--ghs-accent);
  --bs-btn-hover-border-color: var(--ghs-accent);
  --bs-btn-active-bg: var(--ghs-accent-dark);
  --bs-btn-active-border-color: var(--ghs-accent-dark);
}

.btn-light.border-primary.text-primary {
  --bs-btn-color: var(--ghs-accent);
  --bs-btn-border-color: var(--ghs-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ghs-accent);
  --bs-btn-hover-border-color: var(--ghs-accent);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
}

.ghs-site-header .custom-logo-link img {
  height: 56px;
  width: auto;
}

@media (max-width: 575.98px) {
  .ghs-site-header .custom-logo-link {
    display: block;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }

  .ghs-site-header .custom-logo-link img {
    height: 42px;
    max-width: calc(100vw - 120px);
    object-fit: contain;
  }
}

.ghs-site-header .navbar-nav > li > a {
  color: var(--ghs-text);
  display: block;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

@media (min-width: 992px) and (max-width: 1400px) {
  .ghs-site-header .ghs-navbar {
    flex: 1 1 0;
    min-width: 0;
  }

  .ghs-site-header .ghs-navbar .navbar-nav {
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    max-width: 100%;
    row-gap: 0.1rem;
    width: 100%;
  }

  #ghs-navbar .navbar-nav > li > a {
    font-size: 0.95rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    white-space: nowrap;
  }

  .ghs-site-header .ghs-nav-row-break {
    border: 0;
    flex-basis: 100%;
    height: 0;
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
  }
}

.ghs-site-header .navbar-nav > li.current-menu-item > a,
.ghs-site-header .navbar-nav > li > a:hover {
  color: var(--ghs-accent);
}

@media (max-width: 991.98px) {
  .ghs-site-header .navbar-collapse {
    text-align: center;
  }

  .ghs-site-header .ghs-navbar {
    background: #fff;
    border-left: 1px solid var(--ghs-border);
    box-shadow: -0.5rem 0 1.5rem rgba(0, 37, 91, 0.12);
    display: block !important;
    height: calc(100vh - 66px) !important;
    max-width: 320px;
    overflow-y: auto;
    padding: 1rem;
    position: fixed;
    right: 0;
    top: 66px;
    transform: translateX(100%);
    transition: transform 0.25s ease, visibility 0.25s ease;
    visibility: hidden;
    width: 82vw;
    z-index: 1040;
  }

  body.admin-bar .ghs-site-header .ghs-navbar {
    height: calc(100vh - 98px) !important;
    top: 98px;
  }

  .ghs-site-header .ghs-navbar.show,
  .ghs-site-header .ghs-navbar.collapsing {
    transform: translateX(0);
    visibility: visible;
  }

  .ghs-site-header .ghs-navbar.collapsing {
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .ghs-site-header .ghs-navbar .navbar-nav {
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    width: 100%;
  }

  .ghs-site-header .navbar-nav > li {
    border-top: 1px solid var(--ghs-border);
  }

  .ghs-site-header .navbar-nav > li:last-child {
    border-bottom: 1px solid var(--ghs-border);
  }

  .ghs-site-header .navbar-nav > li > a {
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar .ghs-site-header .ghs-navbar {
    height: calc(100vh - 112px) !important;
    top: 112px;
  }
}

.ghs-breadcrumb-wrap {
  border-top: 1px solid var(--ghs-border);
  padding: 0.45rem 0;
}

.ghs-breadcrumb-wrap--single,
.ghs-breadcrumb-wrap--archive {
  background: var(--ghs-surface-soft);
  border-top-color: var(--ghs-border);
  padding: 0.65rem 0;
}

.ghs-breadcrumb {
  background: transparent;
  font-size: 0.85rem;
  row-gap: 0.2rem;
}

.ghs-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #7e96bc;
}

.ghs-breadcrumb a {
  color: #4c6690;
  text-decoration: none;
}

.ghs-breadcrumb a:hover {
  color: var(--ghs-accent);
  text-decoration: underline;
}

.ghs-breadcrumb .breadcrumb-item.active {
  color: var(--ghs-text);
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .ghs-biz-card__thumb {
    margin-left: 0;
    margin-right: auto;
  }

  .ghs-biz-card__thumb img {
    object-position: left center;
  }
}

.ghs-site-footer {
  background: var(--ghs-surface);
}

.ghs-footer-info {
  border-bottom: 1px solid var(--ghs-border);
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.ghs-footer-info__name {
  color: var(--ghs-text);
  font-size: 1.125rem;
  font-weight: 700;
}

.ghs-footer-info__contact {
  display: grid;
  gap: 0.35rem;
}

.ghs-footer-info__contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  justify-content: center;
}

.ghs-footer-info__contact dt {
  color: var(--ghs-text);
  font-weight: 700;
}

.ghs-footer-info__contact dd {
  margin: 0;
}

.ghs-footer-permit {
  background: #fff;
  border: 1px solid var(--ghs-border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.ghs-footer-permit__title {
  color: var(--ghs-text);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ghs-footer-permit__text {
  line-height: 1.7;
  margin-bottom: 0.75rem;
  text-wrap: nowrap;
}

.ghs-footer-permit__link {
  color: var(--ghs-accent);
  font-weight: 700;
  text-decoration: none;
}

.ghs-footer-permit__link:hover {
  color: var(--ghs-accent-dark);
  text-decoration: underline;
}

.ghs-footer-nav__list {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ghs-footer-nav__heading {
  color: var(--ghs-text);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.ghs-footer-nav__list a {
  border-bottom: 1px solid var(--ghs-border);
  color: var(--ghs-text);
  display: block;
  padding: 0.65rem 0;
  text-decoration: none;
}

.ghs-footer-nav__list a:hover {
  color: var(--ghs-accent);
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .ghs-footer-info {
    gap: 1.5rem;
    grid-template-areas:
      "contact permit"
      "nav nav";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ghs-footer-info__contact-block {
    grid-area: contact;
  }

  .ghs-footer-permit {
    grid-area: permit;
  }

  .ghs-footer-nav {
    grid-area: nav;
  }

  .ghs-footer-permit__text {
    text-wrap: pretty;
  }

  .ghs-footer-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .ghs-footer-info {
    grid-template-areas: none;
    grid-template-columns: minmax(0, 1fr);
  }

  .ghs-footer-info__contact-block,
  .ghs-footer-permit,
  .ghs-footer-nav {
    grid-area: auto;
  }

  .ghs-footer-nav__list {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ghs-footer-nav__list a {
    padding: 0.75rem 0;
  }
}

@media (min-width: 992px) {
  .ghs-footer-info {
    align-items: start;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) minmax(220px, 320px);
  }

  .ghs-footer-info__contact > div {
    justify-content: flex-start;
  }

  .ghs-footer-nav__heading {
    text-align: left;
  }

  .ghs-footer-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }
}

.ghs-back-to-top {
  border-radius: 999px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: fixed;
  right: 20px;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 48px;
  z-index: 1030;
}

.ghs-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ghs-back-to-top .bi {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.ghs-hero {
  background: linear-gradient(135deg, var(--ghs-accent), var(--ghs-accent-dark));
  color: #fff;
  padding: 64px 20px;
}

.ghs-block .btn,
.ghs-fv .btn {
  font-size: 1rem;
  padding: 0.65rem 1.35rem;
}

.ghs-block .btn-sm {
  font-size: 0.95rem;
  padding: 0.55rem 1.1rem;
}

@media (max-width: 575.98px) {
  .ghs-fv .btn,
  .ghs-block .btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }

  .ghs-fv .d-flex:has(.btn),
  .ghs-block .d-flex:has(.btn) {
    justify-content: center;
  }
}

.ghs-hero--has-image {
  background-image: linear-gradient(rgba(0, 21, 56, 0.55), rgba(0, 21, 56, 0.55)), var(--ghs-hero-bg-image);
  background-position: center;
  background-size: cover;
}

.ghs-hero-slider .carousel-item {
  background: #001538;
}

.ghs-hero-slide {
  align-items: center;
  background-image: linear-gradient(rgba(0, 21, 56, 0.55), rgba(0, 21, 56, 0.55)), var(--ghs-hero-bg-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  min-height: 320px;
  padding: 64px 20px;
}

.ghs-hero-slider .carousel-indicators {
  margin-bottom: 1rem;
}

.ghs-hero__inner {
  margin: 0 auto;
  max-width: 1100px;
}

.ghs-hero__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.3;
  margin: 0 0 16px;
}

.ghs-hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin: 0;
  max-width: 700px;
}

.ghs-page-hero {
  background: linear-gradient(135deg, var(--ghs-accent), var(--ghs-accent-dark));
  color: #fff;
  padding: 56px 20px;
}

.ghs-page-hero--has-image {
  background-image: linear-gradient(rgba(0, 21, 56, 0.55), rgba(0, 21, 56, 0.55)), var(--ghs-page-hero-bg-image);
  background-position: center;
  background-size: cover;
}

.ghs-page-hero__title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.35;
  margin: 0;
}

.ghs-page-hero__desc {
  margin-top: 10px;
  max-width: 760px;
}

.ghs-page-hero__desc p:last-child {
  margin-bottom: 0;
}

.ghs-section {
  margin: 40px auto 0;
  max-width: 1100px;
  padding: 0 20px 40px;
}

.ghs-section form,
.ghs-section .wpcf7,
.ghs-section .mw_wp_form,
.ghs-section .wpforms-container {
  background: #fff;
  border: 1px solid var(--ghs-border);
  border-radius: 0.9rem;
  box-shadow: 0 0.125rem 0.35rem rgba(0, 37, 91, 0.06);
  margin-inline: auto;
  max-width: 760px;
  padding: 1.5rem;
}

.ghs-section form .wpcf7-form,
.ghs-section .wpcf7 form,
.ghs-section .mw_wp_form form,
.ghs-section .wpforms-container form {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  padding: 0;
}

.ghs-section form p,
.ghs-section .wpcf7 p,
.ghs-section .mw_wp_form p,
.ghs-section .wpforms-container .wpforms-field {
  background: #fff;
  border: 1px solid var(--ghs-border);
  border-radius: 0.65rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.ghs-section form label,
.ghs-section .wpcf7 label,
.ghs-section .mw_wp_form label,
.ghs-section .wpforms-container label {
  color: var(--ghs-text);
  font-weight: 700;
  margin: 0;
}

.ghs-section form p > label,
.ghs-section .wpcf7 p > label,
.ghs-section .mw_wp_form p > label,
.ghs-section .wpforms-container .wpforms-field > label {
  align-items: center;
  background: linear-gradient(90deg, var(--ghs-surface-soft) 0, var(--ghs-surface-soft) 8rem, transparent 8rem);
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  min-height: 100%;
  text-align: center;
}

.ghs-section .wpforms-container .wpforms-field > label {
  background: var(--ghs-surface-soft);
  display: flex;
  justify-content: center;
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.ghs-section .wpforms-container .wpforms-field {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
}

.ghs-section form input[type="text"],
.ghs-section form input[type="email"],
.ghs-section form input[type="tel"],
.ghs-section form input[type="url"],
.ghs-section form input[type="number"],
.ghs-section form input[type="date"],
.ghs-section form select,
.ghs-section form textarea,
.ghs-section .wpcf7 input[type="text"],
.ghs-section .wpcf7 input[type="email"],
.ghs-section .wpcf7 input[type="tel"],
.ghs-section .wpcf7 input[type="url"],
.ghs-section .wpcf7 select,
.ghs-section .wpcf7 textarea,
.ghs-section .mw_wp_form input[type="text"],
.ghs-section .mw_wp_form input[type="email"],
.ghs-section .mw_wp_form input[type="tel"],
.ghs-section .mw_wp_form select,
.ghs-section .mw_wp_form textarea,
.ghs-section .wpforms-container input[type="text"],
.ghs-section .wpforms-container input[type="email"],
.ghs-section .wpforms-container input[type="tel"],
.ghs-section .wpforms-container select,
.ghs-section .wpforms-container textarea {
  background: var(--ghs-surface);
  border: 1px solid var(--ghs-border);
  border-radius: 0.5rem;
  box-sizing: border-box;
  color: var(--ghs-text);
  display: block;
  max-width: 100%;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.ghs-section .wpcf7-form-control-wrap,
.ghs-section .mwform-tel-field,
.ghs-section .mwform-zip-field,
.ghs-section .wpforms-field {
  display: block;
  max-width: 100%;
  min-width: 0;
}

.ghs-section .wpcf7-not-valid-tip {
  padding-left: 0.85rem;
  text-align: left;
}

.ghs-section form p input[type="text"],
.ghs-section form p input[type="email"],
.ghs-section form p input[type="tel"],
.ghs-section form p input[type="url"],
.ghs-section form p input[type="number"],
.ghs-section form p input[type="date"],
.ghs-section form p select,
.ghs-section form p textarea,
.ghs-section .wpcf7 p input[type="text"],
.ghs-section .wpcf7 p input[type="email"],
.ghs-section .wpcf7 p input[type="tel"],
.ghs-section .wpcf7 p input[type="url"],
.ghs-section .wpcf7 p select,
.ghs-section .wpcf7 p textarea,
.ghs-section .mw_wp_form p input[type="text"],
.ghs-section .mw_wp_form p input[type="email"],
.ghs-section .mw_wp_form p input[type="tel"],
.ghs-section .mw_wp_form p select,
.ghs-section .mw_wp_form p textarea,
.ghs-section .wpforms-container .wpforms-field input[type="text"],
.ghs-section .wpforms-container .wpforms-field input[type="email"],
.ghs-section .wpforms-container .wpforms-field input[type="tel"],
.ghs-section .wpforms-container .wpforms-field select,
.ghs-section .wpforms-container .wpforms-field textarea {
  border: 1px solid var(--ghs-border);
  border-radius: 0.5rem;
  text-align: left;
}

@media (min-width: 576px) {
  .ghs-section form p input[type="text"],
  .ghs-section form p input[type="email"],
  .ghs-section form p input[type="tel"],
  .ghs-section form p input[type="url"],
  .ghs-section form p input[type="number"],
  .ghs-section form p input[type="date"],
  .ghs-section form p select,
  .ghs-section form p textarea,
  .ghs-section .wpcf7 p input[type="text"],
  .ghs-section .wpcf7 p input[type="email"],
  .ghs-section .wpcf7 p input[type="tel"],
  .ghs-section .wpcf7 p input[type="url"],
  .ghs-section .wpcf7 p select,
  .ghs-section .wpcf7 p textarea,
  .ghs-section .mw_wp_form p input[type="text"],
  .ghs-section .mw_wp_form p input[type="email"],
  .ghs-section .mw_wp_form p input[type="tel"],
  .ghs-section .mw_wp_form p select,
  .ghs-section .mw_wp_form p textarea,
  .ghs-section .wpforms-container .wpforms-field input[type="text"],
  .ghs-section .wpforms-container .wpforms-field input[type="email"],
  .ghs-section .wpforms-container .wpforms-field input[type="tel"],
  .ghs-section .wpforms-container .wpforms-field select,
  .ghs-section .wpforms-container .wpforms-field textarea {
    margin: 0.75rem;
    width: calc(100% - 1.5rem);
  }
}

.ghs-section form textarea,
.ghs-section .wpcf7 textarea,
.ghs-section .mw_wp_form textarea,
.ghs-section .wpforms-container textarea {
  min-height: 10rem;
}

.ghs-section form input:focus,
.ghs-section form select:focus,
.ghs-section form textarea:focus,
.ghs-section .wpcf7 input:focus,
.ghs-section .wpcf7 select:focus,
.ghs-section .wpcf7 textarea:focus,
.ghs-section .mw_wp_form input:focus,
.ghs-section .mw_wp_form select:focus,
.ghs-section .mw_wp_form textarea:focus,
.ghs-section .wpforms-container input:focus,
.ghs-section .wpforms-container select:focus,
.ghs-section .wpforms-container textarea:focus {
  border-color: var(--ghs-accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 58, 140, 0.15);
  outline: 0;
}

.ghs-section form input[type="submit"],
.ghs-section form button[type="submit"],
.ghs-section .wpcf7 input[type="submit"],
.ghs-section .mw_wp_form input[type="submit"],
.ghs-section .wpforms-container button[type="submit"] {
  background: var(--ghs-accent);
  border: 0;
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  display: block;
  font-weight: 700;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 1.75rem;
}

.ghs-section form input[type="submit"]:hover,
.ghs-section form button[type="submit"]:hover,
.ghs-section .wpcf7 input[type="submit"]:hover,
.ghs-section .mw_wp_form input[type="submit"]:hover,
.ghs-section .wpforms-container button[type="submit"]:hover {
  background: var(--ghs-accent-dark);
}

.ghs-section form p:has(input[type="submit"]),
.ghs-section .wpcf7 p:has(input[type="submit"]),
.ghs-section .mw_wp_form p:has(input[type="submit"]),
.ghs-section .wpforms-submit-container {
  background: transparent;
  border: 0;
  text-align: center;
}

@media (max-width: 575.98px) {
  .ghs-section form,
  .ghs-section .wpcf7,
  .ghs-section .mw_wp_form,
  .ghs-section .wpforms-container {
    padding: 0.75rem;
  }

  .ghs-section form p,
  .ghs-section .wpcf7 p,
  .ghs-section .mw_wp_form p,
  .ghs-section .wpforms-container .wpforms-field {
    margin-bottom: 0.75rem;
  }

  .ghs-section form p > label,
  .ghs-section .wpcf7 p > label,
  .ghs-section .mw_wp_form p > label,
  .ghs-section .wpforms-container .wpforms-field > label {
    background: linear-gradient(180deg, var(--ghs-surface-soft) 0, var(--ghs-surface-soft) 2.55rem, transparent 2.55rem);
    display: block;
    padding: 0.55rem 0.9rem 0;
    text-align: left;
  }

  .ghs-section form p > label,
  .ghs-section .wpcf7 p > label,
  .ghs-section .mw_wp_form p > label {
    padding-top: 0.55rem;
  }

  .ghs-section .wpforms-container .wpforms-field > label {
    background: var(--ghs-surface-soft);
    display: block;
    margin: -0.55rem -0.9rem 0.5rem;
    padding: 0.55rem 0.9rem;
    text-align: left;
  }

  .ghs-section form p > label > span,
  .ghs-section .wpcf7 p > label > span,
  .ghs-section .mw_wp_form p > label > span {
    background: transparent;
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 0.85rem;
  }

  .ghs-section .wpforms-container .wpforms-field input,
  .ghs-section .wpforms-container .wpforms-field select,
  .ghs-section .wpforms-container .wpforms-field textarea {
    margin-bottom: 0.5rem;
    margin-top: 0.85rem;
  }

  .ghs-section .wpforms-container .wpforms-field {
    display: block;
  }
}

.ghs-contact-alt {
  background: var(--ghs-surface);
  margin-inline: auto;
  max-width: 760px;
}

.ghs-contact-alt__list {
  display: grid;
  gap: 0.75rem;
}

.ghs-contact-alt__list > div {
  background: #fff;
  border: 1px solid var(--ghs-border);
  border-radius: 0.65rem;
  display: flex;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.ghs-contact-alt__list dt {
  align-items: center;
  background: var(--ghs-surface-soft);
  color: var(--ghs-text);
  display: flex;
  flex: 0 0 7rem;
  font-weight: 700;
  justify-content: center;
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.ghs-contact-alt__list dd {
  color: var(--ghs-text-muted);
  flex: 1 1 auto;
  margin: 0;
  padding: 0.85rem 1rem;
}

.ghs-contact-alt__list a {
  color: var(--ghs-accent);
}

.ghs-single-content > *:first-child {
  margin-top: 0;
}

.ghs-single-content > *:last-child {
  margin-bottom: 0;
}

.ghs-single-content img {
  height: auto;
  max-width: 100%;
}

img.alignright,
figure.alignright,
.wp-caption.alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.5rem;
  max-width: min(50%, 360px);
}

img.alignright,
figure.alignright img,
.wp-caption.alignright img {
  height: auto;
  max-width: 100%;
}

@media (max-width: 767.98px) {
  img.alignright,
  figure.alignright,
  .wp-caption.alignright {
    float: none;
    margin: 0 0 1rem;
    max-width: 100%;
  }
}

.ghs-access-map__frame {
  background: var(--ghs-surface-soft);
  border: 1px solid var(--ghs-border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.ghs-access-map__list {
  display: grid;
  gap: 1.5rem;
}

.ghs-access-map__item {
  background: #fff;
  border: 1px solid var(--ghs-border);
  border-radius: 0.9rem;
  padding: 1.25rem;
}

.ghs-access-map__address {
  color: var(--ghs-text-muted);
  line-height: 1.8;
}

.ghs-access-map__contact {
  display: grid;
  gap: 0.4rem;
}

.ghs-access-map__contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.ghs-access-map__contact dt {
  color: var(--ghs-text);
  font-weight: 700;
  min-width: 3rem;
}

.ghs-access-map__contact dd {
  color: var(--ghs-text-muted);
  margin: 0;
}

.ghs-access-map__contact a {
  color: var(--ghs-accent);
}

.ghs-access-map__frame iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  min-height: 320px;
  width: 100%;
}

.ghs-outline-table-wrap {
  background: #fff;
  overflow-x: auto;
}

.ghs-outline-table {
  border-collapse: collapse;
  border-top: 1px solid #d8e1ee;
  color: var(--ghs-text);
  font-size: 0.95rem;
  margin: 0;
}

.ghs-outline-table th,
.ghs-outline-table td {
  border-bottom: 1px solid #d8e1ee;
  line-height: 1.8;
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
}

.ghs-outline-table th {
  background: #f3f6fa;
  border-right: 1px solid #d8e1ee;
  color: var(--ghs-text);
  font-weight: 700;
  white-space: nowrap;
}

.ghs-outline-table td {
  background: #fff;
}

.ghs-outline-table p {
  margin-bottom: 0.6em;
}

.ghs-outline-table p:last-child {
  margin-bottom: 0;
}

.ghs-outline-table .table-h5 {
  color: var(--ghs-text);
  font-size: 1rem;
  margin: 0 0 0.35em;
}

.ghs-outline-table a {
  color: var(--ghs-accent);
}

@media (max-width: 575.98px) {
  .ghs-outline-table,
  .ghs-outline-table tbody,
  .ghs-outline-table tr,
  .ghs-outline-table th,
  .ghs-outline-table td {
    display: block;
    width: 100% !important;
  }

  .ghs-outline-table th {
    border-right: 0;
    padding-bottom: 0.65rem;
  }

  .ghs-outline-table td {
    padding-top: 0.75rem;
  }
}

.ghs-posts {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ghs-posts__item {
  background: var(--ghs-surface);
  border: 1px solid var(--ghs-border);
  border-radius: 12px;
  padding: 20px;
}

.ghs-archive-table-wrap {
  background: #fff;
  border: 1px solid var(--ghs-border);
  border-radius: 0.9rem;
  overflow-x: auto;
}

.ghs-archive-table {
  border-collapse: collapse;
  margin: 0;
  width: 100%;
}

.ghs-archive-table th,
.ghs-archive-table td {
  border-bottom: 1px solid var(--ghs-border);
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: middle;
}

.ghs-archive-table tr:last-child th,
.ghs-archive-table tr:last-child td {
  border-bottom: 0;
}

.ghs-archive-table th {
  background: var(--ghs-surface-soft);
  color: var(--ghs-text-muted);
  font-weight: 700;
  white-space: nowrap;
  width: 10rem;
}

.ghs-archive-table a {
  color: var(--ghs-text);
  font-weight: 700;
  text-decoration: none;
}

.ghs-archive-table a:hover {
  color: var(--ghs-accent);
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .ghs-archive-table th,
  .ghs-archive-table td {
    display: block;
    width: 100%;
  }

  .ghs-archive-table th {
    border-bottom: 0;
    padding-bottom: 0.35rem;
  }

  .ghs-archive-table td {
    padding-top: 0.35rem;
  }
}

.ghs-posts--archive .ghs-posts__item {
  overflow: hidden;
  padding: 0;
}

.ghs-posts__title a {
  color: var(--ghs-text);
  text-decoration: none;
}

.ghs-posts__title a:hover {
  color: var(--ghs-accent);
}

.ghs-posts__excerpt {
  line-height: 1.7;
}

.ghs-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.ghs-pagination .page-numbers {
  background: #fff;
  border: 1px solid var(--ghs-border);
  border-radius: 0.45rem;
  color: var(--ghs-text);
  display: inline-block;
  min-width: 2.25rem;
  padding: 0.45rem 0.75rem;
  text-align: center;
  text-decoration: none;
}

.ghs-pagination .page-numbers.current,
.ghs-pagination .page-numbers:hover {
  background: var(--ghs-accent);
  border-color: var(--ghs-accent);
  color: #fff;
}

.ghs-purchase-card {
  overflow: hidden;
}

.ghs-purchase-card__image-wrap {
  background: var(--ghs-surface-soft);
  aspect-ratio: 16 / 10;
}

.ghs-purchase-card__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ghs-purchase-card__category {
  color: var(--ghs-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.ghs-purchase-card__price {
  font-weight: 700;
}

.ghs-purchase-card__title-link {
  color: inherit;
  text-decoration: none;
}

.ghs-purchase-card__title-link:hover {
  color: var(--ghs-accent);
}

.ghs-purchase-card--summary > .row {
  min-height: 0;
}

.ghs-purchase-card__image-wrap--summary {
  height: 100%;
  min-height: 200px;
}

@media (min-width: 768px) {
  .ghs-purchase-card--summary .ghs-purchase-card__image-wrap--summary {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.ghs-product-card {
  overflow: hidden;
}

.ghs-product-card__image-wrap {
  background: var(--ghs-surface-soft);
  aspect-ratio: 16 / 10;
}

.ghs-product-card__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

#news {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#news .ghs-notice-simple {
  list-style: none;
  margin: 0 auto;
  max-width: 52rem;
  padding: 0;
}

#news .ghs-notice-simple__item {
  margin-bottom: 0.65rem;
}

#news .ghs-notice-simple__item:last-child {
  margin-bottom: 0;
}

#news .ghs-notice-list__title {
  color: var(--ghs-text);
}

#news .ghs-notice-list__title:hover {
  color: var(--ghs-accent);
}

.ghs-fv__img {
  object-fit: cover;
}

@media (max-width: 575.98px) {
  .ghs-fv .carousel-inner {
    min-height: 620px;
  }

  .ghs-fv .carousel-item {
    min-height: 620px;
  }

  .ghs-fv .carousel-item > .container {
    min-height: 620px;
  }

  .ghs-fv__title {
    min-height: 4.2em;
  }

  .ghs-fv__lead {
    min-height: 4.8em;
  }

  .ghs-fv__visual {
    min-height: 240px;
  }
}

.ghs-fv__visual-link {
  color: inherit;
}

.ghs-fv__visual-link:hover .ghs-fv__img,
.ghs-fv__visual-link:focus .ghs-fv__img {
  transform: scale(1.03);
}

.ghs-fv__visual-link .ghs-fv__img {
  transition: transform 0.2s ease;
}

.ghs-fv .carousel-control-prev,
.ghs-fv .carousel-control-next {
  filter: invert(1) grayscale(1);
  opacity: 0.45;
  width: 3rem;
}

.ghs-fv .carousel-control-prev:hover,
.ghs-fv .carousel-control-next:hover {
  opacity: 0.75;
}

.ghs-fv__indicators [data-bs-target] {
  background-color: var(--ghs-accent);
  height: 0.35rem;
  opacity: 0.35;
  width: 2rem;
}

.ghs-fv__indicators .active {
  opacity: 1;
}

.ghs-block__lead {
  max-width: 40rem;
}

/* --- Front: 選ばれる理由 (#reasons) --- */
#reasons.ghs-reasons {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 58, 140, 0.08) 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(30, 92, 179, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #e6f0ff 0%, var(--ghs-surface-soft) 55%, var(--ghs-surface) 100%);
  border-bottom: 1px solid rgba(0, 58, 140, 0.07);
  overflow: hidden;
  position: relative;
}

#reasons.ghs-reasons::before {
  background: linear-gradient(90deg, var(--ghs-accent-dark), var(--ghs-accent-soft), var(--ghs-accent));
  content: "";
  height: 4px;
  left: 0;
  opacity: 0.92;
  position: absolute;
  right: 0;
  top: 0;
}

.ghs-reasons__heading {
  color: var(--ghs-text);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  margin-inline: auto;
  max-width: 100%;
  padding-bottom: 1.1rem;
  position: relative;
  width: fit-content;
}

.ghs-reasons__heading::after {
  background: linear-gradient(90deg, var(--ghs-accent), var(--ghs-accent-soft));
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  width: 100%;
}

.ghs-reason-card {
  align-items: stretch !important;
  backdrop-filter: blur(10px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 244, 255, 0.94) 100%);
  border: 4px solid rgba(0, 58, 140, 0.55);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 37, 91, 0.045);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.ghs-reason-card::after {
  background: linear-gradient(180deg, var(--ghs-accent), var(--ghs-accent-soft));
  border-radius: 0 2px 2px 0;
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0.88;
  position: absolute;
  top: 0;
  width: 4px;
}

.ghs-reason-card__body {
  min-width: 0;
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
}

.ghs-reason-card__title {
  color: var(--ghs-text);
  letter-spacing: 0.02em;
}

.ghs-reason-card__text {
  color: var(--ghs-text-muted);
  line-height: 1.55;
}

.ghs-biz-card__link {
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ghs-biz-card__link:hover,
.ghs-biz-card__link:focus {
  border-color: var(--ghs-accent) !important;
  box-shadow: 0 0.35rem 1rem rgba(0, 37, 91, 0.12) !important;
  color: inherit;
  transform: translateY(-2px);
}

.ghs-biz-card__link:hover .card-title,
.ghs-biz-card__link:focus .card-title {
  color: var(--ghs-accent);
}

.ghs-reason-card__num {
  align-self: stretch;
  background: linear-gradient(160deg, var(--ghs-accent) 0%, var(--ghs-accent-dark) 100%);
  border-radius: 0;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 3.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0;
  padding: 0.2em 0.45em;
  position: relative;
  text-align: center;
  z-index: 1;
}

.ghs-flow-scroll {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.ghs-flow-step {
  flex: 0 0 auto;
  min-width: 7.5rem;
}

.ghs-flow-card__content {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.ghs-flow-card__icon {
  align-items: center;
  background: var(--ghs-surface-soft);
  border-radius: 999px;
  display: flex;
  height: 128px;
  justify-content: center;
  overflow: hidden;
  width: 128px;
}

.ghs-flow-card__icon-img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 767.98px) {
  .ghs-flow-scroll {
    overflow-x: visible;
  }

  .ghs-flow-row {
    flex-direction: column;
  }

  .ghs-flow-step {
    min-width: 0;
    width: 100%;
  }

  .ghs-flow-card__content {
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
    text-align: left;
  }

  .ghs-flow-card__media {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.75rem;
    text-align: center;
  }

  .ghs-flow-card__label {
    margin-bottom: 0 !important;
    white-space: nowrap;
  }

  .ghs-flow-card__media .ghs-flow-card__icon {
    margin-bottom: 0 !important;
  }

  .ghs-flow-card__title {
    flex: 1 1 auto;
  }

  .ghs-flow-arrow {
    transform: rotate(90deg);
  }
}

@media (min-width: 768px) {
  .ghs-flow-step {
    flex: 1 1 0;
    max-width: 12.5rem;
    min-width: 0;
  }
}

.ghs-flow-arrow {
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
}

.ghs-faq-accordion {
  max-width: 48rem;
}

.ghs-faq-answer > *:last-child {
  margin-bottom: 0;
}

.ghs-faq-answer img {
  height: auto;
  max-width: 100%;
}

.ghs-cta-band {
  background: linear-gradient(180deg, #dceaff 0%, #c9ddfb 100%);
}

@media (min-width: 992px) {
  #about .ghs-about-columns > .wp-block-post-content:only-child {
    column-count: 2;
    column-gap: 2.5rem;
  }

  #about .ghs-about-columns > .wp-block-post-content:only-child > * {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  #about .ghs-about-columns:not(:has(> .wp-block-post-content:only-child)) {
    column-count: 2;
    column-gap: 2.5rem;
  }

  #about .ghs-about-columns:not(:has(> .wp-block-post-content:only-child)) > * {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

#about .ghs-about-card {
  background: var(--ghs-surface);
}

#about .ghs-about-card .card-body {
  border-top: 3px solid var(--ghs-accent);
}

.ghs-about-item__content img {
  height: auto;
  max-width: 100%;
}

.ghs-about-item__content > *:last-child {
  margin-bottom: 0;
}

.purchase-flow-intro img {
  height: auto;
  max-width: 100%;
}

.business-content-lead img {
  height: auto;
  max-width: 100%;
}

.business-content-detail img {
  height: auto;
  max-width: 100%;
}
.business-content-detail > h3:nth-child(1) {
  background-color: var(--ghs-accent);
  padding: 1rem 2rem;
  color: white;
}
.business-content-detail {
  background-color: #fff !important;
  padding: 0 !important;
}

.business-content-detail-anchor {
  scroll-margin-top: 6rem;
}

.business-content-detail > *:last-child {
  margin-bottom: 0;
}
.business-content-detail-content {
  padding: 1rem 2rem;
}
.business-content-catch {
  text-align: center;
}

.business-content-editor-content > *:first-child {
  margin-top: 0;
}

.works-intro-lead img {
  height: auto;
  max-width: 100%;
}

.ghs-works-page-card__summary > *:first-child {
  margin-top: 0;
}

.ghs-works-page-card__summary p {
  margin-bottom: 0.4em;
}

.ghs-works-page-card__summary > *:last-child {
  margin-bottom: 0;
}

.ghs-works-page-card__summary img {
  height: auto;
  max-width: 100%;
}

.purchase-flow-step__label-block {
  align-items: center;
  background: #d4e4fb;
  border: 1px solid #9fbee8;
  border-radius: 0.5rem 0.5rem 0 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  gap: 0.65rem 0.85rem;
  justify-content: flex-start;
  min-height: 100%;
  width: 100%;
}

.purchase-flow-step__label-block .purchase-flow-step__label {
  flex-shrink: 0;
}

.purchase-flow-step__label-block .purchase-flow-step__title {
  color: var(--ghs-text);
  flex: 1 1 12rem;
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.purchase-flow-steps .purchase-flow-step .card-body {
  padding: 0;
}

.purchase-flow-step-arrow {
  color: var(--ghs-accent);
  flex-shrink: 0;
  line-height: 0;
}

.purchase-flow-step-arrow__icon {
  display: block;
  opacity: 0.88;
}

@media (min-width: 768px) {
  .purchase-flow-step__label-block {
    border-radius: 0.5rem 0 0 0.5rem;
  }

  .purchase-flow-steps .purchase-flow-step__label-col {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
  }

  .purchase-flow-steps .purchase-flow-step__label-block {
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start;
    max-width: calc(2em + 3rem);
    width: calc(2em + 3rem);
  }

  .purchase-flow-steps .purchase-flow-step__label-block .purchase-flow-step__title {
    flex: none;
    width: 100%;
  }

  .purchase-flow-steps .purchase-flow-step__label {
    text-align: center;
    width: 100%;
  }
}

.purchase-flow-step__label {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--ghs-accent);
  display: block;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: left;
}

.purchase-flow-step__body {
  text-align: left;
}

.purchase-flow-step__text > *:first-child {
  margin-top: 0;
}

.purchase-flow-step__text p {
  margin-bottom: 0.4em;
}

.purchase-flow-step__text > *:last-child {
  margin-bottom: 0;
}

.purchase-flow-step__text img {
  height: auto;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .purchase-flow-step__text img {
    display: block;
    margin-left: 1rem;
    margin-right: 0;
    width: min(50%, 360px);
  }
}

@media (max-width: 767.98px) {
  .purchase-flow-step__text figure,
  .purchase-flow-step__text p:has(> img:only-child) {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .purchase-flow-step__text figure img,
  .purchase-flow-step__text p > img:only-child {
    display: block;
    width: 100%;
  }
}
