html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
}

.fn-drawerAnimation {
  opacity: 1!important;
}
.m-header-01-logo {
  position: absolute;
  left: -2rem;
  top: 5px;
}
.jisseki_align {
  text-align: center;
  display: block;
  width: 100%;
}

.yt_title {
  font-size: 13px;
  text-align: right;
  margin-top: 10px;
}

.jisseki_align img {
  width: 80px;
  margin-left: 20px;
  position: relative;
  top: -7px;
}

.yt-container {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  background: #ddd;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.yt-container a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: auto;
}

.yt-container .thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.yt-container iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.et-main {
  padding-top: 90px;
}

.works-header-01 {
  position: fixed;
  background-color: #FFF;
  width: 100%;
  height: 70px;
  z-index: 5;
}

.m-nav-10 {
  position: absolute;
  right: 1.5rem;
  top: 4%;
  margin-top: -12px;
  z-index: 1;
}

.s-contents-inner-01 {
  margin-right: 80px;
}

.m-header-01-j-logo {
  position: relative;
  left: 0;
  top: 0;
  z-index: 6;
}

.et-hero-tabs {
  position: fixed;
  width: 100%;
  height: 130px;
  background: #FFF;
  text-align: left;
  z-index: 4;
}

.et-slide {
  width: 82%;
  margin: 0 auto;
  padding: 40px 9% 10px 9%;
  font-size: 0;
  background-color: #FFF;
  border-bottom: 6px solid #cec8bd;
}

.et-slide h1 {
margin-bottom: 2px;
  margin-left: 1.5%;
  font-family: Times New Roman;
  font-weight: normal;
}

.yt_embed {
  display: inline-block;
  vertical-align: top;
  width: 47%;
  height: auto;
  margin: 0 1.5% 4% 1.5%;
  overflow: hidden;
}

.yt_embed img {
  width: 100%;
  height: auto;
}

.m_over_tri {
    position: relative;
    display: inline-block;
  }

.m_over_tri img {
    display: block;
    width: 100%;
    height: auto;
  }

.m_over_tri::after {
content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 80px;
  height: 80px;
  background-image: url('https://ambers.co.jp/wp-content/themes/ambers/img/icon/yt_m_over_tri.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position:center;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:opacity 0.3s ease;
  pointer-events: none;
  }

.m_over_tri:hover::after {
    opacity: 1;
  }
.works_b {
  background: black;
  color: #FFF !important;
  font-size: 13px !important;
  height: 24px;
  width: 140px !important;
  margin-right: 40px;
}

.et-hero-tabs-container {
  display: flex;
  width: 80%;
  padding-left: 0;
  height: auto;
  margin:0 10%;
}

.et-hero-tab {
  display: inline-block;
  width: 140px;
  color: #000;
  text-align: center;
  transition: all 0.5s ease;
  text-decoration: none;
  margin-top: 16px;
  font-size: 0.9rem;
}

.et-hero-tab-slider {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 6px;
  background: #66B1F1;
  transition: left 0.3s ease;
}

.ws_bg {
  background: #cec8bd;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

.m-block-05-inner {
  margin-bottom: 40px;
}

/* ------- Responsive: PC ------- */
@media (min-width: 800px) {
  .et-hero-tabs h1,
  .et-slide h1 {
font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .et-hero-tabs h3,
  .et-slide h3 {
    font-size: 1rem;
  }
}

/* ------- Responsive: Mobile ------- */
@media screen and (max-width: 800px) {
  section {
    scroll-margin-top: 200px;
  }
.m-header-01-j-logo {
  width: 110px;
}
  .et-main {
    padding-top: 80px;
  }

  .works-header-01 {
    position: fixed;
    background-color: #FFF;
    width: 100%;
    height: auto;
    z-index: 5;
    padding: 10px 0;
  }

  .m-header-01-logo {
    position: relative;
    z-index: 6;
    width: 100px;
    text-align: center;
margin: 5px 0 0 0px;
  }

  .works_b {
    background: black;
    color: #FFF !important;
    font-size: 16px !important;
    height: 30px;
    width: 90% !important;
    margin: 20px 5% 0;
  }

  .et-hero-tabs {
    height: 80px;
  }

  .et-hero-tab {
    display: none;
  }

  .et-hero-tabs-container {
display: inline-block;
    width: 94%;
    padding:0;
    height: auto;
    margin:0 3%;
    background:#FFF;
  }

  .et-slide {
    width: 90%;
    margin: 0 auto;
    padding: 30px 5% 10px 5%;
    font-size: 0;
    background-color: #FFF;
  }

  .et-slide h1 {
    margin-bottom: 2px;
    margin-left: 0;
    font-size: 1.3rem;
  }

  .yt_embed {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    height: auto;
    margin: 0 0 8% 0;
  }

  .m-drawer-pro {
    z-index: 10;
  }
  .is-sp {
    display: block !important;
  }
}
@media screen and (max-width: 1080px) {
  .is-sp {
    display: block;
  }
.et-hero-tab {display:none;}
}