@charset "utf-8";

/* ==========================================================================
   Step 2-1: Aiprah Header & FV Overrides (Keeping exact reference airiness)
   ========================================================================== */

/* Simple 4-item header navigation without mega-menu dropdown arrows */
.header .menu-header__nav-item {
  cursor: pointer;
}

.header .menu-header__nav-item a.aiprah-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  padding: 8px 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header .menu-header__nav-item a.aiprah-nav-link:hover {
  color: #00629b;
}

/* Remove reference mega-menu chevron pseudo-elements if present */
.header .menu-header__nav-item.is-simple::after,
.header .menu-header__nav-item.is-simple > a::after {
  display: none !important;
  content: none !important;
}

/* Header CTA buttons sizing adjustment for "無料カウンセリング" / "お問い合わせ" */
.header .menu-header__button-item a {
  line-height: 1.25;
  text-align: center;
}

/* FV 3-Pillar Selector Strip (Replacing Search Input inside .top_search_box) */
.aiprah-pillar-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.aiprah-pillar-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 98, 155, 0.28);
  border-radius: 6px;
  padding: 15px 20px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 2px 10px rgba(0, 98, 155, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.aiprah-pillar-btn:hover {
  transform: translateY(-2px);
  border-color: #00629b;
  background: #f7fcff;
  box-shadow: 0 8px 20px rgba(0, 98, 155, 0.14);
}

.aiprah-pillar-btn__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.aiprah-pillar-btn__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(231.69deg, #00abde 0%, #00629b 100%);
  color: #fff;
  font-family: "Albert Sans", "Lato", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.aiprah-pillar-btn__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.aiprah-pillar-btn__title {
  font-size: 17px;
  font-weight: 700;
  color: #000;
}

.aiprah-pillar-btn__sub {
  font-size: 12px;
  font-weight: 500;
  color: #4c4948;
  margin-top: 2px;
}

.aiprah-pillar-btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #00629b;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.aiprah-pillar-btn:hover .aiprah-pillar-btn__arrow {
  background: #00abde;
  transform: translateX(2px);
}

/* Mobile adjustments for 3-pillar selector */
@media screen and (max-width: 900px) {
  .aiprah-pillar-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .aiprah-pillar-btn {
    padding: 13px 16px;
  }

  .aiprah-pillar-btn__title {
    font-size: 16px;
  }
}

/* Mobile drawer clean links */
.aiprah-hum-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.aiprah-hum-list li {
  border-bottom: 1px solid #e5e5e5;
}

.aiprah-hum-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
}

.aiprah-hum-list li a:hover {
  color: #00629b;
}
