* {
  padding: 0;
  margin: 0;
}


html {}

body {
  font-size: 1.0rem;
  color: #333;
  font-family: "Shippori Mincho", serif;
}

img {

  vertical-align: top;
}

a {
  color: #271E49;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}

a:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.sp {
  display: none;
}

#wrapper {
  width: 100%;
  /*  padding-top: 45px;*/
}

@media (max-width:920px) {
  #wrapper {
    padding-top: 0;
  }
}

  @media (max-width:500px) {
    .sp {
      display: block;
    }

  }


  /*　游明朝　*/

  #slider-text,
  #new-wrapper,
  #service {
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
  }

  #moba-header li,
  #moba-header p,
  .menu li,
  .menu p {
    font-family: "Shippori Mincho", serif;
    font-weight: 800;
  }

  footer,
  #service #service02 {
    font-family: "Shippori Mincho", serif;
    font-weight: initial;
  }


  /*　グローバルメニュー　*/


  #header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 300px;
    z-index: 1;
  }

  @media (max-width:1200px) {
    #header {
      width: 270px;
    }
  }

  @media (max-width:920px) {
    #header {
      display: none;
    }
  }

  .header-inner {
    position: relative;
    width: 300px;
    height: 100vh;
    background-color: #fff;
  }

  @media (max-width:1200px) {
    .header-inner {
      width: 270px;
    }
  }


  h1 img {
    width: 120px;
  }

  .menu {
    position: absolute;
    top: 45px;
    left: 50px;
  }

  @media (max-width:1200px) {
    .menu {
      left: 45px;
    }
  }

  #moba-header li,
  .menu li {
    font-size: 0.95rem;
    list-style: none;
    margin-bottom: 11px;
  }

  #moba-header li:nth-of-type(5),
  .menu li:nth-of-type(5),
  #moba-header li:nth-of-type(1),
  .menu li:nth-of-type(1) {
    margin-bottom: 5px;
  }

  #moba-header ul,
  .menu ul {
    margin-top: 40px;
  }

  #moba-header p,
  .menu p {
    font-size: 0.88rem;
    margin-bottom: 3px;
    margin-left: 7px;
  }

  #moba-header .p-last1,
  .menu .p-last1 {
    margin-bottom: 16px;
  }

  #moba-header .p-last2,
  .menu .p-last2 {
    margin-bottom: 12px;
  }

  #moba-header li.languages,
  .menu li.languages {
    font-size: 0.8rem;
    padding-top: 15px;
    margin-bottom: 0;
  }

  .languages_span1 {
    display: inline-block;
    width: 74px;
  }

  .languages_span2 {
    display: inline-block;
    padding-left: 17px;
  }

  #moba-header li.sns,
  .menu li.sns {
    padding-top: 20px;
  }


  .sns span {
    display: inline-block;
    padding-right: 17px;
  }

  .sns img {
    width: 26px;
  }

  #moba-header .ec-banner,
  .menu .ec-banner {
    margin: 20px 0 0;
    max-width: 180px;
  }

  #moba-header .ec-banner2,
  .menu .ec-banner2 {
    margin: 20px 0 0;
    max-width: 200px;
  }

  .top-ec-banner,
  .top-ec-banner2 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
  }

  .top-ec-banner-c {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
  }

  .top-ec-banner {
    width: 240px;
  }

  .top-ec-banner2,
  .top-ec-banner-c {
    width: 250px;
  }


  .ec-banner img,
  .ec-banner2 img,
  .top-ec-banner img,
  .top-ec-banner2 img,
  .top-ec-banner-c img {
    width: 100%;
  }

  @media (max-width:1150px) {
    .menu li {
      font-size: 0.9rem;
    }

    .menu p {
      font-size: 0.85rem;
    }

    .menu li.languages {
      font-size: 0.7rem;
    }
  }


  @media (max-width:740px) {
    .top-ec-banner {
      width: 200px;
    }

    .top-ec-banner2 {
      width: 220px;
    }

    .top-ec-banner-c {
      width: 160px;
    }

    .top-ec-banner,
    .top-ec-banner2,
    .top-ec-banner-c {
      position: fixed;
      bottom: 10px;
      right: 10px;
      z-index: 100;
    }
  }



  /*　　　　スライダー　　　　*/



  main {
    display: block;
    margin-left: 300px;
    color: #333;
  }

  @media (max-width:1200px) {
    main {
      margin-left: 270px;
    }
  }

  @media (max-width:920px) {
    main {
      margin: 0;
    }
  }


  #top-wrapper {
    max-width: 920px;
    position: relative;
    margin: 0 auto 14%;
    overflow: hidden;
    /* padding-right: 16%;*/
  }

  @media (max-width:920px) {
    #top-wrapper {
      padding-right: 0;
    }
  }

  .slider {
    position: relative;
  }

  .slider img {
    max-width: 100%;
  }



  #slider-text {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  #slider-text p {
    font-size: 37px;
    color: #fff;
    text-shadow: 1px 1px 7px #000;
    text-align: center;
    font-weight: normal;
  }

  @media (max-width:540px) {
    #slider-text p {
      font-size: 25px;
    }
  }






  /*　新着情報　*/

  #new-wrapper {
    max-width: 920px;
    margin: 0 auto 10%;
  }

  @media (max-width:768px) {
    #new-wrapper {
      margin: 0 3% 10%;
    }
  }


  #new-wrapper p {
    padding-top: 1em;
    padding-bottom: 0.4em;
    padding-left: 30px;
  }

  @media (min-width:768px) {
    #new-wrapper p {
      padding-top: 1em;
      padding-bottom: 0.4em;
      padding-left: 45px;
    }
  }

  .info-wrapper {
    padding: 20px;
    border: 1px solid #d5d5d5;
    font-weight: 500;
  }

  .info-wrapper a {
    text-decoration: underline;
  }

  #info_ttl {
    display: block;
    text-align: center;
  }

  #info_ttl p {
    font-size: 2rem;
    letter-spacing: 5px;

  }

  #info_ttl span {
    display: block;
    font-size: 1.2rem;
    margin-top: 2px;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0;
  }

  @media (max-width:768px) {
    #info_ttl p {
      font-size: 1.4em;
    }

    #info_ttl span {
      font-size: 0.8em;
    }
  }

  .scroll {
    max-width: 920px;
    height: 325px;
    margin: 0 auto;
    overflow-y: scroll;
  }

  .scroll::-webkit-scrollbar {
    width: 1px;
  }

  .scroll::-webkit-scrollbar-track {
    background-color: #fff0;
  }

  .scroll::-webkit-scrollbar-thumb {
    background: #000;
    width: 130px;
  }


  .info {
    -webkit-overflow-scrolling: touch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  @media (min-width:768px) {
    .info {
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      flex-direction: row;
      flex-wrap: wrap
    }
  }

  .info dd,
  .info dt {
    box-sizing: border-box;
    width: 100%;
    padding-left: 30px;
    padding-bottom: 0.4em;
  }

  .info dt {
    font-style: normal;
    font-weight: initial;
  }

  @media (min-width:768px) {
    .info dt {
      width: 8.5em;
      margin-bottom: 1em;
      padding-bottom: 1em;
      padding-left: 45px;
    }
  }

  .info dt:first-of-type {
    padding-top: 1em;
  }

  .info dt span {
    box-sizing: border-box;
    display: inline-block;
    width: 7em;
    margin-right: .5em;
    padding: 1em;
    background-color: #009688;
    color: #fff;
    font-size: .8em;
    line-height: 1.75;
    text-align: center;
  }

  .info dd {
    margin-left: 0;
    margin-bottom: 1em;
  }

  @media (min-width:768px) {
    .info dd {
      width: calc(100% - 12.5em);
    }

    .info dd:first-of-type {
      padding-top: 1em;
    }
  }

  .info dd:nth-of-type(-n+3) {
    position: relative;
  }

  /* SDGs  */
  #SDGs {
    max-width: 800px;
    margin: 0 auto 10%;
    text-align: center;
  }

  #SDGs img {
    width: 100%;
    vertical-align: top;
  }

  @media (max-width:768px) {
    #SDGs {
      margin: 0 3% 10%;
    }
  }

  /*　サービス　*/

  #service {
    background: #F9F9F5;
    padding: 10% 0;
  }


  @media (max-width:768px) {
    #service {
      padding: 10% 3%;
    }
  }

  #service01 {
    max-width: 920px;
    margin: 0 auto;
  }


  #service01 .box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8%;
    background: #fff;
    position: relative;
  }

  #service01 .box a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }

  #service01 .box:last-of-type {
    margin-bottom: 10%;
  }


  #service01 .text {
    padding-right: 16.6%;
    padding-top: 35px;
    padding-bottom: 40px;
    width: 43.317%;
    line-height: 1.4;
  }

  h3 {
    font-size: 1.45em;
    margin-bottom: 6%;
  }

  @media (max-width:768px) {
    h3 {
      font-size: 1.1em;
    }

  }

  #service01 .pict {
    width: 320px;
    height: 250px;
    margin-right: 30px;
    background: no-repeat center center;
    background-size: 100% auto;
  }

  #service01 .pict img {
    object-fit: cover;
  }

  @media (max-width:768px) {
    #service01 .pict {
      width: 50%;
      margin-right: 0;
      height: 150px;
    }

    #service01 .text {
      background: #fff;
      padding: 10px 20px;
      width: 50%;
    }
  }


  #service01 p {
    font-size: 0.95em;
  }

  #service01 p:first-of-type {
    margin-bottom: 60px;
  }

  @media (max-width:768px) {
    #service01 p {
      font-size: 0.8em;
    }

    #service01 p:first-of-type {
      margin-bottom: 20px;
    }
  }

  #service01 p:last-of-type {
    text-decoration: underline;
  }


  /*　3連カード　*/

  .card {
    display: flex;
    flex-direction: column;
    width: calc(100% / 3 - 19px * 2 / 3);
    overflow: hidden
  }

  .card img {
    vertical-align: top;
  }

  .card__item {
    background: #2A3455;
    color: #fff;
    font-size: 16px;
  }

  .card {
    position: relative;
  }

  .card a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
  }

  .card a:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
    -ms-filter: "alpha( opacity=60 )";
    background: #fff;
  }

  .houjin {
    font-size: 0.9rem !important;
  }

  #service02 img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
  }

  #service02 p {
    border-radius: 0 0 5px 5px;
    padding: 13px 15px;
  }

  #service02 {
    max-width: 920px;
    margin: 0 auto;
  }

  #service02-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 25px 19px;
  }

  @media (max-width: 768px) {
    #service02-wrapper {
      gap: 16px;
    }

    .card {
      width: 100%;
      overflow: hidden;
      border-radius: 5px;
      flex-direction: row;
      border-radius: 5px;
      align-items: center;
    }

    #service02 img {
      border-radius: 0;
      width: 100%;
      height: 80px;
      object-fit: cover;
    }

    #service02 p {
      width: 100%;
      border-radius: 0;
      padding: 0 15px;
    }

    .card__item__wrap {
      display: flex;
      align-items: center;
      width: calc(100% - 140px);
      height: 80px;
      background: #2A3455;
    }

    .card__img {
      width: 140px;
    }

    @media (max-width: 500px) {

      .card__item {
        font-size: 12px;
      }

      .card__item__wrap {
        width: calc(100% - 80px);
        height: 50px;
      }

      .card__img {
        width: 80px;
      }

      #service02 img {
        height: 50px;
      }

      .houjin {
        font-size: 12px !important;
      }

    }
  }



  #service03 {
    max-width: 920px;
    margin: 10% auto 0;
    text-align: center;
  }

  #service03 a {
    width: 80%;
    background: #fff;
    display: inline-block;
    margin: 0 auto;
    border: 1px solid #2A3455;
    position: relative;
  }

  #service03 p {
    padding: 30px;
    color: #2A3455;
    font-size: 1.3em;
  }

  #service03 a:hover {
    background: #2A3455;
    opacity: 1;
  }

  #service03 a p:hover {
    color: #fff;
  }

  #service03 a ::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 27px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #2A3455;
    border-right: 2px solid #2A3455;
    transform: rotate(45deg);
    box-sizing: border-box;
  }

  #service03 a:hover ::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }



  /*==============================================
2023/05/24  追記 01.html  footer
==============================================*/

  footer {
    background: #261D48;
    color: #fff;
    width: 100%;
    padding-top: 6%;
  }

  #copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
    padding: 50px 10px;
  }

  @media (max-width: 768px) {
    footer {
      text-align: center;
    }
  }

  #footer {
    max-width: 700px;
    margin: 0 auto;
  }



  #footer nav {
    display: flex;
    /* flexbox */
    flex-wrap: wrap;
    /* 折返し指定 */
    justify-content: center;
    column-gap: 10%;
  }

  #footer nav div:nth-child(1) {
    width: 200px;
  }

  #footer nav div:nth-child(2) {
    width: 323px;
  }

  #footer div a,
  #copyright,
  #footer div p {
    color: #fff;
    font-family: "Shippori Mincho", serif;
  }

  @media (min-width: 1440px) {
    #footer nav {
      justify-content: space-between;
    }
  }

  @media (max-width: 768px) {
    #footer nav div:first-of-type {
      margin-bottom: 40px;
    }
  }


  #footer nav p {
    margin: 2px;
    padding: 2px 6px;
  }

  @media (max-width: 768px) {
    #footer nav p {
      margin: 10px;
    }
  }