/* visually-hidden */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
  PC/SP 表示切替（※common.cssにあるなら不要）
========================= */
.pcHeaderOFF { display: none; }
.spHeaderOFF { display: block; }

@media (max-width: 1050px) {
  .pcHeaderOFF { display: block; }
  .spHeaderOFF { display: none; }
}

/* =========================
 PC HEADER（添付②の構成）
========================= */
.pcHeader {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e6e6e6;
}

.pcHeader__inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* 左：ロゴ */
.pcHeader__logo {
  margin: 0;
  line-height: 1;
  flex: 0 0 auto;
}
.pcHeader__logo img {
  display: block;
  height: 44px;
  width: auto;
}

/* 中央：ナビ（常に中央寄せ） */
.pcHeader__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}
.pcHeader__navList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;               /* 添付②っぽい間隔 */
}
.pcHeader__navList a {
  color: #195d3a;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(15px, calc(1.1719vw + 6px), 18px);
  white-space: nowrap;
}
.pcHeader__navList a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 右：電話＋ボタン */
.pcHeader__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.pcHeader__tel img {
  display: block;
  height: auto;
  width: 100%;
  max-width:227px;
}

/* 右端ボタン（既存クラス利用・角丸なしのまま） */
.header-contact__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px 0 44px;
  background: #195d3a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  border-radius: 0;
  transition: opacity 0.2s ease;
}
.header-contact__link:hover { opacity: 0.9; }
.header-contact__link::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  background: url("../img/header_icon_mail.png") no-repeat center / contain;
}

/* アンカー飛びでヘッダーに隠れない */
#strength, #howto, #flow { scroll-margin-top: 90px; }




@media screen and (max-width: 1150px) {
	.pcHeader__inner {
	  padding: 14px 20px;
	  gap: 10px;
	}
	.pcHeader__navList {
	  gap: 10px;               /* 添付②っぽい間隔 */
	}
	.pcHeader__right {
	  gap: 10px;
	}
}

/* =========================
 SP HEADER（固定 + ドロワー）
========================= */
#spheader .header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e6e6e6;
  z-index: 111111;
}
#spheader .header__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
#spheader .logo { margin-right: auto; line-height: 1; }
#spheader .logo img { width: auto; max-width: 150px; height: auto; vertical-align: bottom; }

#spheader .spheader__tel { margin: 0; }
#spheader .spheader__tel img { height: 40px; width: auto; vertical-align: bottom; }

/* ハンバーガー */
#spheader .drawer__button {
  position: relative;
  width: 3rem;
  height: 3rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
}
#spheader .drawer__button > span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  background-color: #195d3a;
  transform: translateX(-50%);
}
#spheader .drawer__button > span:first-child {
  transform: translate(-50%, calc(-50% - 0.5rem));
  transition: transform 0.3s ease;
}
#spheader .drawer__button > span:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
#spheader .drawer__button > span:last-child {
  transform: translate(-50%, calc(-50% + 0.5rem));
  transition: transform 0.3s ease;
}
#spheader .drawer__button.active > span:first-child { transform: translate(-50%, -50%) rotate(-45deg); }
#spheader .drawer__button.active > span:nth-child(2) { opacity: 0; }
#spheader .drawer__button.active > span:last-child { transform: translate(-50%, -50%) rotate(45deg); }

/* ドロワー */
#spheader .drawer__nav {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
#spheader .drawer__nav.active {
  opacity: 1;
  visibility: visible;
}
#spheader .drawer__nav__inner {
  position: relative;
  width: min(86vw, 360px);
  height: 100%;
  background: #fff;
  padding: 4rem 1.5rem 1rem;
  margin: 0 0 0 auto;
  overflow: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
#spheader .drawer__nav.active .drawer__nav__inner {
  transform: translateX(0);
}

#spheader .drawer__nav__menu { padding: 20px 0; margin: 0; list-style: none; }
#spheader .drawer__nav__menu a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #195d3a;
  padding: 14px 8px;
  border-top: 1px solid #D5D5D5;
  font-weight: 700;
  font-family: "Zen Old Mincho", serif;
}

#spheader .spMenu-btn a {
  display: block;
  color: #195d3a;
  border: 2px solid #195d3a;
  font-weight: 700;
  background: #fff;
  border-radius: 100px;
  text-align: center;
  padding: 12px 14px;
}
#spheader .spMenu-btn a span {
  display: inline-block;
  padding-left: 26px;
  background: url("../img/header_icon_mail.png") no-repeat left center / 18px auto;
}

/* 開いている間のスクロール停止 */
body.active {
  height: 100%;
  overflow: hidden;
}

/* アンカー飛びでヘッダーに隠れない */
#strength, #howto, #flow { scroll-margin-top: 90px; }

@media screen and (max-width: 450px) {
	#spheader .header__inner {
	  gap: 7px;
	  padding: 10px 8px;
	}
}

@media screen and (max-width: 450px) {
	#spheader .spheader__tel img {
		height: 33px;
	}
}
