/* =========================
   header
========================= */
.site-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 40px;
  width: auto;
}

/* PCナビ */
.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
  color: #444;
  font-size: 14px;
}

/* お問い合わせだけボタン風 */
.site-nav .menu-item-contact a {
  padding: 8px 16px;
  border: 1px solid #6fc5c3;
  border-radius: 20px;
  color: #6fc5c3;
}

/* スマホ用 */
.menu-toggle {
  background: none;
  border: none;
  padding: 0;
}

.menu-toggle img {
  width: 36px;
  height: 36px;
}

/* 表示制御 */
.pc-only { display: none; }
.sp-only { display: block; }

/* スマホメニュー */
.sp-menu {
  position: fixed;
  top: 0;
  right: -70%;
  width: 70%;
  height: 100vh;
  background: #fff;
  transition: right .4s ease;
  z-index: 999;
  background: rgba(0,0,0,0.7);
}
.sp-menu.is-open {
  right: 0;
}
.sp-menu-inner {
  position: absolute;
  top: 0;
  right: -70%;
  width: 70%;
  height: 100%;
  background: #fff;
  padding: 40px 24px;
  transition: right .4s ease;
}

.sp-menu.is-open .sp-menu-inner {
  right: 0;
}

.sp-menu ul {
  list-style: none;
}
.sp-menu a {
  display: block;
  font-size: 14.5px;
  padding: 16px 0;
  color: #333;
}

/* headerフッター*/
.sp-menu-footer {
  margin-top: 40px;
  font-size: 12px;
  color: #777;
}

.sp-instagram {
  display: inline-flex;  
  align-items: center;
  gap: 6px;
line-height: 1 !important;
  font-size: 12px !important;
}

.sp-menu a.sp-instagram {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1;
}

.sp-instagram img {
  display: inline-block;
  width: 16px;
  height: 16px;
}

/* PC以上 */
@media (min-width: 768px) {
  .pc-only { display: block; }
  .sp-only { display: none; }
  .sp-menu { display: none; }
}

.site-main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.site-footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: #888;
}

@media (max-width: 768px) {
.header-inner {
  padding: 14px 0px;
}
.site-header {
    padding: 20px 20px 0;
}
  .sp-menu a {
    text-decoration: none;
    border-bottom: none;
  }
}
.sp-site{
margin-bottom: 0 !important;
}
.sp-name{
margin-top: 0 !important;
}
.sp-menu-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: none;
  border: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

/* グレー帯CLOSE*/
.sp-menu::before {
  content: "CLOSE";
  position: absolute;
  top: 50%;
  left: 16px;  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0.8;
  pointer-events: none;   
}

.sp-menu a {
  display: flex;   
  align-items: center;
  font-size: 14.5px;
  padding: 16px 0;
  color: #333;
  text-decoration: none;
  gap: 8px; } 

.sp-menu a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;   
  background: currentColor; 
  border-radius: 2px;  
margin-right:10px;
padding-right:10px;
}
.sp-menu li:nth-child(1) a::before { background:#6dbd86;}
.sp-menu li:nth-child(2) a::before { background:#6fc5c3;}
.sp-menu li:nth-child(3) a::before { background:#be6c6c;}
.sp-menu li:nth-child(4) a::before { background:#d9bf4c;}


/* =========================
   PC デザイン
========================= */
.site-nav ul li {
  position: relative;
  list-style: none;
}
.site-nav ul li::before {
  content: "";
  position: absolute;
  top: -8px; /* 位置は後で微調整 */
  left: 50%;
  transform: translateX(-50%);

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid transparent; /* ←ここが重要 */

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 色指定（nth-child版がおすすめ） */
.site-nav ul li:nth-child(1):hover::before {
  border-top-color: var(--color-red);
  opacity: 1;
}

.site-nav ul li:nth-child(2):hover::before {
  border-top-color: var(--color-green);
  opacity: 1;
}

.site-nav ul li:nth-child(3):hover::before {
  border-top-color: var(--color-yellow);
  opacity: 1;
}

.site-nav ul li:nth-child(4):hover::before {
  border-top-color: var(--color-aqua);
  opacity: 1;
}

.site-nav ul li:nth-child(5):hover::before {
  border-top-color: var(--color-black);
  opacity: 1;
}