/* ----------------------------------------
works archive page
---------------------------------------- */
/* -----
works head
----- */
.worksHead {
    background-color: #EAF6FF;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 30px 0 80px;
}
.worksHead__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%;
    padding: 0 50px;
    height: 340px;
    max-width: 1200px;
    margin: 0 auto;
}
.worksHead__txt {}
.worksHead__ttl {
    font-size: 4.2rem;
    color: #409AF4;
    width: fit-content;
    border-bottom: solid 1px #409AF4;
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
}
.worksHead__desc {}
.worksHead__image {
    width: 50%;
    max-width: 400px;
}
.worksHead__image img {
    width: 100%;
}
/* -----
works head res
----- */
@media screen and (max-width: 1024px) {
    .worksHead__wrapper {
        height: 280px;
    }
    .worksHead__ttl {
        font-size: 3.6rem;
    }
    .worksHead__image {
    max-width: 320px;
}
}
@media screen and (max-width: 767px) {
    .worksHead {
    margin: 20px 0 50px;
}
.worksHead__wrapper {
    gap: 5%;
    padding: 0 20px;
    height: 180px;
}
.worksHead__txt {}
.worksHead__ttl {
    font-size: 2.4rem;
}
.worksHead__desc {}
.worksHead__image {
    width: 200px;
}
}
/* -----
works lead
----- */
.worksLead {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 0 50px;
    margin: 80px 0 110px;
}
.worksLead__image {
    width: 50%;
    max-width: 380px;
    flex-shrink: 0;
}
.worksLead__image img {
    width: 100%;
}
.worksLead__txt p {
    line-height: 1.5;
}
/* -----
works lead res
----- */
@media screen and (max-width: 1024px) {
.worksLead {
    gap: 40px;
    padding: 0 20px;
    margin: 60px 0 90px;
}
.worksLead__image {
    max-width: 300px;
}
}
@media screen and (max-width: 767px) {
.worksLead {
    gap: 30px;
    flex-direction: column;
    padding: 0;
    margin: 50px 0;
}
.worksLead__image {
   width: 200px;
}
}
/* -----
works pickup
----- */
.worksPick {
    border-radius: 10px;
background: linear-gradient(109deg, #CCE5FF 0.59%, #EAF6FF 73.47%);
position: relative;
margin: 110px 0;
overflow: hidden;
}
.worksPick::before {
    content: "";
    display: inline-block;
    width: 490px;
    height: 426px;
    background-image: url(/wp-content/themes/asukama/images/works/logo_white_bg.svg);
    background-size: cover;
    position: absolute;
    left: 0;
    bottom: 0;
}
.worksPick__container {
    position: relative;
    z-index: 1;
}
.worksPickItem {
}

.worksPickItem__inner {
    display: flex;
    gap: 60px;
    padding: 60px 65px 60px 80px;

}
.worksPickItem__txt {
    padding: 20px 0;
    width: calc(100% - 510px);
}
.worksPickItem__head {
    color: #409AF4;
font-size: 1.8rem;
font-style: normal;
font-weight: 900;
}
.worksPickItem__ttl {
font-size: 2.8rem;
font-weight: 400;
line-height: 1.3;
margin: 1em 0;
    letter-spacing: 0.06em;
    border-bottom: solid 1px #409AF4;
        padding-bottom: 0.5em;
}
.worksPickItem__desc {
    line-height: 1.3;
    font-size: 1.4rem;
    margin-bottom: 28px;
}
.worksPickItem__btn {
    display: block;
    width: 180px;
line-height: 35px;
flex-shrink: 0;
border-radius: 400px;
background: #FFF;
padding: 0 30px;
padding-right: 50px;
        filter: drop-shadow(3px 7px 7px #00000007);
    position: relative;
    transition: all ease .3s;
}
.worksPickItem__btn::after {
    display: inline-block;
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    right: 20px;
    top: 11px;
    background-image: url(/wp-content/themes/asukama/images/works/icon_arrow.svg);
    background-size: cover;
    transition: right ease .3s;
}
.worksPickItem__btn:hover::after {
    right: 17px;
}
.worksPickItem__image {
    flex-shrink: 0;
}
.worksPickItem__image a {
    display: inline-block;
        /* width: 410px;
    height: 410px; */
    width: 540px;
    height: 360px;
    overflow: hidden;

}
.worksPickItem__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: all ease 2s;
    transform: scale(1.3);
}
/* active */
.worksPickItem.slick-active .worksPickItem__image img  {
   opacity: 1;
   transform: scale(1);
}
/* -----
works pickup res
----- */
@media screen and (max-width: 1024px) {
.worksPickItem__inner {
    gap: 8vw;
    padding: 50px 55px 50px 70px;
}
.worksPickItem__txt {
    width: calc(100% - 60.73vw);
}
.worksPickItem__image a {
    /* width: 40vw;
    height: 40vw; */
    width: 52.73vw;
    height: 35.17vw;
}
}
@media screen and (max-width: 767px) {
    .worksPick {
        margin: 50px 0;
    }
.worksPickItem__inner {
    gap: 10px;
    padding: 50px 30px;
    flex-direction: column-reverse;
}
.worksPickItem__txt {
    width: 100%;
    padding-bottom: 0;
}
.worksPickItem__image a {
    /* width: calc(100vw - 160px);
    height: calc(100vw - 160px); */
    width: 100%;
    max-width: 540px;
    height: auto;
}
.worksPickItem__head {
    font-size: 1.4rem;
}
.worksPickItem__ttl {
    font-size: 2rem;
    margin: 0.5em 0;
}
.worksPickItem__btn {
    margin: 0 auto;
}
}
/* -----
recommend
----- */
.recommend {
    margin: 140px 0 280px;
    position: relative;
}
.recommend__ttl {
    font-size: 3.2rem;
    border-left: solid 5px #409AF4;
    padding-left: 10px;
    letter-spacing: 0.06em;
    margin-bottom: 30px;
}
.recommend__list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.recommend__item {
    width: calc(50% - 15px);
    background-color: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 35px;
}
.recommend__image {
    width: 130px;
    flex-shrink: 0;
}
.recommend__txt {
    font-size: 1.8rem;
    line-height: 1.5;
}

.recommend::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 1px;
    height: 130px;
    background: #409AF4;
    margin: 0 auto;
    transform: translateY(210px);

  }
.recommend::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #409AF4;;
    animation:
    circlemove 2s ease-in-out infinite,
    cirlemovehide 2s ease-out infinite;
    transform: translateY(210px);
  }
  /*下からの距離が変化して丸の全体が上から下に動く*/
  @keyframes circlemove{
    0%{bottom:120px;}
  100%{bottom:0px;}
    }
  /*上から下にかけて丸が透過→不透明→透過する*/
  @keyframes cirlemovehide{
      0%{opacity:0}
      50%{opacity:1;}
      80%{opacity:0.9;}
      100%{opacity:0;}
  }
/* -----
recommend res
----- */
@media screen and (max-width: 767px) {
.recommend {
    margin: 50px 0 150px;
}
.recommend__ttl {
    font-size: 2rem;
    border-left: solid 3px #409AF4;
    padding-left: 7px;
    margin-bottom: 30px;
}
.recommend__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.recommend__item {
    flex-direction: column;
    width: calc(50% - 5px);
    padding: 20px;
    gap: 15px;
}
.recommend__image {
    width: 100px;
}
.recommend__txt {
    font-size: 1.4rem;
}
  .recommend::before {
    height: 80px;
    transform: translateY(120px);

  }
.recommend::after {
    transform: translateY(120px);
  }
    @keyframes circlemove{
    0%{bottom:70px;}
  100%{bottom:0px;}
    }
}

/* -----
archive
----- */
.worksArchive {
    margin-bottom: 120px;
}
.worksArchive__head {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}
.worksArchive__head__txt {
    flex-shrink: 0;
}
.worksArchive__head__ttl {
    font-size: 4.2rem;
    font-weight: normal;
}
.worksArchive__head__ja {
    font-size: 2rem;
    color: #409AF4;
    
}
.worksArchive__head__cats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.worksArchive__head__cat a {
    color: #409AF4;
    font-size: 1.4rem;
    padding: 0.2em 0.8em;
    border: solid 1px #409AF4;
    border-radius: 5px;
    transition: transform ease .4s;
}
.worksArchive__head__cat a:hover {
    transform: scale(1.1);
}
.worksPosts {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
}
.worksPost {
    width: calc((100% - 120px) / 3);
}
.worksPost a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
.worksPost__thumb {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}
.worksPost a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all ease .5s;
}
.worksPost a:hover .worksPost__thumb img {
    transform: scale(1.1);
}
.worksPost__kinds {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}
.worksPost__kind {
    display: inline-block;
    text-align: center;
    background-color: #fff;
    color: #409AF4;
    border: solid 1px #409AF4;
    font-size: 1.2rem;
    border-radius: 3px;
    padding: 0.2em 0.8em;
}
.worksPost__ttl {
    margin: 10px 0;
    font-size: 2rem;
 /*   padding-right: 1.5em;*/
    position: relative;
    border-bottom: solid 1px #eee;
    padding-bottom: 0.6em;
}
/*
.worksPost__ttl::after {
    content: "様";
    position: absolute;
    right: 0;
    bottom: 4px;
    font-size: 0.8em;
}
*/
.worksPost__catList {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.worksPost__catList__item {
    font-size: 1.4rem;
}
.worksPost__catList__item::after {
    content: "/";
    margin: 0 1em;
}
.worksPost__catList__item:last-of-type::after {
    display: none;
}
.worksPost__location {
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    padding: 0.2em 0.8em;
    border-radius: 5px;
    border: solid 1px;
}
/* -----
archive res
----- */
@media screen and (max-width: 767px) {
    .worksArchive {
    margin-bottom: 80px;
}
    .worksArchive__head {
        flex-direction: column;
        gap: 30px;
    }
    .worksArchive__head__ttl {
        font-size: 2.8rem;
    }
    .worksArchive__head__ja {
        font-size: 1.4rem;
    }
    .worksArchive__head__cats {
        gap: 20px 10px;
    }
    .worksArchive__head__cat a {
        font-size: 1.3rem;
    }
    .worksPosts {
        gap: 30px 10px;
    }
    .worksPost {
        width: calc((100% - 10px) / 2);
    }
    .worksPost__ttl {
        font-size: 1.6rem;
    }
    .worksPost__catList {
        gap: 5px 0;
    }
    .worksPost__catList__item {
        font-size: 1.3rem;
    }
}
/* ----------------------------------------
works post page
---------------------------------------- */
.workHead {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
    margin-bottom: 20px;
    position: relative;
}
.workHead::before {
    content: "";
    display: inline-block;
    width: 100vw;
    height: 100%;
    background-color: #ebf9ff;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: -1;
}
.workHead__ja {
    font-size: 2.6rem;
    font-weight: normal;
}
.workHead__en {
    font-size: 1.6rem;
}
.workPost {
    margin: 50px 0 80px;
}
.workPost__head {
    display: flex;
    gap: 50px;
    align-items: flex-end;
    margin-bottom: 40px;
}
.workPost__ttl {
    font-size: 3.2rem;
    flex-shrink: 0;
}
.workPost__ttl::after {
    content: "様";
    display: inline-block;
    margin-left: 1em;
    font-size: 0.8em;
}
.workPost__meta {
    margin-bottom: 2px;
}
/* back btn */
.backBtnWrapper {
  text-align: center;
  margin: 40px 0 120px;
}
.workPost__thumb {
    max-width: 800px;
    margin: 0 auto 30px;
}
.workPost__body {
    max-width: 800px;
    margin: 30px auto ;
}
.workPost__body p {
   line-height: 2.2;
    margin: 2em 0;
}
.workPost__body h3 {
	border-bottom: solid 1px #eee;
	padding-bottom: 0.4em;
}
.wp-block-table {
    margin: 60px 0;
}
.wp-block-table tr {
    border-bottom: solid 1px #eee;
}
.wp-block-table td, .wp-block-table th {
    border: none;
    padding: 20px 0;
}
.wp-block-table th {
    font-weight: normal;
    background-color: inherit;
}
.wp-block-table td {
    padding: 20px;
}
     .wp-block-table a {
        color: #409af4;
     }
.backBtn {
  width: 200px;
  line-height: 40px;
  text-align: center;
  display: inline-block;
  border: dotted 1px var(--color03);
}
@media screen and (max-width: 767px) {
    .workHead {
        padding: 20px 0;
    }
    .workHead__ja {
        font-size: 2rem;
    }
    .workHead__en {
        font-size: 1.2rem;
    }
    .workPost {
        margin: 30px 0;
    }
    .workPost__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
    }
    .workPost__ttl {
        font-size: 2.4rem;
    }
    .wp-block-table {
        margin: 40px 0;
    }
    .wp-block-table td, .wp-block-table th {
        vertical-align: middle;
    }
    .wp-block-table th {
        width: 100px;
    }
    .wp-block-table td {
        padding: 0;
        padding-left: 15px;
    }
     .wp-block-table a {
        font-size: 10px;
     }
    .backBtnWrapper {
        margin: 40px 0 80px;
    }
}