/* =====================================
   ヘッダー
===================================== */
.site-header {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 1rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1000;
}

.site-header__inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-header__left-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__logo img {
  height: 36px;
  user-select: none;
}

.site-header__company-name {
  font-weight: 500;
  font-size: 1rem;
  color: #ccc;
  user-select: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.site-header__company-name:hover,
.site-header__company-name:focus {
  color: #80aaff;
  outline: none;
}

.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.site-header__hamburger span {
  width: 100%;
  height: 3px;
  background-color: #888;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.site-header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: #80aaff;
}

.site-header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.site-header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: #80aaff;
}

.site-nav {
  display: none;
  position: fixed;
  top: 58px;
  right: 16px;
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  width: 210px;
  user-select: none;
  z-index: 1050;
  flex-direction: column;
  gap: 1rem;
}

.site-nav.active {
  display: flex;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.site-nav a {
  color: #aaa;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 768px) {
  .site-header__hamburger {
    display: flex;
  }
  .site-nav {
    top: 56px;
    right: 12px;
    width: 200px;
    padding: 1rem 1.5rem;
  }
  .site-nav a:hover,
  .site-nav a:focus {
    color: #80aaff;
  }
}

@media (min-width: 769px) {
  .site-nav {
    display: flex;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    width: auto;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 2rem;
  }
  .site-nav a {
    color: #eee;
    font-weight: 500;
    font-size: 1rem;
  }
  .site-nav a:hover,
  .site-nav a:focus {
    color: #60a5fa;
  }
}

/* =====================================
   フッター
===================================== */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 40px 20px 60px;
  font-size: 14px;
  line-height: 1.6;
  border-top: 2px solid #4a90e2;
}

.footer__container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.footer__left,
.footer__center,
.footer__right {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 10px;
}

.footer__nav-top {
  max-width: 1024px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__nav-top ul,
.footer__nav ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}

.footer__nav-top ul li a,
.footer__nav li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.25s ease;
}

.footer__nav-top ul li a:hover,
.footer__nav li a:hover {
  color: #a0a0a0;
}




/* footer・SNS関係 */
.sns-link {
  margin: 0 8px;
}



.footer__sns {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease, filter 0.3s ease;
}

.footer__sns a.sns-x { background-color: #1da1f2; }
.footer__sns a.sns-x:hover { background-color: #0d8ddb; }

.footer__sns a.sns-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.footer__sns a.sns-instagram:hover { filter: brightness(1.1); }

.footer__sns a.sns-facebook { background-color: #1877f2; }
.footer__sns a.sns-facebook:hover { background-color: #145dbf; }

.footer__sns a.sns-line { background-color: #00c300; }
.footer__sns a.sns-line:hover { filter: brightness(1.1); }

.footer__sns a.sns-youtube { background-color: #ff0000; }
.footer__sns a.sns-youtube:hover { filter: brightness(1.1); }

.footer__sns a.sns-github { background-color: #333; }
.footer__sns a.sns-github:hover { filter: brightness(1.2); }

.footer__sns a.sns-note { background-color: #ff5722; }
.footer__sns a.sns-note:hover { filter: brightness(1.1); }

.footer__catchcopy {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
  margin: 0 0 10px;
}

.footer__copyright {
  font-size: 12px;
  color: #7a7a7a;
  margin: 0;
}

.footer__hours strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #a0a0a0;
}

.footer__hours p {
  white-space: pre-line;
  color: #9a9a9a;
  margin: 0;
}

@media screen and (max-width: 1024px) {
  .footer__container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
  }
  .footer__left,
  .footer__center,
  .footer__right {
    width: 100%;
    max-width: 400px;
    padding: 0;
    text-align: center;
    align-items: center;
  }
  .footer__nav ul { gap: 12px; }
  .footer__sns { gap: 14px; }
}

@media screen and (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    gap: 24px;
    padding: 0 10px;
  }
  .footer__left,
  .footer__center,
  .footer__right {
    min-width: auto;
    width: 100%;
  }
  .footer__nav-top ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .footer__nav-top {
    margin-bottom: 1.5rem;
  }
}

/* =====================================
   ページトップへ戻るボタン
===================================== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 24px;
  background-color: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background-color: #357ab8;
  transform: scale(1.1);
}

.back-to-top:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.5);
}

@media screen and (max-width: 1024px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
    bottom: 24px;
    right: 16px;
  }
}



/* 閉会 */
.site-nav__menu .sub-menu {
  display: none;
  position: absolute;
  background-color: #000;  /* 黒背景 */
  color: #fff;             /* 文字は白 */
  padding: 10px 15px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  min-width: 180px;
  z-index: 1000;
}

.site-nav__menu .sub-menu li {
  margin-bottom: 8px;
}

.site-nav__menu .sub-menu li:last-child {
  margin-bottom: 0;
}

.site-nav__menu .sub-menu li a {
  color: #060505;             /* サブメニューのリンク色は白 */
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.site-nav__menu .sub-menu li a:hover {
  color: #ddd;             /* ホバーで少し明るく */
}
.site-nav__menu .sub-menu {
  display: none;
  position: absolute; /* 必要に応じて */
  background: white;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  z-index: 1000;
}

/* 親メニューのホバーやクリック状態で表示したい場合はJS制御でclass付ける */
.site-nav__menu .sub-menu.is-open {
  display: block;
}