/* =============================================
共通部分
============================================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Old Mincho", serif;
  line-height: 2;
}

@font-face {
  font-family: "Butler Reg";
  src: url(../fonts/Butler-Free-Med.ttf) format(truetype);
}

/* .noto-serif-jp {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

@keyframes Grad {
  0% {
    /* background-position: 0% 0% */
    background-position: 0% 50%/
  }

  50% {
    background-position: 100% 50%
      /* background-position: 50% 50% */
      /* background-position: 50% 75% */
  }

  100% {
    background-position: 0% 50%
      /* background-position: 0% 100% */
      /* background-position: 100% 100% */
  }
}

.bg-color {
  /* width: 100%;
    height: 100vh; */
  /* background: linear-gradient(270deg, #713694, #0cb1c1); */
  /* background: linear-gradient(to right top, #0cb4d8, #7036bf);
  background-size: 200% 200%;
  animation: Grad 30s ease infinite; */
  /* background-attachment: fixed; */
  background-image: url(../images/home/home-BG_pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main-title {
  font-size: 32px;
  font-weight: normal;
  color: #fff;
  text-align: center;
}

.sub-title {
  display: block;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #fff;
}

.btn {
  margin: 0 auto;
  text-align: center;
}

.btn a {
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #fff;
  background-color: #333;
  border-radius: 0.5rem;
}

a {
  color: #333;
}

.font-bold {
  /* display: block; */
  display: inline-block;
  font-family: "Noto Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin-top: 10px;
}

.detail-btn {
  margin-top: 10px;
}

.detail-btn br {
  display: none;
}

.detail-btn a {
  position: relative;
  color: #fff;
  padding-left: 30px;
  transition: .2s;
}

.detail-btn a:hover {
  opacity: 0.4;
}

.detail-btn a::before,
.detail-btn a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.detail-btn a::before {
  content: '';
  width: 20px;
  height: 20px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
}

.detail-btn a::after {
  content: '';
  left: 8px;
  box-sizing: border-box;
  width: 5px;
  height: 5px;
  border: 5px solid transparent;
  border-left: 5px solid #3072B5;
}

.info-news a {
  position: relative;
  transition: .2s;
}

.info-news a:hover {
  opacity: 0.4;
}

.info-news a::before,
.info-news a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.info-news a::before {
  content: '';
  width: 20px;
  height: 20px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
}

.info-news a::after {
  content: '';
  right: 2px;
  box-sizing: border-box;
  width: 5px;
  height: 5px;
  border: 5px solid transparent;
  border-left: 5px solid #3072B5;
}

.service-img__contents__swiper p::before,
.service-img__contents__swiper p::after {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.service-img__contents__swiper p::before {
  content: '';
  right: 15px;
  bottom: 15px;
  width: 20px;
  height: 20px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #333;
}

.service-img__contents__swiper p::after {
  content: '';
  right: 17px;
  bottom: 20px;
  box-sizing: border-box;
  width: 5px;
  height: 5px;
  border: 5px solid transparent;
  border-left: 5px solid #fff;
}

/* =============================================
header
ロゴ部分
============================================= */

.header-container {
  padding: 30px 0;
  border-bottom: 1px solid #fff;
}

.header-container a {
  text-align: center;
}

.header-container a h1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 250px;
  height: auto;
}

/* =============================================
kv
キービジュアル部分
============================================= */

.kv {
  position: relative;
}

.kv img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  vertical-align: bottom;
}

.kv-text {
  /* font-size: clamp(16px, 2vw, 24px); */
  font-size: 18px;
  font-family: "Butler Reg", sans-serif;
  font-weight: 100;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kv-text br {
  display: none;
}


/* =============================================
info
最新ニュース部分
============================================= */


.info {
  display: flex;
  margin: 0 auto;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.info-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  margin-left: 0 auto;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  border-right: 1px solid #FFFFFF;
}

.info-title br {
  display: none;
}

.info-title h2 {
  font-weight: normal;
  margin: 0 auto;
}

.info-news {
  width: 70%;
  padding: 35px 0;
  padding-left: 40px;
}

.info-news a {
  display: flex;
  color: #FFFFFF;
  align-items: center;
  justify-content: start;
}

.info-news a span {
  padding-right: 40px;
}

/* =============================================
service
サービス部分
============================================= */

.service {
  margin-top: 150px;
  color: #fff;
}

.service-container {
  /* width: 60%; */
  width: 80%;
  margin: 0 auto;
  margin-top: 200px;
}

.service-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.service-wrapper:nth-child(2) {
  margin-top: 200px;
}

.service-contents__title {
  /* width: 70%; */
  text-align: right;
  /* width: 50%;
  height: 500px; */
  width: 500px;
  height: 200px;
  /* margin-top: -9%; */
  /* margin-top: -5.1%; */
  /* margin-top: -4.5%; */
  margin-top: -86px;
}

.service-contents__title img {
  /* width: 70%;
  height: auto; */
  width: 500px;
  height: 200px;
}

/* .service-contents__title {
    position: relative;
    width: 45%;
    font-size: 64px;
    line-height: 1;
    margin-top: -60px;
    text-align: right;
} */

/* .service-contents__title::before {
    content: '';
    position: absolute;
    right: -17px;
    width: 1px;
    height: 200px;
    background-color: #fff;
    transform: rotate(45deg);
} */

.service-contents {
  /* width: 80%; */
  width: 50%;
  margin-left: 80px;
}

.service-contents__subtitle {
  font-size: 30px;
  font-weight: normal;
  margin-bottom: 10px;
}

.service-contents__subtitle br {
  display: none;
}

.service-contents__box--sp {}

.service-contents__btn {
  margin-top: 20px;
}

.service-wrapper__swiper {
  margin-top: 150px;
}

.service-wrapper__swiper .swiper {
  padding-right: 0;
}

.service-img__contents__swiper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
}

.service-img__contents__swiper a {
  height: 320px;
}

.service-wrapper__swiper img {
  width: 450px;
  height: 320px;
  background-color: #fff;
}

.service-img__contents__swiper--kagidoco {
  position: relative;
}

.service-img__contents__swiper--kagidoco--inner {
  background-color: #fff;
  width: 450px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img__contents__swiper--kagidoco img {
  width: 280x;
  height: 200px;
  vertical-align: middle;
}

.service-img__contents__swiper--kagidoco--inner img {
  width: 280px;
}

.service-img__contents__swiper--kagidoco p {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  position: absolute;
  z-index: 10;
  bottom: 0;
  right: 0;
  color: #333;
  padding-bottom: 10px;
  padding-right: 35px;
}

#kagidoco-slide .swiper-wrapper {
  margin-bottom: -230px;
}


/* =============================================
rent-service 
賃貸保証サービス
============================================= */

.rent-service {
  margin-top: 125px;
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #4D4D4D;
  color: #FFFFFF;
  scroll-margin-top: -300px;
}

.rent-service__container {
  width: 70%;
  margin: 0 auto;
  margin-top: 100px;
}

.rent-service__wrapper {
  position: relative;
  /* display: table-cell; */
  /* flex-wrap: wrap; */
  width: 100%;
  /* margin: 50px 0; */
  padding: 50px 0;
}

.rent-service__wrapper::before {
  content: '';
  position: absolute;
  /* top: -25px; */
  top: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

.rent-service__wrapper--last::after {
  content: '';
  position: absolute;
  bottom: -25px;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

/* .rent-service__wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
} */

.rent-service__wrapper dt {
  display: table-cell;
  font-size: 24px;
  width: 30%;
  /* padding-bottom: 20px;
  margin-bottom: 10px; */
  background-color: #4D4D4D;
  vertical-align: middle;
  /* text-align: center; */
  padding-left: 70px;
  line-height: 1.5;
}

.rent-service__wrapper dd {
  display: table-cell;
  width: 60%;
  /* padding-bottom: 20px; */
  padding-right: 20px;
  background-color: #4D4D4D;
  margin-bottom: 10px;
  vertical-align: middle;
}

.rent-service__btn {
  margin-top: 100px;
}

.rent-service__btn a {
  color: #4D4D4D;
  background: #FFFFFF;
  transition: .2s;
}

.rent-service__btn a:hover {
  color: #fff;
  background: #0089E6;
}

/* =============================================
creative-service
クリエイティブサービス
============================================= */

.creative-service {
  color: #fff;
  padding-top: 160px;
  overflow: hidden;
}

.creative-service__container {
  display: flex;
  justify-content: space-around;
  width: 70%;
  margin: 0 auto;
  margin-top: 80px;
  margin-bottom: 80px;
}

.creative-service__wrapper {
  width: 40%;
}

.creative-service__contents {
  margin: 50px 0;
}

.creative-service__btn {
  margin-top: 20px;
  font-size: 14px;
}

.creative-service__btn a {
  width: 20vw;
  height: auto;
  background: transparent;
  border: 2px solid #fff;
  transition: .2s;
}

.creative-service__btn a:hover {
  color: #3362AD;
  background-color: #fff;
}

/* =============================================
swiper
追加のcss
============================================= */

.swiper {
  padding-right: 35%;
}

.creative-service__wrapper--swiper {
  padding-left: 100px;
}

.slide-media {
  /* padding-left: 20px; */
}

.swiper-slide {
  max-width: 100%;
  object-fit: cover;
}

/* 基本は全て非表示 */
.swiper-controller {

}

/* 
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
} */

.swiper-button-prev,
.swiper-button-next {
  transition: .3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  /* color: #3362AD;
  background-color: #fff;
  opacity: .3; */
}

.swiper-button-prev::after,
.swiper-button-prev::before,
.swiper-button-next::after,
.swiper-button-next::before {
  bottom: 13px;
  content: "";
  height: 0;
  margin: auto;
  position: absolute;
  cursor: pointer;
}

.swiper-button-prev::before {
  bottom: 0;
  /* right: 550px; */
  /* right: 750px; */
  /* right: 725px; */
  right: 730px;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  transition: .3s;
}

.swiper-button-prev:hover::before {
  bottom: 0;
  /* right: 550px; */
  /* right: 750px; */
  right: 730px;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background-color: #fff;
}

.swiper-button-prev::after {
  /* right: 559px; */
  /* right: 760px; */
  /* right: 735px; */
  right: 739px;
  width: 20px;
  height: 20px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(225deg);
  transition: .3s;
}

.swiper-button-prev:hover::after {
  /* right: 559px; */
  /* right: 760px; */
  right: 739px;
  width: 20px;
  height: 20px;
  border-top: 2px solid #3362AD;
  border-right: 2px solid #3362AD;
  transform: rotate(225deg);
}

.swiper-button-next::before {
  bottom: 0;
  /* right: 300px; */
  /* right: 400px; */
  right: 390px;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  transition: .3s;
}

.swiper-button-next:hover::before {
  bottom: 0;
  /* right: 300px; */
  /* right: 400px; */
  right: 390px;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background-color: #fff;
}

.swiper-button-next::after {
  /* right: 318px; */
  /* right: 420px; */
  right: 410px;
  width: 20px;
  height: 20px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.swiper-button-next:hover::after {
  /* right: 318px; */
  /* right: 420px; */
  right: 410px;
  width: 20px;
  height: 20px;
  border-top: 2px solid #3362AD;
  border-right: 2px solid #3362AD;
  transform: rotate(45deg);
}

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

.company {
  margin-top: 80px;
  scroll-margin-top: 100px;
}

.company-container {
  width: 70%;
  padding: 50px 0 80px 0;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 50px;
}

.company-title {
  font-size: 32px;
  font-weight: 300;
  text-align: center;
}

.company-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  width: 885px;
  margin: 0 auto;
}


.company-inner {
  /* display: flex; */
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}

.company-margin {
  margin-top: 20px;
}

.company-inner__last {
  display: block;
  /* width: 80%; */
  margin-top: 30px;
  margin-right: auto;
}

.company-wrapper__detail {
  /* display: flex;
    flex-direction: column;
    align-items: center; */
  /* margin-top: 20px; */
}

.company-wrapper__detail dt {
  position: relative;
  /* width: 400px; */
  /* width: 20vw; */
  width: 300px;
}

.company-wrapper__detail dt::before {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 300px;
  width: 270px;
  border-bottom: 1px solid #333;
}

.company-wrapper__detail--last dt::before {
  content: "";
  position: absolute;
  bottom: -5px;
  /* width: 70vw; */
  width: 872px;
  border-bottom: 1px solid #333;
}

.company-wrapper__detail dd {
  margin-top: 10px;
}

.company-btn {
  margin-top: 50px;
}

.company-btn a {
  background: #333333;
  width: 20vw;
  transition: .2s;
}

.company-btn a:hover {
  color: #fff;
  background: #0089E6;
}

/* =============================================
group company 
グループカンパニー部分
============================================= */

.group-company {
  color: #fff;
  margin-top: 80px;
}

.group-company__title {
  position: relative;
  width: 50%;
  margin-left: auto;
  margin-right: 10%;
  /* font-size: 48px;
    width: 80%;
    text-align: right; */
}

.group-company__title img {
  /* width: 100%; */
  width: 460px;
  height: auto;
  margin-left: 250px;
}

.group-company__title::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 1px;
  bottom: 40%;
  left: 0;
  background: #fff;
}

.group-company__title::after {
  content: '';
  position: absolute;
  width: 180%;
  height: 1px;
  bottom: 40%;
  right: 0;
  background: #fff;
}

.group-company__container {
  margin-top: 100px;
  display: flex;
  justify-content: space-around;
}

.group-company__container img {
  width: 35%;
  height: auto;
}

.group-company__wrapper {
  width: 30%;
  margin-top: 50px;
}

.group-company__wrapper p:nth-child(2) {
  margin-top: 30px;
}

.group-company__wrapper p:nth-child(3) {
  margin-top: 30px;
}

.group-company__btn a {
  width: 20vw;
  background: transparent;
  border: 2px solid #fff;
  margin-top: 40px;
  transition: .2s;
}

.group-company__btn a:hover {
  background: #fff;
  color: #3362AD;
}

/* =============================================
footer
フッター部分
============================================= */

.footer-container {
  text-align: center;
  background-color: #4D4D4D;
  margin-top: 100px;
  padding-top: 100px;
  padding-bottom: 20px;
}

.footer-container a {
  display: block;
  padding-bottom: 100px;
}

.footer-wrapper {
  position: relative;
  color: #fff;
  font-weight: 100;
}

.footer-wrapper br {
  display: none;
}

.footer-wrapper span {
  display: block;
}

.footer-company__address {
  font-family: "Noto Serif JP", serif;
  font-weight: lighter;
  font-size: 14px;
}

.footer-compnay__right {
  font-family: "Noto Serif JP", serif;
  font-weight: lighter;
  font-size: 12px;
}

.footer-wrapper span:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50%;
  width: 100%;
  border-bottom: 1px solid #fff;
}

.footer-wrapper span:last-child {
  margin-top: 20px;
}


/* =============================================



ここからレスポンシブ対応です。

タブレット

スマホ



============================================= */

@media screen and (min-width: 1201px) {

  .swiper-wrapper {
    height: 600px;
    width: 100%;
  }

  .creative-service__wrapper--swiper {
    position: relative;
    width: 1280px;
  }

  .swiper-controller {
    display: block;
    position: absolute;
    bottom: 0;
    right: 39%;
    z-index: 999;
  }
}

@media screen and (max-width: 1280px) {
  /* =============================================
  company
  会社概要部分
  ============================================= */

  .company-container {
    padding: 50px 40px;
  }

  .company-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .company-inner {
    display: block;
  }

  .company-margin {
    margin-top: 0;
  }

  .company-wrapper__detail {
    margin-top: 20px;
    width: 100%;
  }

  .company-wrapper__detail dd {
    line-height: 1.3;
    margin-top: 15px;
  }

  .company-wrapper__detail dt::before {
    /* width: 220%; */
    width: 300%;
  }

  .company-wrapper__detail--last dt::before {
    width: 300%;
  }

  .company-wrapper__detail--last dd {
    /* width: 75%; */
    width: 100%;
  }

  .company-btn a {
    width: 80%;
  }

}

@media screen and (max-width: 1200px) {

  /* =============================================
共通部分
============================================= */

  .btn a {
    padding: 20px 40px;
  }

  /* =============================================
info
最新ニュース部分
============================================= */

  .info-news a {
    display: block;
  }

  .info-title {
    line-height: 1.2;
  }

  .info-title br {
    display: block;
  }

  .info-news p {
    padding-right: 30px;
  }

  /* =============================================
service
サービス部分
============================================= */

  .service {
    margin-top: 75px;
  }

  .service-container {
    width: 100%;
    margin-top: 75px;
  }

  .service-wrapper {
    display: block;
    margin: 0 auto;
  }

  .service-wrapper:nth-child(2) {
    margin-top: 75px;
  }

  .service-contents__title {
    /* width: 78%; */
    width: 50%;
    height: auto;
    margin-top: 0;
    margin-left: auto;
    margin-right: 50px;
  }

  .service-contents {
    display: flex;
    /* align-items: center; */
    justify-content: space-around;
    width: 85%;
    margin: 0 auto;
    margin-top: 25px;
  }

  .service-contents__subtitle {
    writing-mode: vertical-rl;
    line-height: 1.3;
  }

  .service-contents__title img {
    width: 70%;
    height: auto;
  }

  .service-contents__subtitle br {
    display: block;
  }

  .service-contents__box--sp {
    margin-left: 50px;
  }

  .service-img__contents__swiper {
    display: block;
    text-align: center;
  }

  .service-img__contents__swiper a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-wrapper__swiper img {
    vertical-align: bottom;
  }

  .service-img__contents__swiper--kagidoco p {
    padding-left: 90px;
    left: 0;
    padding-right: 0;
  }

  .service-img__contents__swiper p::before {
    left: 370px;
    bottom: 12px;
    /* right: 6px; */
  }

  .service-img__contents__swiper p::after {
    /* left: 373px; */
    left: 363px;
    right: 0;
    /* bottom: 8px; */
    bottom: 17px;
  }

  .service-img__contents__swiper--kagidoco--inner {
    /* width: 350px; */
    height: 200px;
  }

  /* =============================================
rent-service
家貸保証サービス部分
============================================= */

  .main-title {
    font-size: 32px;
  }

  .rent-service__container {
    width: 90%;
  }

  .rent-service__container br {
    display: none;
  }

  .rent-service__wrapper dd {
    padding-right: 0;
  }

  .rent-service__wrapper dt {
    display: block;
    font-size: 24px;
    text-align: start;
    width: 100%;
    padding-bottom: 20px;
    padding-left: 0;
  }

  .font-bold {
    display: block;
    font-size: 18px;
  }

  .rent-service__btn a {
    width: 67%;
  }

  /* =============================================
creative-service
クリエイティブサービス部分
============================================= */

  .creative-service {
    padding-top: 80px;
  }

  .creative-service__container {
    width: 80%;
    flex-direction: column-reverse;
  }

  .creative-service__wrapper {
    width: 80vw;
    text-align: center;
  }

  .creative-service__contents {
    margin: 30px 0;
    padding-left: 50px;
    width:50vw;
    align-items: center;
    text-align: left;
  }

  .creative-service__wrapper--swiper {
    position: relative;
    padding-left: 0;
    padding: 0 20px;
  }

  #creative-slide .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    object-fit: cover;
  }

  .swiper {
    padding-right: 0;
    overflow: visible;
  }

  .swiper-controller {
    display: block;          /* モバイル用ボタンを表示 */
  }

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

  /* すべてのサイズ共通 */
  .swiper-button-prev::before,
  .swiper-button-prev::after,
  .swiper-button-next::before,
  .swiper-button-next::after {
    z-index: 999;
  }

  .swiper-button-prev::before,
  .swiper-button-next::before {
    bottom: 50%;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    bottom: 51.1%;
  }


  .swiper-button-prev::before {
    left: -30px;
  }

  .swiper-button-prev:hover::before {
    left: -30px;
    bottom: 50%;
  }

  .swiper-button-prev::after {
    left: -12px;
  }

  .swiper-button-next::before {
    right: -30px;
  }

  .swiper-button-next:hover::before {
    right: -30px;
    bottom: 50%;
  }

  .swiper-button-next::after {
    right: -12px;
  }

  .swiper-button-next:hover::after {
    right: -12px;
  }

  .creative-service__btn a {
    width: 75%;
  }


  /* =============================================
group-company
グループカンパニー部分
============================================= */

  .group-company__container {
    display: block;
    text-align: center;
  }

  .group-company__container img {
    width: 80%;
  }

  .group-company__title img {
    width: 100%;
    margin-left: 0;
  }

  .group-company__wrapper {
    width: 80%;
    margin: 0 auto;
    margin-top: 50px;
  }

  .group-company__text--box {
    display: inline-block;
    /* text-align-last: left; */
    text-align: justify;
  }

  .group-company__btn a {
    width: 80%;
  }

  /* =============================================
footer
フッター部分
============================================= */
  .footer-container {
    padding-top: 150px;
  }

  .footer-container a {
    padding-bottom: 150px;
  }

  .footer-wrapper {
    line-height: 1.5;
  }

  .footer-wrapper br {
    display: block;
  }

  .footer-wrapper span:first-child::before {
    bottom: 27%;
  }

}

@media screen and (max-width: 1000px) {

  .creative-service__contents {
    padding-left: 30px;
    width: 100%;
  }

  .creative-service__wrapper--swiper {
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }

  .swiper-button-prev::before,
  .swiper-button-next::before {
    bottom: 50%;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    bottom: 51.4%;
  }
}

/* 960～1200の間のボタン位置の調整 */
@media screen and (min-width: 960px) and (max-width: 1200px) {

  .swiper-button-prev::before {
    left: -40px !important;   /* 左矢印の丸枠の水平位置 */
  }

  .swiper-button-prev::after {
    left: -20px !important;   /* 左矢印アイコンの水平位置 */
  }
}


@media screen and (max-width: 768px) {

  /* 丸枠の位置調整 */
  .swiper-button-prev::before,
  .swiper-button-next::before {
    bottom: 48% !important;  /* 丸枠の垂直位置 */
  }
  
  .swiper-button-prev::before {
    left: -30px !important;   /* 左矢印の丸枠の水平位置 */
  }
  
  .swiper-button-next::before {
    right: -30px !important;  /* 右矢印の丸枠の水平位置 */
  }
  
  /* 矢印アイコンの位置調整 */
  .swiper-button-prev::after,
  .swiper-button-next::after {
    bottom: 49.8% !important;   /* 矢印を丸枠の中央に配置 */
  }
  
  .swiper-button-prev::after {
    left: -12px !important;   /* 左矢印アイコンの水平位置 */
  }
  
  .swiper-button-next::after {
    right: -12px !important;  /* 右矢印アイコンの水平位置 */
  }
}

/* =============================================



スマホ



============================================= */

@media screen and (max-width: 490px) {

  /* =============================================
共通
============================================= */

  .main-title {
    font-size: 28px;
    line-height: 1.7;
  }

  .detail-btn {
    font-size: 17px;
    line-height: 1.2;
    margin-top: 25px;
  }

  .detail-btn a::before,
  .detail-btn a::after {
    bottom: -4px;
  }

  .detail-btn a::before {
    width: 22px;
    height: 22px;
  }

  .detail-btn a::after {
    left: 9px;
  }

  .bg-color {
    background-image: url(../images/home/home-BG_sp.png);
  }

  /* =============================================
kv
キービジュアル部分
============================================= */

  .header-container {
    padding: 20px 0;
  }

  .logo {
    width: 150px;
  }

  .kv img {
    height: 360px;
  }

  .kv-text br {
    display: block;
  }

  .kv-text {
    width: 95%;
    line-height: 24px;
  }

  .info-title {
    font-size: 12px;
    letter-spacing: 0.01em;
  }

  .info-news {
    padding: 15px 0;
    padding-left: 20px;
  }

  .info-news p {
    padding-right: 30px;
    line-height: 1.5;
  }

  .info-news a::before,
  .info-news a::after {
    /* right: -15px; */
  }

  .info-news a::after {
    /* right: -13px; */
  }


  /* =============================================
service
サービス部分
============================================= */

  .service {
    margin-top: 50px;
  }

  .service-container {
    margin-top: 50px;
  }

  .service-contents__title {
    /* font-size: 48px; */
    width: 60%;
    margin-right: 25px;
  }

  .service-contents {
    width: 90%;
  }

  .service-contents__subtitle {
    margin-top: 5px;
  }

  .service-contents__detail {
    font-feature-settings: "palt";
    text-align: justify;
    line-height: 28px;
  }

  .service-contents__detail br {
    display: none;
  }

  .service-contents__box--sp {
    margin-left: 25px;
  }

  .detail-btn br {
    display: block;
  }

  .detail-btn__adjust {
    padding-left: 25px;
  }

  /* .service-contents__title::before {
        right: 8px;
    } */

  .service-wrapper__swiper img {
    /* width: 300px; */
    width: 340px;
  }

  .service-img__contents__swiper--kagidoco p {
    /* padding-left: 0; */
  }

  .service-img__contents__swiper p::before {
    left: 90%;
    /* bottom: 5px; */
    bottom: 14px;
  }

  .service-img__contents__swiper p::after {
    /* left: 91.5%;
    bottom: 10px; */
    left: 87.9%;
    bottom: 19px;
  }

  .service-img__contents__swiper--kagidoco--inner {
    width: 340px;
    height: 200px;
  }

  .service-img__contents__swiper--kagidoco--inner img {
    width: 200px;
    height: auto;
  }

  .service-img__contents__swiper--kagidoco p {
    padding-left: 40px;
  }


  /* =============================================
rent-service
家貸保証サービス部分
============================================= */

  .rent-service__wrapper {
    padding: 30px 0;
  }

  .rent-service__wrapper dd {
    padding-right: 0;
    font-size: 14px;
  }

  .rent-service__btn a {
    width: 70%;
    font-feature-settings: "palt";
  }

  /* =============================================
creative-service
クリエイティブサービス部分
============================================= */

  .creative-service__contents {
    padding-left: 0;
    align-items: start;
    text-align: left;
    margin: 40px 0;
  }

  .creative-service__wrapper p {
    line-height: 28px;
  }

  .creative-service__container {
    margin-top: 40px;
  }

  .slide-media img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* =============================================
company
会社概要部分
============================================= */

  .company {
    margin-top: 50px;
  }

  .company-container {
    width: 100%;
    padding: 0;
    padding: 70px 0;
  }

  .company-wrapper {
    width: 85%;
  }

  /* .company-wrapper__detail {
        width: 90%;
        padding-left: 5px;
    } */

  .company-wrapper__detail dt::before {
    width: 130%;
  }

  .company-wrapper__detail--last dd {
    width: 100%;
  }

  .company-btn {
    width: 80%;
    margin-top: 40px;
  }

  .company-btn a {
    padding: 20px 30px;
  }

  /* 490px以下のスワイパーボタン調整 */
  
  /* 丸枠の位置調整 */
  .swiper-button-prev::before,
  .swiper-button-next::before {
    bottom: 47% !important;  /* 丸枠の垂直位置 */
  }
  
  .swiper-button-prev::before {
    left: -30px !important;   /* 左矢印の丸枠の水平位置 */
  }
  
  .swiper-button-next::before {
    right: -30px !important;  /* 右矢印の丸枠の水平位置 */
  }
  
  /* 矢印アイコンの位置調整 */
  .swiper-button-prev::after,
  .swiper-button-next::after {
    bottom: 50% !important;   /* 矢印を丸枠の中央に配置 */
  }
  
  .swiper-button-prev::after {
    left: -12px !important;   /* 左矢印アイコンの水平位置 */
  }
  
  .swiper-button-next::after {
    right: -12px !important;  /* 右矢印アイコンの水平位置 */
  }

  /* =============================================
group-company
グループカンパニー部分
============================================= */

  .group-company__title {
    width: 80%;
  }

  .group-company__title::before {
    width: 112.5%;
    bottom: 45%;
  }

  .group-company__title::after {
    bottom: 45%;
  }

  .group-company__container {
    margin-top: 50px;
  }

  .group-company__container img {
    width: 83%;
  }

  .group-company__btn a {
    width: 72%;
  }

}