@charset "UTF-8";

/* 全ページ共通フッター（TOP・faq・privacy・terms・事例・404）。この1か所だけで定義する。
   寸法は 750px 基準の rem。legal.css のページは html の font-size を legal.css 側で合わせている */
.footer .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.footer {
  background: var(--brown);
  color: #cdb9a5;
  text-align: center;
  padding: 60rem 36rem 48rem;
  line-height: 1.8;
}
.footer__service {
  font-family: var(--serif);
  font-size: 30rem;
  letter-spacing: 0.06em;
}
.footer__logo {
  display: block;
  width: 269rem;
  margin: 30rem auto 36rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer__address {
  font-size: 24rem;
  line-height: 1.9;
  opacity: 0.85;
}
.footer__company {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.footer__company:focus-visible {
  outline: 2px solid #cdb9a5;
  outline-offset: 2px;
}
.footer__sns {
  margin-top: 36rem;
}
.footer__insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20rem;
  min-height: 88rem;
  min-height: max(88rem, 44px);
  padding: 0 8rem;
  color: #e6d6c4;
}
.footer__insta svg {
  width: 56rem;
  height: 56rem;
  min-width: 28px;
  min-height: 28px;
  flex: none;
}
.footer__insta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.4;
}
.footer__insta-name {
  font-size: 26rem;
  letter-spacing: 0.06em;
}
.footer__insta-id {
  font-size: 22rem;
  opacity: 0.8;
  text-decoration: underline;
}
.footer__insta:hover .footer__insta-id {
  opacity: 1;
}
.footer__insta:focus-visible {
  outline: 2px solid #cdb9a5;
  outline-offset: 2px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 22px;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 30rem;
}
.footer__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 2px;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}
/* 区切り線は疑似要素。折り返しても行末・行頭に孤立しない（狭い画面では縦並びにして非表示） */
.footer__links a + a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 1px;
  height: 1.1em;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.6;
}
.footer__links a:focus-visible {
  outline: 2px solid #cdb9a5;
  outline-offset: 2px;
}
.footer__copy {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.65;
}
@media (max-width: 560px) {
  .footer__links {
    flex-direction: column;
    align-items: center;
  }
  .footer__links a + a::before {
    display: none;
  }
}

.footer__line {
  width: 120px;
  height: 1px;
  background: rgba(216, 199, 179, 0.65);
  margin: 20px auto 34px;
}
