:root {
  --circle-yellow: #ffd981;
  --accent: #374769;
  --menu-bg: rgba(255,255,255,0.93);
}

/* ========== 共通 ========== */
.site-header {
  width: 100%;
  background: #dfdfdfad;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  box-shadow: 0 2px 18px rgba(255, 209, 169, 1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.site-logo img {
  width: 130px; height: auto;
}
.site-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}

@media (min-width: 901px) {
  .site-nav ul li a {
    color: #374769;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    overflow: hidden;
  }
  .site-nav ul li a::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #374769, #374769 80%);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.32s cubic-bezier(.75,0,.32,1);
  }
  .site-nav ul li a:hover::after,
  .site-nav ul li a:focus::after {
    width: 100%;
  }
  .site-nav ul li a:hover {
    color: var(--accent);
  }
}

.menu-trigger {
  display: none;
  position: fixed;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
  z-index: 1301;
  box-sizing: border-box;
  transition: all .4s;
}
.menu-trigger span {
  display: inline-block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.2px;
  margin: 5px 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffd981, #ff9c00, #ffd981, #ff9c00);  /* 2色交互に繰り返し */
  background-size: 400% 100%;   /* 横に4倍で滑らかループ */
  background-position: 0% 0;
  animation: flowing-gradient 10s linear infinite;
  transition: all .4s;
  box-sizing: border-box;
}

@keyframes flowing-gradient {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}
.menu-trigger span:nth-of-type(1) { top: 0; }
.menu-trigger span:nth-of-type(2) { top: 9px; }
.menu-trigger span:nth-of-type(3) { bottom: -10px; }

#menu12::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: '';
  width: 58px;   /* ←円も小さく */
  height: 58px;
  margin: -24px 0 0 -27px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: all .75s;
  pointer-events: none;
}

#menu12.active span:nth-of-type(1) {
  top: 13px;
  transform: rotate(-45deg);
}
#menu12.active span:nth-of-type(2) {
  opacity: 1;
  top: 13px;
  transform: rotate(45deg);
  left: 0;
}
#menu12.active span:nth-of-type(3) {
  opacity: 0;
}
#menu12.active::after {
  animation: active-menu12 2s .25s forwards;
}

@keyframes active-menu12 {
  0%   { border-color: transparent; transform: rotate(0);}
  14%  { border-color: transparent #ffd981 transparent transparent;}
  28%  { border-color: transparent #ffd981 #ffe57b transparent;}
  42%  { border-color: transparent #ffd981 #ffe57b #ffb881;}
  57%  { border-color: transparent #ffd981 #ffe57b #ffb881 #ff9c00;}
  71%  { border-color: transparent #ffd981 #ffe57b #ffb881 #ff9c00 #ffb881;}
  85%  { border-color: transparent #ffd981 #ffe57b #ffb881 #ff9c00 #ffb881 #ffd981;}
  100% { border-color: #ffd981 #ffe57b #ffb881 #ff9c00 #ffb881 #ffd981 #ffd981; transform: rotate(-680deg);}
}


/* # モバイル用・背景の円（オレンジ～ブルー系） */
.menu-circle {
  position: fixed;
  top: -158px;
  right: -142px;
  width: 304px;
  height: 315px;
  background: radial-gradient(circle, #ffd981 65%, #ffe57b 80%, #b7e1ff 100%);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1100;
  transform: scale(0.38);
  transition: transform 1s cubic-bezier(.68,0,.32,1), opacity 0.6s;
}

/* メニューOPEN時（bodyに.menu-open付与） */
body.menu-open .menu-circle {
  transform: scale(13.5);
  opacity: 0.55;
  transition: transform 1s cubic-bezier(.68,0,.32,1), opacity 0.6s;
}

/* 900px以下（SP・タブレット）でのみ表示 */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-trigger { display: flex !important; }

  .mobile-menu {
    position: fixed;
    top: 68px;   /* ヘッダー下から表示 */
    left: 0;
    width: 100vw;
    height: calc(100vh - 68px);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(80,100,120,0.21);
    z-index: 1300;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(110%);
    transition: transform 0.5s cubic-bezier(.5,1,.3,1);
    transition-delay: 0.35s;
    overflow-y: auto;
  }
  .mobile-menu.active {
    transform: translateX(0);
  }

  /* --- 2列：アイコン＋ラベル ボタン風 --- */
  .mobile-menu-list {
    width: 92vw;
    max-width: 360px;
    margin: 0 auto 24px auto;
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    box-shadow: 0 4px 24px #ffd98121;
    list-style: none;
  }
  .mobile-menu-list li {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }
  /* --- アイコン --- */
  .menu-icon {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.28em;
    color: #ff8d38;
    color: #ffc46c;
    background: #fffbe5;
    background: #fff9db;
    border-radius: 50%;
    box-shadow: 0 2px 6px #ffd98120;
    margin-right: 16px;
    border: 1.5px solid #ffe57b;
  }
  /* --- メニューラベルをボタン風に --- */
  .menu-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.13em;
    color: #3c3c3c;
    font-weight: 700;
    background: linear-gradient(90deg, #fff7b1 0%, #ffd981 60%, #ffca4a 100%);
    border-radius: 50px;
    padding: 13px 0 13px 16px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 4px 12px #ffca4a88;
    margin-left: 0;
    border: none;
  }
  .menu-label:hover, .menu-label:focus {
    background: linear-gradient(90deg, #fff7b1 0%, #ffdb72 100%);
    color: #e67300;
    box-shadow: 0 6px 20px #ffb600cc;
  }
  /* お問い合わせ用ボタン */
  .menu-label.contact {
    background: linear-gradient(90deg, #ffca4a 0%, #fff7b1 100%);
    color: #5a3e00;
    font-weight: bold;
    box-shadow: 0 4px 12px #ffca4a88;
  }
  .menu-label.contact:hover {
    background: linear-gradient(90deg, #fff7b1 0%, #ffca4a 100%);
    color: #b36b00;
    box-shadow: 0 6px 20px #ffb600cc;
  }
  .mobile-menu-list li a, .menu-label a {
    display: flex;
    width: 100%;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }
  .menu-contact {
    display: block;
    width: 88vw;
    max-width: 330px;
    margin: 24px auto 12px auto;
    background: linear-gradient(90deg, #ffd981 0%, #ff9c00 100%);
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
    padding: 13px 0;
    font-size: 1.09em;
    letter-spacing: .04em;
    box-shadow: 0 4px 16px #ffd98170;
    text-decoration: none;
    transition: background 0.2s;
  }
  .menu-contact:hover {
    background: linear-gradient(90deg, #ffb881 0%, #ff9c00 100%);
  }
  .mobile-menu-sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 0 0;
  }
  .mobile-menu-sns a {
    color: #ff9c00;
    background: #fffbea;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.22em;
    box-shadow: 0 4px 16px #ffd98160;
    transition: background 0.18s, color 0.18s;
    text-decoration: none;
  }
  .mobile-menu-sns a:hover {
    background: #ffd981;
    color: #ff6a00;
  }
  .mobile-copyright {
    text-align: center;
    font-size: 0.99em;
    color: #333;
    margin: 24px 0 20px 0;
  }
}

@media (min-width: 901px) {
  .menu-circle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}


/* ===== 追記内容：モバイルメニュー部分 ===== */