@charset "UTF-8";
/*
 * 静的LP用 Header/Footer CSS
 * 新サイト（footer.php）から完全抽出したスタイル
 *
 * 配置場所: /wp/article/_shared/css/header-footer.css
 * 利用方法: <link rel="stylesheet" href="../../../_shared/css/header-footer.css">
 *
 * 特徴：
 * - LP本体に影響を与えないよう、セレクタを限定
 * - footer.phpとcommon.cssを完全再現
 * - 新サイトと同じフォント（Outfit, Zen Kaku Gothic New）をheader/footerのみに適用
 * - アプリセクションは常時非表示
 * - fixnav対応（body padding-bottom）
 */

/* ========================================
 * フォント設定（header/footerのみ）
 * LP本体には一切影響しません
 * common-static.cssで定義された変数を使用
 * ======================================== */
.lp-header,
.lp-header *,
footer,
footer * {
  font-family: var(--font-base) !important;
}

/* ========================================
 * ヘッダー（PC/SP統合）
 * ======================================== */
.lp-header {
  background: var(--bg-color);
  width: 100%;
  position: relative;
  z-index: 100;
  box-shadow: 0px 2px 8px 0px var(--color-shadow);
}

@media screen and (min-width: 768px) {
  .lp-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px;
  }
  .lp-header__logo {
    margin: 0;
  }
  .lp-header__logo a {
    display: inline-block;
  }
  .lp-header__logo img {
    width: 185px;
    height: auto;
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .lp-header {
    height: 56px;
    display: flex;
    align-items: center;
  }
  .lp-header__inner {
    width: 100%;
    padding: 0 16px;
  }
  .lp-header__logo {
    margin: 0;
  }
  .lp-header__logo a {
    display: inline-block;
  }
  .lp-header__logo img {
    width: 116px;
    height: 31px;
    display: block;
  }
}

/* ========================================
 * フッター - 基本スタイル
 * ======================================== */
footer {
  background-color: var(--color-bg-gray) !important;
  width: 100%;
}

footer * {
  box-sizing: border-box;
}

.footer-wrap {
  width: 90%;
  margin: 0 auto;
  padding-block: 40px;
}

.footer-bottom-area {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  margin: 0 auto 30px;
  gap: 30px;
}

.footer-sns-app-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ========================================
 * SNSセクション
 * ======================================== */
.footer-sns {
  width: 100%;
  height: auto;
  background: var(--bg-color);
  border-radius: var(--radius-8);
  padding-block: 25px;
  text-align: center;
}

.footer-sns-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
}

.footer-sns-title .small {
  font-size: 12px;
  font-weight: 400;
}

.footer-sns-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.footer-sns-icons a {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-sns-icons a:hover {
  opacity: 0.6;
}

.footer-sns-icons a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-sns-icons a::after {
  content: none !important;
}

/* ========================================
 * アプリセクション（常時非表示）
 * ======================================== */
.footer-app {
  display: none !important;
}

/* ========================================
 * メタリンク
 * ======================================== */
.footer-meta-links {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  gap: 10px;
}

.footer-meta-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: var(--font-sub-weight);
  color: var(--color-second);
}

.footer-meta-links li {
  display: inline;
}

.footer-meta-links li::after {
  content: "|";
  margin: 0 7px;
  color: var(--color-gray);
}

.footer-meta-links li:last-child::after {
  content: "";
}

.footer-meta-links a {
  font-size: 12px !important;
  text-decoration: none;
  color: var(--color-second);
  line-height: 2;
  font-weight: var(--font-sub-weight);
}

.footer-meta-links a:hover {
  transition: all 0.2s;
  color: var(--color-main) !important;
  text-decoration: none !important;
}

.footer-meta-links a[target="_blank"]:not([href$=".pdf"])::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-left: 0.25em;
  vertical-align: -0.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999999' viewBox='0 0 256 256'%3E%3Cpath d='M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer-meta-links a[target="_blank"]:not([href$=".pdf"]):hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2347a0aa' viewBox='0 0 256 256'%3E%3Cpath d='M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z'%3E%3C/path%3E%3C/svg%3E");
}

/* ========================================
 * コピーライト
 * ======================================== */
.footer-copyright {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 20px;
  text-align: center;
  font-size: 10px;
  color: var(--color-second);
}

.footer-copyright p {
  margin: 0;
}

.footer-copyright .notice {
  line-height: 1.5;
  display: inline-block;
  margin: 0;
  font-size: 11px;
  font-weight: normal;
  color: var(--color-second);
  text-align: left;
  padding: 6px 12px;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-4);
}

/* ========================================
 * レスポンシブ: スマホ (767px以下)
 * ======================================== */
@media screen and (max-width: 767px) {
  body {
    padding-bottom: 80px !important;
  }
}

/* ========================================
 * レスポンシブ: PC (1024px以上)
 * ======================================== */
@media screen and (min-width: 1024px) {
  .footer-wrap {
    width: 94%;
    max-width: 1280px;
    padding-block: 40px;
  }

  .footer-bottom-area {
    margin: 0 auto 30px;
    font-size: 14px;
    display: flex;
    flex-flow: row-reverse;
    justify-content: space-between;
  }

  .footer-sns-app-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
  }

  .footer-sns {
    width: auto;
    padding: 20px 60px;
  }

  .footer-sns-icons {
    justify-content: space-between;
    flex-flow: row nowrap;
    align-items: baseline;
  }

  .footer-sns-icons a img {
    width: 28px;
    height: 28px;
  }

  .footer-meta-links {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-meta-links ul:last-child {
    margin-right: 0;
  }

  .footer-copyright {
    justify-content: flex-end;
    flex-flow: row-reverse;
    align-items: baseline;
    font-size: 12px;
  }

  .footer-copyright .notice {
    padding: 0;
    border: none;
  }
}
