@charset "UTF-8";
/* CSS Document */
/* ==========================================================
   長沢病院 新ヘッダー
========================================================== */
header {
	border-top: none;
}
.nh-header,
.nh-header *,
.nh-header *::before,
.nh-header *::after {
  box-sizing: border-box;
}

.nh-header {
  position: relative;
  width: 100%;
  background: #fff;
  z-index: 10000;
}

.nh-header ul,
.nh-header li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nh-header a {
  text-decoration: none;
}


/* ==========================================================
   ヘッダー上部
========================================================== */

.nh-header-top {
  width: 100%;
  background: #fff;
}

.nh-header-top__inner {
  width: 1200px;
  max-width: calc(100% - 40px);

  min-height: 105px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


/* ==========================================================
   ロゴ・住所
========================================================== */

.nh-header-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.nh-header-logo {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.nh-header-logo img {
  display: block;
  width: 250px;
  height: auto;
  margin: 0;
  padding: 0;
}

.nh-header-address {
  display: block;
  margin: 0;
  padding: 0;
  margin-left: 10px;
	margin-top: 25px;
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}


/* ==========================================================
   ヘッダー右側
========================================================== */

.nh-header-actions {
  display: flex;
  align-items: center; /* stretch → center */

  gap: 10px;
margin-top: 15px;
  margin-left: auto;
}


/* 通常ボタン */

.nh-header-btn {
  min-width: 120px;
	min-height: 38px;
/*  min-height: 58px;*/

  padding: 4px 8px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #fff;

  border: 1px solid #d8d8d8;
  border-radius: 150px;

  color: #333;

  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.nh-header-btn:hover {
  background: #f5faf6;
  border-color: #62b56c;
  color: #439852;
}


/* LINE */

.nh-header-btn--line {
  border-color: #35b85a;
  color: #249846;
}

.nh-header-btn__icon {
  font-size: 12px;
  font-weight: bold;

  color: #29ad4c;
}

.nh-header-btn__small {
  margin-bottom: 4px;

  color: #54a960;

  font-size: 9px;
  font-weight: bold;

  letter-spacing: 0.1em;
}

.nh-header-btn__text {
  font-size: 13px;
  font-weight: bold;
}


/* ==========================================================
   TEL
========================================================== */

.nh-header-tel {
  min-width: 205px;

  padding: 8px 0px 8px 17px;;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: #333;

  border-left: 1px solid #ddd;
}

.nh-header-tel__label {
  margin-bottom: 2px;

  color: #666;

  font-size: 11px;
}

.nh-header-tel__number {
  color: #4ba45a;

  font-size: 25px;
  font-weight: bold;

  line-height: 1.2;

  letter-spacing: 0.03em;
}


/* ==========================================================
   グローバルナビ
========================================================== */

.nh-global-nav {
  position: relative;

  width: 100%;

  background: #fff;

  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.nh-global-nav__inner {
  position: relative;

  width: 1200px;
  max-width: 100%;

  margin: 0 auto;
}


/* ==========================================================
   6項目
========================================================== */

.nh-global-menu {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  width: 100%;
}


/* 各項目 */

.nh-menu-item {
  position: static;

  min-width: 0;

  border-right: 1px dashed #b8b8b8;
}

.nh-menu-item:first-child {
  border-left: 1px dashed #b8b8b8;
}


/* ==========================================================
   親メニュー
========================================================== */

.nh-menu-parent {
  position: relative;

  width: 100%;
}

.nh-menu-parent__link {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 68px;

  padding: 0 12px;

  color: #222;

  font-size: 16px;
  font-weight: 600;

  text-align: center;

  line-height: 1.4;

  transition:
    color 0.2s,
    background-color 0.2s;
}


/* hover */

.nh-menu-item:hover
.nh-menu-parent__link {
/*  color: #459b53;*/
	  color: #FFFFFF;

/*  background: #f7fbf8;*/
	background: #55b367;
}


/* ==========================================================
   下部グリーンライン
========================================================== */

.nh-menu-item--mega
.nh-menu-parent::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 8px;

  background: #55b367;

  opacity: 0;

  transition: opacity 0.2s;
}

.nh-menu-item--mega:hover
.nh-menu-parent::after {
  opacity: 1;
}


/* ==========================================================
   PCメガメニュー
========================================================== */

.nh-mega {
  position: absolute;

  left: 0;
  top: 100%;

  width: 100%;

  padding: 28px 45px 42px;

  background: rgba(68, 171, 83, 0.54);

  border-radius: 0 0 22px 22px;

  opacity: 0;
  visibility: hidden;

  transform: translateY(8px);

  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;

  z-index: 10001;
}


/* hoverで表示 */

.nh-menu-item--mega:hover
> .nh-mega {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);

  pointer-events: auto;
}


/* ==========================================================
   メガメニュー内側
========================================================== */

.nh-mega__inner {
  width: 100%;

  margin: 0 auto;
}


/* ==========================================================
   3列配置
========================================================== */

.nh-mega-links {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px 20px;

  width: 100%;
}


/* ==========================================================
   白い丸角ボタン
========================================================== */

.nh-mega-links li a {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 62px;

  padding:
    10px
    25px
    10px
    67px;

  background: #fff;

  color: #111;

  font-size: 17px;
  font-weight: bold;

  line-height: 1.5;

  border-radius: 35px;

  box-shadow:
    0 1px 3px
    rgba(0, 0, 0, 0.06);

  transition:
    transform 0.2s,
    background-color 0.2s,
    box-shadow 0.2s;
}


.nh-mega-links li a:hover {
  background: #f7fff8;

  transform: translateY(-2px);

  box-shadow:
    0 5px 12px
    rgba(0, 0, 0, 0.1);
}


/* ==========================================================
   左側 丸
========================================================== */

.nh-mega-links li a::before {
  content: "";

  position: absolute;

  left: 21px;
  top: 50%;

  width: 31px;
  height: 31px;

  border: 3px solid #55ad64;

  border-radius: 50%;

  transform:
    translateY(-50%);
}


/* ==========================================================
   丸の中の矢印
========================================================== */

.nh-mega-links li a::after {
  content: "";

  position: absolute;

  left: 32px;
  top: 50%;

  width: 8px;
  height: 8px;

  border-top: 3px solid #55ad64;
  border-right: 3px solid #55ad64;

  transform:
    translateY(-50%)
    rotate(45deg);
}


/* ==========================================================
   PCではスマホ操作部非表示
========================================================== */

.nh-menu-toggle,
.nh-sub-toggle {
  display: none;
}


/* ==========================================================
   1000px以下
========================================================== */

@media screen and (max-width: 1000px) {

  .nh-header-top__inner {
    max-width: calc(100% - 30px);
  }

  .nh-header-logo img {
    width: 250px;
  }

  .nh-header-actions {
    gap: 5px;
  }

  .nh-header-btn {
    min-width: 85px;

    padding-left: 8px;
    padding-right: 8px;
  }

  .nh-header-tel {
    min-width: 170px;
  }

  .nh-header-tel__number {
    font-size: 21px;
  }

  .nh-menu-parent__link {
    font-size: 14px;
  }

}


/* ==========================================================
   スマートフォン
========================================================== */

@media screen and (max-width: 768px) {


  /* ========================================================
     HEADER TOP
  ======================================================== */

  .nh-header-top__inner {
    position: relative;

    width: 100%;
    max-width: none;

    min-height: 72px;

    padding:
      8px
      80px
      8px
      15px;

    gap: 0;
  }


  /* ========================================================
     LOGO
  ======================================================== */

  .nh-header-brand {
    width: 100%;
  }

  .nh-header-logo img {
    width: 220px;
    max-width: 100%;
  }

  .nh-header-address {
    display: none;
  }


  /* ========================================================
     PCボタンを隠す
  ======================================================== */

  .nh-header-actions {
    display: none;
  }


  /* ========================================================
     HAMBURGER
  ======================================================== */

  .nh-menu-toggle {
    position: absolute;

    right: 10px;
    top: 7px;

    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    padding: 0;

    border: 0;
    border-radius: 4px;

    background: #55ad64;

    cursor: pointer;

    z-index: 10020;
  }


  .nh-menu-toggle span {
    display: block;

    width: 27px;
    height: 2px;

    margin: 3px 0;

    background: #fff;

    transition:
      transform 0.25s,
      opacity 0.25s;
  }


  .nh-menu-toggle small {
    display: block;

    margin-top: 4px;

    color: #fff;

    font-size: 8px;
    line-height: 1;
  }


  /* X */

  .nh-menu-toggle.is-open
  span:nth-child(1) {
    transform:
      translateY(8px)
      rotate(45deg);
  }

  .nh-menu-toggle.is-open
  span:nth-child(2) {
    opacity: 0;
  }

  .nh-menu-toggle.is-open
  span:nth-child(3) {
    transform:
      translateY(-8px)
      rotate(-45deg);
  }


  /* ========================================================
     SP NAV
  ======================================================== */

  .nh-global-nav {
    position: fixed;

    left: 0;
    top: 0;

    width: 100%;
    height: 100dvh;

    padding-top: 82px;

    overflow-y: auto;

    background: #fff;

    border: 0;

    opacity: 0;
    visibility: hidden;

    transform: translateX(100%);

    transition:
      transform 0.3s,
      opacity 0.3s,
      visibility 0.3s;

    z-index: 10010;
  }


  .nh-global-nav.is-open {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
  }


  .nh-global-nav__inner {
    width: 100%;
  }


  /* ========================================================
     SP MENU
  ======================================================== */

  .nh-global-menu {
    display: block;

    width: 100%;
  }


  .nh-menu-item,
  .nh-menu-item:first-child {
    width: 100%;

    border: 0;

    border-top: 1px solid #ddd;
  }

  .nh-menu-item:last-child {
    border-bottom: 1px solid #ddd;
  }


  /* ========================================================
     親
  ======================================================== */

  .nh-menu-parent {
    display: flex;

    width: 100%;
  }


  .nh-menu-parent__link {
    justify-content: flex-start;

    flex: 1;

    height: 60px;

    padding:
      0
      20px;

    font-size: 15px;

    text-align: left;
  }


  /* PC緑ライン削除 */

  .nh-menu-item--mega
  .nh-menu-parent::after {
    display: none;
  }


  /* ========================================================
     + BUTTON
  ======================================================== */

  .nh-sub-toggle {
    position: relative;

    display: block;

    width: 60px;
    height: 60px;

    flex-shrink: 0;

    padding: 0;

    background: #fff;

    border: 0;
    border-left: 1px solid #ddd;

    cursor: pointer;
  }


  .nh-sub-toggle::before,
  .nh-sub-toggle::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    background: #55ad64;

    transform:
      translate(-50%, -50%);
  }


  /* 横 */

  .nh-sub-toggle::before {
    width: 18px;
    height: 2px;
  }


  /* 縦 */

  .nh-sub-toggle::after {
    width: 2px;
    height: 18px;

    transition: opacity 0.2s;
  }


  /* 開いたら - */

  .nh-sub-toggle.is-open::after {
    opacity: 0;
  }


  /* ========================================================
     SP MEGA
  ======================================================== */

  .nh-mega {
    position: static;

    display: none;

    width: 100%;

    padding: 0;

    background: #f1f7f2;

    border-radius: 0;

    opacity: 1;
    visibility: visible;

    transform: none;

    pointer-events: auto;

    transition: none;
  }


  /* PC hoverを実質無効化 */

  .nh-menu-item--mega:hover
  > .nh-mega {
    opacity: 1;

    transform: none;
  }


  /* JSで開く */

  .nh-mega.is-open {
    display: block;
  }


  /* ========================================================
     SP 子リンク
  ======================================================== */

  .nh-mega-links {
    display: block;

    width: 100%;
  }


  .nh-mega-links li {
    border-top: 1px solid #dce5dd;
  }


  .nh-mega-links li a {
    min-height: 52px;

    padding:
      12px
      45px
      12px
      42px;

    background: #f5faf6;

    color: #333;

    font-size: 14px;
    font-weight: normal;

    border-radius: 0;

    box-shadow: none;

    transform: none;
  }


  .nh-mega-links li a:hover {
    transform: none;
    box-shadow: none;
  }


  /* SP丸 */

  .nh-mega-links li a::before {
    left: 20px;

    width: 8px;
    height: 8px;

    background: #55ad64;

    border: none;

    border-radius: 50%;
  }


  /* SP右矢印 */

  .nh-mega-links li a::after {
    left: auto;
    right: 20px;

    width: 7px;
    height: 7px;

    border-top-width: 1px;
    border-right-width: 1px;
  }


  /* ========================================================
     メニュー表示中 BODY
  ======================================================== */

  body.nh-menu-open {
    overflow: hidden;
  }

}


/* ==========================================================
   小さいスマホ
========================================================== */

@media screen and (max-width: 480px) {

  .nh-header-top__inner {
    min-height: 67px;

    padding-right: 72px;
  }

  .nh-header-logo img {
    width: 190px;
  }

  .nh-menu-toggle {
    right: 7px;
    top: 6px;

    width: 55px;
    height: 55px;
  }

  .nh-global-nav {
    padding-top: 75px;
  }

}

