@charset "UTF-8";
.header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1002;
}
.header-top {
  min-height: 56px;
  padding-right: 24px;
  padding-left: 16px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
}
@media screen and (max-width: 1391px) {
  .header-top {
    padding-right: 16px;
    padding-left: 8px;
  }
}
.header-logo {
  width: 200px;
  height: 56px;
  transition: 0.2s;
}
@media screen and (max-width: 1391px) {
  .header-logo {
    height: 56px;
    width: 200px;
  }
}
@media screen and (max-width: 770px) {
  .header-logo {
    height: 56px;
  }
}
.header-logo-img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  vertical-align: top;
}
@media screen and (max-width: 1391px) {
  .header-logo-img {
    width: 85%;
  }
}
.header-nav {
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
@media screen and (max-width: 1391px) {
  .header-nav {
    width: 100%;
    height: 100%;
    padding: 56px 0 0;
    background: #fff;
    flex-direction: column;
    box-sizing: border-box;
    gap: 0;
    position: fixed;
    top: 0;
    right: -100%;
    transition: 0.3s;
    overflow-y: auto;
    overflow-x: hidden;
  }
}
.header-nav-li {
  position: relative;
}
.header-nav-li::after {
  content: "";
  width: 0;
  height: 3px;
  margin: auto;
  background: #05226a;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: 0.3s;
}
@media screen and (min-width: 1391px) {
  .header-nav-li:hover {
    color: #05226a;
  }
  .header-nav-li:hover::after {
    width: calc(100% - 16px);
  }
  .header-nav-li.current {
    color: #05226a;
  }
  .header-nav-li.current::after {
    width: calc(100% - 16px);
  }
  .header-nav-li.open {
    color: #05226a;
  }
  .header-nav-li.open::after {
    width: calc(100% - 16px);
  }
  .header-nav-li.open .header-nav-li-btn::after {
    transform: rotate(180deg);
  }
}
@media screen and (max-width: 1391px) {
  .header-nav-li {
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 8px;
    width: 100%;
  }
  .header-nav-li::before {
    content: ""; /* contentを空にしてエラーを回避 */
    width: 16px;
    height: 16px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    left: 16px;
  }
  .header-nav-li.hospital::before {
    background-image: url("../media/common/icon/menu_hospital.svg");
  }
  .header-nav-li.phone::before {
    background-image: url("../media/common/icon/menu_phone.svg");
  }
  .header-nav-li.gear::before {
    background-image: url("../media/common/icon/menu_gear.svg");
  }
  .header-nav-li.message::before {
    background-image: url("../media/common/icon/menu_message.svg");
  }
  .header-nav-li.data::before {
    background-image: url("../media/common/icon/menu_data.svg");
  }
}
.header-nav-li-btn, .header-nav-li-link {
  padding: 4px 8px 16px;
  color: inherit;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.2s;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}
@media screen and (max-width: 1600px) {
  .header-nav-li-btn, .header-nav-li-link {
    font-size: 13px;
  }
}
@media screen and (max-width: 1391px) {
  .header-nav-li-btn, .header-nav-li-link {
    padding: 12px 16px;
    justify-content: space-between;
    flex: 1;
    font-weight: normal;
  }
}
.header-nav-li-btn::after {
  content: ""; /* contentを空にしてエラーを回避 */
  width: 24px;
  height: 24px;
  margin-left: 4px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  transition: 0.3s;
  background-image: url("../media/common/icon/arrow_drop_down.svg"); /* CSSプロパティに変更 */
  background-size: contain; /* 必要に応じて追加 */
}
@media screen and (max-width: 1391px) {
  .header-nav-li-link::after {
    content: ""; /* contentを空にしてエラーを回避 */
    width: 24px;
    height: 24px;
    margin-left: 4px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    transition: 0.3s;
    background-image: url("../media/common/icon/chevron_right_black.svg"); /* CSSプロパティに変更 */
    background-size: contain;
  }
}
.header-nav-accordion {
  width: fit-content;
  margin: auto;
  border-radius: 0 0 6px 6px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  overflow: hidden;
}
@media screen and (max-width: 1270px) {
  .header-nav-accordion {
    top: 42px;
  }
}
@media screen and (max-width: 1391px) {
  .header-nav-accordion {
    border-top: 1px solid #ccc;
  }
}
.header-nav-accordion-name {
  font-weight: normal;
  border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 1391px) {
  .header-nav-accordion-name {
    border: none;
  }
}
.header-nav-accordion-child .header-nav-accordion-link {
  padding-left: calc(16px + 1em);
  font-size: 14px;
}
@media screen and (max-width: 1391px) {
  .header-nav-accordion-child .header-nav-accordion-link::before {
    content: "-";
    padding-right: 8px;
  }
}
.header-nav-accordion-link {
  min-width: max-content;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
@media screen and (max-width: 1391px) {
  .header-nav-accordion-link {
    min-width: 100%;
    line-height: 1.5;
    padding: 8px 16px;
    justify-content: flex-start;
  }
}
.header-nav-accordion-link::after {
  content: ""; /* contentを空にしてエラーを回避 */
  width: 18px;
  height: 18px;
  padding-left: 8px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  background-image: url("../media/common/icon/chevron_right_black.svg"); /* CSSプロパティに変更 */
  background-size: contain;
}
@media screen and (max-width: 1391px) {
  .header-nav-accordion-link::after {
    margin-left: auto;
  }
}
.header-nav-accordion-link:hover {
  background: #f7faff;
}
@media screen and (max-width: 1391px) {
  .header-nav-accordion {
    width: 100%;
    border-radius: 0 0;
    background: #f7faff;
    box-shadow: none;
    position: relative;
    top: 0;
  }
}

.noscroll {
  width: 100%;
  overflow: hidden;
  position: fixed;
  left: 0;
}

.menuOpen .header {
  box-shadow: none;
}

.menuOpen .header-top {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menuOpen .header-nav {
  right: 0;
}

.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 記述を修正 */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
}
@media screen and (max-width: 1391px) {
  .overlay {
    display: none !important;
  }
}

/* ハンバーガーメニューボタン */
.menu-btn {
  display: none;
}
@media screen and (max-width: 1391px) {
  .menu-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  .menu-btn {
    top: 20px;
    right: 20px;
  }
}

.menu-text {
  color: #2f4da1;
}
@media screen and (max-width: 1391px) {
  .menu-text {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .menu-text {
    font-size: 11px;
  }
}

/* 3本線のメニューアイコン */
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 1391px) {
  .menu-icon {
    width: 26px;
    height: 18px;
  }
}
@media screen and (max-width: 768px) {
  .menu-icon {
    width: 24px;
    height: 18px;
  }
}

.menu-icon span {
  display: block;
  height: 2px;
  background-color: #2f4da1;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* メニューが開かれたときのスタイル */
.menu-btn.active .menu-icon span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-btn.active .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active .menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-btn .menu-text span {
  line-height: 1.5;
  color: #2f4da1;
  font-size: 11px;
}

.menu-btn .menu-text .off {
  display: block;
}

.menu-btn .menu-text .on {
  display: none;
}

.menu-btn.active .menu-text .off {
  display: none;
}

.menu-btn.active .menu-text .on {
  display: block;
}

.header-bg {
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .header-bg {
    right: -140px;
  }
}

.header-sub {
  display: flex;
  align-items: flex-end;
  position: relative;
  justify-content: space-between;
  z-index: 1001;
  padding: 0 20px;
}
@media screen and (min-width: 1392px) {
  .header-sub {
    height: 40px;
  }
}
@media screen and (max-width: 1391px) {
  .header-sub {
    z-index: 999;
  }
}
.header-sub .contact-link {
  padding-bottom: 8px;
}
@media screen and (max-width: 1391px) {
  .header-sub .contact-link {
    display: none;
  }
}

.header-link-btn, .orenge-link-btn {
  margin-left: 0;
  display: flex;
  padding: 16px 40px;
  justify-content: center;
  align-items: center;
  border-radius: 54px;
  background: #ec6800;
  width: fit-content;
  color: var(--white);
  font-weight: bold;
  line-height: 100%;
  font-size: var(--text-xm);
  /* base */
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: 0.2s;
}
.header-link-btn:hover, .orenge-link-btn:hover {
  opacity: 0.7;
}
@media screen and (max-width: 768px) {
  .header-link-btn .orenge-link-btn, .orenge-link-btn .orenge-link-btn {
    margin: auto;
    letter-spacing: 1px;
  }
}

.contact_button {
  margin: 0 !important;
  margin-left: auto !important;
}/*# sourceMappingURL=header.css.map */