@charset "utf-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

body {
  font-family: "Noto Sans Japanese", serif;
  overflow-x: hidden;
  font-size: 100%;
}

.clearfix:after {
  content: "";
  clear: both;
  display: block;
}

.pc {
  display: none;
}

.sp {
  display: none;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*:focus {
  outline: none;
}

::selection {
  background: rgba(224, 33, 42, 0.7);
}

::-moz-selection {
  background: rgba(224, 33, 42, 0.7);
}

_::-webkit-full-page-media,
_:future,
:root ::selection {
  background: rgba(224, 33, 42, 0.7);
}

/*エフェクト*/
.fade_off {
  opacity: 0;
}

.sa {
  opacity: 0;
  transition: all 2s ease;
}
.sa.show {
  opacity: 1;
  transform: none;
}
.sa_lr {
  transform: translate(-200px, 0);
}
.sa_up {
  transform: translate(0, 30px);
}
.sa_up_ex {
  transform: translate(0, 200px);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tilt-in-bottom {
  0% {
    transform: rotateY(0deg) translateY(200px) skewY(3deg);
    opacity: 0;
  }
  100% {
    transform: rotateY(0deg) translateY(0) skewY(0deg);
    opacity: 1;
  }
}

@keyframes rotateInUpLeft {
  0% {
    transform-origin: left bottom;
    transform: rotate(5deg);
    opacity: 0;
  }
  100% {
    transform-origin: left bottom;
    transform: rotate(0);
    opacity: 1;
  }
}

@keyframes LefttoRight {
  0% {
    transform: scale(7, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}

@keyframes LefttoRightimg {
  0% {
    transform: scale(3, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}

/*ヘッダー*/
#indexpage .head {
  position: fixed;
  top: 0;
  font-weight: lighter;
  height: 75px;
  z-index: 9;
  width: 100%;
  opacity: 0;
}

#indexpage .head_box {
  opacity: 1;
}

#topicspage.head,
#recruitpage .head {
  position: fixed;
  top: 0;
  font-weight: lighter;
  height: 75px;
  z-index: 9;
  width: 100%;
}

.head a {
  color: #3b4043;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.head a:hover {
  color: #ccc;
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.head a img {
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

#indexpage .head_box .menu_box {
  width: 100%;
  position: relative;
  margin: 0 auto;
  background-color: #fff;
  height: 76px;
  border-top: 7px solid #e0212a;
  animation: fadeIn 1s both;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#topicspage.menu_box,
#recruitpage .menu_box {
  width: 100%;
  position: relative;
  margin: 0 auto;
  background-color: #fff;
  height: 76px;
  border-top: 7px solid #e0212a;
  animation: fadeIn 1s both;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.logo {
  position: absolute;
  left: 0;
  top: 25px;
  width: 124px;
  margin-left: 3%;
}

.logo h2 {
  display: none;
}

.navi {
  color: #3b4043;
  position: absolute;
  right: 0;
  padding-top: 24px;
}

.navi li {
  float: left;
  display: block;
}

.navi li a {
  font-size: 95%;
  padding: 0 24px;
  text-align: center;
  text-decoration: none;
  font-weight: 200;
}

.navi li:not(:last-child)::after {
  content: "/";
  font-size: 90%;
}
/* 
.navi li:nth-child(4)::after{
content:'';
font-size:90%;}
 */
/*フッター*/
#foot {
  background-color: #efefef;
  margin-top: 250px;
}

.foot_navi {
  padding: 54px 0 80px 0;
}

.foot_navi a:hover {
  color: #ccc;
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.foot_navi ul {
  width: 100%;
  margin: 0 auto;
}

.foot_navi li {
  float: right;
  display: block;
  font-weight: lighter;
}

.foot_navi li a {
  font-size: 95%;
  color: #3b4043;
  padding: 0 24px;
  text-align: center;
  text-decoration: none;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.foot_navi li:not(:nth-child(1))::after {
  content: "/";
  font-size: 90%;
}
/* 
.foot_navi li:nth-child(1)::after{
content:'';
font-size:90%;}
 */
.copyright {
  color: #fff;
  background-color: #e0212a;
  padding-left: 3%;
}

.copyright p {
  font-weight: lighter;
  width: 1164px;
  margin: 0 auto;
  padding: 5px 0 8px 0;
  font-size: 14px;
}

#gotop {
  position: relative;
  z-index: 6;
  float: right;
  width: 65px;
  margin: -202px 2% 130px 0;
}

#gotop a {
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

#gotop a:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

/*ビデオ*/
.videobox {
  width: 100%;
}

.video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  animation: fadeIn 2s both;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#scroll {
  position: absolute;
  z-index: 8;
  right: 3%;
  top: 80%;
  animation: fadeInUp 1s both 6s;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#scroll a {
  display: block;
}

#scroll img {
  width: 25px;
}

/*トピックス*/
#topics {
  text-align: center;
  margin: 90px auto 30px;
  line-height: 2.6;
  font-size: 15px;
  font-weight: 200;
  max-width: 1164px;
}

#topics_box {
  width: fit-content;
  margin: auto;
  text-align: left;
  max-width: 90%;
}

#topics_day,
.topics_day {
  margin-right: 2rem;
  /* background-color: #eee; */
  padding-left: 0.5em;
  padding-right: 0.5em;
  width: fit-content;
}
#topics_box ul li {
  border-bottom: solid 1px #565656;
  padding: 1em 0;
  text-indent: -8.7em;
  padding-left: 8.7em;
}
#topics_box ul li:nth-of-type(1) {
  border-top: solid 1px #565656;
}

#topics a {
  color: #3a3a3a;
  padding-bottom: 3px;
  /* border-bottom: 1px solid #3a3a3a; */
  text-decoration: none;
  transition: 0.5s;
  font-size: 15px;
}

#topics a:hover {
  opacity: 0.6;
  transition: 0.5s;
}

#topics_ttl a {
  text-decoration: none;
  border-bottom: none;
  color: #3d5868;
  font-size: 20px;
  font-weight: 200;
  vertical-align: middle;
}

/*業務内容*/
#service {
  width: 94%;
  margin: 0 auto;
}

#service_h3 {
  width: 160px;
  padding: 100px 0;
}

#service_h3.run {
  animation: rotateInUpLeft 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#service_h3.run:after {
  content: "";
  background-color: #fff;
  height: 100px;
  position: absolute;
  width: 300px;
  animation: LefttoRight 0.5s;
}

#service_h4 {
  width: 120px;
  margin: 0 auto;
}

#service_h4.run:after {
  content: "";
  background-color: #fff;
  height: 40px;
  position: absolute;
  width: 120px;
  animation: LefttoRightimg 1.5s;
}

#service_p {
  text-align: center;
  margin-top: 30px;
  font-size: 18px;
  line-height: 3;
}

.service_p_anime.run:after {
  content: "";
  background-color: #fff;
  height: 30px;
  position: absolute;
  margin-top: 10px;
  width: 100px;
  animation: LefttoRight 2s;
}

#skill {
  width: 92%;
  margin: 0 auto;
}

#skill_h3_01 {
  width: 48%;
  margin-top: 200px;
}

#skill_h3_02 {
  float: right;
  width: 48%;
  margin-top: -165px;
}

#skill_h3_03 {
  width: 48%;
  margin-top: 200px;
}

#skill_h3_04 {
  float: right;
  width: 48%;
  margin-top: -165px;
}

#skill_h3_05 {
  width: 48%;
  margin-top: 200px;
}

#skill_h3_06 {
  float: right;
  width: 48%;
  margin-top: -165px;
}

/*ワークフロー*/
#flow {
  width: 94%;
  margin: 0 auto 150px auto;
}

#flow_h3 {
  margin-top: 200px;
  font-size: 28px;
}

#flow_h3.run:after {
  content: "";
  background-color: #fff;
  height: 70px;
  position: absolute;
  width: 100px;
  animation: LefttoRight 2s;
}

#flow_p {
  margin-top: 30px;
  font-size: 16px;
}

.flow_p_anime.run:after {
  content: "";
  background-color: #fff;
  height: 30px;
  position: absolute;
  width: 15%;
  animation: LefttoRight 2s;
}

#flow_h4 {
  width: 94%;
  margin: 50px auto 0 auto;
}

/*会社概要*/
#company {
  width: 94%;
  margin: 0 auto;
  padding-top: 100px;
}

#company_h3 {
  width: 209px;
}

#company_h3.run {
  animation: rotateInUpLeft 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#company_h3.run:after {
  content: "";
  background-color: #fff;
  height: 100px;
  position: absolute;
  width: 300px;
  animation: LefttoRight 0.5s;
}

#autotable table {
  color: #3b4043;
  margin: 50px 0 150px 4%;
  width: 100%;
  font-size: 15px;
  line-height: 2.5;
}

#autotable table th {
  width: 7%;
  font-weight: 500;
}

#autotable table td {
  width: 32%;
  font-weight: 300;
}

/*お問い合わせ*/
#contact {
  width: 94%;
  margin: 0 auto;
  padding-top: 100px;
}

#contact_box {
  width: 90%;
  margin: 0 auto;
}

#contact_h3 {
  width: 190px;
}

#contact_h3.run {
  animation: rotateInUpLeft 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#contact_h3.run:after {
  content: "";
  background-color: #fff;
  height: 100px;
  position: absolute;
  width: 300px;
  animation: LefttoRight 0.5s;
}

#contact_p {
  margin-top: 50px;
  font-size: 16px;
}

#contact_form #name {
  font-family: "Noto Sans Japanese", serif;
  font-weight: lighter;
  border: 1px solid #222;
  width: 94%;
  height: 50px;
  margin-top: 40px;
  font-size: 15px;
  padding: 0 16px;
}

#contact_form #email {
  font-family: "Noto Sans Japanese", serif;
  font-weight: lighter;
  border: 1px solid #222;
  width: 94%;
  height: 50px;
  margin-top: 38px;
  font-size: 15px;
  padding: 0 16px;
}

#contact_form #memo {
  font-family: "Noto Sans Japanese", serif;
  font-weight: lighter;
  border: 1px solid #222;
  width: 94%;
  height: 100px;
  margin-top: 38px;
  font-size: 15px;
  padding: 16px;
}

.sbm_th {
  width: 170px !important;
}

#submit_btn {
  text-align: center;
}

#submit {
  background: url(../img/submit.png) left top no-repeat;
  background-size: contain;
  border: 0px;
  width: 233px;
  height: 55px;
  margin-top: 30px;
  text-indent: -9999px;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

#submit:hover {
  cursor: pointer;
  opacity: 0.6;
}

#backbtn_box {
  width: 233px;
  margin: 0 auto;
}

#backbtn {
  background: url(../img/submit_return.png) left top no-repeat;
  background-size: contain;
  border: 0px;
  width: 233px;
  height: 55px;
  margin: 30px 40px 0 0;
  text-indent: -9999px;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

#backbtn:hover {
  cursor: pointer;
  opacity: 0.6;
}

#entbtn_box {
  width: 550px;
  margin: 0 auto;
}

#sbenter {
  background: url(../img/submit_enter.png) left top no-repeat;
  background-size: contain;
  border: 0px;
  width: 233px;
  height: 55px;
  margin-top: 30px;
  text-indent: -9999px;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

#sbenter:hover {
  cursor: pointer;
  opacity: 0.6;
}

.kwnone {
  display: none;
}

.msg {
  color: #e0212a;
}

#contact input[type="text"] {
  font-size: 16px;
  border: 1px solid #ccc;
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#contact textarea {
  font-size: 16px;
  border: 1px solid #ccc;
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*求人情報*/
#recruit {
  width: 94%;
  margin: 0 auto;
  padding-top: 140px;
}

#recruit_h3 {
  width: 157px;
  margin-left: 3%;
}

/* #recruittable {
  padding-left: 6%;
}

#recruittable table {
  color: #3b4043;
  width: 100%;
  margin: 50px auto 0 auto;
  font-size: 14px;
  line-height: 2.2;
}

#recruittable table th {
  width: 110px;
  font-weight: 500;
}

#recruittable table td {
  padding-bottom: 26px;
  font-weight: 200;
}

#recruit_photo {
  float: right;
  margin-top: -1060px;
}

#recruit_photo01 {
  width: 190px;
}

#recruit_photo02 {
  width: 190px;
  margin: 40px 0;
}

#recruit_photo03 {
  width: 190px;
} */

#recruittable .condition {
  margin: 60px 0 40px 1em;
}
#recruittable .table dl {
  font-size: 14px;
  line-height: 1.8;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  background-color: #f6f6f6;
}
#recruittable .table dt {
  width: calc(7em);
  min-width: culc(120px - 2em);
  padding: 3em 2em;
  border: solid 3px #fff;
  border-left: none;
  border-bottom: none;
}
#recruittable .table dd {
  width: calc(100% - 7em - 4em - 4em - 6px);
  padding: 3em 2em;
  border: solid 3px #fff;
  border-left: none;
  border-bottom: none;
}
#recruittable .table dd.hanging-indent li {
  margin-left: 1em;
  text-indent: -1em;
}
#recruittable .table dd.hanging-indent li::before {
  content: "・";
}
.office_photo {
  display: flex;
  justify-content: space-around;
  margin: 60px 0;
  width: 100%;
  flex-direction: column;
}
.office_photo div {
  display: block;
  height: auto;
  margin: 20px auto;
}
.office_photo div img {
  height: 100%;
  max-height: 400px;
  max-width: 576px;
}

#rec_p {
  text-align: center;
  font-size: 15px;
  line-height: 3;
  margin-top: 70px;
}

/*トピックス*/
.topics_page {
  margin-bottom: 70px;
}

.topics_arc {
  text-align: left;
  margin: 0 auto;
  line-height: 2;
  font-size: 14px;
  font-weight: 300;
  width: 92%;
  /* padding-bottom: 24px;
  border-bottom: 1px solid #3a3a3a; */
}
.topics_arc p {
  border-bottom: solid 1px #3a3a3a;
  padding: 1.5em 0.5em 1.5em 1em;
}
.topics_arc:nth-of-type(1) p {
  border-top: solid 1px #3a3a3a;
}

.topics_arc a {
  color: #3a3a3a;
  text-decoration: none;
  transition: 0.5s;
}

.topics_arc a:hover {
  opacity: 0.4;
  transition: 0.5s;
}

#pager {
  text-align: right;
  width: 86%;
  margin: 50px auto 0 auto;
}

#pager li {
  float: right;
  margin-left: 30px;
}

#pager li a {
  text-decoration: none;
  color: #777;
  transition: 0.5s;
}

#pager li a:hover {
  opacity: 0.5;
  transition: 0.5s;
  text-decoration: underline;
}
.topics_sp_arc {
  /* display: block; */
  width: 94%;
  /* float: right; */
  /* font-size: 12px; */
  line-height: 1.4;
  margin-top: 5px;
  padding-bottom: 3px;
  /* border-bottom: 1px solid #3a3a3a; */
}

/*トピックス記事*/
#topics_single {
  width: 80%;
  margin: 0 auto;
  padding-top: 120px;
}

#topics_single a {
  color: #3a3a3a;
  padding-bottom: 1px;
  border-bottom: 1px solid #3a3a3a;
  text-decoration: none;
  transition: 0.5s;
}

#topics_single a:hover {
  opacity: 0.6;
  transition: 0.5s;
}

#topics_single img {
  margin: 1px 0;
}

#topics_single img:nth-child(1) {
  margin-bottom: 60px;
}

#topics_single p {
  font-weight: 200;
  font-size: 15px;
  line-height: 1.8;
}

#topics_single ul {
  font-weight: 100;
  font-size: 15px;
  line-height: 2;
  list-style-type: disc;
  margin: 0 0 30px 18px;
}

#topics_single ol {
  font-weight: 100;
  font-size: 15px;
  line-height: 2;
  list-style-type: decimal;
  margin: 0 0 30px 18px;
}

#topics_single li {
  margin-bottom: 18px;
}

.p_right {
  text-align: right;
}

.p_name {
  margin: 20px 0 60px 0;
}

.p_sizes {
  font-size: 13px;
}

.p_link {
  margin-top: 60px;
}

#topics_ttl_list {
  text-align: center;
  margin: 80px 0 -100px 0 !important;
}

#topics_ttl_list a {
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid #3d5868;
  color: #3d5868;
  font-size: 16px;
  font-weight: 200;
  transition: 0.5s;
}

/* ━━━━━━━━━━━━━━━━━━━ */

.media {
  position: relative;
  width: calc(910px + 3.2rem);
  max-width: 100%;
  margin: 6em auto 3rem;
  width: 100%;
}
.media::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.media.website::before {
  padding-top: calc(768 / 1366 * 100%);
}

.media iframe,
.media img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.media img {
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
}

#topics_single .media-paper {
  max-width: 770px;
  width: 100%;
  background-color: #ccc;
  margin-bottom: 60px;
}
#topics_single .media-paper .container {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(126, 126, 126, 0) 80%, rgba(126, 126, 126, 0.15) 85%, rgba(126, 126, 126, 0) 85%);
}
#topics_single .media-paper .container > img {
  max-width: 75%;
  max-height: 75%;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%) translateY(0%);
  margin: 0;
  box-shadow: #888 2px 0px 10px 2px;
}
#topics_single .media-paper .container .reflection::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  /* 背景グラデ */
  background: linear-gradient(rgba(126, 126, 126, 0) 85%, rgba(126, 126, 126, 0.15) 85%, rgba(126, 126, 126, 0) 90%);
  position: absolute;
  top: 0%;
  left: 0%;
}
#topics_single .media-paper .container .reflection::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  /* 徐々に透明にする */
  background: linear-gradient(rgba(204, 204, 204, 0) 85%, rgba(204, 204, 204, 0.2) 85%, rgba(204, 204, 204, 0.8) 92%, rgba(204, 204, 204, 1) 98%);
  position: absolute;
  top: 0%;
  left: 0%;
}
#topics_single .media-paper .container .reflection img {
  max-width: 75%;
  max-height: 75%;
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translateX(-50%) translateY(0%) scale(1, -1); /* 上下反転 */
  margin: 0;
}

/* 2024/2/28追記 */
#recruit .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#recruit .button_to_works,
.back-to-previous-page {
  background-color: #3d5868;
  border-radius: 30px;
  line-height: 1.6em;
  padding: 4px 20px;
}
@media screen and (max-width: 640px) {
  #recruit .button_to_works,
  .back-to-previous-page {
    line-height: 1.2em;
    padding: 3px 12px;
  }
}

#recruit .button_to_works_link,
.back-to-previous-page_link {
  color: #fff;
  display: inline-block;
  font-size: 14px;
  line-height: 2em;
  text-decoration: none;
  margin-left: 0.5em;
}
@media screen and (max-width: 640px) {
  #recruit .button_to_works_link,
  .back-to-previous-page_link {
    font-size: 12px;
  }
}

#recruit .button_to_works_link::after,
.back-to-previous-page_link::before {
  content: "";
  display: inline-block;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  width: 8px;
  height: 8px;
  margin-left: 0.5em;
  transform: rotate(45deg);
}

#contents {
  max-width: 100%;
}

.back-to-previous-page_link::before {
  margin-left: 0;
  margin-right: 0.5em;
  transform: rotate(225deg);
}
.back-to-previous-page {
  display: inline-block;
}
.back-to-previous-page_link {
  margin-left: 0;
  margin-right: 0.5em;
}

#works * {
  box-sizing: border-box;
}
#works {
  max-width: 1064px;
  margin: 0 auto;
  padding-top: 140px;
  width: 94%;
}
.works_h3 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1em;
  color: #445867;
  margin-bottom: 50px;
  margin-left: 3%;
}
.works_h3::after {
  content: attr(data-text);
  display: block;
  margin-top: 0.3em;
  font-size: 20px;
  font-weight: 200;
}

.c-panel--flex-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (max-width: 640px) {
  .c-panel--flex-list {
    display: block;
  }
}

.c-panel__item {
  position: relative;
  width: calc(100% / 3 - 20px);
  min-width: 280px;
  border: solid 1px #ccc;
  margin: 0 0 30px 0;
}
@media screen and (max-width: 960px) {
  .c-panel__item {
    width: calc(100% / 2 - 8px);
    margin: 0 0 16px 0;
  }
}
@media screen and (max-width: 640px) {
  .c-panel__item {
    width: 100%;
  }
}

.c-panel__item::before,
.c-panel__item::after,
.c-panel__item .c-panel__inner::before,
.c-panel__item .c-panel__inner::after {
  background-color: #e0212a;
  display: block;
  position: absolute;
  content: "";
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
  z-index: 10;
  opacity: 0;
}

.c-panel__item::before {
  bottom: -1px;
  height: 1px;
  right: -1px;
  width: 0px;
}
.c-panel__item::after {
  height: 1px;
  left: -1px;
  top: -1px;
  width: 0px;
}
.c-panel__item a:hover {
  opacity: 1;
}
.c-panel__item:hover::before,
.c-panel__item:hover::after {
  width: 100%;
  width: calc(100% + 1px);
  opacity: 1;
}
.c-panel__inner::before {
  height: 0px;
  right: -1px;
  top: -1px;
  width: 1px;
}
.c-panel__inner::after {
  bottom: -1px;
  height: 0px;
  left: -1px;
  width: 1px;
}

.c-panel__inner:hover::before,
.c-panel__inner:hover::after {
  height: 100%;
  height: calc(100% + 1px);
  opacity: 1;
}

.c-panel__item:nth-of-type(3n) {
  /* margin-right: 0; */
}

.c-panel__item--link {
  text-decoration: none;
  color: #3b4043;
}
.c-panel__inner {
  position: relative;
  height: 100%;
}

.c-panel__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  /* background-color: #efefef; */
}

.c-panel__text {
  padding: 20px;
}

.p-works-panel__info {
  padding: 0 20px 20px;
}

.p-works-panel__client {
  font-size: 14px;
  margin: 0 0 10px;
}
.p-works-panel__cat-item {
  display: inline-block;
  font-size: 14px;
  margin: 8px 10px 0 0;
}

/* ページャー その１  */

.c-pager ul.c-pagination {
  text-align: center;
  margin: 0;
  padding: 0;
}

.c-pager__button {
  display: inline;
  margin: 0 2px;
  padding: 0;
  display: inline-block;
  background: #efefef;
  width: 50px;
  height: 50px;
  text-align: center;
  position: relative;
}

.c-pager .c-pager__button a {
  vertical-align: middle;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display: table;
  color: #3b4043;
  text-decoration: none;
}

.c-pager .c-pager__button a span {
  display: table-cell;
  vertical-align: middle;
}

.c-pager .c-pager__button a:hover,
.c-pager .c-pager__button a.active {
  color: #fff;
  background: #e0212a;
}

@media only screen and (max-width: 767px) {
  .c-pager .c-pager__button {
    display: none;
  }

  .c-pager .c-pager__button--pre,
  .c-pager .c-pager__button--next {
    display: inline-block;
    width: 40%;
    height: 50px;
    text-align: center;
  }

  .c-pager .c-pager__button--pre a,
  .c-pager .c-pager__button--next a {
    width: 100%;
    text-align: center;
  }

  .c-pager .c-pager__button--pre span::after {
    content: "　前の10件へ";
  }

  .c-pager .c-pager__button--next span::before {
    content: "次の10件へ　";
  }
}

#cases * {
  box-sizing: border-box;
}
#cases {
  width: 94%;
  margin: 0 auto;
  padding-top: 120px;
}
.the-content {
  margin-top: 50px;
}
.the-content__header {
  font-size: 1.6em;
  font-weight: 400;
}
.the-content__info {
  margin-top: 1em;
  font-size: 14px;
  line-height: 2.4em;
  color: #3a3a3a;
}
.the-content__year::after {
  content: "年";
}
.the-content__cat-item {
  display: inline-block;
  font-size: 14px;
  margin-right: 1em;
}
.the-content__comment-erea {
  margin-top: 1em;
}
.the-content__comment-text {
  font-size: 15px;
  line-height: 2;
  text-align: justify;
}
.the-content__image-list {
  margin-top: 1em;
}
.the-content__image-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 2em;
  text-align: center;
  /* background-color: #efefef; */
}
.the-content__image {
  object-fit: contain;
  height: 100%;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.25);
}
