.footer {
  width: 100%;
  padding-top: 32px;
  background-color: #094091;
  color: #fff;
  overflow: hidden;
}

.footer .footer-menu-wrapper {
  padding: 24px 16px;
}

.footer .footer-menu-wrapper .menu-list:nth-of-type(2) {
  margin-top: 34px;
  padding-top: 32px;
  /* border-top: 1px solid #0B3677; */
}

.footer .footer-menu-wrapper .menu-list:nth-of-type(2) a {
  padding-left: 0px;
}

.footer .footer-menu-wrapper .menu-list:nth-of-type(2) a::before {
  content: none;
}

.footer .footer-menu-wrapper a {
  padding-bottom: 2px;
  border-bottom: 1px solid #fff;
}

.footer .list-item a {
  cursor: pointer;
}
.footer .footer-menu-wrapper > span {
  display: block;
  width: 100vw;
  height: 1px;
  margin: 26px calc(50% - 50vw) 0px;
  background-color: #0B3677;
}


@media screen and (min-width: 768px) {
  .footer {
    padding-top: 40px;
  }
  .footer .footer-menu-wrapper {
    padding: 24px 0px;
  }

  .footer .footer-menu-wrapper .menu-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .footer .footer-menu-wrapper > span {
    display: none;
  }
}

.footer .footer-menu-wrapper .menu-list:first-of-type .list-item:not(:first-of-type) {
  margin-top: 24px;
}
.footer .footer-menu-wrapper .menu-list:nth-of-type(2) {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 180px;
  margin: 0 auto;
}
.footer .footer-menu-wrapper .menu-list:nth-of-type(2) .list-item:first-child {
  margin-right: 24px;
}
.footer .footer-menu-wrapper .menu-list:nth-of-type(2) .list-item:not(:first-of-type) {
  margin-top: 18px;
}
.footer .footer-menu-wrapper .menu-list:nth-of-type(2) .list-item:nth-of-type(2) {
  margin-top: 0px;
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper .menu-list:first-of-type .list-item:not(:first-of-type) {
    margin-top: 0px;
  }
  .footer .footer-menu-wrapper .list-item:not(:first-of-type) {
    margin-top: 0px;
  }
  .footer .footer-menu-wrapper .menu-list:nth-of-type(2) {
    justify-content: flex-start;
    max-width: none;
    margin-top: 24px;
    padding-top: 0px;
    border: none;
  }
}

@media screen and (min-width: 1200px) {
  .footer .footer-menu-wrapper .menu-list {
    flex-wrap: nowrap;
  }
  .footer .footer-menu-wrapper .menu-list:nth-of-type(2) {
    flex-wrap: nowrap;
  }
}

.footer .footer-menu-wrapper .list-item a {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 400;
}

.footer .footer-menu-wrapper .list-item a::before {
  position: absolute;
  top: 2px;
  left: 0px;
  width: 16px;
  height: 16px;
  background: url(/assets/a/images/common/icon/bg-white-arrow.svg) no-repeat;
  content: "";
}

.footer .footer-menu-wrapper.gray {
  background-color: #f2f2f2;
}

.footer .footer-menu-wrapper.gray .menu-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 300px;
  width: 85%;
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .menu-list {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 830px;
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1280px) {
  .footer .contents-wrapper .contents-inner {
    padding-bottom: 32px;
  }
  .footer .contents-wrapper .contents-inner .footer-menu-wrapper.blue {
    display: flex;
    align-items: center;
    padding-bottom: 0px;
  }
  .footer .footer-menu-wrapper .menu-list:first-of-type {
    margin-right: 184px;
  }
  .footer.en .footer-menu-wrapper .menu-list:first-of-type {
    margin-right: 524px;
  }
  .footer .footer-menu-wrapper .menu-list:nth-of-type(2) {
    margin-top: 0px;
  }
  .footer .footer-menu-wrapper.gray .menu-list {
    max-width: 1200px;
  }
}

.footer .footer-menu-wrapper.gray .list-item {
  margin-right: 16px;
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .list-item {
    margin-right: 0px;
  }
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .list-item {
    padding: 0 48px;
  }
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .list-item:first-child {
    border-left: 1px solid #707070;
  }
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .list-item:not(:first-child) {
    padding-left: 48px;
    border-left: 1px solid #707070;
  }
}

.footer .footer-menu-wrapper.gray .list-item:nth-of-type(2) {
  margin: 0px;
}

.footer .footer-menu-wrapper.gray .list-item:nth-of-type(3),
.footer .footer-menu-wrapper.gray .list-item:nth-of-type(4),
.footer .footer-menu-wrapper.gray .list-item:nth-of-type(5) {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .list-item:nth-of-type(3),
  .footer .footer-menu-wrapper.gray .list-item:nth-of-type(4),
  .footer .footer-menu-wrapper.gray .list-item:nth-of-type(5) {
    margin-top: 0px;
  }
}

.footer .footer-menu-wrapper.gray .list-item:nth-of-type(4) {
  margin-right: 50px;
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .list-item:nth-of-type(4) {
    margin: 16px 0 0;
  }
}

@media screen and (min-width: 1200px) {
  .footer .footer-menu-wrapper.gray .list-item:nth-of-type(4) {
    margin-top: 0px;
  }
}

.footer .footer-menu-wrapper.gray .list-item:last-child {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .list-item:last-child {
    border-right: 1px solid #707070;
  }
}

@media screen and (min-width: 1200px) {
  .footer .footer-menu-wrapper.gray .list-item:last-child {
    margin-top: 0px;
  }
}

.footer .footer-menu-wrapper.gray .list-item a {
  padding-left: 0px;
  color: #333333;
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .footer .footer-menu-wrapper.gray .list-item a {
    font-size: 15px;
    text-decoration: none;
  }
}

.footer .footer-menu-wrapper.gray .list-item a:before {
  background: none;
}

@media screen and (min-width: 768px) {
  .footer .contents-wrapper {
    border-bottom: 2px solid #0b3677;
  }
}

@media screen and (min-width: 768px) {
  .footer .contents-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1280px) {
  .footer .contents-inner {
    padding: 0;
  }
}

.footer .contents-inner .footer-menu-wrapper.blue {
  padding: 0 16px 34px;
  border-bottom: 2px solid #0b3677;
}

@media screen and (min-width: 768px) {
  .footer .contents-inner .footer-menu-wrapper.blue {
    padding: 0 0 32px;
    border: none;
  }
}

@media screen and (min-width: 768px) {
  .footer
    .contents-inner
    .footer-menu-wrapper.blue
    .list-item:not(:last-child) {
    margin-right: 24px;
  }
}

@media screen and (min-width: 768px) {
  .footer .contents-inner .footer-menu-wrapper.blue .list-item:last-child {
    margin-top: 0px;
  }
}

@media screen and (min-width: 920px) {
  .footer .contents-inner .footer-menu-wrapper.blue .list-item:last-child {
    margin-top: 0px;
  }
}

.footer .sns-wrapper {
  margin-top: 16px;
  padding: 0px 16px 16px;
  border-bottom: 2px solid #0b3677;
}

@media screen and (min-width: 768px) {
  .footer .sns-wrapper {
    margin-top: 0px;
    padding: 0;
    border: none;
  }
}

.footer .sns-wrapper .sns-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer .sns-wrapper .sns-content p {
  margin-right: 24px;
  font-size: 14px;
  font-weight: 400;
}

.footer .sns-wrapper .sns-content .sns-list {
  display: flex;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer .sns-wrapper .sns-content .sns-list .list-item {
  display: -ms-grid;
  display: grid;
}

.footer .sns-wrapper .sns-content .sns-list .list-item:nth-child(2) {
  margin: 0 28px;
}

.footer .sns-wrapper .sns-content .sns-list a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: no-repeat center;
}

.footer .sns-wrapper .sns-content .sns-list a.twitter {
  background-image: url(/assets/a/images/common/icon/icon-twitter.svg);
}

.footer .sns-wrapper .sns-content .sns-list a.facebook {
  background-image: url(/assets/a/images/common/icon/icon-facebook.svg);
}

.footer .sns-wrapper .sns-content .sns-list a.ytube {
  background-image: url(/assets/a/images/common/icon/icon-ytube.svg);
}

.footer .txts-wrapper {
  padding: 0px 16px;
  margin-top: 24px;
}
.footer .txts-wrapper .ttl {
  height: 42px;
}

.footer .txts-wrapper .ttl a {
  display: block;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper {
    max-width: 1200px;
    width: 90%;
    margin: 32px auto 0;
    padding: 0;
  }
}

@media screen and (min-width: 1110px) {
  .footer .txts-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

@media screen and (min-width: 1280px) {
  .footer .txts-wrapper {
    padding: 0;
  }
}

.footer .txts-wrapper .ttl  a{
  height: 42px;
  background: url(/assets/a/images/common/ttl-white.svg) no-repeat;
  background-size: contain;
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper .ttl {
    width: 320px;
    height: 49px;
    margin-right: 84px;
    background-size: cover;
  }
}

.footer .txts-wrapper .txts-list {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper .txts-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 583px;
    width: 100%;
    margin-top: 24px;
    font-size: 14px;
  }
  .footer.en .txts-wrapper .txts-list {
    max-width: 668px;
  }
}

@media screen and (min-width: 1110px) {
  .footer .txts-wrapper .txts-list {
    margin-top: 0px;
  }
}

.footer .txts-wrapper .txts-list .list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper .txts-list .list-item:first-child {
    margin-right: 40px;
  }
}

.footer .txts-wrapper .txts-list .list-item:not(:first-child) {
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper .txts-list .list-item:not(:first-child) {
    margin-top: 0px;
  }
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper .txts-list .list-item:last-child {
    width: 100%;
    margin-top: 8px;
  }
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper .txts-list .list-item:last-child span:first-child {
    width: 8%;
  }
}

.footer .txts-wrapper .txts-list .list-item:last-child span:nth-child(2) {
  margin-left: 20px;
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper .txts-list .list-item:last-child span:nth-child(2) {
    margin-left: 8px;
  }
}

@media screen and (min-width: 768px) {
  .footer .txts-wrapper .txts-list .list-item .br_sp {
    display: none;
  }
}

.footer .txts-wrapper .txts-list .list-item span {
  display: inline-block;
}

.footer .txts-wrapper .txts-list .list-item span:nth-child(2) {
  margin: 0 8px;
}

.footer .txts-wrapper .txts-list .list-item a {
  text-decoration: underline;
}

.footer .copy-wrapper {
  display: -ms-grid;
  display: grid;
  place-items: center;
  height: 50px;
  margin-top: 32px;
  background: #0b3677;
}

@media screen and (min-width: 768px) {
  .footer .copy-wrapper {
    height: 60px;
    margin-top: 32px;
  }
}

.footer .copy {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .footer .copy {
    font-size: 14px;
  }
}

/* cookiepolicy */
#cookiepolicy {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}
#cookiepolicy .inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #333;
  padding: 20px 40px;
}
#cookiepolicy .inner .modal-btn span {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}
@media screen and (min-width: 1280px) {
  #cookiepolicy .inner {
    flex-direction: row;
  }

  #cookiepolicy .inner p {
    margin-right: 340px;
  }
}
#cookiepolicy p {
  line-height: 1.8;
  color: #fff;
  font-size: 14px;
}
#cookiepolicy a {
  text-decoration: underline;
}
#cookiepolicy .close_btn {
  position: absolute;
  right: 15px;
  top: -18px;
  cursor: pointer;
}
#cookiepolicy .close_btn span {
  display: block;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%; 
  background: #fff; 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
#cookiepolicy .close_btn span::before,
#cookiepolicy .close_btn span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 13px;
  background: #333;
}
#cookiepolicy .close_btn span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#cookiepolicy .close_btn span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ========= クッキー設定モーダル START ========= */
@media screen and (min-width: 1280px) {
  .cookie-modal .cookie-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);

  }
}

.cookie-modal .cookie-modal-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 100vh;
  background-color: #fff;
}

.cookie-modal .cookie-modal-content .content-inner .tab-wrapper .blue {
  color: #009DFF;
  font-weight: 500;
  font-size: 12px;
  line-height: 2.3;
}

@media screen and (min-width: 1280px) {
  .cookie-modal .cookie-modal-content {
    max-width: 730px;
    width: 730px;
    height: 600px;
    margin: auto;
    border-radius: 4px;
  }

  .cookie-modal .cookie-modal-content .content-inner .tab-wrapper .blue {
    position: absolute;
    top: 102px;
    right: 40px;
    margin-top: 0px;
  }
}

.cookie-modal .cookie-modal-content .content-header {
  display: flex;
  align-items: center;
  height: 55px;
  padding: 16px;
  border-bottom: 2px solid #DDDDDD;
}

@media screen and (min-width: 1280px) {
  .cookie-modal .cookie-modal-content .content-header {
    height: 86px;
  }
}

.cookie-modal .cookie-modal-content .content-header > h2 {
  margin-right: 16px;
}

@media screen and (min-width: 1280px) {
  .cookie-modal .cookie-modal-content .content-header > h2 {
    width: 250px;
    height: 38px;
    margin-right: 32px;
  }

  .cookie-modal .cookie-modal-content .content-header > h2 img {
    width: 100%;
    height: 100%;
  }
}

.cookie-modal .cookie-modal-content .content-header > p {
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
}

@media screen and (min-width: 1280px) {
  .cookie-modal .cookie-modal-content .content-header > p {
    font-size: 18px;
  }
}

.cookie-modal .cookie-modal-content .content-header .close-btn {
  position: absolute;
  top: 8px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 12px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  appearance: none;
}

.cookie-modal .cookie-modal-content .content-header .close-btn::before,
.cookie-modal .cookie-modal-content .content-header .close-btn::after {
  display: block;
  position: absolute;
  top: 17px;
  right: 11px;
  transform: rotate(135deg);
  width: 14px;
  height: 2px;
  background-color: #333333;
  content: "";
}

.cookie-modal .cookie-modal-content .content-header .close-btn::after {
  transform: rotate(-135deg);
}

@media screen and (min-width: 1280px) {
  .cookie-modal .cookie-modal-content .content-header .close-btn {
    top: 24px;
  }
}

.cookie-modal .cookie-modal-content .tab-ttl-list li {
  border-bottom: 2px solid #DDDDDD;
}

.cookie-modal .cookie-modal-content .tab-ttl-list li:last-child.clicked .list-item-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
}

.cookie-modal .cookie-modal-content .tab-ttl-list li:last-child.clicked .list-item-content > p {
  margin-right: 16px;
}

.cookie-modal .cookie-modal-content .tab-ttl-list li .list-item-header {
  height: 50px;
  background-color: #F2F2F2;
  padding: 16px 0 0 22px;
  cursor: pointer;
}

.cookie-modal .cookie-modal-content .tab-ttl-list li .list-item-content {
  display: none;
  padding: 0px 22px 16px;
}

.cookie-modal .cookie-modal-content .tab-ttl-list .list-item-content > p {
  font-size: 14px;
  line-height: 1.875;
}

.cookie-modal .cookie-modal-content .tab-ttl-list li.clicked .list-item-header {
  padding-left: 16px;
  border-left: 8px solid #094091;
  background-color: #fff;
}

@media screen and (min-width: 1280px) {
  .cookie-modal .cookie-modal-content .content-inner .tab-ttl-list li.clicked .list-item-content {
    display: none;
  }
}

.cookie-modal .cookie-modal-content .tab-ttl-list li.clicked .list-item-content {
  display: block;
}

.cookie-modal .cookie-modal-content .tab-content {
  display: none;
}

.cookie-modal .cookie-modal-content .tab-content .tab > p {
  font-size: 14px;
  line-height: 1.875;
}

@media screen and (min-width: 1280px) {
  .cookie-modal .cookie-modal-content .tab-wrapper {
    display: flex;
  }

  .cookie-modal .cookie-modal-content .tab-content {
    display: block;
    max-width: 482px;
    width: 482px;
  }

  .cookie-modal .cookie-modal-content .tab-content .tab {
    display: none;
    padding: 24px 40px 57px;
  }

  .cookie-modal .cookie-modal-content .tab-content .tab > h3 {
    font-size: 15px;
  }
  .cookie-modal .cookie-modal-content .tab-content .tab > p {
    margin-top: 16px;
    font-size: 15px;
  }

  .cookie-modal .cookie-modal-content .tab-content .tab.clicked {
    display: block;
  }
  .cookie-modal .cookie-modal-content .tab-ttl-list {
    max-width: 248px;
    width: 248px;
  }

  .cookie-modal .cookie-modal-content .tab-ttl-list li .list-item-header {
    display: flex;
    align-items: center;
    height: 70px;
    padding-top: 0px;
  }
}

/* トグルボタン */
.cookie-modal .toggle-switch {
  position: relative;
  width: 56px;
  height: 26px;
}

@media screen and (min-width: 1280px) {
  .cookie-modal .toggle-switch {
    position: absolute;
    top: 104px;
    right: 44px;
  }
}
.cookie-modal .toggle-switch input {
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  height: 90%;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.cookie-modal .toggle-switch label {
  display: inline-block;
  position: relative;
  width: 56px;
  height: 26px;
  border-radius: 46px;
  background: #ccc;
  box-sizing: border-box;
  transition: 0.4s;
}

.cookie-modal .toggle-switch label::after {
  position: absolute;
  top: 1px;
  left: 2px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  background: #fff;
  content: '';
  transition: 0.4s;
}

.cookie-modal .toggle-switch input:checked + label {
  background-color: #00C94F;
}

.cookie-modal .toggle-switch input:checked + label::after {
  left: 31px;
}


/* 保存ボタン */
.cookie-modal .cookie-modal-content .btn-wrapper {
  display: grid;
  place-items: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  border-top: 2px solid #DDDDDD;
}

.cookie-modal .cookie-modal-content .btn-wrapper .save-btn {
  position: relative;
  max-width: 312px;
  width: 312px;
  height: 56px;
  margin: 24px 0;
  border: none;
  border-radius: 4px;
  background-color: #094091;
  cursor: pointer;
  outline: none;
  appearance: none;
}

.cookie-modal .cookie-modal-content .btn-wrapper .save-btn::before {
  position: absolute;
  top: 50%;
  left: 16px;
  -webkit-transform: translateY(-40%);
  transform: translateY(-40%);
  content: url(/assets/a/images/common/icon/bg-white-arrow.svg);
}

.cookie-modal .cookie-modal-content .btn-wrapper .save-btn > span {
  position: absolute;
  top: 50%;
  left: 44px;
  transform: translateY(-50%);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
/* ========= クッキー設定モーダル END ========= */
