/* ============================================================
 * AtoBoo Footer
 *
 * 左：会社情報 / 中央：News / 右：Menu の3カラム + 底部
 * AtoBoo デザイントークンに準拠（border-radius は0、ボタン角丸のみ2px）
 * ============================================================ */

:root {
  --atb-olive:        #3f3b00;
  --atb-beige:        #ededdc;
  --atb-terracotta:   #c45c3a;
  --atb-link:         #65a1d8;
  --atb-text:         #333;
  --atb-text-thin:    #888;
  --atb-border:       #e0dccc;
  --atb-border-thin:  #f0eddf;
  --atb-foot-bg:      #f5f5f3;
}

/* ------------------------------------------------------------
 * Footer container
 * ------------------------------------------------------------ */

.atb-footer {
  background: #fff;
  color: var(--atb-text);
  font-family: 'Noto Sans JP', sans-serif;
  margin-top: 80px;
}

.atb-footer__main {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.8fr;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 56px;
}

@media (max-width: 960px) {
  .atb-footer__main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 20px 40px;
  }
}

/* ------------------------------------------------------------
 * Foot heading（News / Menu 共通）
 * ------------------------------------------------------------ */

.atb-foot-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--atb-border);
  font-weight: normal;
}

.atb-foot-heading__main {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--atb-text);
  line-height: 1;
}

.atb-foot-heading__line {
  flex: 1;
}

.atb-foot-heading__sub {
  font-size: 12px;
  color: var(--atb-text-thin);
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------------
 * Info Column（左）
 * ------------------------------------------------------------ */

.atb-info__logo-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--atb-olive);
}

/* インライン展開された logo.svg（fill="currentColor"）に対するサイズ・色指定。
 * 旧 .atb-info__logo は <img> 要素用だったが、SVG インライン展開に変更したため
 * セレクタを子孫 svg に変更。color (=currentColor) はリンク側で指定。 */
.atb-info__logo-link svg {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
}

/* logo.svg 読み込み失敗時のフォールバックテキスト */
.atb-info__logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--atb-olive);
}

.atb-info__brand {
  margin: 0 0 24px;
  line-height: 1.5;
}

.atb-info__brand-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--atb-text);
}

.atb-info__brand-kana {
  display: block;
  font-size: 11px;
  color: var(--atb-text-thin);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.atb-info__list {
  margin: 0 0 24px;
}

.atb-info__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.atb-info__row:last-child {
  margin-bottom: 0;
}

/* Hours / Closed を横並び2列に */
.atb-info__rows-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.atb-info__rows-double .atb-info__row {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .atb-info__rows-double {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .atb-info__rows-double .atb-info__row:not(:last-child) {
    margin-bottom: 0;
  }
}

.atb-info__label {
  background: var(--atb-olive);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  text-align: center;
  width: 72px;
  box-sizing: border-box;
}

.atb-info__value {
  margin: 0;
  color: var(--atb-text);
  padding-top: 1px;
}

/* E-Mail：CSS疑似要素で @ を挿入してボット対策 */
.atb-info__mail-at::before {
  content: "@";
}

.atb-info__map {
  margin-top: 20px;
}

.atb-info__map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

/* ------------------------------------------------------------
 * News Column（中央）
 * ------------------------------------------------------------ */

.atb-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.atb-news__item {
  border-bottom: 1px solid var(--atb-border-thin);
}

.atb-news__item:last-child {
  border-bottom: none;
}

.atb-news__link {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--atb-text);
  transition: opacity 0.2s ease;
}

.atb-news__link:hover {
  opacity: 0.6;
}

.atb-news__date {
  display: block;
  font-size: 11px;
  color: var(--atb-text-thin);
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}

.atb-news__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
}

/* News 一覧リンク */
.atb-news__more {
  margin: 16px 0 0;
  text-align: right;
}

.atb-news__more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--atb-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.atb-news__more-link:hover {
  opacity: 0.6;
}

.atb-news__more-icon {
  display: inline-block;
  font-size: 11px;
}

/* ------------------------------------------------------------
 * Menu Column（右）
 * ------------------------------------------------------------ */

.atb-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.atb-menu__item {
  margin-bottom: 14px;
}

.atb-menu__item:last-child {
  margin-bottom: 0;
}

.atb-menu__link {
  display: inline-block;
  text-decoration: none;
  color: var(--atb-text);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.atb-menu__link::before {
  content: "→";
  font-family: 'Outfit', sans-serif;
  margin-right: 8px;
  color: var(--atb-olive);
  transition: transform 0.2s ease;
  display: inline-block;
}

.atb-menu__link:hover {
  color: var(--atb-olive);
}

.atb-menu__link:hover::before {
  transform: translateX(2px);
}

/* ------------------------------------------------------------
 * Foot（底部）
 * ------------------------------------------------------------ */

.atb-footer__foot {
  background: var(--atb-foot-bg);
  padding: 24px 20px;
  text-align: center;
}

.atb-footer__nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0 0 12px;
  padding: 0;
  flex-wrap: wrap;
}

.atb-footer__nav-item a {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.atb-footer__nav-item a:hover {
  color: var(--atb-olive);
}

.atb-footer__copyright {
  font-size: 11px;
  color: var(--atb-text-thin);
  margin: 0;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}
