@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:ital,wght@0,400;1,100;1,300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:ital,wght@0,400;1,100;1,300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap");
img {
  width: 100%;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.7rem;
  line-height: 1.7;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: #333;
}

@media screen and (max-width: 800px) {
  .pc {
    display: none !important;
  }
}

.sp {
  display: none;
}
@media screen and (max-width: 800px) {
  .sp {
    display: block;
  }
}

.c-header {
  display: flex;
  position: fixed;
  align-items: center;
  background-color: rgba(17, 17, 17, 0.3215686275);
  color: #fff;
  width: 100%;
  height: 72px;
  z-index: 100;
}
.c-header__title {
  padding: 16px 80px;
  background-color: #F5F5F5;
  font-weight: bold;
  font-size: 2.4rem;
  color: #333;
}
.c-header__nav {
  height: 100%;
  display: flex;
  align-items: center;
}
.c-header__nav__item {
  font-weight: bold;
  display: block;
  height: 100%;
}
.c-header__nav__item a {
  width: 150px;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: all 0.2s ease-in;
}
.c-header__nav__item a:hover {
  background-color: #9BA8AB;
}

.header {
  position: relative;
}

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.4588235294);
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all 0.4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}

.hamburger__line:nth-of-type(2) {
  top: 23px;
}

.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background-color: #111;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s;
  z-index: 90;
}

.nav.active {
  transform: translateX(0);
}

.nav__list {
  margin: 0;
  padding: 100px 0 0;
  list-style: none;
}

.nav__item {
  padding: 0 20px;
}

.nav__link {
  display: block;
  padding: 15px 0;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.c-footer {
  background-color: #111;
  padding: 60px;
  color: #EAEAEA;
}
@media screen and (max-width: 800px) {
  .c-footer {
    padding: 32px 0;
  }
}
.c-footer__logo {
  font-size: 150px;
  font-weight: bold;
  text-align: center;
}
.c-footer__links {
  display: flex;
  justify-content: center;
  gap: 40px;
}
@media screen and (max-width: 800px) {
  .c-footer__links {
    gap: 0;
    flex-direction: column;
  }
}
.c-footer__links li {
  font-size: 2.4rem;
  font-weight: bold;
  width: 33.3333333333%;
  position: relative;
}
@media screen and (max-width: 800px) {
  .c-footer__links li {
    width: 100%;
  }
}
.c-footer__links li span {
  display: block;
  font-size: 20px;
  font-family: "Playfair Display", serif;
  letter-spacing: 6px;
}
.c-footer__links li::before, .c-footer__links li::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 22px;
  height: 1px;
  background-color: #fff;
  transition: all 0.3s ease-in;
}
.c-footer__links li::before {
  width: 30px;
  z-index: 10;
}
.c-footer__links li::after {
  width: 14px;
  transform-origin: right center;
  transform: translate(0px, 0px) rotate(45deg);
  z-index: 10;
}
.c-footer__links li:hover::before, .c-footer__links li:hover::after {
  right: 15px;
}
.c-footer__links li a {
  color: #333;
  padding: 40px 30px 40px 0;
  width: 100%;
  display: block;
  background-color: #313131;
  color: #EAEAEA;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.c-footer__links li a::after {
  background: #9BA8AB;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.c-footer__links li a:hover::after {
  transform: scale(1, 1);
}
.c-footer__links li:nth-child(2n) a {
  background-color: #575757;
}
.c-footer__copyright {
  text-align: center;
  margin-top: 32px;
}

/*----------------------------
scroll_up ｜下から上へ出現
----------------------------*/
.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1;
}

/*----------------------------
scroll_left ｜左から出現
----------------------------*/
.scroll_left {
  -webkit-transition: 0.8s ease-in-out;
  -moz-transition: 0.8s ease-in-out;
  -o-transition: 0.8s ease-in-out;
  transition: 0.8s ease-in-out;
  transform: translateX(-30px);
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
}

.scroll_left.on {
  opacity: 1;
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  transform: translateX(0);
}

/*----------------------------
scroll_right ｜右から出現
----------------------------*/
.scroll_right {
  -webkit-transition: 0.8s ease-in-out;
  -moz-transition: 0.8s ease-in-out;
  -o-transition: 0.8s ease-in-out;
  transition: 0.8s ease-in-out;
  transform: translateX(30px);
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
}

.scroll_right.on {
  opacity: 1;
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  transform: translateX(0);
}

.timing02 {
  transition-delay: 0.2s;
}

.timing03 {
  transition-delay: 0.3s;
}

.timing04 {
  transition-delay: 0.6s;
}

.timing05 {
  transition-delay: 0.8s;
}

.p-top__hero {
  width: 100%;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/hero.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: #9BA8AB 0px 0px 5px;
}
.p-top__hero__title {
  font-size: 5.6rem;
  font-weight: bold;
  font-family: "Playfair Display", serif;
}
.p-top__hero__desc {
  font-size: 2.4rem;
}
.p-top__contents {
  display: grid;
  padding-top: 160px;
  grid-template-columns: 55% 45%; /* 画像の幅 + 文章の幅 */
  grid-template-rows: 30% 70%; /* 2行構成 */
}
@media screen and (max-width: 800px) {
  .p-top__contents {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 24px;
    gap: 16px;
  }
}
.p-top__contents__image {
  grid-column: 1;
  grid-row: 1/span 2; /* 2行分にまたがる */
}
@media screen and (max-width: 800px) {
  .p-top__contents__image {
    grid-area: 2;
  }
}
.p-top__contents__image img {
  object-fit: cover;
  /* はみ出したいなら高さを固定せずに大きめに */
  height: 100%;
}
.p-top__contents__title {
  grid-column: 2;
  grid-row: 1;
  font-size: 4rem;
  font-weight: bold;
  margin: 0 32px;
  align-self: end;
}
@media screen and (max-width: 800px) {
  .p-top__contents__title {
    grid-area: 1;
    font-size: 3.2rem;
  }
}
.p-top__contents__number {
  font-size: 10rem;
  font-family: "Playfair Display", serif;
}
@media screen and (max-width: 800px) {
  .p-top__contents__number {
    font-size: 6rem;
  }
}
.p-top__contents__text {
  grid-column: 2;
  grid-row: 2;
  margin: 0 32px;
  align-self: end;
  padding-bottom: 24px;
}
@media screen and (max-width: 800px) {
  .p-top__contents__text {
    grid-area: 3;
  }
}
@media screen and (min-width: 801px) {
  .p-top__section:nth-of-type(2n) .p-top__contents {
    grid-template-columns: 45% 55%; /* 画像の幅 + 文章の幅 */
  }
  .p-top__section:nth-of-type(2n) .p-top__contents__title {
    grid-column: 1;
    grid-row: 1;
    font-size: 4rem;
    font-weight: bold;
    align-self: end;
    text-align: right;
  }
  .p-top__section:nth-of-type(2n) .p-top__contents__image {
    grid-column: 2;
    grid-row: 1/span 2; /* 2行分にまたがる */
  }
  .p-top__section:nth-of-type(2n) .p-top__contents__image img {
    object-fit: cover;
    /* はみ出したいなら高さを固定せずに大きめに */
    height: 100%;
  }
  .p-top__section:nth-of-type(2n) .p-top__contents__number {
    font-size: 10rem;
    font-family: "Playfair Display", serif;
  }
  .p-top__section:nth-of-type(2n) .p-top__contents__text {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    padding-bottom: 24px;
  }
}
.p-top__section:nth-of-type(3n + 2) {
  background-color: #F5F5F5;
}
.p-top__section:nth-of-type(3n + 3) {
  background-color: #9BA8AB;
}

.p-company__hero {
  width: 100%;
  height: 30vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/hero-company.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: darken; /* または multiply */
  color: #fff;
  text-shadow: #9BA8AB 0px 0px 5px;
}
.p-company__hero__title {
  font-size: 5.6rem;
  font-weight: bold;
  font-family: "Playfair Display", serif;
}
.p-company__hero__desc {
  font-size: 2.4rem;
}
.p-company__main {
  max-width: 1000px;
  padding: 88px 16px;
  margin: 0 auto;
}
.p-company__title {
  font-size: 3.2rem;
  font-weight: bold;
  border-bottom: solid 2px #F5F5F5;
  position: relative;
}
.p-company__title:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #9BA8AB;
  bottom: -2px;
  width: 20%;
}
.p-company__table {
  margin-top: 40px;
}
@media screen and (max-width: 800px) {
  .p-company__table {
    width: 100%;
  }
}
.p-company__table__th {
  position: relative;
  text-align: left;
  padding: 7px 30px 7px 0;
}
@media screen and (min-width: 801px) {
  .p-company__table__th:after {
    display: block;
    content: "";
    width: 30px;
    height: 2px;
    background-color: #9BA8AB;
    position: absolute;
    top: calc(50% - 1px);
    right: -15px;
  }
}
@media screen and (max-width: 800px) {
  .p-company__table__th {
    display: block;
    width: 100%;
    padding: 0;
    padding: 8px 0 0 0;
  }
}
.p-company__table__td {
  text-align: left;
  padding: 7px 0 7px 30px;
}
@media screen and (max-width: 800px) {
  .p-company__table__td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }
}
@media screen and (max-width: 800px) {
  .p-company__table__tr {
    border-top: 1px solid #ddd;
  }
  .p-company__table__tr:last-child {
    border-bottom: 1px solid #ddd;
  }
}

.p-contact__hero {
  width: 100%;
  height: 30vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/hero-contact.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: darken; /* または multiply */
  color: #fff;
  text-shadow: #9BA8AB 0px 0px 5px;
}
.p-contact__hero__title {
  font-size: 5.6rem;
  font-weight: bold;
  font-family: "Playfair Display", serif;
}
.p-contact__hero__desc {
  font-size: 2.4rem;
}
.p-contact__main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 88px 16px;
}
.p-contact__title {
  font-size: 3.2rem;
  font-weight: bold;
  border-bottom: solid 2px #F5F5F5;
  position: relative;
}
.p-contact__title:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #9BA8AB;
  bottom: -2px;
  width: 20%;
}
.p-contact__table {
  margin-top: 40px;
}
.p-contact__table__th {
  position: relative;
  text-align: left;
  padding: 7px 30px 7px 0;
}
.p-contact__table__th:after {
  display: block;
  content: "";
  width: 30px;
  height: 2px;
  background-color: #9BA8AB;
  position: absolute;
  top: calc(50% - 1px);
  right: -15px;
}
.p-contact__table__td {
  text-align: left;
  padding: 7px 0 7px 30px;
}
.p-contact__form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 800px) {
  .p-contact__form {
    margin-top: 40px;
  }
}
.p-contact__form__Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 800px) {
  .p-contact__form__Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.p-contact__form__Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.p-contact__form__Item__Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 800px) {
  .p-contact__form__Item__Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.p-contact__form__Item__Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 800px) {
  .p-contact__form__Item__Label.isMsg {
    margin-top: 0;
  }
}
.p-contact__form__Item__Label-Required {
  margin-right: 8px;
  padding: 4px 8px;
  display: inline-block;
  text-align: center;
  background: #ff2121;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 800px) {
  .p-contact__form__Item__Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 10px;
  }
}
.p-contact__form__Item-Input {
  border: 1px solid #ddd;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 800px) {
  .p-contact__form__Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.p-contact__form__Item-Textarea {
  border: 1px solid #ddd;
  padding: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 800px) {
  .p-contact__form__Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.p-contact__form__Btn {
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 160px;
  display: block;
  letter-spacing: 0.05em;
  background: #111;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  transition: all 0.2s ease-out;
}
.p-contact__form__Btn:hover {
  background-color: #9BA8AB;
}
@media screen and (max-width: 800px) {
  .p-contact__form__Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
.p-contact .wpcf7-form-control-wrap {
  width: 100%;
  margin-left: 40px;
}
@media screen and (max-width: 800px) {
  .p-contact .wpcf7-form-control-wrap {
    margin-left: 0;
  }
}
.p-contact .wpcf7-response-output {
  background-color: #ff2121;
  color: #fff;
  border: none !important;
}