.p-home {
  /* section */
  /* sub-section */
}

.p-home .l-main {
  margin-top: 0;
}

.p-home .mv {
  position: relative;
}

.p-home .mv__title {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.p-home .intro__wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}

.p-home .intro__x {
  width: 335px;
  margin: -100px 0 50px 70px;
  opacity: 0;
  transition: all 0.8s ease-out;
}

.p-home .intro__x.is-show {
  opacity: 1;
}

.p-home .intro__title {
  text-align: center;
  margin-bottom: 30px;
}

.p-home .section {
  margin-top: 80px;
  padding: 30px 0 10px;
}

.p-home .section .c-button {
  margin-top: 30px;
  max-width: 295px;
}

.p-home .section--gray {
  background-color: #f2f2f2;
}

.p-home .home__container {
  max-width: 470px;
  margin: 0 auto;
}

.p-home .home__image {
  margin: -60px auto 20px;
}

.p-home .home__catch {
  text-align: center;
  margin-bottom: 30px;
}

.p-home .home__decoration {
  font-family: "Shippori Mincho", serif;
  line-height: 1;
  font-size: 6rem;
  color: #ffffff;
  letter-spacing: -0.05em;
  white-space: nowrap;
  text-align: right;
  margin: 10px -5% 0 0;
}

.p-home .section--white .home__decoration {
  color: #f2f2f2;
  text-align: left;
  margin: 10px 0 0 -5%;
}

.p-home .company__box {
  display: flex;
  justify-content: space-between;
}

.p-home .company__link {
  overflow: hidden;
  border-radius: 5px;
  width: calc((100% - 5px) / 2);
  border: 1px solid #000000;
}

.p-home .company__image {
  transition: 0.3s ease-in;
}

.p-home .company__text {
  padding: 12.5px 10px;
  position: relative;
  transition: 0.3s ease-in;
}

.p-home .company__text::after {
  width: 20px;
  height: 3px;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -1.5px;
  background: url("/assets/img/icon_link.svg");
}

.p-home .sub-section .c-title-home {
  padding: 30px 0;
  margin: 0;
}

.p-home .sub-section .c-button {
  margin-top: 30px;
  max-width: 295px;
}

.p-home .news {
  margin-top: 70px;
}

.p-home .news .c-title-home {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.p-home .news-head {
  border-bottom: 1px solid #000000;
  padding-bottom: 30px;
  margin-bottom: 25px;
}

.p-home .news-head .c-title-home {
  border-bottom: none;
  padding-bottom: 20px;
  margin-bottom: 0;
}

.p-home .news--more {
  display: block;
  position: relative;
  width: 120px;
  border-bottom: 1px solid transparent;
  margin: 0 auto;
}

.p-home .news--more::after {
  width: 20px;
  height: 3px;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -1.5px;
  background: url("/assets/img/icon_link.svg");
}

.p-home .news-list {
  padding-bottom: 30px;
  border-bottom: 1px solid #000000;
}

.p-home .news-list__item + .news-list__item {
  margin-top: 24px;
}

.p-home .recruit {
  padding-bottom: 30px;
}

.p-home .recruit__container {
  max-width: 470px;
  margin: 0 auto;
}

.p-home .recruit__image {
  margin-bottom: 30px;
}

.p-home .csr {
  margin-bottom: 120px;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 30px 0;
}

.p-home .csr__image {
  max-width: 470px;
  margin: 0 auto;
}

.p-home .csr__container {
  max-width: 470px;
  margin: 0 auto;
}

@media screen and (min-width: 361px) {
  html, body {
    margin: 0;
  }
}

@media screen and (min-width: 500px) {
  html, body {
    margin: 0;
  }
}

@media screen and (min-width: 768px) {
  html, body {
    margin: 0;
  }
  .p-home .intro__wrapper {
    padding: 70px 0 85px;
  }
  .p-home .intro__wrapper::after {
    width: 484px;
    height: 340px;
    left: calc(50% + 240px);
  }
  .p-home .intro__x {
    width: 484px;
    margin: -160px 0 50px calc(100% - 484px);
  }
  .p-home .intro__title {
    text-align: left;
    margin-bottom: 40px;
  }
}

@media screen and (min-width: 1080px) {
  html, body {
    margin: 0;
  }
  .p-home .intro__x {
    width: 741px;
    margin: -200px 0 0 calc(100% - 484px);
  }
  .p-home .intro__title {
    margin-top: -320px;
  }
  .p-home .intro__text {
    width: 470px;
  }
  .p-home .section {
    margin-top: 160px;
  }
  .p-home .section .c-button {
    max-width: none;
  }
  .p-home .section .c-title-home {
    margin-bottom: 30px;
  }
  .p-home .home__container {
    max-width: none;
    margin: 0;
    display: flex;
  }
  .p-home .home__image {
    margin: -80px 0 0 -210px;
    width: 705px;
  }
  .p-home .home__summary {
    margin-top: 140px;
    width: calc(100% - 495px);
    padding-left: 30px;
  }
  .p-home .home__catch {
    text-align: left;
  }
  .p-home .home__decoration {
    font-size: 12.0rem;
    text-align: right;
    margin: -185px -164px 0 0;
  }
  .p-home .message {
    margin-top: 50px;
  }
  .p-home .company .home__container {
    flex-direction: row-reverse;
  }
  .p-home .company .home__image {
    margin: -80px -210px 0 0;
  }
  .p-home .company .home__summary {
    margin-top: 16px;
    padding-left: 0;
    padding-right: 30px;
  }
  .p-home .company .home__decoration {
    margin-top: -210px;
    margin-left: -164px;
  }
  .p-home .company__box {
    display: flex;
    justify-content: space-between;
  }
  .p-home .company__link {
    overflow: hidden;
    border-radius: 5px;
    width: calc((100% - 5px) / 2);
    border: 1px solid #000000;
  }
  .p-home .company__text {
    padding: 12.5px 10px;
    position: relative;
  }
  .p-home .company__text::after {
    width: 20px;
    height: 3px;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -1.5px;
    background: url("/assets/img/icon_link.svg");
  }
  .p-home .business .home__summary {
    margin-top: 56px;
  }
  .p-home .sub-section + .sub-section {
    padding-top: 60px;
  }
  .p-home .sub-section .c-title-home {
    padding: 0 0 30px;
  }
  .p-home .sub-section .c-title-home--jp {
    font-size: 4.4rem;
  }
  .p-home .sub-section .c-button {
    margin-top: 20px;
    max-width: none;
  }
  .p-home .sub-section .home__catch {
    margin-bottom: 20px;
  }
  .p-home .news {
    display: flex;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    padding: 30px 0;
    margin-top: 160px;
  }
  .p-home .news .c-title-home {
    border-top: none;
    border-bottom: none;
    padding: 0;
  }
  .p-home .news-head {
    width: 220px;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .p-home .news--more {
    margin: 0;
  }
  .p-home .news-list {
    width: calc(100% - 220px);
    padding-left: 50px;
    padding-bottom: 0;
    border-bottom: none;
    border-left: 1px solid #000000;
  }
  .p-home .recruit__container {
    display: flex;
    justify-content: space-between;
    max-width: none;
    margin: 0;
  }
  .p-home .recruit__image {
    width: 470px;
  }
  .p-home .recruit__summary {
    width: 470px;
  }
  .p-home .csr {
    margin-bottom: 150px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .p-home .csr .c-title-home {
    padding-bottom: 20px;
  }
  .p-home .csr__image {
    max-width: 470px;
    margin: 0 auto;
  }
  .p-home .csr__container {
    max-width: 470px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1280px) {
  html, body {
    margin: 0;
  }
  .p-home .mv__title {
    width: 1280px;
    height: 700px;
  }
  .p-home .mv__image img {
    object-fit: cover;
    width: 100%;
    height: 700px;
    object-position: center center;
  }
}

@media screen and (min-width: 1920px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 360px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  html, body {
    margin: 0;
  }
  .p-home .l-footer-bottom {
    padding-bottom: 95px;
  }
}

@media screen and (max-width: 1079px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 1279px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 1919px) {
  html, body {
    margin: 0;
  }
}

@media (hover: hover) {
  .p-home .company__link:hover {
    border-color: #005bac;
  }
  .p-home .company__link:hover .link--image {
    opacity: 0.5;
  }
  .p-home .company__link:hover .company__text {
    color: #ffffff;
    background-color: #005bac;
  }
  .p-home .company__link:hover .company__text::after {
    width: 20px;
    height: 3px;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -1.5px;
    background: url("/assets/img/icon_link_white.svg");
  }
  .p-home .news--more:hover {
    color: #005bac;
    border-bottom: 1px solid #005bac;
  }
  .p-home .news--more:hover::after {
    width: 20px;
    height: 3px;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -1.5px;
    background: url("/assets/img/icon_link_blue.svg");
  }
  .p-home .news-list__link:hover .news-list__time {
    color: #005bac;
  }
  .p-home .news-list__link:hover .news-list__text {
    color: #005bac;
    text-decoration: underline;
  }
}
