@charset "utf-8";
/*
  File Name   : purpose.css
  Description : 企業理念
*/
/* kv
============================================================ */
/* .com-section-kv,
.com-section-kv-main-img,
.com-section-kv-main-img-block:after {
  height: 360px;
} */
.purpose_sebopego {
  text-align: center;
  top: -71px;
  position: relative;
}
.com-section-kv-main-img-block:after {
  background: none;
}
.philosophy-fv {
  background-image: url(../img/purpose/KV.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 67px;
}
/* main
============================================================ */
.philosophy-main {
  margin-top: 96px;
}
.philosophy-mai__top {
  padding-bottom: 190px;
  position: relative;
}
.philosophy-mai__top::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 28%;
  width: 100%;
  background-color: #e4edf2;
  z-index: -1;
}
.philosophy-main__box {
  width: 50.21%;
  margin-inline: auto;
  padding: 70px 30px;
  border: solid 1px #b7b7b7;
  background: #ffff;
  box-shadow: 0px 0px 6px 0px #9a9a9a;
}
.philosophy-main__box-ttl {
  text-align: center;
  font-size: 42px;
  color: #0c588c;
  position: relative;
}
.philosophy-main__box-ttl::after {
  content: "";
  position: absolute;
  width: 32px;
  background: #23455c;
  height: 2px;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.philosophy-main__box-bottom {
  margin-top: 36px;
  text-align: center;
}
.philosophy-main__box-purpose {
  display: inline-block;
  color: #0c588c;
  font-size: 19px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.philosophy-main__box-purpose::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: #cbe2f2;
  z-index: -1;
}
.philosophy-main__box-purpose span {
  display: inline-block;
  margin-right: 20px;
  font-family: "Josefin_Sans variant0", Tofu;
}
.philosophy-main__box-txt {
  text-align: center;
  color: #23455c;
  margin-top: 40px;
  font-size: 17px;
  font-weight: 600;
}
.philosophy-main__img-wrapper {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  position: relative;
  margin-top: 76px;
}
.philosophy-main__img {
  aspect-ratio: 400/330;
}
.philosophy-main__img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.philosophy-main__catchphrase {
  margin-top: 70px;
}
.philosophy-main__catchphrase h2 {
  font-size: 20px;
  text-align: center;
}
.philosophy-main__style {
  font-size: 28px;
}
.blue {
  color: #0c588c;
}
.blue-light {
  color: #2a82bd;
}
.philosophy-mai__bottom {
  position: relative;
  margin: 40px 0 0 0;
}
.philosophy-mai__bottom::after {
  position: absolute;
  content: "";
  background-image: url(../img/purpose/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  bottom: 0;
  z-index: -2;
}
.philosophy-main__txt {
  padding-top: 130px;
  padding-bottom: 180px;
}
.philosophy-main__txt-head {
  font-size: 20px;
}
.philosophy-main__txt-main {
  margin-top: 68px;
  font-size: 15px;
  line-height: calc(31 / 15);
}
/* link 250502追加
============================================================ */
.philosophy-mai__link_contents {
  position: relative;
  margin: 200px 0 0 0;
}
.philosophy-mai__link_contents_gratxt {
  background-image: url(../img/purpose/link_contents_bg.jpg);
  background-size: cover;
  max-width: 600px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
}
.philosophy-mai__link_contents__txt-head {
  text-align: center;
  padding: 7% 0 9% 0;
  color: #fff;
  line-height: 2.75rem;
  font-size: 16px;
  margin: 0 0 9% 0;
}
.philosophy-mai__link_contents__img {
  margin: 0 auto;
  max-width: 645px;
}
.philosophy-mai__link_contents__img img{
  max-width: 645px;
}
.philosophy-mai__link_contents__linkbnr {
  margin: 40px 0 0 0;
}
.philosophy-mai__link_contents__linkbnr a {
  display: block;
  background-color: #FFF;
  border: solid 1px #003563;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 20px;
  font-weight: bold;
  color: #003563;
  text-align: center;
  width: 320px;
  margin: 0 auto;
  padding: 10px 20px 10px;
  position: relative;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  font-family: "Noto Sans Japanese", sans-serif;
}

.philosophy-mai__link_contents__linkbnr a:hover {
    text-decoration: none;
    background-color: #003563;
    color: #fff;
}
/* sp Purpose index
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .philosophy-main__box {
    width: 90%;
    padding: 40px 20px;
  }
  .philosophy-main__img-wrapper {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    margin-top: 42px;
  }
  .philosophy-main__catchphrase {
    margin-top: 34px;
  }
  .content {
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    margin: 0 auto -170px auto;
    padding: 30px;
  }
  .content__container {
    padding: 0;
  }
  .philosophy-main__txt {
    padding-bottom: 40px;
  }
.philosophy-mai__middle{
		    margin: 28% 0 0 0;
	}
	.purpose_sebopego {
  text-align: center;
  top: -194px;
  position: relative;
}
	.philosophy-mai__link_contents {
  position: relative;
  margin: 20px 0 0 0;
}
	.mai__link_contents__img img {
  max-width: 357px;
}
}