/*--------------------------------------------------*/
/* アーカイブページ */
/*--------------------------------------------------*/
.archive__client{
  display: grid;
  grid-template-columns: repeat(1 , 1fr);
  gap: 1rem;
}
@media screen and (min-width: 768px) {
  .archive__client{
    grid-template-columns: repeat(2 , 1fr);
  }
}
@media screen and (min-width: 1025px) {
  .archive__client{
    grid-template-columns: repeat(4 , 1fr);
  }
}
.client__list{
  width: 100%;
  /* margin-top: 1rem; */
  margin-bottom: 2rem;
}
.client__list .client__logo{
  padding: 2rem 3rem;
  margin-bottom: 1rem;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}
.client__list .client__logo img{
  width: 100%;
  height: auto;
  object-fit: contain;
}
.client__list h3{
  font-size: 1rem;
  font-weight: bold;
}
/*--------------------------------------------------*/
/* シングルページ */
/*--------------------------------------------------*/
.client__header{
  position: relative;
  padding-top: 4rem;
}
.client__header .background{
  content: '';
  width: 100vw; 
  height: 150px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.client__header .grid{
  display: grid;
  grid-template-columns: 3fr 1fr;
  background-color: #fff;
  position: relative;
  z-index: 1;
}
.client__header .grid > *{
  width: 100%;
  height: auto;
  border: 1px solid #DBDBDB;
}
.client__header .img-box{
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.client__header img{
  width: 100%;
  height: auto;
  object-fit: contain;
}
.client__header-title{
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.client__header-title h2{
  font-size: 1.75rem;
}
.client__header-title p{
  font-size: 14px;
  font-weight: 600 !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}
.client__header-title span{
  font-size: 14px;
  color: #B1B1B1;
}
.client__header .client__logo{
  padding: 1rem;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.single.wrapper {
  margin-top: 0 !important;
}
.client__detail dl{
  margin-top: 0;
  margin-bottom: 1rem;
}
.client__detail dt,
.client__detail dd{
  margin: 0;
  font-size: 1rem;
}
.client__detail p,
.client__detail h3,
.client__detail dd{
  line-height: 1.7;
}
.client__detail section:first-of-type {
  padding-top: 2rem;
  border-top: 1px solid #DBDBDB;
}
.client__detail section{
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #DBDBDB;
}
.client__detail .title{
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
}
.client__detail .title .icon{
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 10px;
}
.client__detail .title h3{
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
}
.client__detail .contents,
.client__detail .contents dd{
  flex: 1;
}
.client__detail .contents p{
  margin-bottom: 0;
}
.wp-video {
  width: 100% !important;
  max-width: 100% !important;
}
.client__detail .movie .video-group{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.client__detail .movie .video-group .video{
  width: 100%;
}
.client__detail .movie iframe,
.client__detail .movie video{
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
}
.btn{
  display: block; 
  text-align: center;
  max-width: 240px;
  padding: 14px 24px 12px;
  margin: 2rem auto 5rem;
  color: #0A406F;
  border: 1px solid #0A406F;
  font-size: 1rem;
  font-weight: 600 !important;
  background-color: #fff !important;
  cursor: pointer;
  transition: 0.2s ease;
  border-radius: 0;
}
.btn:hover{
  color: #fff;
  background-color: #0A406F !important;
}
@media screen and (min-width: 768px) {
  .client__header .img-box{
    height: 200px;
  }
  .client__header .client__logo{
    padding: 2rem;
  }
}
@media screen and (min-width: 1025px){
  .client__header .background{ 
    height: 170px;
  }
  .client__header .img-box{
    height: 258px;
  }
  .client__header-title{
    padding: 3rem;
  }
  .client__header-title h2{
    font-size: 2.5rem;
  }
  .client__header-title p{
    font-size: 18px;
    margin-bottom: 3rem !important;
  }
  .client__header .client__logo{
    padding: 3rem;
  }
  .client__detail section,
  .client__detail dl{
    display: flex;
    flex-wrap: wrap;
  }
  .client__detail .title{
    margin-bottom: 0rem;
  }
  .client__detail .title,
  .client__detail dt{
    width: 20%;
  }
  .client__detail .movie .video-group .video{
    width: 49%;
  }
}
/*--------------------------------------------------*/
/* ダークテーマ */
/*--------------------------------------------------*/
.theme-dark,
.theme-dark .client__header .grid{
  color: #fff;
  background-color: #000 !important;
}

.theme-dark > *,
.theme-dark section{
  border-color: #686868 !important;
}

.theme-dark .btn{
  color: #fff !important;
  background-color: #0A406F !important;
}