@charset "utf-8";


section {
    /* margin-top: 70px; */
    padding-top: 80px;
    padding-bottom: 80px;
}
.Conte {
    width: 100%;
}
.Conte .Inner {
    width: 100%;
    max-width: 1450px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3.4%;
}

/* ここからカスタム */

body {
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
    animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Categoryナビ */
#CategoryNav {
  padding-top: 40px;
  padding-bottom: 0;
}
#CategoryNav .category-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#CategoryNav .category-list li a {
  font-size: 0.7em;
  border-radius: 5px;
  padding: .5em .8em;
  font-weight: bold;
  background-color: #e5e5e5;
  color: #707070;
  display: block;
}
#CategoryNav .category-list li.Active a {
  background-color: #4069a4;
  color: #fff;
}
/* Categoryナビ */


#ArchiveList .grid .title h3.txt_excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* ← 2行 */
  overflow: hidden;
}

#ArchiveList .grid .excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* ← 2行 */
  overflow: hidden;
}
#ArchiveList .grid .BodyExcerpt {
    font-size: 0.95em;
}


/*動画一覧ページ*/
#ArchiveList .grid {
   display: grid;
   grid-gap: 30px 20px;
   grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
   /*grid-auto-rows: 33vw;*/
}
@media screen and (max-width: 800px) {
    #ArchiveList .grid {
        grid-gap: 40px 20px;
    }
}

#Single .wp-block-embed iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
@media screen and (max-width: 670px) {
    #Single #ArchiveList .grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
#ArchiveList .grid .item {
  background-color: #ffffff;
}
#ArchiveList .grid .thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    text-align: center;
    background-color: #eee;
    border-radius: 20px;
    overflow: hidden;
}
#ArchiveList .grid .thumb img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    vertical-align: bottom;
}

#ArchiveList .grid .wp-video {
    border-radius: 20px;
    overflow: hidden;
}

#ArchiveList .grid .title h3 {
    font-size: 1.05em;
    line-height: 1.4;
    font-weight: bold;
    margin: 8px 0 2px;
}

#ArchiveList .post-item {
  cursor: pointer;
}

#ArchiveList .post-item video {
  pointer-events: none; /* 一覧では再生させない */
    max-width: 100%!important;
    max-height: 100%!important;
    display: inline-block;
    border-radius: 20px;
    vertical-align: bottom;
}
#ArchiveList .mejs-container {
    background-color: #eee;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    width: auto !important;
    height: auto !important;
}
#ArchiveList .mejs-controls {
    display: none;
}


.post-item {
  position: relative;
  cursor: pointer;
}

.overlay-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/*動画一覧表示ホバーで再生*/
/* video */
.hover-video {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none; /* ← クリックは常にリンクへ */
}

.VideoBox {
    background-color: #eee;
    border-radius: 20px;
    /*aspect-ratio: 16 / 9;*/
    aspect-ratio: 16 / 11;
    width: auto !important;
    height: auto !important;
    position: relative;
    overflow: hidden;
}
.mejs-overlay-button {
    background: url(/wp-includes/js/mediaelement/mejs-controls.svg) no-repeat;
    background-position: 0 -39px;
    height: 80px;
    width: 80px;
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
}
/* ここまでカスタム */


/* ここからカスタムヘッダー */
header {
    width: 100%;
    max-width: 1450px;
    padding: 1em 2% 20px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}
@media screen and (max-width:1170px) {
  header {
    /*flex-direction: column;*/
    padding: 1em 2% 20px;
  }
}
header .l_menu {
  display: flex;
  @media screen and (max-width:650px) {
    justify-content: space-between;
    width: 100%;
  }
  .search {
    position: relative;
    width: 100%;
    max-width: 350px;
    display: flex;
    align-items: center;
    margin-top: auto;
  }
  .search__icon{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    opacity: .35;
    pointer-events: none;
  }
  .search__input{
    width: 20em;
    height: 40px;
    padding-left: 52px;
    margin-right: 2em;
    border: 1px solid #bfbfbf;
    outline: none;
    font-size: 16px;
  }
  .search__input::placeholder{
    color: #bfbfbf;
  }
  .search__input:focus{
    border-color: #7d7d7d;
  }
  .search__input[type="search"]{
    -webkit-appearance: none;
    appearance: none;
  }

  /* .search__input::-webkit-search-cancel-button,
  .search__input::-webkit-search-decoration{
    -webkit-appearance: none;
  } */

}

header a {
  color: #000;
  text-decoration: none;
}

header .l_menu .logo {
  margin-right: 2em;
  width: 40%;
  max-width: 200px;
}
header .l_menu .logo img {
  width: 100%;
  min-width: 120px;
  max-width: 200px;
  height: auto;
  @media screen and (max-width:650px) {
    max-width: 160px;
  }
}
header .r_menu {
  align-items: center;
  margin-top: auto;
}
header .header_menu {
  margin-right: 20px;
  font-size: 0.9em;
  align-items: center;
    li {
    margin: 0 0 0 10px;
    color: #4d4d4d;
  }
}

header .header_menu,
.snsicon {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media screen and (max-width:1170px) {
  header .r_menu {
    /*flex-direction: column;*/
    padding: 1em 2% 0px;
  }
  header .r_menu .flex {
    justify-content: left;
  }
}
@media screen and (max-width:875px) {
  header .r_menu {
    display: none;
  }
}

@media screen and (max-width:900px) {
  header .header_menu,
  .snsicon {
    gap: 5px;
  }
}

header .snsicon li:last-child {
    margin-right: 0;
}

a.IconYoutube {
  background-color: #d24647;
  width: 48px;
  height: 48px;
  display: inline-block;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
a.IconInsta {
  background-color: #f00075;
  width: 48px;
  height: 48px;
  display: inline-block;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
a.IconFacebook {
  background-color: #0866ff;
  width: 48px;
  height: 48px;
  display: inline-block;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}



.footer_grayline {
    height: .2em;
    width: 100%;
    background-color: #707070;
}
footer {
    background-color: #EFEFEF;
    color: #4d4d4d;
    font-size: 0.9em;
    padding: 60px 80px;
}
footer .logo {
    max-width: 800px;
    margin: 0 auto;
}
footer .logo a {
    display: block;
    width: 11em;
    margin-left: -.5em;
    height: auto;
}
@media screen and (max-width: 800px) {
    footer .logo a {
      width: 10em;
    }
}
footer .footer_content {
    padding: 3em 0 6em;
    margin: 0 auto;
    max-width: 800px;
    align-items: flex-end;
}
@media screen and (max-width: 800px) {
    footer .footer_content {
      flex-direction: column;
    }
}
footer .footer_l {
    max-width: 800px;
    padding-right: 2em;
    margin-bottom: 1em;
}
footer .footer_l,
footer .footer_r {
    letter-spacing: 1px;
}
@media screen and (max-width: 800px) {
    footer .footer_l, footer .footer_r {
        width: 100%;
    }
}
footer .footer_l .address {
    margin-bottom: 3em;
}
footer .footer_l .address p {
    margin: 1em 0;
    line-height: 1.8;
}
footer .footer_content span {
    font-weight: bold;
}
footer .footer_l .info li {
    margin-bottom: 0.26em;
}

footer .footer_r {
    margin-bottom: 1em;
}
footer .footer_r ul.textlink li {
    /* line-height: 2; */
    margin: 1em 0;
    text-align: right;
}
@media screen and (max-width: 800px) {
    footer .footer_r ul.textlink li  {
      text-align: left;
    }
}
footer .footer_r ul.textlink li a {
    display: inline-block;
    position: relative;
    padding-left: 1.5em;
    color: #000;
}
footer .footer_r ul.textlink li a::before {
    position: absolute;
    content: url(../img/lead_g.svg);
    top: 0;
    left: 0;
    width: 7px;
    height: auto;
    z-index: 3;
}
footer .footer_r .snsicon {
    padding-top: 1em;
}
.copyright {
    display: flex;
    justify-content: center;
    margin-top: auto;
    font-size: 0.7em;
}

