/* ===== Footer ===== */
.toc-footer {
  position: relative;
  width: 100%;
  background-color: #F6FAFF;
  overflow: hidden;
  background-image: url('../assets/footer-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#support + .toc-footer,
#privacy-policy + .toc-footer{
  background-color: #fff;
}



.toc-footer__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
  z-index: 0;
  align-items: flex-end;
}

.toc-footer__inner {
  width: 100%;
  height: 100%;
  min-height: 600px;
  aspect-ratio: 1442/504;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: end; /* テキストを下寄せ */
  padding: clamp(28px, 4vw, 40px) 60px;
  box-sizing: border-box;
}

/* 左：ロゴ + テキスト */
.toc-footer__brand{
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start; 
}
.toc-footer__logo{
  width: clamp(44px,6vw,64px);
  height: auto;
  display: block;
  padding-bottom: 50px;
}
.toc-footer__company{ line-height: 1.7; }
.toc-footer__name{
  margin: 0 0 6px;
  font-weight: 700;
  font-size: clamp(14px,1.7vw,16px);
  letter-spacing: .03em;
}
.toc-footer__addr{
  margin: 0;
  font-style: normal;
  font-size: clamp(12px,1.5vw,14px);
  opacity: .92;
}
.toc-footer__tel,
.toc-footer__fax{
  display: inline-block;
  margin-right: 14px;
}

.toc-footer__nav {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 24px;
  text-align: right; /* PCで右寄せ */
}

.toc-footer__nav a {
  color: #fff;
  text-decoration: none;
  font-weight:300;
  letter-spacing: .02em;
}

.toc-footer__nav a:hover {
  opacity: 1;
  text-decoration: underline;
}
.toc-footer {
  color: #fff; /* フッター内のデフォルト文字色を白に */
}

address{
  font-style: normal;
}

/* ===== pagetop ===== */

.pagetop{
	position:fixed;
	bottom:5%;
	right:5%;
	display:inline-block;
	font-size:3em;
	color:#2D5EA3;
	opacity:0.7;
	transition:all 0.3s;
	z-index:999;
}

.pagetop:hover{
	opacity:1;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .toc-footer__inner{
    min-height: 300px;
    padding: 24px 16px;
    gap: 24px;
    grid-template-columns: none;
  }
  .toc-footer__brand {
    align-items: flex-start;
    gap: 12px;
  }
  .toc-footer__logo {
    padding-bottom: 0;
  }
  .toc-footer__nav{
    display: none;
  }
  .toc-footer__menu{ justify-items: start; }
  .sp-br{ display: inline; }
  .toc-footer__logo{
    margin-bottom: 16px;
  }
}
