/* ===========================
  Design Tokens
=========================== */
:root {
--white:       #ffffff;
--bg:          #f2f2f2;
--gray-border: rgba(0,0,0,0.09);
--light-gray:  #aaaaaa;
--gray-mid:    #888888;
--gray-text:   #444444;
--card-bg:     #1d2436;
--card-border: #2a3350;
--accent:      #1e40af;
--sidebar-w:   220px;
--gap:         28px;  /* 左右の共通余白 */
--content-shift: var(--sidebar-w); /* メインコンテンツを右にずらす量（SPでは0にする） */
--font: 'Hiragino Kaku Gothic ProN','Hiragino Sans','Noto Sans JP',sans-serif;
--ease: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font); background: var(--bg); color: #111; line-height: 1.6;
scrollbar-width: none;        /* Firefox */
-ms-overflow-style: none;     /* IE/Edge */
}
body::-webkit-scrollbar { display: none; } /* Chrome/Safari */
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
  Animations
=========================== */

/* スクロールで画面内に入った要素をフェードイン＋スライドアップ（JS側で.is-inviewを付与） */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* イラストなど、周囲の要素より少し遅れてふわっと出したい場合に付与 */
.reveal--delay {
  transition-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===========================
  Layout
  サイドナビはfixedでメインコンテンツの上に重ねる構造。
  main-contentはmargin-leftなし＝ページ全幅に広がり、
  サイドナビ越しに背景が透けて見える。
  サイト全体の最大幅は1280px。
=========================== */
.site-container {
position: relative;
overflow-x: hidden;
padding-left: var(--content-shift);
}
.page-wrapper { display: block; min-height: 100vh; max-width: 1280px; margin: 0 auto; position: relative; }
.main-content { margin-left: 0; width: 100%; }

/* 画面幅いっぱいに背景を広げるための共通ラッパー
   （中身は各セクション側でmax-width:1280pxに戻して位置を揃える）
   メインコンテンツはサイドメニュー右側の残り幅の中央に配置されるため、
   その分（サイドメニュー幅の半分）だけ余分に左へ補正して画面端まで届かせる */
.full-bleed {
width: 100vw;
position: relative;
left: 50%;
transform: translateX(calc(-50% - (var(--content-shift) / 2)));
}

/* ===========================
  Side Navigation
=========================== */
.side-nav {
position: fixed;
top: 0;
left: 0;
width: var(--sidebar-w);
height: 100vh;
background: rgba(255,255,255,0.8);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border-right: 1px solid rgba(255,255,255,0.45);
display: flex;
flex-direction: column;
z-index: 100;
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}
.side-nav::-webkit-scrollbar { display: none; }

/* ロゴ */
.side-nav__logo {
display: flex; justify-content: center;
padding: 40px 16px 30px;
border-bottom: 1px solid var(--gray-border);
flex-shrink: 0;
}
.logo-mark img {
width: 58px;
}

/* トップページリンク */
.nav-top-link {
display: flex; align-items: center; gap: 5px;
padding: 9px 16px;
color: #111;
font-size: 14px; font-weight: 500;
border-bottom: 1px solid var(--gray-border);
transition: color var(--ease), background-color var(--ease);
}
.nav-top-link::before { content: '▸'; font-size: 9px; color: var(--gray-mid); }
.nav-top-link:hover { color: var(--accent); background-color: #eaf3fb; }

/* サービスセクション */
.nav-service {
border-bottom: 1px solid var(--gray-border);
}
.nav-service__head {
display: flex; align-items: center;
padding: 9px 16px;
border-bottom: 1px solid var(--gray-border);
gap: 5px;
transition: background-color var(--ease);
}
.nav-service__head::before { content: '▸'; font-size: 9px; color: var(--gray-mid); flex-shrink: 0; }
.nav-service__label { font-size: 14px; font-weight: 500; transition: color var(--ease); }
.nav-service__head:hover { background-color: #eaf3fb; }
.nav-service__head:hover .nav-service__label { color: var(--accent); }
.nav-badge { margin-left: auto; }
.nav-badge {
font-size: 9px; font-weight: 700; color: #fff;
background: #444;
padding: 1px 6px; border-radius: 10px;
cursor: pointer;
user-select: none;
}
.nav-service__body {
overflow: hidden;
transition: max-height 0.3s ease;
max-height: 600px; /* 開いている状態 */
}
.nav-service__body.is-closed {
max-height: 0;
}

.nav-cat {
padding: 7px 16px 2px;
font-size: 12px; font-weight: 700;
color: var(--light-gray);
letter-spacing: .05em;
margin-top: 2px;
}
.nav-link {
display: flex; align-items: flex-start; gap: 5px;
padding: 4px 16px 4px 22px;
font-size: 13px;
transition: color var(--ease), background-color var(--ease);
}
.nav-link::before { content: '▸'; font-size: 8px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.nav-link:hover { color: var(--accent); background-color: #eaf3fb; }

/* その他リンク */
.nav-plain-link {
display: flex; align-items: center; gap: 5px;
padding: 9px 16px;
font-size: 14px; font-weight: 500;
color: #111;
border-bottom: 1px solid var(--gray-border);
transition: color var(--ease), background-color var(--ease);
}
.nav-plain-link::before { content: '▸'; font-size: 9px; color: var(--gray-mid); }
.nav-plain-link:hover { color: var(--accent); background-color: #eaf3fb; }

/* CTA ボタン */
.nav-cta { padding: 14px 12px; margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.nav-cta-inline { padding: 12px 12px 6px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--gray-border); margin-top: 4px; }
.side-nav__bottom {
padding: 12px 14px 14px;
margin-top: auto;
}
.side-nav__logo_name {
margin-bottom: 30px;
display: flex;
align-items: center;
}
.side-nav__logo_name img {
width: 140px;
}
.side-nav__company { font-size: 12px; font-weight: 700; }
.side-nav__copyright { font-size: 10px; color: var(--gray-mid); margin-top: 2px; }
.btn-upload {
display: flex; align-items: center; gap: 8px;
padding: 10px 13px;
border: 1.5px solid #111; border-radius: 7px;
font-size: 13px; font-weight: 700;
background: #fff;
line-height: 1.4;
transition: background var(--ease), color var(--ease);
cursor: pointer;
}
.btn-upload:hover { background: #111; color: #fff; }
.btn-upload .btn-icon { width: 30px; }
.btn-upload .btn-icon img { width: 20px; flex-shrink: 0; transition: filter var(--ease); }
.btn-upload:hover .btn-icon img { filter: brightness(0) invert(1); }
.btn-upload small { font-weight: 400; font-size: 10px; color: #555; display: block; }
.btn-upload:hover small { color: #aaa; }

.btn-contact {
position: relative;
display: flex; align-items: center; gap: 8px;
padding: 11px 13px;
border-radius: 7px;
font-size: 13px; font-weight: 700; color: #fff;
background: #111;
transition: background var(--ease);
cursor: pointer;
}
.btn-contact:hover { background: #333; }
.btn-contact .btn-icon { display: flex; align-items: center; width: 30px; padding-left: 3px; }
.btn-contact .btn-icon img { width: 15px; flex-shrink: 0; }

/* ===========================
  Section Heading（共通見出し）
=========================== */
.sec-head {
display: flex; align-items: baseline; gap: 12px;
margin-bottom: 22px;
}
.sec-head__ja  { font-size: 17px; font-weight: 900; letter-spacing: .04em; padding-left: 10px; border-left: 4px solid #888; }
.sec-head__en  { font-size: 12px; color: #777; letter-spacing: .1em; }

/* ===========================
  News List（共通コンポーネント：トップページ・お知らせ一覧で共用）
=========================== */
.news-list { display: flex; flex-direction: column; border-top: 1px solid #ddd; min-width: 0; }
.news-item {
display: flex; align-items: baseline; gap: 12px;
padding: 12px 0;
border-bottom: 1px solid #ddd;
font-size: 14px;
}
.news-item__date { color: #555; flex-shrink: 0; min-width: 82px; }
.news-item__tag {
font-size: 11px; font-weight: 700;
background: #111;
color: #fff;
padding: 2px 8px; border-radius: 3px;
flex-shrink: 0; letter-spacing: .04em;
white-space: nowrap;
}
.news-item__tag.release { background: #111; }
.news-item__title {
min-width: 0;
flex: 1;
word-break: break-word;
overflow-wrap: anywhere;
}
.news-item__title:hover { color: #444; text-decoration: underline; }

/* ===========================
  Contact CTA
=========================== */
.contact-section {
position: relative;
background: #e8e8e8;
padding: 40px var(--gap) 40px var(--gap);
}
.contact-section::before {
content: '';
position: absolute;
top: 0; bottom: 0;
left: 50%;
width: 100vw;
transform: translateX(calc(-50% - (var(--content-shift) / 2)));
background: #e8e8e8;
z-index: -1;
}

/* 1ブロック・PC横並び・中央揃えレイアウト */
.contact-block {
background: #fff;
border-radius: 12px;
display: flex;
flex-direction: row;
align-items: center;
}
.contact-block__tel-area,
.contact-block__web-area {
flex: 1;
padding: 32px 28px;
text-align: center;
display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.contact-block__label { font-size: 13px; font-weight: 700; color: #444; }
.contact-block__tel {
font-size: 30px; font-weight: 900;
letter-spacing: .04em;
}
.contact-block__tel img {
height: 25px;
}
.contact-block__fax { font-size: 14px; color: #666; }
.contact-block__divider {
width: 1px; height: 80px;
background: #ddd;
flex-shrink: 0;
}
.btn-form {
position: relative;
display: inline-flex; align-items: center; gap: 8px;
background: #111; color: #fff;
border-radius: 7px; padding: 13px 20px;
font-size: 13px; font-weight: 700;
width: fit-content; cursor: pointer;
overflow: hidden;
transition: background var(--ease);
}
.btn-form:hover { background: #333; }
.btn-form img { width: 14px; }
.btn-form::after {
content: "";
position: absolute;
top: 0; left: -75%;
width: 45%; height: 100%;
background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 100%);
transform: skewX(-20deg);
pointer-events: none;
}
.btn-form:hover::after { left: 130%; transition: left 0.75s ease; }

/* ===========================
  Footer
=========================== */
.site-footer {
position: relative;
background: #fff;
padding: 36px var(--gap) 36px var(--gap);
border-top: 1px solid #e0e0e0;
}
.site-footer::before {
content: '';
position: absolute;
top: 0; bottom: 0;
left: 50%;
width: 100vw;
transform: translateX(calc(-50% - (var(--content-shift) / 2)));
background: #fff;
border-top: 1px solid #e0e0e0;
z-index: -1;
}

/* ── PC フッター ── */
.footer-top {
display: grid;
grid-template-columns: 140px minmax(0, 1fr) 160px;
gap: 0 18px;
font-size: 12px;
}

/* 左列: トップページ */
.footer-col-top a {
display: flex; align-items: flex-start; gap: 5px;
font-size: 12px;
padding: 4px 0;
transition: color var(--ease);
}
.footer-col-top a::before { content: '▸'; font-size: 8px; color: var(--gray-mid); flex-shrink: 0; margin-top: 3px; }
.footer-col-top a:hover { color: var(--accent); }

/* 中列: サービス（角丸枠） */
.footer-col-service {
background: #f5f5f5;
padding: 0 0 12px;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
grid-template-rows: auto 1fr;
gap: 0 12px;
border: 1px solid #ddd;
border-radius: 10px;
overflow: hidden;
}
.footer-col-service__cat {
font-size: 12px; font-weight: 700;
margin: 12px 0 4px;
}
.footer-col-service__cat:first-child { margin-top: 0; }
.footer-col-service a {
display: flex; align-items: flex-start; gap: 4px;
font-size: 12px; color: var(--gray-text);
padding: 2px 0;
transition: color var(--ease);
}
.footer-col-service a::before { content: '▸'; font-size: 7px; color: var(--gray-mid); flex-shrink: 0; margin-top: 4px; }
.footer-col-service a:hover { color: var(--accent); }

/* 右列: Files Upload Tool + 会社・プライバシー */
.footer-col-right__upload {
margin-bottom: 12px;
}
.footer-col-right a {
display: flex; align-items: flex-start; gap: 5px;
font-size: 12px;
padding: 3px 0;
transition: color var(--ease);
}
.footer-col-right a::before { content: '▸'; font-size: 8px; color: var(--gray-mid); flex-shrink: 0; margin-top: 3px; }
.footer-col-right a:hover { color: var(--accent); }
.footer-col-right__divider { display: none; }
.footer-col-right__small a {
font-size: 12px;
}
.footer-col-service__left,
.footer-col-service__right { display: flex; flex-direction: column; min-width: 0; }
.footer-col-service__heading {
font-size: 12px; font-weight: 700;
background: #e8e8e8;
padding: 10px 16px;
margin-bottom: 0;
grid-column: 1 / -1;
}
.footer-col-service__left,
.footer-col-service__right { background: transparent; padding: 10px 12px 0; }
/* footer-col-service の重複定義を削除済み */
.footer-col-service__heading { grid-column: 1 / -1; }

/* フッター下部 */
.footer-bottom {
display: flex; align-items: center; justify-content: space-between;
margin-top: 24px; padding-top: 16px;
font-size: 10px; color: #999;
}
.footer-bottom { display: none; }  /* footer-bottomは使用しない */
.footer-company { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.footer-sns { display: flex; gap: 8px; }
.sns-btn img {
width: 30px;
display: flex; align-items: center; justify-content: center;
font-size: 13px; color: #fff;
transition: background var(--ease);
}
.sns-btn:hover { background: var(--accent); }

/* ── SP専用フッター（PC時は非表示） ── */
.footer-sp { display: none; }
.footer-sp__logo {
display: flex; align-items: center; justify-content: center;
gap: 10px; padding: 24px 0 20px;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 16px;
}
.footer-sp__logo-mark img { width: 100%; flex-shrink: 0; }
.footer-sp__logo-name { font-size: 16px; font-weight: 800; letter-spacing: .14em; }

.footer-sp__nav { display: flex; flex-direction: column; }
.footer-sp__item {
display: flex; align-items: flex-start;
font-size: 12px;
padding: 9px 0;
transition: color var(--ease);
}
/* トップページの上に線 */
.footer-sp__item--top { margin-top: 4px; }
/* お知らせの上に線 */
.footer-sp__item--news { border-top: 1px solid #ddd; padding-top: 14px; margin-top: 4px; }
.footer-sp__item:hover { color: var(--accent); }

/* サービスはアコーディオン風の見出し */
/* サービスエリア：角丸枠 */
.footer-sp__service-box {
border: 1px solid #ddd;
border-radius: 10px;
overflow: hidden;
margin: 8px 0 4px;
background: #f8f8f8;
}

/* サービスのグレー帯見出し */
.footer-sp__service-head {
font-size: 12px; color: #888;
background: #e8e8e8;
padding: 7px 14px;
border-bottom: 1px solid #ddd;
margin-bottom: 0;
}
/* カテゴリ太字見出し（コンテンツ制作等） */
.footer-sp__cat {
font-size: 12px; font-weight: 700;
padding: 10px 14px 4px;
}
/* カテゴリ間の横線 */
.footer-sp__cat--sep {
border-top: 1px solid #e0e0e0;
padding-top: 10px;
}
/* ▸ リンク */
.footer-sp__link {
display: flex; align-items: flex-start;
font-size: 12px; color: var(--gray-text);
padding: 4px 14px;
transition: color var(--ease);
}
.footer-sp__link:hover { color: var(--accent); }
/* SP フッター下部 */
.footer-sp__bottom {
display: flex; align-items: center; justify-content: space-between;
margin-top: 20px; padding-top: 16px;
border-top: 1px solid #ddd;
}
.footer-sp__sub-item {
display: flex; align-items: center; gap: 6px;
font-size: 12px;
padding: 8px 0 8px 8px;
border-bottom: 1px solid #eee;
transition: color var(--ease);
}
.footer-sp__sub-item::before { content: '▸'; font-size: 8px; color: var(--accent); flex-shrink: 0; }
.footer-sp__sub-item:hover { color: var(--accent); }
.footer-sp__divider { height: 1px; background: #eee; margin: 4px 0; }
.footer-sp__small {
display: flex; align-items: flex-start;
font-size: 12px;
padding: 8px 0;
transition: color var(--ease);
}
.footer-sp__small:hover { color: var(--accent); }
/* 個人情報の上に線 */
.footer-sp__small--top { border-top: 1px solid #ddd; padding-top: 14px; margin-top: 4px; }

/* ===========================
  Mobile Header
=========================== */
.mobile-header {
display: none;
position: fixed; top: 0; left: 0; right: 0; height: 54px;
background: rgba(255,255,255,0.88);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
z-index: 200;
align-items: center; justify-content: flex-end;
padding: 0 16px;
}
/* メニューが開いている時はモバイルヘッダーのハンバーガーを隠す */
.mobile-menu.is-open ~ * .mobile-header .hamburger,
body.menu-open .mobile-header { display: none; }

.hamburger {
width: 36px; height: 36px;
background: none; border: none; cursor: pointer;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #222; border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
  Mobile Menu
=========================== */
.mm-header {
display: flex; align-items: center; justify-content: center;
padding: 14px 16px;
border-bottom: 1px solid #eee;
background: #fff; z-index: 1;
}
/* ロゴを中央に */
.mm-header__logo {
display: flex; flex-direction: column; align-items: center; gap: 4px;
}
/* ×ボタン: ハンバーガーと全く同じ位置にfixed配置 */
.mm-close {
position: fixed;
top: 0; right: 8px;
width: 54px; height: 54px;
display: flex; flex-direction: column;
align-items: center; justify-content: center; gap: 5px;
background: none; border: none; cursor: pointer;
z-index: 300;
}
.mm-close span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mm-close span:nth-child(2) { opacity: 0; }
.mm-close span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
display: none;
position: fixed; top: 0; left: 0; right: 0; bottom: 0;
background: #fff; z-index: 199;
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
transform: translateX(100%);
transition: transform .3s ease;
}
.mobile-menu::-webkit-scrollbar { display: none; }
.mobile-menu.is-open { transform: translateX(0); }

.mm-top-link {
display: flex; align-items: center; justify-content: flex-start;
padding: 16px 20px;
font-size: 15px; font-weight: 700;
border-bottom: 1px solid #eee;
}
.mm-top-link::before { content: '▸'; font-size: 10px; color: var(--gray-mid); margin-right: 6px; }
.mm-top-link::after { content: ''; }

.mm-accordion__btn {
display: flex; align-items: center;
padding: 16px 20px; width: 100%;
font-size: 15px; font-weight: 700;
background: none; border: none; border-bottom: 1px solid #eee;
cursor: pointer; text-align: left; gap: 6px;
}
.mm-accordion__btn::before { content: '▸'; font-size: 10px; color: var(--gray-mid); flex-shrink: 0; }
.mm-accordion__btn span:first-of-type { flex: 1; text-align: left; }
.mm-accordion__arrow { font-size: 12px; color: #999; transition: transform .2s; margin-left: auto; }
.mm-accordion__btn.open .mm-accordion__arrow { transform: rotate(90deg); }

.mm-accordion__body {
  max-height: 0;
  overflow: hidden;
  background: #f8f8f8;
  transition: max-height 0.35s ease;
}
.mm-accordion__body.open { max-height: 1000px; }

.mm-accordion__body .mm-cat,
.mm-accordion__body .mm-link {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.mm-accordion__body.open .mm-cat,
.mm-accordion__body.open .mm-link {
  opacity: 1;
  transform: translateY(0);
}
.mm-cat { font-size: 11px; font-weight: 700; color: var(--gray-mid); padding: 10px 20px 3px; letter-spacing: .05em; }
.mm-link {
display: flex; align-items: center; gap: 8px;
padding: 10px 20px 10px 28px;
font-size: 14px; font-weight: 600;
border-bottom: 1px solid #eee;
}
.mm-link::before { content: '▸'; font-size: 10px; color: var(--accent); }

.mm-cta { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.mm-cta .btn-upload, .mm-cta .btn-contact { width: 100%; justify-content: center; padding: 13px; font-size: 14px; border-radius: 8px; }

/* ===========================
  Responsive — SP/タブレット (〜900px)
=========================== */
@media (max-width: 900px) {

/* ---------- 基本レイアウト ---------- */
.side-nav { display: none; }
.site-container { --content-shift: 0px; padding-left: 0; }
.mobile-header { display: flex; }
.mobile-menu { display: block; }
.main-content { padding-top: 54px; }

/* 全セクションのpadding統一（サイドナビ分リセット） */
.contact-section, .site-footer {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* ---------- ニュース（共通コンポーネント） ---------- */
.news-item { flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.news-item__title { width: 100%; }
.news-item__date { min-width: auto; width: 100%; }

/* SP時はnowrapを解除して折り返し許可 */
.footer-sp__link[style*="nowrap"] {
  white-space: normal !important;
}

/* ---------- コンタクト ---------- */
.contact-section {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.contact-grid { grid-template-columns: 1fr; gap: 12px; }
.contact-block { flex-direction: column; }
.contact-block__tel-area,
.contact-block__web-area { width: 100%; padding: 24px 20px; }
.contact-block__divider { width: 70%; height: 1px; background: #ddd; }
.contact-block__tel { font-size: 25px }

/* ---------- フッター ---------- */
.site-footer {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.footer-top { display: none; gap: 0 10px; }
.footer-sp { display: block; }
.site-footer { padding-left: 16px !important; padding-right: 16px !important; }
/* footer-sp__bottom はfooter-sp内にあるのでSP時自動表示 */
.footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===========================
  Responsive — タブレット (601px〜900px)
  スマホ用の1カラム縦積みレイアウトのままだと余白が間延びして
  見えるため、この帯だけ2カラム主体のレイアウトに調整する
=========================== */
@media (min-width: 601px) and (max-width: 900px) {

/* ---------- お問い合わせ：横並びに戻す ---------- */
.contact-block { flex-direction: row; }
.contact-block__tel-area,
.contact-block__web-area { width: auto; padding: 24px 20px; }
.contact-block__divider { width: 1px; height: 70px; }
.contact-block__tel { font-size: 26px; }

/* ---------- フッター：PC用グリッドを流用 ---------- */
.footer-top { display: grid; }
.footer-sp { display: none; }
}

/* ---------- スマホ小（〜480px） ---------- */
@media (max-width: 480px) {

.footer-nav { grid-template-columns: 1fr; }
}

/* ===========================
  Back to Top ボタン
=========================== */
.back-to-top {
position: fixed;
right: 28px;
bottom: 28px;
width: 48px;
height: 48px;
border-radius: 50%;
background: rgba(17, 17, 17, 0.9);
color: #fff;
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 14px rgba(0,0,0,0.25);
opacity: 0;
visibility: hidden;
transform: translateY(12px);
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background var(--ease);
z-index: 150;
}
.back-to-top.is-visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.back-to-top:hover { background: rgba(30, 64, 175, 0.9); }
.back-to-top svg { width: 20px; height: 20px; }

body.menu-open .back-to-top { display: none; }

@media (max-width: 900px) {
.back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
