/*
Theme Name: affinger-child
Template: affinger
Description: AFFINGER6 対応
Version: 20240601
*/

/*media Queries PC
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 770px) {
  footer {
    width: 100%;
  }
  .footer_breadcrumb {
    font-size: 20px;
    width: 1120px;
    margin: 0 auto;
    background-color: #FFFDF3;
    position: relative;
    padding-bottom: 26px;
  }
  .footer_breadcrumb::before,
  .footer_breadcrumb::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: #FFFDF3;
    z-index: 1;
  }
  .footer_breadcrumb::before {
    right: 100%;
  }
  .footer_breadcrumb::after {
    left: 100%;
  }
  .footer_breadcrumb a {
    text-decoration: none;
    color: #065EDF;;
  }
  .footer_breadcrumb a:hover {
    text-decoration: none;
    opacity: 0.7;
  }
  .footer_breadcrumb span {
    margin: 0 4px;
    color: #666;
  }
  footer .gnav_wrapper {
    background-color: #FFFDF3;
    display: block;
  }
  footer .gnav_wrapper:before {
    display: none;
  }
  footer .gnav {
    width: 100%;
    position: relative;
    background-color: #FFFDF3;
  }
  footer .footer_gnav {
    position: relative;
    background-color: #FFFDF3;
  }
  footer .footer_wrapper {
    background-color: #FFFDF3;
  }
  footer .footer_gnav >.cpn-portal_nav__title {
    background: none;
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    padding: 0;
    border: none;
    border-left: none;
    width: 1120px;
    height: 50px;
    margin-bottom: 0;
    line-height: 1;
    background-color: #FFFDF3;
    position: absolute;
    top: -50px;
    left: 0;
  }
  footer .footer_gnav >.cpn-portal_nav__title::before,
  footer .footer_gnav >.cpn-portal_nav__title::after {
        content: "";
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: #FFFDF3;
    z-index: 1;
  }
  footer .footer_gnav >.cpn-portal_nav__title::before {
    right: 100%;
  }
  footer .footer_gnav >.cpn-portal_nav__title::after {
    left: 100%;
  }
  footer .portal_nav .cpn-portal_nav__title>.cpn-portal_nav__body:first-of-type td {
    display: none;
  }
  footer .cpn-portal_nav {
    display: none;
    position: absolute;
    top: 41px;
    left: 50%;
    transform: translate(-50%);
    border: none;
    border-top: none;
    background: #FFFFFF;
    width: 1120px;
    z-index: 3;
  }
  footer .cpn-portal_nav::before,
  footer .cpn-portal_nav::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: #FFFDF3;
    z-index: 1;
  }
  footer .cpn-portal_nav::before {
    right: 100%;
  }
  footer .cpn-portal_nav::after {
    left: 100%;
  }
	footer .portal_nav {
		display: flex;
		gap: 20px;
    justify-content: flex-end;
    padding-bottom: 40px;
	}
	.portal_nav__group {
		flex: 1;
    width: 265px;
    background-color: #FFFDF3;
	}
	footer.cpn-portal_nav__body {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
	}

  footer .cpn-portal_nav__subtitle {
    border: none;
    width: 265px;
    font-size: 15px;
    font-weight: bold;
    background: #87B828;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 10px 0 8px 10px;
    margin-bottom: 0;
    line-height: 1;
  }
  footer .cpn-portal_nav__body {
    border-collapse: collapse;
    background: #FFFDF3;
    margin-bottom: 0;
    padding-left: 0;
    width: 265px;
  }
  footer .cpn-portal_nav__body.is-open {
    display: none;
  }
  footer .cpn-portal_nav__item {
    width: 265px;
    height: 50px;
    background: #FFFDF3;
    border-right: 0;
    padding-left: 0;
    border-bottom: 1px solid #CCCCCC;
  }
  footer .cpn-portal_nav__item::marker {
    font-size: 0;
  }
  footer .cpn-portal_nav__item:nth-child(5) {
    border-right: none;
    width: 265px;
  }
  .under_line {
    border-bottom: 1px solid #333333;
  }
  footer .cpn-portal_nav__item a {
    position: relative;
    width: 100%;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
    color: #333333;
    font-size: 15px;
    display: flex;
    align-items: center;
    line-height: 1.4;
    text-align: left;
  }
 footer .cpn-portal_nav__item a:hover {
    opacity: 0.5;
    cursor: pointer;
    color: #333333;
  }
  footer .cpn-portal_nav__item a span {
    position: absolute;
    top: 22px;
    right: 17px;
    font-size: 0;
  }
  footer .cpn-portal_nav__item a .maker {
    width: 80px;
    margin-right: 10px;
  }
  .footer_menu {
    display: flex;
    gap: 20px;
    background: #FFFDF3;
  }
  .footer_menus {
    text-align: left;
  }
  .footer_menus .footer_menu {
    display: flex;
    gap: 20px;
  }
  .footer_menu_title {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 15px;
    line-height: 1;
    text-align: left;
    background: #FFFDF3;
    margin-bottom: 0;
    width: 1120px;
    margin: 0 auto;
    position: relative;
  }
  .footer_menu_title:last-of-type::before,
  .footer_menu_title:last-of-type::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: #FFFDF3;
    z-index: 2;
  }
  .footer_menu_title:last-of-type::before {
    right: 100%;
  }
  .footer_menu_title:last-of-type::after {
    left: 100%;
  }
  .footer_menu_title:last-of-type {
    padding: 40px 0 15px;
  }
  .footer_menu_subtitle {
    font-size: 15px;
    font-weight: bold;
    background: #87B828;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 10px 0 8px 10px;
    margin-bottom: 15px;
    line-height: 1;
  }
  .footer_contents {
    width: 265px;
  }
  .footer_menu .footer_menu_lists {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 0;
    margin-bottom: 20px;
    padding-left: 0;
  }
  .footer_menu_lists .footer_menu_list {
    width: 100%;
    border-bottom: 1px solid #CCCCCC;
    padding: 10px 0;
  }
  .footer_menu_lists .footer_menu_list::marker {
    font-size: 0;
  }
  .footer_menu_lists .footer_menu_list a {
    position: relative;
    font-size: 15px;
    color: #333333;
    display: flex;
    align-items: center;
    &:hover {
      opacity: 0.5;
    }
    .maker {
      width: 80px;
      margin-right: 10px;
    }
    span {
      position: absolute;
      top: 25%;
      right: 3px;
      font-size: 0;
    }
  }
  .footer_menus .footer_menu--wide {
    width: 1120px;
  }
  .footer_title {
    font-size: 20px;
    font-weight: bold;
    background: #87B828;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 12px 0 8px 20px;
    margin: 40px 0 20px;
    line-height: 1;
    text-align: left;
  }
  footer .cpn-product_nav_lists {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 8px;
    padding: 0 0 40px 0;
    background: #FFFDF3;
  }
  footer .cpn-product_nav_item {
    width: 133px;
  }
  footer .cpn-product_nav_item::marker {
    font-size: 0;
  }
  footer .cpn-product_nav_text {
    font-size: 12px;
    color: #333333;
  }
  .footer_copyright {
    background: #87B828;
    color: #FFFFFF;
    padding: 11px 0 7px;
    text-align: center;
    position: relative;
  }
  .footer_copyright::before,
  .footer_copyright::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: #87B828;
    z-index: 2;
  }
  .footer_copyright::before {
    right: 100%;
  }
  .footer_copyright::after {
    left: 100%;
  }
  .footer_copyright__inner {
    max-width: 1120px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1;
    background: #87B828;
  }
  .footer_copyright__inner a {
    color: #FFFFFF;
  } 
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 769px) {
      .footer_menu_title {
        font-size: 5.33vw;
        font-weight: bold;
        background: #87B828;
        color: #FFFFFF;
        padding: 0 0 0 3%;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        text-align: left;
        border: 1px solid #333333;
        height: 10.66vw;
      }
      .footer_breadcrumb {
        margin: 3vw 0 -5vw 3vw;
      }
      .footer_breadcrumb a {
        text-decoration: none;
      }
      .footer_inner_lists_wrapper .footer_inner_menu {
        font-size: 5.33vw;
        padding: 1.3% 0 1.1% 2%;
      }
      .footer_inner_lists_wrapper .footer_inner_subtitle {
        text-align: left;
        border-top: 1px solid #333333;
        padding: 2vw 3vw;
        position: relative;
      }
      .footer_inner_subtitle::after {
        content: "＋";
        position: absolute;
        right: 3%;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        line-height: 1;
      }
      .footer_inner_subtitle.is-active {
        border-bottom: 1px solid #333333;
      }
      .footer_inner_subtitle.is-active::after {
        content: "－";
      }
      .under_line {
        border-bottom: 1px solid #333333;
      }
      .footer_inner_lists_wrapper .footer_inner_lists {
        width: 100%;
        box-sizing: border-box;
        display: none;
      }

      .footer_inner_lists_wrapper .footer_inner_lists.is-open {
        display: table;
      }

      .footer_inner_lists .footer_inner_list {
        display: flex;
        align-items: center;
        width: 50%;
        height: 13.333vw;
        box-sizing: border-box;
        background: #FFFFFF;
        border-bottom: 1px solid #333333;
        border-right: 1px solid #333333;
        &:nth-child(even) {
          border-right: none;
        }
      }

      .footer_inner_lists .no_border {
        border-bottom: none;
      }

      .footer_inner_lists .footer_inner_list a {
        padding: 0 5% 0 5%;
        font-size: 14px;
        font-size: 3.73vw;
        line-height: 1.2;
        text-align: left;
        text-decoration: none;
        position: relative;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        color: #333333;
        display: flex;
        align-items: center;
        span {
          position: absolute;
          top: 37%;
          right: 6%;
          font-size: 0;
        }
        .maker {
          width: 13.333vw;
          margin-right: 3%;
          border-radius: 0;
        }
      }

      .footer_inner_lists tr {
        display: flex;
      }
      .footer_title {
        font-size: 14px;
        font-size: 3.73vw;
        border-radius: 2vw;
        padding: 3% 0 2.5% 3%;
        margin: 10% auto 4%;
        text-align: left;
        width: 90.667vw;
        box-sizing: border-box;
      }
      .footer_product_list {
          width: 100%;
          margin: 0 auto;
          background-color: #FFFFFF;
        .footer_lists {
          width: 91.5vw;
          gap: 2vw;
          margin: 5vw auto;
          .footer_list {
            width: 21.333vw;
          }
          .footer_list .footer_list_title {
            font-size: 10px;
            font-size: 2.67vw;
            margin-top: 2%;
            text-align: left;
          }
        }
      }
  .footer .cpn-product_nav_listwrap {
    max-height: 117vw;
  }
  .footer_copyright {
    height: 9.33vw;
    background: #87B828;
    color: #FFFFFF;
    text-align: center;
  }
  .footer_copyright__inner {
    height: 9.33vw;
    font-size: 2.66vw;
    color: #FFFFFF;
    line-height: 1.3;
    padding: 1vw 11vw;
  }
  .footer_copyright a {
    color: #FFFFFF;
    text-decoration: none;
  }
}

