@charset "utf-8";
@media screen and (min-width: 600px) {
  #footer {
    zoom: 80%;
    /* 既存パーツを80%に調整 */
  }
}

section.ddffooter {
  background: #333333 !important;
  color: #fff;
  font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
  font-weight: bold;
  font-size: 15px; /* rem指定をem指定に変更 */
}
/* 追記 */
#ddf_footer_cr {
  background: #333333 !important;
}
@media screen and (min-width: 1200px) {
  .ddf_cw {
    margin: 0 auto;
    width: 1280px;
    overflow: hidden;
    /* height: 100%; */
    position: relative;
  }
}

#ddf_footer_cr .section_wrap {
  padding: 0;
  display: flex;
  /* width: 80%; */
  margin: auto;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-bottom: 1em;
  font-size: 0.6em;
}

#ddf_footer_cr .section_wrap p {
  margin-bottom: 0;
}

#ddf_footer_cr .section_wrap a {
  /* font-size: 0.6em; */
  margin-left: 5em;
}

section.ddffooter {
  background: #333333 !important;
  color: #fff;
  font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
  font-weight: bold;
}

.footer_flex {
  display: flex;
  padding: 0 0 2em;
  justify-content: space-between;
  width: 90%;
  margin: auto;
  max-width: 1300px;
}

ul.footer-item {
  padding: 0 1em;
}

img.footer-img {
  width: 33%;
  padding: 3em 0 0;
}

ul.footer-item li {
  line-height: 1.5;
}

ul.footer-item:first-child {
  border-right: 0.1em solid rgb(255, 255, 255, 0.3);
  padding-right: 3em;
  margin-right: 1em;
}

ul.footer-item li a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding-top: 0.7em;
  transition: transform 0.3s ease-in-out;

  /* 追記 */
  font-weight: normal;
}

ul.footer-item li a:hover {
  opacity: 1;
  transform: translateX(10px);
}

ul.footer-item li.title {
  color: rgba(255, 255, 255, 0.7);
  padding-top: 2em;
  border-bottom: 0.2px dashed rgb(255, 255, 255, 0.7);
  padding-bottom: 0.7em;
  /* 追加 */
  text-align: left;
}

ul.footer-item li.item {
  font-size: 0.9em;
}

@media (min-width: 1200px) {
  .footer_flex {
    width: 80%;
  }
}

@media (max-width: 600px) {
  img.footer-img {
    width: 100%;
    padding: 4em 1em 0;
  }

  ul.footer-item:first-child {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }

  ul.footer-item li.item {
    font-size: 1em;
  }

  .footer_flex {
    flex-direction: column;
    padding: 0 0 1em 0;
  }

  #ddf_footer_cr .section_wrap {
    flex-direction: column;
    /* margin: 1em auto 2em; */
    margin: 1em auto 0;
    padding-bottom: 2em !important;
  }

  #ddf_footer_cr .section_wrap a {
    margin-left: 0;
  }

  #ddf_footer_idf .section_wrap.footer_parts {
    padding: 0 1em 1em !important;
  }
}

/* 追記 */

/* ===========
 hgroup
 ============= */
.ddf_pc {
  display: block;
}

.ddf_sp {
  display: none;
}

.hgroup p,
.hgroup span,
.content_box p,
.content_box span {
  color: #1b274e;
}

.hgroup {
  margin: 0 0 50px;
  padding: 0;
  font-size: 15px; /* 基準フォントサイズを設定 */
}

.hgroup_wrap {
  margin: 0;
  padding: 0;
}

.hgroup_wrap p {
  margin: 0;
  padding: 0;
  font-size: 2.76em; /* 15px × 2.76 = 41.4px */
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  font-feature-settings: 'palt';
}

.hgroup_wrap p.small {
  margin: 40px 0 0;
  font-size: 1.2em; /* 15px × 1.2 = 18px */
  font-weight: 300;
  letter-spacing: 0.08em;
  display: block;
}

.hgroup_wrap p span {
  font-weight: 600;
}

.hgroup_wrap h1 {
  margin: 0 0 70px;
  padding: 0;
  font-size: 2em; /* 15px × 2.0 = 30px */
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}

.hgroup_wrap h1 span {
  padding: 10px 5px 5px;
  font-weight: 600;
  border-bottom: 4px solid #00153e;
  color: #00153e;
}

.hgroup_wrap h2 {
  margin: 0 0 50px;
  padding: 0;
  height: auto;
  font-size: 1.6em; /* 15px × 1.6 = 24px */
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}

.hgroup_wrap h2 > span {
  padding: 10px 20px;
  background: #b20000;
  min-width: 190px;
  color: #ffffff;
  display: inline-block;
  border-radius: 5px;
}

.hgroup_wrap h2 .new {
  padding: 10px 5px 5px !important;
  font-weight: 600;
  border-bottom: 4px solid #00153e;
  color: #00153e !important;
  border-radius: none;
  background: none;
  display: inline-block;
  letter-spacing: 0.06em;
  font-weight: 600 !important;
  font-size: calc(30em / 24); /* 15px基準の2emを計算: 30px ÷ 24px = 1.25em ;*/
}

/* ===========
footer
============= */

footer .section_wrap {
  padding: 100px 80px;
}

#footer > #ddf_footer_idf {
  background: #ffffff;
}

#ddf_footer_idf .section_wrap {
  text-align: center;
  margin: 0;
  padding: 20px 0;
}

#ddf_footer_idf .section_wrap a {
  display: inline-block;
}

#ddf_footer_idf .section_wrap a img {
  display: inline-block;
  width: 70px;
}

#ddf_footer_idf .section_wrap p {
  display: inline-block;
  font-size: 0.8em; /* remからemに変更 */
  line-height: 1;
  vertical-align: 70%;
  padding-left: 10px;
}

@media (max-width: 600px) {
  .ddf_sp {
    display: block;
  }

  .ddf_pc {
    display: none;
  }

  footer .section_wrap {
    padding: 40px 20px;
  }

  .footer_logo {
    width: 100%;
    max-width: 320px;
  }

  #footer_gr .section_wrap {
    padding: 30px 0 5px !important;
  }

  .service.list > li {
    display: inline-block !important;
    margin: 0 15px 15px !important;
  }

  .service.list > li > a {
    text-align: left;
    width: 90px !important;
    margin: 0 !important;
  }

  .service.list > li > a img {
    display: inline-block;
    width: 90px !important;
    height: auto;
  }

  #ddf_footer_idf .section_wrap a img {
    width: 45px;
  }

  #ddf_footer_idf .section_wrap p {
    font-size: 0.6em; /* remからemに変更 */
    letter-spacing: -0.5px;
    vertical-align: 50%;
  }

  #ddf_footer_idf .section_wrap {
    padding: 0 0 15px !important;
  }
}

#footer_gr .section_wrap {
  padding: 50px 0 10px;
}

#footer_gr .content_box {
  margin: 0;
}

#ddf_footer_cr {
  background: #333333 !important;
}

#ddf_footer_cr .section_wrap {
  padding: 0;
}

#ddf_footer_cr .section_wrap p {
  padding: 10px 0;
  color: #ffffff;
  text-align: center;
  /* font-size: 0.6em; */
  letter-spacing: 0.08em;
}

/*
#footer {
  position: fixed;
  bottom: 0;
}
*/

#footer_comp .content_box > p {
  text-align: center;
  letter-spacing: var(--letter-sp);
  margin: 30px 0 13px;
  font-size: 0.95em; /* remからemに変更 */
}
#footer_comp .content_box > p a {
  display: inline;
}

.footer_logo {
  display: block;
  margin: 0 auto;
  width: 600px;
}

section#ddf_footer_idf {
  margin-top: 1em;
}

#ddf_footer_idf .section_wrap.footer_parts {
  display: flex;
  margin: auto !important;
  align-items: center;
  justify-content: center;
}

#ddf_footer_idf .section_wrap.footer_parts p {
  margin-bottom: 0;
  line-height: 1.5;
  text-align: left;
}

#ddf_footer_idf .section_wrap.footer_parts img {
  width: 80px;
}
