/* footer */
a {
  text-decoration: none;
  background-color: transparent;
}

#copyrights {
  padding: 0;
  color: #004098;
  font-family: "Helvetica Neue", Helvetica, Arial, -apple-system, sans-serif;
  font-size: 12px;
  text-align: right;
  line-height: 1em;
  margin: 0;
  margin-top: 40vw;
  text-align: center;
}

#footer {
  clear: both;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 0 auto;
  position: relative;
  background: #f0f0f0;
  justify-content: space-between;
  flex-direction: row;
  padding: 40px 24px 24px 24px;
}

@media screen and (min-width: 768px) {
  #footer {
    margin: 0 auto 0 auto;
    flex-direction: row;
    padding: 40px 40px 40px 40px;
    align-items: flex-end;
  }
}

#footer > nav#footer-nav {
  width: 100%;
}

#footer > nav#footer-secondary-nav {
  width: 100%;
}

@media screen and (min-width: 768px) {
  #footer > nav#footer-secondary-nav {
    width: 66%;
  }
}

#footer > p#copyrights {
  width: 100%;
}

@media screen and (min-width: 768px) {
  #footer > p#copyrights {
    width: 33%;
  }

  #copyrights {
    margin: 0;
    margin-top: 1.2em;
    text-align: right;
  }
}

#footer:after {
  position: absolute;
  content: "";
  background-image: url(../images/cdp-logo01.svg);
  background-size: contain;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  width: 50vw;
  height: 20vw;
  bottom: 72px;
  right: 24px;
}

@media screen and (min-width: 768px) {
  #footer:after {
    bottom: 80px;
    right: 40px;
    width: 266px;
    height: 87px;
  }
}

#footer-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0 0 40px 0;
}

#footer-nav > ul > li {
  margin: 0 0 16px 0;
  padding: 0;
  font-family: YakuHanJP, "こぶりなゴシック W3 JIS2004", "Koburina Gothic W3 JIS2004", "Helvetica Neue", "Yu Gothic", "Original Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN",
    "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1em;
}

@media screen and (min-width: 768px) {
  #footer-nav > ul > li {
    font-size: 20px;
    margin: 0 0 20px 0;
  }
}

a.ob.ob-xs:after {
  width: 10px;
  height: 10px;
}

a.ob:after {
  content: "";
  display: inline-block;
  margin-left: 0.4em;
  width: 16px;
  height: 16px;
  background-image: url(../images/link_outbound.svg);
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: contain;
  text-align: bottom;
}

#footer-nav > ul > li > a {
  display: block;
}

#footer-nav > ul > li.has-children > ul {
  margin-top: 0.25em;
}

#footer-nav > ul > li > ul {
  display: inline-block;
  list-style: none;
  margin: 0.3em 0 0 0;
  padding: 0;
}

#footer-nav > ul > li > ul > li {
  display: inline-block;
  margin: 0;
  font-weight: 200;
  line-height: 1.5em;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  #footer-nav > ul > li > ul > li {
    font-size: 14px;
  }
}

#footer-nav > ul > li > ul > li:after {
  display: inline-block;
  content: "/";
  margin: 0 8px;
}

#footer-nav > ul > li > ul > li:last-child:after {
  content: "";
  display: none;
}

#footer-nav a {
  color: #004098;
}

#footer-nav a:hover {
  opacity: 0.8;
  text-decoration: none;
}

#footer-secondary-nav > ul {
  list-style: none;
  margin: 1em 0 0 0;
  padding: 0;
}

#footer-secondary-nav > ul > li {
  margin: 0;
  padding: 0;
  margin-top: 1.2em;
  margin-right: 20px;
  line-height: 1em;
  display: inline-block;
  font-size: 12px;
  font-family: YakuHanJP, "こぶりなゴシック W3 JIS2004", "Koburina Gothic W3 JIS2004", "Helvetica Neue", "Yu Gothic", "Original Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN",
    "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}

#footer-secondary-nav > ul > li a {
  color: #004098;
}

#footer-secondary-nav > ul > li a:hover {
  opacity: 0.8;
  text-decoration: none;
}

#footer-secondary-nav.lang-switch {
  position: relative;
  padding-top: 28px;
}

#footer-secondary-nav.lang-switch li {
  margin: 0;
}

#footer-secondary-nav.lang-switch:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 32px;
  height: 1px;
  border-top: 1px solid #004098;
}

.d-block {
  display: block !important;
}
