/* 薄青テーマ（GLケンタ参考） + ヘッダー予約CTA */

.fixNavi {
  display: none !important;
}

/* --- ヘッダーレイアウト（flex） --- */
#header .headerInner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 90px;
  gap: 12px;
}

#header .logo {
  float: none;
  flex: 0 0 auto;
  order: 1;
  margin: 0 0 0 10px;
  width: 240px;
}

#header #gMenu {
  float: none;
  flex: 1 1 auto;
  order: 2;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  width: auto;
  min-width: 0;
}

#header #gMenu ul {
  margin: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
}

#header #gMenu ul [class*="pure-u"] {
  width: auto;
}

#header #gMenu ul li {
  flex: 0 0 auto;
}

/* ナビ：イラスト削除 + ホバー下線ビルド */
#header #gMenu ul li a {
  position: relative;
  padding: 8px 14px 10px;
  background: none !important;
  background-image: none !important;
  color: #2A3F98;
  display: block;
}

#header #gMenu ul li a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: #6C9BD2;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#header #gMenu ul li a:hover,
#header #gMenu ul li a:focus {
  color: #6C9BD2;
  background: none !important;
  background-image: none !important;
}

#header #gMenu ul li a:hover::after,
#header #gMenu ul li a:focus::after {
  transform: scaleX(1);
}

#header .headerReserve {
  position: static;
  transform: none;
  flex: 0 0 auto;
  order: 3;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 108px;
  height: 40px;
  margin: 0 0 0 4px;
  padding: 0 16px;
  background: #6C9BD2;
  color: #FFF !important;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(108, 155, 210, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

#header .headerReserve:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../img/com/icon-tel-white.svg) no-repeat center / contain;
}

#header .headerReserve:hover {
  background: #5A8BC4;
  color: #FFF !important;
  box-shadow: 0 3px 12px rgba(90, 139, 196, 0.45);
}

@media screen and (max-width: 1023.9px) {
  #header {
    height: 70px;
    overflow: visible;
  }

  #header.openMenu {
    z-index: 1300;
  }

  #header .headerInner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
    max-width: none;
    padding: 0 10px 0 12px;
    position: relative;
    overflow: visible;
  }

  #header .logo {
    float: none !important;
    flex: 1 1 auto;
    order: 1;
    margin: 0 !important;
    width: auto !important;
    max-width: calc(100% - 170px);
    min-width: 0;
  }

  #header .logo img {
    max-height: 44px;
    width: auto;
    max-width: 100%;
  }

  #header .headerReserve {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    order: 2;
    min-width: 96px;
    width: auto;
    height: 40px;
    margin: 0 8px 0 0;
    padding: 0 14px;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
    color: #FFF !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1101;
    border-radius: 4px;
    background: #6C9BD2;
    box-shadow: 0 2px 8px rgba(108, 155, 210, 0.35);
    white-space: nowrap;
  }

  #header .headerReserve:before {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
  }

  #header .headerReserve:hover {
    background: #5A8BC4;
    color: #FFF !important;
    box-shadow: 0 3px 12px rgba(90, 139, 196, 0.45);
  }

  #header #nav-toggle {
    display: block !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    flex: 0 0 50px;
    order: 3;
    width: 50px;
    height: 50px;
    margin: 0;
    z-index: 1102;
    align-self: center;
  }

  /* module10 の 768px 透明メニューがタップを遮るのを防ぐ */
  #header #gMenu {
    float: none !important;
    position: fixed !important;
    top: 70px !important;
    right: 0 !important;
    left: auto !important;
    width: min(280px, 86vw) !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 8px 0 16px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    background: #fff !important;
    border-radius: 0 0 0 10px;
    box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 1300 !important;
    text-align: left !important;
  }

  #header.openMenu #gMenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  #header #gMenu ul {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    position: static !important;
    right: auto !important;
    bottom: auto !important;
  }

  #header #gMenu ul [class*="pure-u"] {
    width: 100%;
  }

  #header #gMenu ul li a {
    padding: 14px 18px;
    background: none !important;
    background-image: none !important;
  }

  #header #gMenu ul li a::after {
    display: none;
  }

  #header.openMenu #nav-toggle {
    z-index: 1301;
  }

  body:not(.overlay) #overlay {
    pointer-events: none !important;
  }
}

@media screen and (max-width: 567.9px) {
  #header .logo {
    max-width: calc(100% - 158px);
  }

  #header .logo img {
    max-height: 38px;
  }

  #header .headerReserve {
    min-width: 88px;
    height: 36px;
    margin-right: 6px;
    padding: 0 10px;
    font-size: 1.2rem;
    gap: 4px;
  }

  #header .headerReserve:before {
    width: 14px;
    height: 14px;
  }

  #header #nav-toggle {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

/* --- テーマカラー上書き --- */
a:link,
a:visited {
  color: #2A3F98;
}

a:hover {
  color: #6C9BD2;
}

.colorImp {
  color: #6C9BD2 !important;
}

.btnSym1 a {
  background: rgba(108, 155, 210, 0.92);
}

.btnSym1 a:hover {
  background: rgba(90, 139, 196, 0.92);
}

#footer {
  background-color: #2A3F98;
}

#header {
  border-bottom-color: #E8F0FA;
}

body.home #header {
  border-bottom-color: rgba(232, 240, 250, 0.9);
}

/* --- オレンジ系背景画像・オーバーレイの上書き --- */
body.home #content .conceptBox {
  background: linear-gradient(180deg, #E8F0FA 0%, #D4E4F5 100%) !important;
  color: #2A3F98 !important;
}

body.home #content .conceptBox::before {
  display: none !important;
}

body.home #content .conceptBox .titItem h2,
body.home #content .conceptBox p {
  color: #2A3F98 !important;
  text-shadow: none !important;
}

#titBox {
  background-color: #E8F0FA !important;
  background-image: none !important;
}

#titBox .titBoxInner h1 {
  color: #2A3F98 !important;
}

body #content .troubleBox {
  background-color: #E8F0FA !important;
  background-image: none !important;
}

body.home #content .voiceBox {
  background-color: #E8F0FA !important;
}

body #content .singleClinicBox {
  background: #E8F0FA !important;
}
