@charset "utf-8";

/* フッター サービス */
.footer-service {
  padding: 3rem 1rem;
  background-color: #fff;
}

.footer-service__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.footer-service__head {
  width: 224px;
  flex-shrink: 0;
}

.x_link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #111;
  justify-content: center;
  width: 100%;
  color: var(--gray-900);
}

.x_link {
  & svg {
      width: 0.9375rem;
      position: relative;
      bottom: 0.1rem;
  }
}

.x_link:hover {
  text-decoration: underline;
  color: var(--gray-900);
}

.footer-service__logo {
  margin: 0 0 2rem;
}

.footer-service__logo img {
  width: 100%;
}

.footer-service__button-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1rem;
}

.footer-service__button-list li {
  width: 100%;
}

.footer-service__button-list li a {
  justify-content: center;
  width: 100%;
  font-size: var(--font-size-sm);
  padding: 12px 0;
}

.footer-service__link {
  align-items: center;
  display: inline-flex;
  flex-direction: row;
  gap: 0;
  justify-content: flex-start;
  line-height: 1;
  width: fit-content;
  font-size: var(--font-size-sm);
  color: var(--bland-color);
  line-height: 1.4;
}

.footer-service__link::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.5 12L9.5 6L8 7.5L12.5 12L8 16.5L9.5 18L15.5 12Z" fill="%23579E64"></path></svg>') no-repeat center center;
  background-size: 100% 100%;
  flex-shrink: 0;
}

.footer-service__menu {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 1;
  gap: 2rem;
  padding-top: .5rem;
}

.footer-service__menu dl {
  position: relative;
  z-index: 1;
  min-width: 120px;
}

.footer-service__menu-title {
  margin: 0 0 1.25rem;
}

.footer-service__menu-button {
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1.4;
  background: none;
  border: none;
  padding: 0;
}

.footer-service__menu-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-service__menu-list li {
  line-height: 1.4;
}

.footer-service__menu-list li a {
  font-size: var(--font-size-xs);
  color: var(--gray-900);
  text-decoration: none;
}

@media (960px <= width) {
  .footer-service__menu-list li a:hover {
    text-decoration: underline;
  }
  .footer-service__link:hover {
    color: var(--bland-color);
  }
}

@media (width < 768px) {
  .footer-service {
    padding: 2.5rem 0 0;
  }

  .footer-service__inner {
    width: auto;
    flex-direction: column;
    gap: 1.875rem;
  }

  .footer-service__head {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-service__logo {
    max-width: 272px;
    margin: 0 auto 2rem;
  }

  .footer-service__menu {
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    overflow: hidden;
  }

  .footer-service__menu dl {
    min-width: inherit;
  }

  .footer-service__menu-title {
    margin: 0;
  }

  .footer-service__menu-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--gray-100);
    font-size: var(--base-font-size);
    margin: 0;
    padding: .5rem 1rem;
    border-top: solid 1px var(--gray-300);
    position: relative;
  }

  .footer-service__menu-button::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.5 12L9.5 6L8 7.5L12.5 12L8 16.5L9.5 18L15.5 12Z" fill="%23000000"></path></svg>') no-repeat center center;
    background-size: 100% 100%;
    flex-shrink: 0;
    transform: rotate(90deg);
  }

  .footer-service__menu-button[aria-expanded="true"]::after {
    transform: rotate(-90deg);
  }

  .footer-service__menu-panel[aria-hidden="true"] {
    display: none;
  }

  .footer-service__menu-list {
    gap: 0;
    border-top: solid 1px var(--gray-300);
  }

  .footer-service__menu-list li {
    border-bottom: solid 1px var(--gray-300);
  }

  .footer-service__menu-list li:last-child {
    border-bottom: none;
  }

  .footer-service__menu-list li a {
    display: block;
    font-size: var(--font-size-sm);
    padding: .625rem 1rem;
    position: relative;
  }

  .footer-service__menu-list li a::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.5 12L9.5 6L8 7.5L12.5 12L8 16.5L9.5 18L15.5 12Z" fill="%23000000"></path></svg>') no-repeat center center;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1rem;
    margin: auto;
  }
}

/* フッター コーポレート */
.globalfooter {
  /* font */
  --font-family-base: "Noto Sans JP", sans-serif;
  --font-size-base: 1rem;
  --font-size-s: 0.875rem;
  --font-size-xs: 0.8125rem;

  background: #5F5F64;
  font-family: var(--font-family-base);
  -webkit-font-smoothing: antialiased;
  color: #F1F1F1;
  & a {
    color: #F1F1F1;
  }
  & a:hover {
    color: #F1F1F1;
  }
}

.globalfooter-main {
  padding: 2.4rem 2rem 1.5rem;
}

.globalfooter-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 75rem;
  margin: 0 auto;
  gap: 2rem;
}

.globalfooter-logo {
  width: 19.6667%;
}

.global-sitemap {
  flex-shrink: 0;
  display: flex;
  gap: 4.09rem;
}

.global-sitemap-column {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.global-sitemap-title {
  font-size: var(--font-size-s);
  font-weight: 700;
  font-variation-settings: "wght" 700;
  line-height: 1.4;
}

.global-sitemap-menu {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  line-height: 1.2;
}

.global-sitemap-link {
  display: block;
  font-size: var(--font-size-s);
  line-height: 1.2;
}
.global-sitemap-link .for-sp {
  display: none;
}

.globalfooter-mark {
  background: #fff;
}

.globalfooter-mark-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.globalfooter-mark-item {
  display: flex;
  align-items: center;
  line-height: 0;
  & .p-mark {
    width: 4.1047rem;
  }

  & .pci-dss {
    width: 3.1743rem;
  }

  & .iso-mark {
    width: 6.5675rem;
  }
}

.globalfooter-legal {
  padding: 1.5rem 2rem 2.5rem;
  border-top: solid 1px #78787A;
}

.globalfooter-legal-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.globalfooter-legal-link {
  font-size: var(--font-size-xs);
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 1.75;
}

.globalfooter-legal-copyright {
  font-size: var(--font-size-s);
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 1.75;
}

@media (width >= 992px) {
  .globalfooter {
    & a:not(.globalfooter-logo,.globalfooter-mark-link) {
      transition: opacity .3s;
      &:hover {
        text-decoration: none;
        opacity: .8;
      }
    }
  }
}
@media (width < 992px) {
  .globalfooter {
    padding: 1rem 1rem 2rem;
  }
  .globalfooter-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .globalfooter-main {
    padding: 0;
  }

  .globalfooter-logo {
    width: 14.75rem;
    margin: 0 auto;
  }

  .global-sitemap {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1.5rem 0;
    padding: 1rem 0 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
  }
  .global-sitemap-column {
    grid-column: 1 / 2;
    gap: 1rem;
    &:last-child {
      grid-row: 1 / 3;
      grid-column: 2 / 2;
    }
  }
  .global-sitemap-title {
    font-size: var(--font-size-base);
    line-height: 1.7;
  }
  .global-sitemap-menu {
    gap: .75rem;
    line-height: 1.7;
  }
  .global-sitemap-link {
    font-size: .9375rem;
    font-feature-settings: "palt";
    line-height: 1.7;
  }
  .global-sitemap-link .for-sp {
    display: block;
  }
  .globalfooter-mark {
    align-self: center;
    margin: 2rem 0 0;
  }
  .globalfooter-legal {
    margin-top: 1.5rem;
    padding: 1.5rem 0 0;

    & .globalfooter-layout {
      align-items: center;
      gap: 1.5rem;
    }
  }
  .globalfooter-legal-list {
    gap: .56rem 1rem;
    line-height: 1.7;
  }
  .globalfooter-legal-link {
    font-size: var(--font-size-s);
  }
}
