@charset "utf-8";

@media screen and (max-width: 412px) {
    #works_archive .content_wrapper_01 {
      margin-bottom: 5rem;
  }
}

.works_archive_heading {
    margin-bottom: 3.13rem;
}

/* SIDE BAR */

#side-bar {
    width: 100%;
    border-radius: 1.25rem;
    box-sizing: border-box;
    background-color: #F0f0f0;
}

@media screen and (max-width: 412px) {
    #side-bar {
      margin-bottom: 5rem;
  }
}

#side-bar .side-bar_title {
    color: #fff;
    width: 22%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.88rem;
    border-radius: 1.25rem 0 0 1.25rem;
}

@media screen and (max-width: 412px) {
    #side-bar .side-bar_title {
      width: 100%;
      padding: 5%;
      box-sizing: border-box;
      border-radius: 1.25rem 1.25rem 0 0;
  }
}

#side-bar form {
    padding-right: 1.88rem;
}

@media screen and (max-width: 412px) {
    #side-bar form {
      padding-right: 0;
  }
}

.side-bar_item {
    width: 26%;
    padding: 1.88rem 0 1.88rem 1.88rem;
}

@media screen and (max-width: 412px) {
    .side-bar_item {
      width: 100%;
      padding: 0 5%;
      box-sizing: border-box;
  }
}

@media screen and (max-width: 412px) {
    .side-bar_item.serch-btn {
      padding-bottom: 5%;
  }
}

.side-bar_item p {
    margin-bottom: 0.62rem;
}

@media screen and (max-width: 800px) {
    .side-bar_title,
    .selector-title {
        font-size: 1rem;
    }
}

@media screen and (max-width: 412px) {
    .side-bar_title,
    .selector-title {
        font-size: 1.16rem;
    }
}

@media screen and (max-width: 412px) {
    .selector-title {
        margin-top: 1.25rem;
    }
}

/* CATEGORY SELECT */

.category-select-box {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    letter-spacing: .04em;
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.select-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555;
    right: 0.94rem;
}

/* KEY WORD SELECT */
.custom-dropdown {
  position: relative;
  width: 100%;
  border: 1px solid #555;
  border-radius: 0.94rem;
  padding: 0.94rem;
  background: #fff;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.2em;
  font-weight: 400;
  box-sizing: border-box;
}

.dropdown-display {
  user-select: none;
  width: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 50%;
  transform: translateX(50%);
  width: 90%;
  background: #fff;
  border: 1px solid #555;
  border-radius: 0.94rem;
  padding: 1.25rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu label {
  display: block;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #999;
  cursor: pointer;
}

.dropdown-menu label:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}


.dropdown-display {
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: 400;
}

.custom-dropdown {
  position: relative;
}

.custom-dropdown .dropdown-display {
    min-height: 1.2em; /* 元の高さに合わせる */
}

/* CATEGORY SELECT/KEY WORD SELECT/SERCH BTN */

.dropdown-style {
    width: 100%;
    padding: 0.94rem;           /* 共通に */
    border-radius: 0.94rem;     /* 共通に */
    font-size: 1rem;            /* 共通に */
    line-height: 1.2em;  
    font-weight: 400;       /* 共通に */
    border: 1px solid #555;     /* 共通に */
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    color: #555;
    position: relative;
    display: flex;
    align-items: center;
}

.serch-btn .dropdown-style {
  color: #fff;
  border: 1px solid #7B2109;
  background-color: #7B2109;
}

.serch-btn .dropdown-style:hover {
  color: #7B2109;
  background-color: #fff;
  transition: 0.5s;
}

.custom-dropdown::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #555;
  right: 0.94rem;
  pointer-events: none;
}

.dropdown-menu input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* ------------- */
/* WORKS SINGLE  */
/* ------------- */

.sp_main_img {
  display: none;
}

@media screen and (max-width: 800px) {
    .sp_main_img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1.8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.88rem;
    box-sizing: border-box;
    margin-bottom: 1.88rem;
  }
}

.sp_main_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#works_single .flex_responsive {
  align-items: flex-start;
}

@media screen and (max-width: 412px) {
    #works_single.content_wrapper_03 {
    margin-bottom: 5rem;
  }
}

@media screen and (max-width: 800px) {
    #works_single .flex_responsive {
    display: block;
  }
}

.works_single_left {
  width: 30%;
  position: sticky;
  top: 12rem;     /* 固定したい開始位置。ヘッダー分ずらす場合は調整 */
  height: fit-content;
  align-self: flex-start; /* flexboxの影響で伸びないようにする */
}

@media screen and (max-width: 800px) {
    .works_single_left {
    width: 100%;
    position: initial;
  }
}

.works_single_cotegory-box {
  display: flex;
  align-items: center;
  margin-bottom: 0.94rem;
}

.works_single_cotegory-box .works_category {
  margin-right: 0.62rem;
}

.works_single_left .border-bottom_dashed {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.works_single_left .text-area {
  font-size: 1rem;
  line-height: 1.8em;
  margin-bottom: 1.25rem;
}

.tag-list {
  font-size: 0.88rem;
  line-height: 1.8em;
  text-align: justify;
  margin-bottom: 3.13rem;
}

.tag-list a {
  color: #999;
}

.tag-list a:hover {
  color: #7B2109;
  transition: .5s;
}

.works_single_right {
  width: 63%;
}

@media screen and (max-width: 800px) {
    .works_single_right {
    width: 100%;
  }
  .pc_main_img {
    display: none;
  }
}

.works_single_right .pc_main_img img {
  margin-bottom: 5rem;
}

.works_single_right figure {
  margin-bottom: 3.13rem;
}

.works_single_right img {
  display: block;
  width: 100%; 
  height: auto;
  border-radius: 1.88rem; 
  margin-bottom: 0.62rem;
}

.works_single_right figure figcaption {
  font-size: 1rem;
}

@media screen and (max-width: 800px) {
    #works_recommend.content_wrapper_01 {
    margin-bottom: 0;
  }
}

#works_recommend h4 {
  text-align: center;
  position: relative;
}

@media screen and (max-width: 800px) {
    #works_recommend h4 {
    margin-bottom: 9.375rem;
  }
}

@media screen and (max-width: 412px) {
    #works_recommend h4 {
    margin-bottom: 6.25rem;
  }
}

#works_recommend h4::after {
  content: "";
  display: block;
  border-left: 1.5px solid #777;
  position: absolute;
  height: 3.13rem;
  top: 4.5rem;
  left: 50%;
  transform: translate(-50%, 0);
}

@media screen and (max-width: 800px) {
    #works_recommend .works_content-box {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 412px) {
    #works_recommend h4::after {
    top: 3.7rem;
  }
}

#works_recommend .works_item {
  margin-top: 9.375rem;
}

@media screen and (max-width: 800px) {
    #works_recommend .works_item {
    margin-top: 0;
    margin-bottom: 3.13rem;
  }
}

@media screen and (max-width: 800px) {
    .works-single_link-box {
    margin-top: 0;
  }
}

@media screen and (max-width: 412px) {
    .works-sibgle_back-btn {
    margin-bottom: 1.88rem;
  }
}

.single-works main {
  overflow: visible !important;
}


.no-post {
  margin-top: 3.13rem;
}

@media screen and (max-width: 412px) {
    .no-post {
    margin-top: 0;
  }
}