@charset "utf-8";

/* ----------------------------------------
	header
---------------------------------------- */
.main-visual-wrapper header {
  height: 130px;
  padding: 1rem 3rem;
  background: transparent;
}

.header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  flex: 1;
}

.header-right {
  flex: 3.5;
}

.header-left .logo-box a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-left .logo-box figure {
  width: 15%;
}

.header-left .logo-box p {
  color: #fff;
}

.global-nav-list {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 2.5rem;
}

.global-nav-list li {
  color: #fff;
  font-size: 0.9rem;
}

.global-nav-list li:not(:last-child) {
  /* padding-bottom: 10px; */
  background: linear-gradient(currentColor 0 0) bottom / var(--d, 0) 1px
    no-repeat;
  transition: 0.5s;
}

.global-nav-list li:not(:last-child):hover {
  --d: 100%;
}

/* お問い合わせボタン */
.contact-header-nav a {
  display: inline-block;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  font-family: "ZCOOL XiaoWei", sans-serif;
  color: #fff;
  border: double 4px #fff;
  border-radius: 50%;
  transition: 0.8s ease-in-out;
  text-align: center;
  line-height: 1.4;
}

.contact-header-nav a:hover {
  color: #fff;
  border: double 4px transparent;
  background-color: #39b54a;
  transform: rotateY(360deg);
}

.main-visual-wrapper header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 130px;
  padding: 1rem 2rem;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease,
    color 0.5s ease;
  display: flex;
  align-items: center;
}

/* 初期（main-visual内）：透明背景・白文字 */
.main-visual-wrapper header {
  background-color: transparent;
}

.main-visual-wrapper header .logo-box,
.main-visual-wrapper header .global-nav-list li,
.main-visual-wrapper header .contact-header-nav a {
  color: #fff;
}

.main-visual-wrapper header .contact-header-nav a {
  border-color: #fff;
}

/* ホバー効果（透明時も有効） */
.main-visual-wrapper header .contact-header-nav a:hover {
  color: #fff;
  border-color: transparent;
  background-color: #39b54a;
  transform: rotateY(360deg);
}

/* スクロール後（main-visualを超えた後）：白背景＋緑文字＋ぼかし */
.main-visual-wrapper header.scrolled {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ロゴ・メニューを緑に */
.main-visual-wrapper header.scrolled .logo-box p,
.main-visual-wrapper header.scrolled .global-nav-list li {
  color: #39b54a;
}

/* お問い合わせボタンも緑に */
.main-visual-wrapper header.scrolled .contact-header-nav a {
  color: #39b54a;
  border-color: #39b54a;
}

.main-visual-wrapper header.scrolled .contact-header-nav a:hover {
  color: #fff;
  border-color: transparent;
  background-color: #39b54a;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 19px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2000;
  position: relative;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #39b54a;
  border-radius: 3px;
  transition: 0.3s;
}

/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width:1180px) {
}

@media screen and (max-width: 991px) {
  .header-inner {
    display: block;
  }

  .header-left .logo-box figure {
    width: 5%;
  }

  .hamburger {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 2rem;
  }

  .global-nav.active {
    right: 0;
  }

  .global-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 130px;
  }

  .main-visual-wrapper header .logo-box,
  .main-visual-wrapper header .global-nav-list li,
  .main-visual-wrapper header .contact-header-nav a {
    color: #39b54a;
  }

  .main-visual-wrapper header .contact-header-nav a {
    border-color: #39b54a;
  }
}

/* ハンバーガー → × のアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  .header-left .logo-box figure {
    width: 6%;
  }
}

@media screen and (max-width:575px) {
  .header-left .logo-box figure {
    width: 8%;
  }
}

/* パンくずリスト */
.breadcrumb-area {
	color: #9CA29D;
	font-size: 0.8rem;
	padding: 0.5rem 1rem;
  margin-top: 130px;
}