@charset "UTF-8";

/* トップページのコピー */
.font-size-LL {
  font-family: var(--font-main);
  font-size: calc(54 / 1440 * 100vw);
  font-weight: 500;
  line-height: 1.5;
  color: var(--font-main);
  letter-spacing: 0.1em;
}
/* -------------　ヘッダー　------------------ */

/* 共通ヘッダー */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  z-index: 9999; /* 一番前へ */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
  width: 100%;
  margin: auto;
  padding: 0px 40px;
  height: 72px;
  justify-content: space-between;
  display: flex;
  align-items: center;
}

/* PCナビ（横並び） */
.pc-nav-list {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-nav-list a {
  color: var(--font-main);
  font-size: 16px;
}

.pc-nav-list li :hover {
  color: var(--accent-color);
  transition: 0.3s;
}

.logo img {
  width: calc(304 / 1440 * 100vw);
  max-width: 320px;
  min-width: 220px;
  height: auto;
}

/* PC：お問い合わせのみボタン風 */
.nav-btn {
  background-color: var(--accent-color);
  color: #fff !important;
  padding: 0.69vw 1.6vw;
  border-radius: calc(8 / 1440 * 100vw);
  border: 1.6px solid var(--accent-color);
}

.nav-btn:hover {
  background-color: white;
  color: var(--accent-color) !important;
  padding: 0.69vw 1.6vw;
  border: 1.6px solid var(--accent-color);
}

/* ハンバーガー初期状態（PCでは非表示） */
.sp-hamburger {
  display: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.sp-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--accent-color);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* SPメニュー本体（初期状態は非表示） */
.sp-nav {
  display: none; /* SP用なのでPCでは丸ごと非表示 */
}

/* --------　ヘッダー・SP　-------- */

@media (max-width: 768px) {
  .logo img {
    width: 220px;
    max-width: 304px;
    height: auto;
  }

  .header-inner {
    padding: 38px 16px;
    height: 56px;
  }

  /* PCナビは消す */
  .pc-nav {
    display: none;
  }
  /* ハンバーガー表示 */
  .sp-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    z-index: 2100;
  }

  .sp-hamburger span {
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* ★ メニュー本体：常に flex、ただし非表示状態を opacity/visibility で制御 */
  .sp-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 56px; /* ヘッダーの下から出す */
    bottom: 0;
    background-color: #ffffff;
    display: flex; /* ← 初期状態は存在しない扱い */
    flex-direction: column;
    opacity: 0; /* 見えない */
    visibility: hidden; /* フォーカスも当たらないように */
    transform: translateY(-8px); /* ちょっと上から */
    pointer-events: none; /* クリックも通さない */
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1500;
  }

  /* ★ 開いたときの状態 */
  body.is-sp-nav-open .sp-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .sp-nav-list {
    list-style: none;
    margin: 0;
    padding: 24px 16px 0;
  }

  .sp-nav-list li {
    position: relative;
    border-bottom: 1px solid #e5e7eb;
  }
  .sp-nav-list a {
    display: block;
    padding: 16px 12px 16px 32px;
    text-decoration: none;
    color: var(--font-main);
    font-size: 15px;
  }

  /* 左の青い□ */
  .sp-nav-list li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transform: translateY(-50%);
  }

  /* ハンバーガーのアニメーション*/
  body.is-sp-nav-open .sp-hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  body.is-sp-nav-open .sp-hamburger span:nth-child(2) {
    opacity: 0;
  }
  body.is-sp-nav-open .sp-hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* メニューオープン中はスクロールさせない */
  body.is-sp-nav-open {
    overflow: hidden;
  }

  /* メニュー本体を表示位置まで降ろす */
  body.is-sp-nav-open .sp-nav {
    transform: translateY(0);
    z-index: 9990;
    pointer-events: auto;
  }
}

/* --------　フッター・コンタクト　-------- */

.footer_dispPc {
  background-color: var(--gray-bg);
}

.img-line {
  margin-top: calc(120 / 1440 * 100vw);
  padding-left: calc(140 / 1440 * 100vw);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(16 / 1440 * 100vw);

  background-color: var(--accent-color); /* 青色 */
  color: #ffffff;
  text-decoration: none;

  font-size: 20px;
  font-weight: 300;
  width: 472px;

  padding: 12px 22px;
  border-radius: calc(12 / 1440 * 100vw);
}

.contact-btn .icon-mail {
  width: 28px;
  height: 28px;
}

.contact-tel-main {
  display: inline-flex;
  align-items: center;
  gap: calc(10 / 1440 * 100vw);
  margin-bottom: calc(4 / 1440 * 100vw);
  justify-content: center;
  font-size: 24px;
  color: var(--accent-color);
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  padding-top: calc(72 / 1440 * 100vw);
  padding-bottom: calc(72 / 1440 * 100vw);
}

.contact-text {
  width: 50%;
}

.contact-p {
  padding-top: calc(12 / 1440 * 100vw);
}

.contact-tel {
  text-align: center;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24 / 1440 * 100vw);
}

.tel-note {
  margin: 0;
}

.icon-phone {
  width: 18px;
}

.icon-mail {
  width: 18px;
}
/* --------フッター・情報-------- */

.office-access-info {
  width: 40%;
}

.office-access-info h2 {
  font-size: 28px;
  font-weight: 480;
}

.office-address {
  padding-top: calc(28 / 1440 * 100vw);
}

.footer-info {
  display: flex;
  padding-top: calc(98 / 1440 * 100vw);
  padding-bottom: calc(98 / 1440 * 100vw);
  justify-content: space-between;
}

.advisor-badge {
  width: 173px;
}

.office-chief {
  display: flex;
  gap: calc(16 / 1440 * 100vw);
  padding-top: calc(28 / 1440 * 100vw);
  padding-bottom: calc(28 / 1440 * 100vw);
}

.font-weigh {
  font-weight: 600;
}

/* ----　Googleマップ　---- */

.map-wrap-footer {
  width: 50%;
  border: 0;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----　コピーライト　---- */

.site-footer {
  background-color: #4b4b4b;
  color: #ffffff;
  padding: 24px;
  font-size: 12px;
  text-align: center;
}

/* =========================
   画面幅 393px 想定のレスポンシブ
   ========================= */
@media (max-width: 769px) {
  /* 共通コンテナ：左右に余白を持たせる */
  .main_container {
    width: 100%;
    margin: 0 auto;
    padding: 0 28px;
    box-sizing: border-box;
  }

  /* ----- Contact エリア ----- */

  .footer_dispPc {
    background: #eef4fa; /* カンプっぽい薄いグレー */
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-text {
    font-size: 14px;
    width: 100%;
  }

  .section-title {
    font-size: 13px;
    color: #2563eb;
  }

  .section-title-sub {
    font-size: 20px;
  }

  .contact-p {
    font-size: 14px;
    line-height: 1.8;
  }

  .contact-action {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  /* 青ボタンを横いっぱい＆中央 */
  .contact-btn {
    width: 100%;
    gap: 16px;
    padding: 14px 0;
    border-radius: 10px;
    font-size: 16px;
  }

  .contact-btn .icon-mail {
    width: 20px;
    height: 20px;
  }

  /* 電話部分 */
  .contact-tel {
    text-align: center;
  }

  .contact-tel-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 4px;
  }

  .icon-phone {
    width: 16px;
    height: 16px;
  }

  .tel-number {
    font-size: 24px;
  }

  .tel-note {
    margin: 0;
    font-size: 14px;
    color: #555;
  }

  /* ----- 事務所情報＋地図エリア ----- */

  .footer-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 24px;
  }

  .office-access-info {
    width: 100%; /* vw指定を上書きして全幅に */
  }

  .office-access-info h2 {
    font-size: 24px; /* 見出しを少し小さく */
    margin-bottom: 16px;
    font-weight: 600;
  }

  .office-address {
    padding-top: 8px;
    font-size: 16px;
    line-height: 1.8;
  }

  .office-chief {
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 8px;
    justify-content: center;
    font-size: 16px;
  }

  .office-chief p {
    text-align: left;
  }

  .advisor-badge {
    width: 150px;
    margin-top: 8px;
    margin: 0 auto;
    justify-content: center;
  }

  .office-access-map {
    width: 100%;
  }

  .map-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2; /* スマホでは横長に見せる */
  }

  /* Googleマップ */
  .map-wrap-footer {
    width: 100%;
    border: 0;
  }
  /* ----- コピーライト ----- */

  .site-footer {
    padding: 12px;
    font-size: 10px;
  }
}
