/*
Theme Name:guild
Author:K.FUSE
Version:1.0
*/

/* mobilefirst CSS*/
/* ============================================ */

html {
  font-size: 10px;
  line-height: normal;
  letter-spacing: 1px;
}

html.is-active {
  overflow: hidden;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3";
  color: #333333;
  background-color: #F2F0E6;
}

body.is-active {
  overflow: hidden;
}

.img_cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.list_view {
  margin-top: 16px;
}

.section_block {
  width: 100%;
  margin-bottom: 32px;
}

.section_title {
  background-color: #8E0018;
  color: #ffffff;
  font-size: 1.6rem;
  padding: 8px 16px;
}

.section_list {
  background-color: #ffffff;
  padding: 16px;
}

.section_list li {
  padding: 20px 0;
  border-bottom: solid 1px #ccc ;
  display: flex;
}

.thumbnail_image {
  width: 100px;
  height: 143px;
}

.thumbnail_image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.article_right {
  margin-left: 24px;
  font-size: 1.2rem;
}

.product_title, .event_title {
  color: #8E0018;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.product_content, .event_content {
  margin-bottom: 16px;
}

.lily_img {
  width: 50%;
}

.director_list_block, .sns_link_block {
  background-color: #ffffff;
}

.director_list_block li, .sns_link_block li {
  font-size: 1.4rem;
  padding: 12px 16px;
  border-bottom: solid 1px #ccc;
}

.pager {
  background-color: #ffffff;
  padding: 0 0 16px;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
}

.numbers_area {
  padding: 8px 0;
}

.page-numbers {
  border: solid 1px #333333;
  padding: 8px;
}

.pager .current{
  background-color: #333333;
  color: #ffffff;
}


@media (min-width: 769px) {

  body {
    max-width: 960px;
    margin: 0 auto;
  }

  .list_view {
    display: flex;
    justify-content: space-between;
  }  

  .main_view {
    width: 640px;
    margin-right: 20px;
  }

  .side_view {
    width: 290px;
  }

  .article_right {
    margin-left: 40px;
  }

}

/* Topギャラリー */
/* ============================================ */
.top_view {
  padding: 16px 0 32px;
}

.top_view .sp_hidden {
  display: none;
}

.photo_gallery {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1px;
}

.pg_pc1, .pg_pc2, .pg_pc3 {
  display: none;
}

.photo_gallery a, .photo_gallery li {
  width: calc((100vw - 3px) / 4);
  height: calc(((100vw - 3px) / 4) * 1.43);
}

.photo_gallery li div {
  width: 100%;
  height: 100%;
}

.top_view li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.photo_gallery div.hidden {
  display: none;
}

@media (min-width: 769px) {
  .top_view {
    position: relative;
  }

  .top_view .sp_hidden {
    display: block;
  }

  .photo_gallery {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }
  
  .photo_gallery a, .photo_gallery li {
    width: calc(949px / 12);
    height: calc((949px / 12) * 1.43);
  }  
  
  .text_pic {
    position: absolute;
    top: 130.39px;
    left: 320px;
    width: 320px;
    height: calc((949px / 12) * 1.43);
  }
}


/*** Header ***/
/* ============================================ */

.header_top {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.header_top .img_cover {
  width: 120px;
}

.btn_area {
  width: 48px;
  height: 48px;
  position: absolute;
  right: 0;
}

.burger_btn {
  width: 100%;
  height: 100%;
  z-index: 4;
}

.btn_line {
  z-index: 4;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
  top: 24px;
  left: 24px;
  width: 24px;
  height: 1px;
  background: #8E001A;
  border: none;
  transition: all 0.4s;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.btn_line::before, .btn_line::after {
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #8E001A;
  transition: all 0.4s;
}

.btn_line::before {
  top: -8px;
}

.btn_line::after{
  bottom: -8px;
}

.btn_line.is-active{
  background: transparent;
}

.btn_line.is-active::before{
  background: #ffffff;
  top: 0;
  transform: rotate(-45deg);
}

.btn_line.is-active::after{
  background: #ffffff;
  bottom: 0;
  transform: rotate(45deg);
}

.menu_sp {
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 3;
  width: 100%;
  height: 110vh;
  display: flex;
  flex-direction: column;
  background-color: #333;
  opacity: 0.95;
  transform: translateX(100vw);
  transition: all .27s linear;
}

.menu_sp ul {
  padding: 80px 16px 0;
}

.menu_sp li {
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 36px;
}

.menu_sp.is-active{
  transform: translateX(0);
}

.menu_pc {
  display: none;
}

@media (min-width: 769px) {

  .header_top {
    justify-content: flex-start;
  }

  .btn_area {
    display: none;
  }

  .menu_sp {
    display: none;
  }

  .menu_pc {
    display: block;
  }
  
  .menu_pc ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }

  .menu_pc li {
    text-align: center;
    padding: 4px 8px;
    color: #8E001A;
    background-size: 200% auto;
    box-shadow: 0 0 4px rgb(201, 201, 201);
    background-image: linear-gradient(to top, #fbfbfb 0%, #F3F3F3 50%, #EEEEEE 100%);
  }

  .menu_pc li:hover {
    background-image: linear-gradient(to top, #cfcfcf 0%, #ebebeb 50%, #fbfbfb 100%);
  }

  .menu_pc p {
    font-size: 1.6rem;
    font-weight: bold;
    padding: 14px 0;
    border-bottom: solid 2px #8E001A ;
  }
  
}

/*** Footer ***/
/* ============================================ */
footer {
  font-size: 1.2rem;
}

.footer_top {
  display: flex;
  justify-content: space-around;
  padding: 16px;
}

.footer_bottom {
  padding: 16px 0 24px;
  border-top: solid 1px #ccc;
  text-align: center;
}

@media (min-width: 769px) {

  .footer_top {
    justify-content: flex-start;
  }
  
  .footer_top li {
    margin-right: 16px;
  }

  .footer_top li:hover {
    opacity: 0.8;
  }

}

/*** product個別 ***/
/* ============================================ */

.s_section_title {
  background-color: #8E0018;
  color: #ffffff;
  font-size: 1.6rem;
  padding: 8px 16px;
}

.s_product_date {
  font-size: 1.2rem;
  display: inline-block;
}

.s_product_box {
  background-color: #ffffff;
  padding: 16px;
}

.s_product_main_image {
  display: flex;
  justify-content: center;
}

.s_product_main_image .img_cover {
  width: calc( 100vw - 32px);
  height: auto;
}

.s_product_sub_image {
  width: calc( 100vw - 32px);
  margin: 4px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  column-gap: 8px;
  row-gap: 4px;
}

.s_product_sub_image li {
  width: calc((100vw - 64px) / 5);
  height: calc((100vw - 64px) / 5);
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #ccc;
}

.s_product_sub_image li img {
  object-fit: cover;
  width: 96%;
  height: 96%;
}

.s_product_sample, .s_product_store {
  width: calc( 100vw - 32px);
  margin: 16px auto 0;
}

.s_product_sample h3, .s_product_store h3 {
  background-color: #8E0018;
  color: #ffffff;
  font-size: 1.6rem;
  padding: 4px 0;
  text-align: center;
}

.s_product_sample .img_cover {
  width: calc((100vw - 40px) / 2);
  height: auto;
  margin: 8px auto 16px;
}

.s_product_store .btn_flex {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

.s_product_store .img_cover {
  width: calc((100vw - 40px) / 2);
  height: auto;
}

.s_product_content {
  font-size: 1.2rem;
  margin: 40px 0 20px;
}

.s_product_info table {
  width: 100%;
  font-size: 1.2rem;
}

.s_product_info tr {
  height: 24px;
}

.s_product_info th {
  width: 30%;
  font-weight: normal;
}

.s_product_info td {
  width: 70%;
}

@media (min-width: 769px) {
  .s_section_title {
    display: flex;
    justify-content: space-between;
  }

  .s_section_title .main_title {
    max-width: 420px;
  }

  .s_product_date {
    display: flex;
    align-items: flex-end;
    max-width: 140px;
  }

  .s_product_box {
    padding: 32px;
  }
  
  
  .s_product_main_image .img_cover {
    width: 300px;
    height: auto;
  }
  
  .s_product_sub_image {
    width: 300px;
    margin: 4px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    column-gap: 8px;
    row-gap: 4px;
  }

  .s_product_sub_image li {
    width: calc( 268px / 5);
    height: calc( 268px / 5);
  }

  .s_product_sample, .s_product_store {
    width: 300px;
  }

  .s_product_sample .img_cover {
    width: 144px;
  }
  
  .s_product_store .img_cover {
    width: 144px;
  } 

  .s_product_info {
    display: flex;
  }

  .s_product_info .pc_left {
    height: 60%;
  }

}

/*** 検索機能 ***/
/* ============================================ */
.search_none {
  font-size: 1.4rem;
}

.search_form {
  position: relative;
  background-color: #ffffff;
  padding: 16px 16px 0;
}

.search-text {
  border: solid 1px #333333;
  width: 100%;
  padding: 0 32px 0 8px;
  height: 32px;
  font-size: 1.6rem;
  overflow: hidden;
}

.search-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  height: 16px;
}


/*** event個別 ***/
/* ============================================ */

.s_event_box {
  background-color: #ffffff;
  padding: 16px 16px 32px;
}

.s_event_info {
  width: 100%;
  font-size: 1.2rem;
}

.s_event_info tr {
  height: 24px;
}

.s_event_info th {
  width: 40%;
  font-weight: normal;
}

.s_event_info td {
  width: 60%;
}

.s_event_box .img_cover {
  margin: 16px auto;
  width: 160px;
  height: auto;
}

.s_event_bottom {
  font-size: 1.2rem;
}

.s_event_content ul {
  padding-top: 8px;
  padding-left: 16px;
}

.s_event_content li {
  list-style-type: disc;
}

.s_event_url {
  display: flex;
}

.s_event_url p {
  width: 40%;
}

.s_event_url a {
  width: 60%;
  color: #FF0000;
}

@media (min-width: 769px) {

  .s_event_box {
    padding: 32px;
  }

  .s_event_box_inner_pc {
    display: flex;
    justify-content: space-between;
  }

  .s_event_info {
    width: 320px;
    height: 80%;
  }

  .s_event_info tr {
    height: 32px;
  }
  
  .s_event_box .img_cover {
    margin: 0;
    width: 160px;
    height: auto;
  }
  
  .s_event_bottom {
    margin-top: 16px;
  } 

  .s_event_url {
    width: 320px;
    margin-top: 16px;
  }
  
  .s_event_url p {
    width: 40%;
  }
  
  .s_event_url a {
    width: 60%;
    color: #FF0000;
  }
}

/*** 制作受注一覧 ***/
/* ============================================ */
.order_list {
  background-color: #ffffff;
  padding: 16px;
}

.order_list li {
  padding: 8px 0 16px;
  border-bottom: 1px solid #ccc;
}

.order_title {
  font-size: 1.4rem;
  color: #8E0018;
}

.order_content {
  margin-top: 8px;
  display: flex;
}

.order_content .img_cover {
  width: 88px;
  height: 125px;
}

.order_right {
  width: calc( 100vw - 132px);
  margin-left: 12px;
}

.order_right table {
  width: 100%;
  font-size: 1.2rem;
}

.order_right tr {
  height: 18px;
}

.order_right th {
  width: 30%;
  font-weight: normal;
}

.order_right td {
  width: 70%;
}

.order_lily_link {
  width: 136px;
  height: 30px;
}

.order_lily_link img {
  margin-top: 5px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (min-width: 769px) {

  .order_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
    row-gap: 16px;
  }

  .order_list li {
    padding: 8px 0 0;
    border-bottom: none;
  }

  .order_right {
    width: 200px;
    margin-left: 16px;
  }
  
  .order_right table {
    font-size: 1.0rem;
  }
  
  .order_right th {
    width: 25%;
  }
  
  .order_right td {
    width: 75%;
  }
  
}

/*** 会社概要 ***/
/* ============================================ */

.company_content {
  background-color: #ffffff;
  padding: 16px;
  font-size: 1.2rem;
}

.company_content ul {
  margin-top: 16px;
  padding-left: 16px;
}

.company_content li {
  list-style: disc;
}

@media (min-width: 769px) {

  .company_content {
    font-size: 1.4rem;
  }

  .company_content span {
    display: block;
  }

}

/*** 会社概要 ***/
/* ============================================ */

.pp_content {
  background-color: #ffffff;
  padding: 16px;
  font-size: 1.2rem;
}

.pp_content ol {
  margin-top: 16px;
  padding-left: 24px;
}

.pp_content li {
  list-style: decimal;
}

@media (min-width: 769px) {

  .pp_content {
    font-size: 1.4rem;
  }

  .pp_content span {
    display: block;
  }
  
}




/*** 404 ***/
/* ============================================ */
.error_message {
  padding: 128px 14px 256px;
}

@media (min-width: 769px) {

  .error_message {
    width: 1120px;
    height: calc(100vh - 363px);
    margin: 0 auto;
    padding: 15vh 0 0;
  }

}
