/* =========================================
   MY ROUTINE footer custom
========================================= */

#fh5co-footer {
  padding: 40px 0 28px;
  background: #f5f5f5;
}

#fh5co-footer a {
  text-decoration: none;
}

#fh5co-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 主要導線 */
#fh5co-footer .footer-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

#fh5co-footer .footer-quick-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  transition: opacity .2s ease, border-color .2s ease;
}

#fh5co-footer .footer-quick-links a:hover {
  opacity: .85;
  border-color: #bbb;
}

/* ブランド */
#fh5co-footer .footer-brand {
  margin-bottom: 24px;
  text-align: left;
}

#fh5co-footer .footer-brand .fh5co-footer-logo {
  margin: 0 0 10px;
  line-height: 1;
}

#fh5co-footer .footer-brand .fh5co-footer-logo a {
  display: inline-block;
}

#fh5co-footer .footer-brand .fh5co-footer-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  #fh5co-footer .footer-brand .fh5co-footer-logo img {
    width: 220px;
  }
}

#fh5co-footer .footer-brand-en {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: #222;
}

#fh5co-footer .footer-brand-jp {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}

/* アコーディオン */
#fh5co-footer .footer-accordion {
  border-top: 1px solid #e5e5e5;
}

#fh5co-footer .footer-accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

#fh5co-footer .footer-accordion-toggle {
  width: 100%;
  padding: 16px 36px 16px 0;
  border: 0;
  background: none;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  position: relative;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

#fh5co-footer .footer-accordion-toggle::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
  color: #222;
}

#fh5co-footer .footer-accordion-item.is-open .footer-accordion-toggle::after {
  content: "−";
}

#fh5co-footer .footer-accordion-content {
  display: none;
  padding: 0 0 14px;
}

#fh5co-footer .footer-accordion-item.is-open .footer-accordion-content {
  display: block;
}

#fh5co-footer .footer-accordion-content ul li {
  margin-bottom: 10px;
}

#fh5co-footer .footer-accordion-content ul li:last-child {
  margin-bottom: 0;
}

#fh5co-footer .footer-accordion-content a {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  padding: 2px 0;
}

/* SNS */
#fh5co-footer .footer-social-wrap {
  margin-top: 24px;
  text-align: center;
}

#fh5co-footer .footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

#fh5co-footer .footer-social li {
  display: inline-block;
  margin: 0;
}

#fh5co-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

#fh5co-footer .footer-social a i {
  font-size: 22px;
}

/* コピーライト */
#fh5co-footer .fh5co-copyright {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e9e9e9;
  text-align: center;
}

#fh5co-footer .fh5co-copyright p {
  margin: 0;
}

#fh5co-footer .fh5co-copyright small {
  font-size: 11px;
  line-height: 1.9;
  color: #777;
}

/* -------------------------
   Tablet and up
------------------------- */
@media (min-width: 768px) {
  #fh5co-footer {
    padding: 48px 0 32px;
  }

  #fh5co-footer .footer-quick-links {
    grid-template-columns: repeat(4, 1fr);
  }

  #fh5co-footer .footer-brand .fh5co-footer-logo {
    font-size: 34px;
  }
}

/* -------------------------
   PC
------------------------- */
@media (min-width: 992px) {
  #fh5co-footer .footer-quick-links {
    max-width: 760px;
    margin: 0 auto 36px;
  }

  #fh5co-footer .footer-brand {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
  }

  #fh5co-footer .footer-accordion {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 0;
    margin-top: 10px;
  }

  #fh5co-footer .footer-accordion-item {
    border-bottom: 0;
  }

  #fh5co-footer .footer-accordion-toggle {
    padding: 0 0 14px;
    cursor: default;
    pointer-events: none;
    border-bottom: 1px solid #e9e9e9;
    margin-bottom: 14px;
  }

  #fh5co-footer .footer-accordion-toggle::after {
    display: none;
  }

  #fh5co-footer .footer-accordion-content {
    display: block !important;
    padding: 0;
  }

  #fh5co-footer .footer-accordion-content a {
    font-size: 13px;
  }

  #fh5co-footer .footer-social-wrap {
    margin-top: 30px;
  }

  #fh5co-footer .fh5co-copyright {
    margin-top: 28px;
  }

  #fh5co-footer .fh5co-copyright small {
    font-size: 12px;
  }
}

/* quick links */
.mr-footer__quicklinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.mr-footer__quicklink {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.mr-footer__quicklink:hover {
  background: #fcfcfc;
  border-color: #bfbfbf;
  opacity: 1;
}

/* brand */
.mr-footer__brand {
  margin-bottom: 30px;
}

.mr-footer__logo {
  margin: 0 0 18px;
}

.mr-footer__logo a {
  display: inline-block;
}

.mr-footer__logo img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.mr-footer__brand-en {
  margin: 0 0 12px;
  color: #222;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.mr-footer__brand-jp {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 2;
}

/* menus */
.mr-footer__menus {
  border-top: 1px solid #dcdcdc;
}

.mr-footer__menu {
  border-bottom: 1px solid #dcdcdc;
}

.mr-footer__menu-toggle {
  width: 100%;
  padding: 18px 34px 18px 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  position: relative;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.mr-footer__menu-toggle::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.mr-footer__menu.is-open .mr-footer__menu-toggle::after {
  content: "−";
}

.mr-footer__menu-content {
  display: none;
  padding: 0 0 16px;
}

.mr-footer__menu.is-open .mr-footer__menu-content {
  display: block;
}

.mr-footer__menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mr-footer__menu-list li + li {
  margin-top: 8px;
}

.mr-footer__menu-list a {
  display: block;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
  padding: 2px 0;
}

/* social */
.mr-footer__social {
  margin-top: 24px;
}

.mr-footer__social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mr-footer__social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #222;
}

.mr-footer__social-list a:hover {
  background: rgba(0, 0, 0, 0.05);
  opacity: 1;
}

.mr-footer__social-list i {
  font-size: 22px;
  line-height: 1;
  color: #222;
}

/* copyright */
.mr-footer__copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #dcdcdc;
  text-align: center;
}

.mr-footer__copyright p {
  margin: 0;
}

.mr-footer__copyright small {
  color: #666;
  font-size: 12px;
  line-height: 2;
}

.mr-footer__copyright a {
  color: #4a4a4a;
}

.mr-footer__copyright i {
  margin-left: 4px;
  font-size: 11px;
  color: #555;
}

/* tablet */
@media (min-width: 768px) {
  .mr-footer__inner {
    padding: 40px 32px 34px;
  }

  .mr-footer__quicklinks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 780px;
    margin: 0 auto 38px;
  }

  .mr-footer__brand {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
  }
}

/* pc */
@media (min-width: 992px) {
  .mr-footer__menus {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    border-top: 0;
    margin-top: 8px;
  }

  .mr-footer__menu {
    border-bottom: 0;
  }

  .mr-footer__menu-toggle {
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #dcdcdc;
    cursor: default;
    pointer-events: none;
  }

  .mr-footer__menu-toggle::after {
    display: none;
  }

  .mr-footer__menu-content {
    display: block !important;
    padding: 0;
  }

  .mr-footer__menu-list a {
    font-size: 13px;
  }

  .mr-footer__social {
    margin-top: 30px;
  }

  .mr-footer__copyright {
    margin-top: 30px;
  }
}

  /* =========================================
   MY ROUTINE 2026フッター　ここまで
========================================= */
