/* ================== ヘッダー共通 ================== */
.my-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  /* 背景を少しぼかす、浮いた感じに */

  /* 軽い影で浮遊感 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.my-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.my-logo a {
  display: block;
  height: 60px;
}

/* ロゴ */
.my-logo img {
  height: 60px;
}

/* お問い合わせボタン（修正版） */
.my-download-btn {
  display: inline-flex;
  /* 縦横中央揃え */
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  /* 横幅を広げる、縦もゆったり */
  font-size: 1.6rem;
  /* 少し大きめの文字 */
  font-weight: 600;
  /* 太めで目立たせる */
  color: #fff;
  background: linear-gradient(135deg, #ff5a2b 0%, #ff8a50 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  line-height: 1.2;

  max-width: 100%;
  /* 親幅を超えない */
  box-sizing: border-box;

  margin: 6px 0;
  /* 上下の余白 */
  transition: all 0.3s ease;
}

/* ホバー時 */
.my-download-btn:hover {
  background: linear-gradient(135deg, #ff8a50 0%, #ff5a2b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* クリック時 */
.my-download-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}


/* ハンバーガー */
/*ハンバーガーメニュー実装*/
.hm-area {
  display: flex;
  position: relative;
  width: 60px;
  height: 60px;
  background: rgb(127, 200, 200);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 501;
}

.hm-text {
  font-family: Arial;
  color: #fff;
  font-size: 1.5rem;
  transition: all 0.5s;
}

.hm-bar {
  content: "";
  position: absolute;
  top: 80%;
  width: 45px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.5s;
}

.hm-bar2 {
  content: "";
  position: absolute;
  top: 20%;
  width: 45px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.5s;
}

.hm-bar-after {
  transform: translateY(-3px)rotate(-45deg);
  top: 50%;
}

.hm-bar2-after {
  transform: translateY(-3px)rotate(45deg);
  top: 50%;
}

.hm-content {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  text-align: center;
}

.hm-content-after {
  opacity: 1;
  visibility: visible;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 500;
  background-color: rgb(127, 200, 200);
}

.hm-content2 {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.hm-content2-after {
  opacity: 1;
}

.hm-ul {
  list-style: none;
  text-align: center;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
}


.hm-ul a {
  display: block;
  padding: 20px;
  color: #000;
}

.hm-title {
  font-family: Arial;
  font-size: 2.4rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  transform: translateY(-50px);
  margin-bottom: 20px;
}

.hm-title-after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  margin-bottom: 20px;
}

.hm-li1 {
  font-size: 1.7rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translate(150px, -50px);
  transition: all 0.5s;
}

.hm-li2 {
  font-size: 1.7rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translate(-150px, -50px);
  transition: all 0.5s;
}

.hm-li-after {
  transform: translate(0, 0);
  visibility: visible;
  opacity: 1;
}

.hm-li1:hover,
.hm-li2:hover {
  background: rgb(255, 255, 255, 0.5);
}

.my-hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  margin-left: 10px;
}

.my-hamburger span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

/* MENU文字を非表示にするためのクラス */
.hidden {
  display: none;
}

/* ================== PCナビ ================== */
.custom-nav {
  display: flex;
  justify-content: flex-end;
  /* ナビ右寄せ */
  align-items: center;
}

.custom-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-menu li {
  margin-left: 40px;
  /* メニュー間隔 */
  position: relative;
  /* 下線表示のため */
}

.custom-menu li a {
  text-decoration: none;
  font-size: 16px;
  color: #333;
  /* 通常文字色 */
  font-weight: 700;
  /* 太字に変更 */
  transition: all 0.3s;
  padding: 5px 0;
  /* 下線用余白 */
}

/* ホバー時の文字色も少し濃く */
.custom-menu li a:hover {
  color: #1a1a1a;
}

/* 下に緑ラインを表示（ハンバーガーメニュー背景風） */
.custom-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 4px;
  /* 線の太さ */
  background-color: rgb(127, 200, 200);
  transition: width 0.3s;
}

.custom-menu li a:hover::after {
  width: 100%;
  /* ホバーで全幅表示 */
}

@media screen and (min-width: 769px) {
  .custom-nav {
    padding-right: 20px;
  }
}