﻿@charset "utf-8";

/*============================
#container
============================*/
#container {
}
#container .main_cap {
  position: relative;
  background: url("../image/img_cate_main.png") 0 0 / 100% auto no-repeat;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.category-case_study #container .main_cap h1 {
  transform: scale(0.85);
}

#container div.top_lead {
  line-height: 1.8;
}
#container div.top_lead.cate_lead {
  line-height: 1.5;
}
#container div.top_lead p {
}
#container main {
  position: relative;
}
#main_box {
  position: relative;
  letter-spacing: 0.05em;
}
#main_box h2 {
  position: relative;
  margin: 0 0 4px;
  background: #f75586;
  color: #fff;
  font-size: 119%;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.05em;
  clear: both;
}
#main_box h2::before {
  position: absolute;
  content: "";
  display: inline-block;
  background: url(../image/ico_pen_pink.png) 0 0 / 100% auto no-repeat;
}
#container .contents_list {
}
#main_box .contents_list article {
  position: relative;
  line-height: 1.4;
  box-sizing: border-box;
  background: #fff;
  margin: 0 0 22px;
}
#main_box .contents_list article > a {
  display: block;
  width: 100%;
  color: #000;
  box-sizing: border-box;
}
#main_box .contents_list article h3 {
  font-size: 129.4%;
  font-weight: bold;
  line-height: 1.25;
}
#main_box .contents_list article p {
  line-height: 1.5;
}
#main_box .contents_list article div.date {
}
#main_box .contents_list article .more {
  position: absolute;
  background: url("../image/arrow_corner.png") 0 0 / 100% auto no-repeat;
}
#main_box .contents_list article figure {
  position: relative;
}
#main_box .contents_list article figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#main_box .contents_list article figure figcaption {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
}
#containe .main_boxr .contents_list article figure figcaption span {
  width: calc(50% - 2px);
  font-size: 70.6%;
  font-weight: bold;
  color: #fff;
  letter-spacing: -0.025em;
  text-align: center;
}
#container main div.wp-pagenavi {
  display: flex;
  justify-content: center;
}
#container main div.wp-pagenavi .current {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 5px;
  background: #f75586;
  border-radius: 2px;
  font-size: 117.6%;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 36px;
}
#container main div.wp-pagenavi a {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 5px;
  border: 1px solid #f75586;
  border-radius: 2px;
  font-size: 117.6%;
  font-weight: bold;
  color: #f75586;
  text-align: center;
  line-height: 36px;
}

@media screen and (max-width: 760px) {
  #container .main_cap {
    /*height: 18.8vw;
    padding: 4.1vw 0 0 26.7vw;*/
    background: #ea6094;
  }
  #container .main_cap h1 {
    padding: 0.35em 0.5em;
    font-size: 5vw;
    line-height: 1.4;
    border-bottom: 1px solid #fff;
  }
  #container .main_cap .sp_cate_img {
    max-width: 100%;
  }
  #container div.top_lead {
    margin: 0 4vw 4vw;
    overflow: hidden;
  }
  #container div.top_lead p {
    margin: 0;
  }
  #container main {
    width: 92%;
    margin: 0 auto 6vw;
  }
  .snsBox {
    margin: 0 0 3vw;
  }
  #size_changer {
    position: static;
    margin: 0 0 2vw auto;
  }
  #main_box {
    margin: 0 0 6vw;
  }
  #container.size-s #main_box {
    font-size: 4vw;
  }
  #container.size-l #main_box {
    font-size: 5.33vw;
  }
  #main_box h2 {
    padding: 1.6vw 0 1.6vw 16.2vw;
    margin: 0 0 3vw;
    font-size: 129.4%;
    line-height: 1.15;
  }
  #main_box h2::before {
    top: 0; bottom: 0;
    left: 3.5vw;
    width: 9.6vw;
    height: 9.6vw;
    margin: auto 0;
  }
  #main_box .contents_list article {
    margin: 0 4vw 4vw;
    border: 0.27vw solid #f5b7c9;
    box-shadow: 0 0.53vw 1.33vw rgba(247,85,134,0.25);
  }
  #main_box .contents_list article > a {
    padding: 2.3vw 3vw 0;
  }
  #main_box .contents_list article h3 {
    margin: 0 0 0.35em;
    font-size: 105.9%;
  }
  #main_box .contents_list article figure {
    height: 47vw;
    margin: 0 0 2.4vw;
  }
  #main_box .contents_list article p {
    margin: 0 0 0.7em;
    font-size: 88.24%;
    line-height: 1.4;
  }
  #main_box .contents_list article div.date {
    padding: 0.7em 0;
    border-top: 0.27vw solid #f75586;
    font-size: 82.4%;
  }
  #main_box .contents_list article .more {
    right: 0;
    bottom: 0;
    width: 8vw;
    height: 8vw;
    overflow: hidden;
    text-indent: -100em;
  }
}

@media print, screen and (min-width: 761px) {
  #container .main_cap {
    width: 960px;
    height: 180px;
    margin: 0 auto 23px;
    padding: 42px 0 0 266px;
  }
  /*.category-apart-management #container .main_cap {
    padding-top: 45px;
  }*/
  #container .main_cap h1 {
    font-size: 24px;
  }
  /*.category-apart-management #container .main_cap h1 {
    font-size: 18px;
  }*/
  #container .main_cap .sp_cate_img {
    display: none;
  }
  #container div.top_lead {
    width: 41em;
    margin: 0 auto 12px;
  }
  #container main {
    display: flex;
    justify-content: space-between;
    width: 960px;
    margin: 0 auto 30px;
  }
  #main_box h2 {
    height: 40px;
    padding: 0 0 0 55px;
    margin: 0 0 4px;
    line-height: 40px;
  }
  .size-l #main_box h2 {
    height: 47px;
  }
  #main_box h2::before {
    top: 2px;
    left: 2px;
    width: 36px;
    height: 36px;
  }
  
  #main_box {
    width: 632px;
  }
  #container.size-s #main_box {
    font-size: 15px;
  }
  #container.size-l #main_box {
    font-size: 20px;
  }
  .snsBox {
    padding: 25px 0 0;
    height: 45px;
    margin: 0 0 14px;
  }
  #size_changer {
    top: 9px;
  }
  #main_box .contents_list article {
    border: 1px solid #f5b7c9;
    box-shadow: 0 2px 5px rgba(247,85,134,0.25);
  }
  #main_box .contents_list article > a {
    padding: 17px 19px 7px;
  }
  #main_box .contents_list article a:hover {
    opacity: 0.75;
  }
  #main_box .contents_list article figure {
    width: 210px;
    height: 142px;
    margin: 0 22px 10px 0;
    float: left;
  }
  #main_box .contents_list article h3 {
    margin: 0 0 18px;
  }
  #main_box .contents_list article p {
    margin: 0;
  }
  #main_box .contents_list article div.date {
    clear: both;
    width: 520px;
    margin: 1em 0 0;
    padding: 0.55em 0 0;
    border-top: 1px solid #f75586;
    font-size: 94.1%;
  }
  #main_box .contents_list article .more {
    right: 17px;
    bottom: 23px;
    width: auto;
    height: auto;
    padding: 0 40px 0 0.8em;
    border: 1.5px solid #fff;
    border-radius: 4em;
    background: #ea6094 url("../image/ico_arrow_right.png") 95% 50% / 23px auto no-repeat;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 30px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }
  #container main div.wp-pagenavi a:hover {
    background: #f75586;
    color: #fff;
  }
}