@charset "utf-8";


/* header */
.me_header {
  position: relative;
  background: url(../img/media/head_nami.svg), url(../img/media/head_zig_sp.svg);
  background-repeat: no-repeat, no-repeat;
  background-size: 237px auto, 273px auto;
  background-position: top 30px left -150px, top 100px right -190px;
}
.me_header::before {
  content: "";
  position: absolute;
  top: -82px;
  left: -90px;
  background: url(../img/media/media_parts1.svg) no-repeat center center / contain;
  width: 182px;
  height: 168px;
  z-index: 2;
} 
.me_header-inner {
  padding: 37px 20px 30px;
}
.me_logo {
  width: 166px;
  margin: 0 auto;
}

.drawer-icon {
  width: 34px;
  height: 12px;
  position: absolute;
  top: 20px;
  right: 12px;
}
.drawer-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #707070;
  transition: all .4s ease;
}
.drawer-icon span:first-child {
  top: 0;
}
.drawer-icon span:nth-child(2) {
  bottom: 0;
}
.drawer-icon.is-open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(30deg);
}
.drawer-icon.is-open span:nth-child(2) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-30deg);
}

/* footer */
.me_footer {
  margin: 86px auto 0;
  max-width: 400px;
}
.me_footer-inner {
  padding: 0 35px 37px;
}
.me_footer-fx {
  display: flex;
  flex-direction: column-reverse;
}
.me_footer-right {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  margin-bottom: 70px;
  padding-left: 10px;
}
.me_foot-menu {
  border-left: 1px solid #55DEF0;
  padding-left: 15px;
}
.me_foot-menu li + li {
  margin-top: 7px;
}
.me_foot-menu li a {
  font-size: 14px;
}
.me_foot-logo {
  width: 280px;
  margin-bottom: 20px;
}
.me_foot-tel {
  width: 257px;
  margin-bottom: 9px;
}
.me_foot-insta {
  margin-bottom: 20px;
}
.me_foot-text {
  font-size: 10px;
  margin-bottom: 12px;
}
.me_foot-copyright {
  font-size: 10px;
}



/* main */
.me_main {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}
.me_categories {
  display: flex;
  flex-wrap: wrap;
  max-width: 300px;
  justify-content: center;
  margin: 0 auto 40px;
}
.me_categories.foot {
  margin-bottom: 0;
}
.me_categories li a {
  font-size: 12px;
  color: #535353;
}
.me_categories li:not(:last-child)::after {
  content: "｜";
  font-size: 12px;
}

.me_contents {
  background: #F7F7F7;
  padding: 25px 40px 34px;
  margin-bottom: 25px;
}
.me_title {
  padding-bottom: 34px;
  text-align: center;
  font-size: 22px;
  font-family: "Times New Roman", serif;
  color: #535353;
  letter-spacing: 0.2em;
  background: url(../img/media/media_list_parts.svg) no-repeat center bottom / 84px auto;
  margin-bottom: 30px;
}
.me_list {
  display: flex;
  flex-direction: column;
  gap: 40px 0;
}
.me_item {
  width: 100%;
}
.me_item-img {
  aspect-ratio: 3 / 2;
  width: 100%;
  overflow: hidden;
}
.me_item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.me_item-titile {
  font-size: 16px;
  font-weight: 600;
  color: #707070;
  margin-top: 12px;
  line-height: 1.5;
}
.me_item-detail {
  font-size: 14px;
  color: #70706F;
  margin-top: 10px;
  line-height: 1.7;
  display: -webkit-box;             
  -webkit-box-orient: vertical;
  overflow: hidden; 
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;        
}
.me_item-date {
  font-size: 14px;
  margin-top: 10px;
  display: block;
  color: #70706F;
}
.me_pagination {
  margin-top: 95px;
}
.me_pagination .pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links .page-numbers {
  font-size: 18px;
  margin: 0 6px;
}
.nav-links .page-numbers.current {
  color: #2F49C0;
}
.nav-links .page-numbers:is(.prev, .next) {
  font-size: 0;
  width: 10px;
  height: 18px;
}
.nav-links .page-numbers.prev {
  background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%229.974%22%20height%3D%2218.533%22%20viewBox%3D%220%200%209.974%2018.533%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_2257%22%20data-name%3D%22%E3%83%91%E3%82%B9%202257%22%20d%3D%22M8428.1%2C777.32l-8.913%2C8.913%2C8.913%2C8.913%22%20transform%3D%22translate(-8418.479%20-776.966)%22%20fill%3D%22none%22%20stroke%3D%22%23707070%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E')
              no-repeat center center / contain;
  margin-right: 20px;
}
.nav-links .page-numbers.next {
  background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%229.974%22%20height%3D%2218.533%22%20viewBox%3D%220%200%209.974%2018.533%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_2258%22%20data-name%3D%22%E3%83%91%E3%82%B9%202258%22%20d%3D%22M8.913%2C0%2C0%2C8.913l8.913%2C8.913%22%20transform%3D%22translate(9.267%2018.18)%20rotate(180)%22%20fill%3D%22none%22%20stroke%3D%22%23707070%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E')
              no-repeat center center / contain;
  margin-left: 20px;
}

.me_pagetop {
  position: absolute;
  bottom: 20px;
  right: -53px;
  width: 92px;
  height: 144px;
}

@media screen and (min-width: 768px) {
  .me_header {
    background-image: url(../img/media/head_nami.svg), url(../img/media/head_zig.svg);
    background-size: 325px auto, 484px auto;
    background-position: top 47px left -12px, top 138px right -210px;
    overflow-x: clip;
  }
  .me_header::before {
    top: -110px;
    left: auto;
    right: -154px;
    width: 450px;
    height: 414px;
  }
  .me_header-inner {
    padding: 66px 0 30px;
  }
  .me_logo {
    width: 240px;
  }
  .me_categories {
    font-size: 14px;
    max-width: none;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    padding-bottom: 2px;
  }
  .me_categories li a {
    font-size: 14px;
  }
  .me_categories li:not(:last-child)::after {
    font-size: 14px;
  }
  .me_categories li a.is-active {
    position: relative;
  }
  .me_categories li a.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: #707070;
  } 

  .me_footer {
    max-width: 100%;
    margin-top: 170px;
  }
  .me_footer-inner {
    padding: 0 30px 35px;
    max-width: 1260px;
    margin: 0 auto;
  }
  .me_footer-fx {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 30px;
  }
  .me_foot-logo {
    width: 310px;
  }
  .me_foot-tel {
    width: 286px;
  }
  .me_footer-right {
    flex-direction: row;
    width: calc(100% - 400px);
    padding: 0;
    justify-content: flex-end;
    gap: 0 30px;
    margin-bottom: 0;
  }
  .me_foot-menu {
    border-color: #707070;
  }


  .me_main {
  }
  .me_contents {
    padding: 106px 30px 60px;
    margin-bottom: 23px;
    background: #F7F7F7 url(../img/media/media_parts1.svg) no-repeat bottom 135px left -220px / 386px 356px;
  }
  .me_list {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .me_pagination {
    margin-top: 117px;
  }

  .me_pagetop {
    width: 137px;
    height: 167px;
    bottom: -80px;
    right: -33px;
  }



}

@media screen and (min-width: 768px) and (max-width: 1080px) {
  .me_header {
    background-position: top 47px left -112px, top 138px right -320px;
  }
  .me_header::before {
    top: -160px;
    right: -154px;
    width: 340px;
  }

  .me_footer-right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 20px;
  }

  .me_pagetop {
    bottom: 40px;
    right: -63px;
  }
}

/* 記事詳細 */
.media-single-page .me_contents {
  padding: 43px 40px 140px;
  background: #F7F7F7 url(../img/media/media_parts1.svg) no-repeat top 518px right -100px / 182px 168px;
}
.me-entry-head {
  margin-bottom: 20px;
}
.me-entry-head img {
  display: block;
  margin: 0 auto;
}
.me_entry-title {
  color: #707070;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 12px 0 5px;
}
.me_entry-date {
  font-size: 14px;
  color: #70706F;
}
.me_entry-body {
  font-size: 14px;
  line-height: 2;
  color: #70706F;
}
.me_entry-body > *:not(:last-child) {
  margin-bottom: 30px;
}
.me_entry-body :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 3px !important;
}
.me_entry-body :is(h1, h2, h3) {
  font-size: 16px;
  font-weight: 600;
}
.me_entry-body a {
  text-decoration: underline;
  color: #50B080;
}
.me_entry-body ul {
  padding-left: 16px;
  list-style: disc;
}
.me_entry-body ol {
  padding-left: 16px;
  list-style: decimal;
}
.me_entry-body figure img {
  margin: 0 auto;
  display: block;
}

.me_entry-foot {
  margin: 73px -25px 0;
}
.me_entry-links {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.me_entry-link a {
  font-size: 11px;
  font-weight: 600;
  color: #70706F;
}
.me_entry-link:is(.prev, .next) {
  width: 133px;
  position: absolute;
}
.me_entry-link:is(.prev, .next) a {
  display: -webkit-box;             
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;    
}
.me_entry-link.prev {
  padding-left: 23px;
  background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2215.913%22%20height%3D%2228.999%22%20viewBox%3D%220%200%2015.913%2028.999%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_2297%22%20data-name%3D%22%E3%83%91%E3%82%B9%202297%22%20d%3D%22M8432.976%2C777.319l-13.792%2C13.792%2C13.792%2C13.792%22%20transform%3D%22translate(-8417.77%20-776.612)%22%20fill%3D%22none%22%20stroke%3D%22%23707070%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E')
              no-repeat center left / 13px auto;
  top: 0;
  left: 0;
}
.me_entry-link.next {
  padding-right: 23px;
  background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2215.913%22%20height%3D%2228.999%22%20viewBox%3D%220%200%2015.913%2028.999%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_2298%22%20data-name%3D%22%E3%83%91%E3%82%B9%202298%22%20d%3D%22M8432.976%2C777.319l-13.792%2C13.792%2C13.792%2C13.792%22%20transform%3D%22translate(8433.683%20805.611)%20rotate(180)%22%20fill%3D%22none%22%20stroke%3D%22%23707070%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E')
              no-repeat center right / 13px auto;
  top: 0;
  right: 0;
}
.me_entry-link.next a {
  text-align: right;
}
.me_entry-link.back {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
}
.me_entry-link.back a {
  display: inline-block;
  padding-top: 18px;
  background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2247.908%22%20height%3D%2211.941%22%20viewBox%3D%220%200%2047.908%2011.941%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_2299%22%20data-name%3D%22%E3%83%91%E3%82%B9%202299%22%20d%3D%22M8429.118%2C777.319l-9.935%2C23.565%2C9.935%2C23.565%22%20transform%3D%22translate(824.839%20-8418.099)%20rotate(90)%22%20fill%3D%22none%22%20stroke%3D%22%23707070%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E')
                no-repeat center top / 100% auto;
}

@media screen and (min-width: 768px) {

  .media-single-page .me_contents {
    padding: 200px 30px 137px;
  }
  .me-entry-head,
  .me_entry-body,
  .me_entry-foot {
    max-width: 980px;
    margin: 0 auto;
  }
  .me-entry-head {
    margin-bottom: 50px;
  }
  .me_entry-title {
    font-size: 18px;
    margin: 15px 0 8px;
  }
  .me_entry-body {
    font-size: 16px;
  }
  .me_entry-body :is(h1, h2, h3) {
    font-size: 18px;
  }

  .me_entry-link:is(.prev, .next) {
    width: 310px;
  }
  .me_entry-link a {
    font-size: 18px;
  }
  .me_entry-link.prev {
    background-size: 25px auto;
    padding-left: 40px;
  }
  .me_entry-link.next {
    background-size: 25px auto;
    padding-right: 36px;
  }
  .me_entry-link.back {
    bottom: -30px;
  }
  .me_entry-link.back a {
    background-size: 50px 14px;
    padding-top: 22px;
  }



  .me_entry-foot {
    margin-top: 100px;
  }

}