@charset "utf-8";
/* CSS Document */

/*------------------- ハンバーガーメニュー・スマホ用ナビ -------------------*/

/* スマホのみ（～600px）でハンバーガー＆SPナビ表示 */
@media screen and (max-width: 600px) {
  .headerPcNav { display: none; }
  .openbtn2 { display: flex; }
  #g-nav2 { display: flex; }
}

/* タブレット・PC（601px～）は従来のナビのみ */
@media screen and (min-width: 601px) {
  .headerPcNav { display: block; }
  .openbtn2 { display: none; }
  #g-nav2 { display: none !important; }
}

/* ハンバーガーボタン */
.openbtn2 {
  position: fixed;
  top: 12px; right: 16px;
  width: 48px; height: 48px;
  z-index: 10001;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  transition: box-shadow .2s;
  border: none;
}
.openbtn2 span {
  display: block;
  width: 30px; height: 3px;
  background: #222;
  border-radius: 2px;
  margin-bottom: 12px;
  transition: all .4s cubic-bezier(.68,-.55,.27,1.55);
}
.openbtn2 span:last-child { margin-bottom: 0; }
/* ☓印への変形 */
.openbtn2.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.openbtn2.active span:nth-child(2) {
  transform: translateY(-8px) rotate(-45deg);
}

/*----------------------------------
  ▼▼ ここからグローバルナビ・新デザイン ▼▼
----------------------------------*/

#g-nav2 {
  position: fixed;
  z-index: 3;
  left: 0; top: -100%;
  width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.98);
  display: flex;
  flex-direction: column;
  transition: top 0.5s cubic-bezier(.77,0,.175,1);
  align-items: stretch;
  justify-content: flex-start;
	padding-top: 80px;
  /* (↑justify-content: center;だと中央詰まりになるため) */
}
#g-nav2.panelactive { top: 0; }

.g-nav2-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px 0 16px;
  background: transparent;
  font-weight: bold;
  font-size: 20px;
}
.g-nav2-title {
  font-size: 19px;
  font-weight: bold;
}
.g-nav2-close {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-nav2-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 0 0 0;
  overflow-y: auto;
}

.g-nav2-menu-box {
  background: #fdf6e5;
  border-radius: 26px;
  padding: 10px 20px;
  width: 92vw;
  max-width: 330px;
  margin: 0 auto;
  box-shadow: 0 2px 8px #eee;
}

.g-nav2-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.g-nav2-menu > li {
  margin: 18px 0;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: .04em;
  position: relative;
}
.g-nav2-menu > li:not(:last-child) {
  border-bottom: 2px dotted #b7b7b7;
  padding-bottom: 17px;
}
.g-nav2-menu > li > .listGreen {
  color: #0EAE71;
  font-size: 21px;
  vertical-align: middle;
  margin-right: 7px;
}
.g-nav2-menu a {
  color: #222;
  text-decoration: none;
}

.g-nav2-sub {
  list-style: none;
  margin: 12px 0 0 18px;
  padding: 0;
}
.g-nav2-sub li {
  font-size: 15px;
  font-weight: normal;
  margin-bottom: 6px;
  color: #0EAE71;
  letter-spacing: 0.02em;
}

/* グローバルナビのフッター部分 */
.g-nav2-footer {
  text-align: left;
  margin-top: 34px;
  font-size: 13px;
  color: #222;
  padding-bottom: 20px;
	max-width: 330px;
}
.g-nav2-footer-title {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 3px;
}
.g-nav2-footer-address {
  font-size: 13px;
  color: #333;
}

/* listGreen ドット用 */
.listGreen {
  color: #0EAE71;
}

/*----------------------------------
  ▲▲ ここまでグローバルナビ・新デザイン ▲▲
----------------------------------*/

/*----------------------------------
  ▲▲ ここからホバーアニメーション ▲▲
----------------------------------*/
.facilityBtn_link {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
  transform: translateX(0); /* 初期状態 */
}

/* アニメーション中 */
.facilityBtn_link.animating {
  animation: bounce-magnet 0.35s cubic-bezier(.6,0,.2,1) forwards;
  transition: none;
}

/* アニメーション終了後、常に右1emで止める */
.facilityBtn_link.stopped {
  transform: translateX(1em);
  transition: none;
}

/* 戻る時は.animating/.stopped両方が外れるので、通常のtransitionで元に戻る */
@keyframes bounce-magnet {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(1.2em); }
  40%  { transform: translateX(0.85em); }
  60%  { transform: translateX(1.1em); }
  75%  { transform: translateX(0.98em); }
  85%  { transform: translateX(1.05em); }
  100% { transform: translateX(1em); }
}

.sanageTab .tabText {
  display: inline-block;
  transition: none;
}

.sanageTab .tabText.animating {
  animation: bounce-text-up 0.4s cubic-bezier(.6,0,.2,1) forwards;
}

.sanageTab .tabText.stopped {
  transform: translateY(-0.2em);  /* ←最終停止位置を0.5em分下げる */
  transition: none;
}

@keyframes bounce-text-up {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(-0.6em); }
  40%  { transform: translateY(-0.2em); }
  60%  { transform: translateY(-0.5em); }
  80%  { transform: translateY(-0.35em);}
  100% { transform: translateY(-0.2em); }  /* ←ここも合わせて-0.2em */
}


.arrow-img.hover { display: none; }
.messageTextBtn:hover .arrow-img.default { display: none; }
.messageTextBtn:hover .arrow-img.hover { display: inline; }
.facilitiesContent_more:hover .arrow-img.default { display: none; }
.facilitiesContent_more:hover .arrow-img.hover { display: inline; }
.facilitiesContent_blog:hover .arrow-img.default { display: none; }
.facilitiesContent_blog:hover .arrow-img.hover { display: inline; }
.recruitLink:hover .arrow-img.default { display: none; }
.recruitLink:hover .arrow-img.hover { display: inline; }
.contactLinkBtn_link:hover .arrow-img.default { display: none; }
.contactLinkBtn_link:hover .arrow-img.hover { display: inline; }

.fade-img-link {
  position: relative;
  display: inline-block;
  width: 230px; height: 53px; /* 画像サイズに合わせて */
}
.fade-img {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity 0.25s;
}
.fade-img.base { opacity: 1; z-index: 1; }
.fade-img.hover { opacity: 0; z-index: 2; }
.fade-img-link:hover .fade-img.base { opacity: 0; }
.fade-img-link:hover .fade-img.hover { opacity: 1; }
