/*
	Layout
-------------------------------------------------- */
/*
	Case-studies
-------------------------------------------------- */
.p-sap-hb {
  background: #000;
  color: #fff;
  padding: 1rem;
  font-size: 2rem;
}

.p-sap-hg {
  background: #dad9d6;
  color: #000;
  padding: 1rem;
  font-size: 2.3rem;
  margin-bottom: 3rem;
}

@media screen and (max-width: 480px) {
  .p-sap-hg {
    font-size: 2rem;
  }
}

.p-sap-hg2 {
  background: #ccc;
  color: #000;
  padding: 1rem;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.p-casestudy-kv {
  width: 100%;
  margin: auto;
  overflow: hidden;
  margin-top: 1rem;
}

.p-casestudy-kv h1 {
  position: relative;
  height: 400px;
}

.p-casestudy-kv h1 img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: none;
}

.p-casestudy-kv h1 .p-title {
  display: block;
  position: absolute;
  color: #3d3d3d;
  font-size: 3.2rem;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -10%);
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 25px #fff;
  width: 800px;
  max-width: 100%;
}

@media only screen and (max-width: 767px) {
  .p-casestudy-kv h1 {
    height: 400px;
  }
  .p-casestudy-kv h1 .p-title {
    font-size: 3rem;
  }
  .p-casestudy-kv h1 .p-title span {
    display: block;
  }
  .p-casestudy-kv h1 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media only screen and (max-width: 480px) {
  .p-casestudy-kv h1 .p-title {
    font-size: 2.4rem;
  }
}

.p-sap-tbl.tbl-a {
  table-layout: auto;
}

.p-sap-tbl.tbl-a thead, .p-sap-tbl.tbl-a th {
  background: #dad9d6;
  text-align: left;
}

.p-sap-tbl.tbl-a td:first-child {
  font-weight: 700;
  width: 30%;
}

.p-sap-tbl.tbl-a td:last-child {
  width: 70%;
}

.p-box-2col {
  display: flex;
  padding: 2rem;
  justify-content: space-around;
}

@media screen and (max-width: 768px) {
  .p-box-2col {
    display: block;
    padding: 0;
  }
}

.p-box-2col > div {
  width: 48%;
}

@media screen and (max-width: 768px) {
  .p-box-2col > div {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .p-box-2col > div:first-child {
    margin-bottom: 2rem;
  }
}

.p-list-casestudy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #dad9d6;
  padding: 2rem;
}

.p-list-casestudy dt, .p-list-casestudy dd {
  background: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
}

.p-list-casestudy dt {
  display: flex;
  align-items: center;
  width: calc(100% / 2 - 35px);
  min-height: 80px;
  position: relative;
}

.p-list-casestudy dt span:first-child {
  min-width: 50px;
  height: 50px;
  background: #a30b1a;
  display: inline-block;
  color: #fff;
  font-size: 3rem;
  text-align: center;
  margin-right: 2rem;
}

.p-list-casestudy dd {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(100% / 2 - 35px);
  min-height: 80px;
}

.p-list-casestudy dd:before {
  position: absolute;
  left: -53px;
  top: 0;
  width: 40px;
  height: 100%;
  content: "";
  background: url(/jp/imagesgig5/arrow_grey_tcm102-4159236_tcm102-2750236-32.png) no-repeat center;
}

@media only screen and (max-width: 900px) {
  .p-list-casestudy dd, .p-list-casestudy dt {
    width: 100%;
    margin-bottom: 4rem;
  }
  .p-list-casestudy dd:before {
    top: -38px;
    height: 36px;
    transform: rotate(90deg);
    right: 0;
    left: 0;
    margin: auto;
  }
  .p-list-casestudy dd {
    padding-left: 5.5em;
  }
}

.p-box-3col {
  display: flex;
  padding: 2rem;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .p-box-3col {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .p-box-3col {
    display: block;
    padding: 0;
  }
}

.p-box-3col li {
  width: calc( 100% / 3 - 4rem);
}

.p-box-3col li:not(:last-child) {
  margin-left: 2rem;
}

@media screen and (max-width: 768px) {
  .p-box-3col li {
    width: calc( 100% / 2 - 1rem);
  }
  .p-box-3col li:not(:last-child) {
    margin-bottom: 3rem;
    margin-left: 1rem;
  }
}

@media screen and (max-width: 768px) and (max-width: 480px) {
  .p-box-3col li:not(:last-child) {
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .p-box-3col li {
    width: 100%;
    margin-bottom: 2rem;
  }
}

.p-box-3col li a {
  display: block;
  text-decoration: none;
  max-width: 300px;
  margin: 0 auto;
}

.p-box-3col li a:hover img {
  opacity: .8;
}

.p-box-3col li a img {
  margin-bottom: 1rem;
}

/*
	Button
-------------------------------------------------- */
.p-btn-2col {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .p-btn-2col {
    display: block;
  }
}

.p-btn-2col > li:first-child {
  margin-right: 6rem;
}

@media screen and (max-width: 768px) {
  .p-btn-2col > li:first-child {
    margin-right: 0;
    margin-bottom: 2rem;
  }
}

.p-btn-2col .lyt-btn-a > li {
  width: 100%;
}

@media screen and (max-width: 480px) {
  .p-btn-2col .lyt-btn-a > li {
    width: auto;
  }
}

@media only screen and (max-width: 900px) {
  .p-btn-2col .c-btn-video {
    font-size: 2.3rem;
    min-width: auto;
    padding: 10px 24px;
    width: 100%;
  }
  .p-btn-2col .c-btn-video span {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .p-btn-2col .c-btn-video {
    font-size: 2rem;
  }
}

/*
	Utility
-------------------------------------------------- */
.u-bg-c {
  background: #f3f3f3 !important;
}

.u-fw-n {
  font-weight: normal !important;
}

.u-ta-l {
  text-align: left !important;
}

.u-va-m {
  vertical-align: middle !important;
}

.u-ml-5px {
  margin-left: 5px !important;
}
