/* =========================================================
   共通CSS（トップ・下層ページ共通パーツ）
   対象: CSS変数 / SP MENU / FOOTER / TO TOP / fade-in
   読み込み順: このファイルを先に読み込み、その後ページ固有CSSを読む
     トップ  → common202606_shared.css → common202606.css
     下層    → common202606_shared.css → common202606_lower.css
   ========================================================= */

:root {
  --black: #111;
  --white: #fff;
  --gray-bg: #f4f4f4;
  --gray-border: #e0e0e0;
  --gray-text: #666;
  --red: #c00;
  --green: #2a6e2a;
  --orange: #c45a00;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

html { scroll-behavior: smooth; }

/* ─── SP MENU ─── */
#sp-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#sp-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.sp-menu-close {
  display: none;
}

.sp-nav {
  list-style: none;
  text-align: center;
  margin-top: 0;
  padding-left: 0;
}

.sp-nav li {
  margin: 40px 0;
}

.sp-nav a {
  display: inline-block;
  position: relative;
  line-height: 1;
  color: inherit;
  text-decoration: none;
}

.sp-nav-svg {
  display: block;
  height: 15px;
  width: auto;
  fill: #111;
}

.sp-nav a::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #111;
  transition: width 0.25s ease;
}

.sp-nav a:hover::after,
.sp-nav a.active::after {
  width: calc(100% + 10px);
}

.sp-social {
  margin-top: 40px;
  display: flex;
  gap: 35px;
}

.sp-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.sp-social svg {
  width: 38px;
  height: 38px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--white);
  border-top: 1px solid #eee;
  padding: 100px 20px 30px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .footer-social {
      margin-bottom: 50px;
  }
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  transition: opacity 0.2s;
}

.footer-social a:hover { opacity: 0.5; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  list-style: none;
  margin-bottom: 28px;
  padding-left: 0;
}

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #444;
  position: relative;
  padding-bottom: 2px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .footer-nav a {
      font-size: 14px;
  }
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #444;
  transition: width 0.25s ease;
}

.footer-nav a:hover::after,
.footer-nav a.active::after {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
}

.totop-btn {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-ja);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.2s;
}

.totop-btn .flower-icon {
  width: 43px;
  height: 43px;
  display: block;
}

.totop-btn:hover { opacity: 0.5; }

/* ─── FADE-IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
}


:root {
  --footer-sns-size: 32px;
  --sp-menu-sns-size: 32px;
}

.footer-social .sns-icon {
  width: var(--footer-sns-size);
  height: var(--footer-sns-size);
}

.sp-social .sns-icon {
  width: var(--sp-menu-sns-size);
  height: var(--sp-menu-sns-size);
}

@media (max-width: 768px) {
  :root {
    --footer-sns-size: 32px;/*フッタ*/
    --sp-menu-sns-size: 32px;/*ハンバーガー内*/
  }
}

/*PCのみ表示*/
@media(min-width: 768px) {
.pcdisp{}
.spdisp{display:none !important;}
}
/*SPのみ表示*/
@media screen and (max-width: 767.98px) {
.pcdisp{display:none !important;}
.spdisp{}
}