@charset "UTF-8";

/* ==========================================================================
   全体レイアウト・コンテナ
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 10rem 0;
}

@media screen and (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

/* ==========================================================================
   ヘッダー (PC版)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* ★修正：「〇」の正体であるSP用ハンバーガーボタンを、PC表示時は完全に非表示にする */
.sp-menu-btn {
  display: none;
}

.header-nav {
  display: flex;
  align-items: center;
}

/* グローバルメニュー強力リセット */
.header-nav,
.nav-list,
.nav-list li {
  list-style: none !important;
  list-style-type: none !important;
  background-image: none !important;
  border: none !important;
  outline: none !important;
}

.header-nav::before,
.header-nav::after,
.nav-list::before,
.nav-list::after,
.nav-list li::before,
.nav-list li::after,
.nav-list li::marker {
  display: none !important;
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  border: none !important;
}

.nav-list {
  display: flex;
  gap: 2rem;
  margin-right: 3rem;
}

.nav-list a {
  font-size: 1.4rem;
  color: #333333;
  position: relative;
  text-decoration: none;
}

/* PCの時、ナビゲーション内の矢印は隠す */
.nav-list a span {
  display: none;
}

.header-cta {
  display: flex;
  gap: 0.8rem;
}

.btn-cta {
  padding: 0.8rem 1.4rem;
  background-color: #222222;
  color: #ffffff;
  font-size: 1.2rem;
  border-radius: 3px;
}

/* PCの時、ボタン内の矢印は隠す */
.btn-cta span {
  display: none;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.footer {
  background-color: #2b2b2b;
  color: #ffffff;
  padding: 6rem 0 3rem;
  position: relative;
}

.footer-top {
  margin-bottom: 4rem;
}

.footer-logo img {
  height: 35px;
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 1.4rem;
  color: #cccccc;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid #444444;
  padding-bottom: 2rem;
  list-style: none !important;
}

.footer-nav li {
  list-style: none !important;
}

.footer-nav li::marker,
.footer-nav li::before,
.footer-nav li::after {
  display: none !important;
  content: "" !important;
}

.footer-nav a {
  font-size: 1.4rem;
  color: #ffffff;
}

.footer-info {
  font-size: 1.3rem;
  line-height: 2;
  color: #cccccc;
  margin-bottom: 4rem;
}

.copyright {
  font-size: 1.2rem;
  color: #888888;
  text-align: center;
}

/* ==========================================================================
   ページトップボタン (PCのみ画面右下に常時フローティング表示)
   ========================================================================== */
.page-top-btn {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 60px;
  height: 60px;
  background-color: #5b88a8;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
}

/* ==========================================================================
   SP版 レスポンシブレイアウト ＆ SPメニュー画像完全再現
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .nav-list { gap: 1rem; margin-right: 1.5rem; }
  .btn-cta { padding: 0.6rem 1rem; font-size: 1.1rem; }
}

@media screen and (max-width: 768px) {
  .header { height: 60px; }
  .header-logo img { height: 35px; }
  
  /* ★SP表示の時だけハンバーガーボタンを画面に表示する */
  .sp-menu-btn {
    display: block;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
  }
  .sp-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333333;
    position: absolute;
    left: 8px;
    transition: 0.3s;
  }
  .sp-menu-btn span:nth-child(1) { top: 12px; }
  .sp-menu-btn span:nth-child(2) { top: 19px; }
  .sp-menu-btn span:nth-child(3) { top: 26px; }

  /* SPメニュー開閉アニメーション（バツ印になる） */
  .sp-menu-btn.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .sp-menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .sp-menu-btn.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

  /* SP版メニューデザイン */
  .header-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #ffffff;
    padding: 2rem 6% 4rem;
    overflow-y: auto;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    margin-right: 0;
    text-align: left;
    margin-bottom: 2.5rem;
  }
  .nav-list li {
    border-bottom: 1px solid #eeeeee;
  }
  .nav-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #111111;
  }
  .nav-list a span {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    color: #666666;
  }

  /* 下部の「メール・LINE・ZOOM」3つの黒ボタンを縦並びに再構築 */
  .header-cta {
    display: flex !important;
    flex-direction: column;
    gap: 1.2rem;
  }
  .btn-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.6rem 2rem;
    background-color: #222222;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 6px;
  }
  .btn-cta span {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
  }

  /* SP用画面下部固定バー */
  .sp-floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #2b2b2b;
    display: flex !important;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }
  .floating-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    border-right: 1px solid #444;
  }
  .floating-item:last-child { border-right: none; }
  .floating-item .icon { font-size: 1.8rem; line-height: 1; margin-bottom: 2px; }
  .floating-item .text { font-size: 1.1rem; font-weight: 700; }
  
  .footer { padding-bottom: 8rem; }
  .footer-nav ul { flex-direction: column; gap: 1.5rem; }
}