body .event_single .middle_mv.short_ver {
    height: 400px;
}
body.post-3338 .pankuzu_block .pankuzu_nav +.pankuzu_nav,
body.post-606 .pankuzu_block .pankuzu_nav +.pankuzu_nav {
    display: none;
}
body.post-3338 .event_single .table_type01,
body.post-606 .event_single .table_type01 {
    width: 100%;
}
@media screen and (min-width: 769px) {
    body.post-3338 .event_single .table_type01,
    body.post-606 .event_single .table_type01 {
        width: 400px;
    }
}

@media print, screen and (min-width: 769px) {
  body.post-606 > header > h1 > a.logo_bl,
  body.post-3338 > header > h1 > a.logo_bl {
    display: none;
  }
}
@media print, screen and (min-width: 769px) {
  body.post-606 > header > h1 > a.logo_wh,
  body.post-3338 > header > h1 > a.logo_wh {
    display: block;
  }
}

body.post-606 .middle_mv.short_ver::before {
  background-image: url(../img/oiwai_753/top_v_sp.jpg);
}
body.post-3338 .middle_mv.short_ver::before {
  background-image: url(../img/oiwai_13/top_v_sp.jpg);
}
@media print, screen and (min-width: 769px) {
  body.post-606 .middle_mv.short_ver::before {
    background-image: url(../img/oiwai_13/top_v_pc.jpg);
  }
  body.post-3338 .middle_mv.short_ver::before {
    background-image: url(../img/oiwai_753/top_v_pc.jpg);
  }
}

body.post-606 .middle_mv.short_ver > header h2,
body.post-3338 .middle_mv.short_ver > header h2 {
  top: 22vw;
}
@media print, screen and (min-width: 769px) {
  body.post-606 .middle_mv.short_ver > header h2,
  body.post-3338 .middle_mv.short_ver > header h2 {
    top: 6vw;
    min-height: 40vh;
  }
}

body.post-606 .middle_mv.short_ver > header span,
body.post-3338 .middle_mv.short_ver > header span {
  display: block;
}

body.post-606 .oiwai_link ul,
body.post-3338 .oiwai_link ul {
  width: 100%;
  height: auto;
}
@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul,
  body.post-3338 .oiwai_link ul {
    width: calc(100% - 100px);
    display: flex;
    justify-content: space-between;
    height: 400px;
  }
}

body.post-606 .oiwai_link ul li,
body.post-3338 .oiwai_link ul li {
  width: 100%;
  height: 85vw;
  position: relative;
  color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
}
@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul li,
  body.post-3338 .oiwai_link ul li {
    width: calc(100% / 3);
    height: auto;
  }
}

body.post-606 .oiwai_link ul li::before,
body.post-3338 .oiwai_link ul li::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 85vw;
  background-color: rgba(0, 0, 0, 0.2);
  left: 0;
  top: 0;
  z-index: 1;
}
@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul li::before,
  body.post-3338 .oiwai_link ul li::before {
    height: 100%;
    width: 100%;
  }
}

body.post-606 .oiwai_link ul li > a,
body.post-3338 .oiwai_link ul li > a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
}

body.post-606 .oiwai_link ul li > a:before,
body.post-3338 .oiwai_link ul li > a:before {
  content: "";
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.5s ease-out;
}

body.post-606 .oiwai_link ul li > a > span,
body.post-3338 .oiwai_link ul li > a > span {
  position: absolute;
  top: 16vw;
  left: 50%;
  transform: translate(-50%,0);
  color: #fff;
  z-index: 2;
  height: calc(100% - 16vw);
}

body.post-606 .oiwai_link ul li > a > span:before,
body.post-3338 .oiwai_link ul li > a > span:before {
  content: "";
  width: calc(6vw + 4px);
  height: 2px;
  background-color: #fff;
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0,0);
}
@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul li > a > span:before,
  body.post-3338 .oiwai_link ul li > a > span:before {
    transform: translate(0,0);
    width: 2vw;
    right: 5px;
    bottom: 0;
    top: auto;
  }
}

body.post-606 .oiwai_link ul li > a > span:after,
body.post-3338 .oiwai_link ul li > a > span:after {
  content: "";
  width: 3vw;
  height: 2px;
  background-color: #fff;
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0,0) rotate(45deg);
  transform-origin: right center;
}
@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul li > a > span:after,
  body.post-3338 .oiwai_link ul li > a > span:after {
    transform: translate(0,0) rotate(45deg);
    width: 8px;
    right: 5px;
    bottom: 0;
    top: auto;
  }
}

@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul li > a > span,
  body.post-3338 .oiwai_link ul li > a > span {
    top: 10%;
    height: 90%;
    font-size: 2vw;
  }
}
@media only screen and (min-width: 1400px) {
  body.post-606 .oiwai_link ul li > a > span,
  body.post-3338 .oiwai_link ul li > a > span {
    font-size: 32px;
  }
}

body.post-606 .oiwai_link ul li > a > span:before,
body.post-3338 .oiwai_link ul li > a > span:before,
body.post-606 .oiwai_link ul li > a > span:after,
body.post-3338 .oiwai_link ul li > a > span:after {
  bottom: 6vw;
  top: auto;
}
@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul li > a > span:before,
  body.post-3338 .oiwai_link ul li > a > span:before,
  body.post-606 .oiwai_link ul li > a > span:after,
  body.post-3338 .oiwai_link ul li > a > span:after {
    bottom: 30px;
    right: calc((40px - 2vw) / 2);
  }
}
@media only screen and (min-width: 1400px) {
  body.post-606 .oiwai_link ul li > a > span:before,
  body.post-3338 .oiwai_link ul li > a > span:before,
  body.post-606 .oiwai_link ul li > a > span:after,
  body.post-3338 .oiwai_link ul li > a > span:after {
    right: 17px;
  }
}
@media only screen and (min-width: 1400px) {
  body.post-606 .oiwai_link ul li > a > span:before,
  body.post-3338 .oiwai_link ul li > a > span:before {
    width: 32px;
  }
}

body.post-606 .oiwai_link ul li > a > img,
body.post-3338 .oiwai_link ul li > a > img {
  display: none;
}

body.post-606 .oiwai_link ul li > a:hover:before,
body.post-3338 .oiwai_link ul li > a:hover:before {
  transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.9);
}

body.post-606 .oiwai_link ul li > a:hover,
body.post-3338 .oiwai_link ul li > a:hover,
body.post-606 .oiwai_link ul li > a:hover *,
body.post-3338 .oiwai_link ul li > a:hover * {
  opacity: 1;
}

body.post-606 .oiwai_link ul li > a:hover > span,
body.post-3338 .oiwai_link ul li > a:hover > span {
  opacity: 0.6;
}

body.post-606 .oiwai_link ul li:first-child > a:before {
  background-image: url(../img/oiwai_753/img_753_3.jpg);
  background-position: center top;
}
body.post-3338 .oiwai_link ul li:first-child > a:before {
  background-image: url(../img/oiwai_753/img_753_3.jpg);
  background-position: center top;
}
body.post-606 .oiwai_link ul li:nth-child(2) > a:before {
  background-image: url(../img/oiwai_baby/img_oiwai3.jpg);
  background-position: center top;
}
body.post-3338 .oiwai_link ul li:nth-child(2) > a:before {
  background-image: url(../img/oiwai_baby/img_oiwai4.jpg);
  background-position: center top;
}
body.post-606 .oiwai_link ul li:last-child > a:before,
body.post-3338 .oiwai_link ul li:last-child > a:before {
  background-image: url(../img/oiwai_baby/img_oiwai5.jpg);
  background-position: center top;
}

body.post-606 .oiwai_link ul .link_ttl,
body.post-3338 .oiwai_link ul .link_ttl {
  font-size: 7vw;
}
@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul .link_ttl,
  body.post-3338 .oiwai_link ul .link_ttl {
    font-size: 3.2rem;
  }
}

body.post-606 .oiwai_link ul .link_note,
body.post-3338 .oiwai_link ul .link_note {
  font-size: 4vw;
  padding-right: 15vw;
  line-height: 1.44;
}
@media print, screen and (min-width: 769px) {
  body.post-606 .oiwai_link ul .link_note,
  body.post-3338 .oiwai_link ul .link_note {
    font-size: 1.8rem;
    padding-right: 7vw;
  }
}

body.post-606 .oiwai_link ul .link_note::before,
body.post-3338 .oiwai_link ul .link_note::before {
  display: none;
}
body.post-606 .oiwai_link ul .link_note::after,
body.post-3338 .oiwai_link ul .link_note::after {
  display: none;
}

body.post-606 .oiwai_link ul .link_note.long,
body.post-3338 .oiwai_link ul .link_note.long {
  padding-right: 22vw;
}

body.post-606 .event_single .middle_sub01,
body.post-3338 .event_single .middle_sub01 {
    font-size: 5vw;
    margin-bottom: 1.5rem;
    line-height: 1.65;
    font-family: ten-mincho, -apple-system, BlinkMacSystemFont, Roboto, "游ゴシック体", YuGothic, "Yu Gothic Medium", serif;
    font-weight: 400;
    font-style: normal;
}
body.post-3338 .middle_mv.short_ver::before
{
    background-image: url(../img/oiwai_shichigosan/top_v_sp.jpg);
}
body.post-606 .txt_inner p,
body.post-3338 .txt_inner p {
    font-size: 3.8vw;
    text-indent: 1em;
    line-height: 1.85;
    /* padding: 0; */
    color: #444;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}
/* body.post-606 .event_single p,
body.post-3338 .event_single p {
    font-size: 1.8rem;
} */
/* body.post-606 .middle_ttl02,
body.post-3338 .middle_ttl02 {
    border-bottom: none;
}
body.post-606 .middle_ttl02 span,
body.post-3338 .middle_ttl02 span {
    border-bottom: 1px solid #000;
    letter-spacing: 0.08em;
} */

@media print, screen and (min-width: 769px) {
    body.post-606 .oiwai_link ul .link_note.long,
    body.post-3338 .oiwai_link ul .link_note.long {
        padding-right: 9vw;
    }
    body.post-606 .event_single .middle_sub01,
    body.post-3338 .event_single .middle_sub01 {
        font-size: 2.6rem;  
    }
    body.post-3338 .middle_mv.short_ver::before
    {
        background-image: url(../img/oiwai_shichigosan/top_v_pc.jpg);
    }
    body.post-606 .event_single p,
    body.post-3338 .event_single p {
        font-size: 1.8rem;
    }
}
