:root {
	--color-text-normal: #151515;
  --color-text-weak: #7a7a7a;
  --color-white: #ffffff;
  --color-service-bg: #f1efec;
  --color-contact-bg: #393938;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semi-bold: 600;
  --font-weight-bold: 700;
  --font-family-normal: 'Shippori Mincho', serif;
  --font-family-hero: 'Zen Antique', serif;
  --font-family-italic: 'DM Serif Text', serif;
  --base-line-height: 1.8;
  --header-height-sp : 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text-normal);
  font-family: var(--font-family-normal);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.03em;
  line-height: var(--base-line-height);
  background: url(images/footer-nav-bg.jpg);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 50px 50px 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.header.active {
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 50px;
  animation: fadeIn 0.5s;
  align-items: center;
}

.header.active .header-logo {
  width: 167px;
  height: auto;
}

.header.active .header-nav-item-link {
  padding-top: 10px;
  color: var(--color-text-normal);
}

.header.active .header-nav-item-link::after {
  background: var(--color-text-normal);
}

.header-logo-image {
  display: block;
}

.header-nav-switcher {
  display: none;
}

.header-nav-items {
  display: flex;
}

.header-nav-item + .header-nav-item {
  margin-left: 70px;
}

.header-nav-item-link {
  display: block;
  position: relative;
  overflow: hidden;
  font-size: 17px;
  color: var(--color-white);
  font-weight: var(--font-weight-semi-bold);
  padding-bottom: 5px;
}

.header-nav-item-link::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width 0.25s ease;
}

.header-nav-item-link:hover::after {
  left: 0;
  width: 100%;
}

.main-contents-wrapper {
  position: relative;
  z-index: 15;
  margin-top: 100vh;
}

.hero-image-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
}

.hero-image-contents {
  position: relative;
  height: 100vh;
}

.hero-image-catch-container {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 136px;
  writing-mode: vertical-rl;
  opacity: 1;
}

.hero-image-catch {
  opacity: 0;
}

.hero-image-sub-catch {
  position: absolute;
  z-index: 20;
  left: calc(50% + 280px);
  top: 50%;
  transform: translateY(calc(-50% - 5px));
  display: grid;
  grid-template-areas: "catch-third catch-second catch-first";
  column-gap: 20px;
  width: auto;
}

.hero-image-sub-catch-text {
  opacity: 0;
  writing-mode: vertical-rl;
  font-size: 34px;
  color: var(--color-white);
  letter-spacing: 0.2em;
}

.hero-image-sub-catch-text.active,
.hero-image-catch.active {
  opacity: 1;
}

.hero-image-sub-catch .active:nth-child(1) {
  animation: fadeIn 3s;
  grid-area: catch-first;
}

.hero-image-sub-catch .active:nth-child(2) {
  animation: fadeIn 5s;
  grid-area: catch-second;
}

.hero-image-sub-catch .active:nth-child(3) {
  animation: fadeIn 7s;
  grid-area: catch-third;
}

.hero-image-catch-container .active {
  animation: fadeIn 8s;
}

.hero-image-scroll {
  position: absolute;
  font-family: var(--font-family-italic);
  font-size: 14px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 20;
  height: 100px;
  color: var(--color-white);
}

.hero-image-scroll::before {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  margin: 0 auto;
  top: 40px;
  bottom: auto;
  left: 50%;
  height: 60px;
  background: var(--color-white);
  transform: translateX(-50%);
  transition: height 0.6s cubic-bezier(.96,.46,.04,.89);
}

.hero-image-scroll.active::before {
  bottom: 0;
  top: auto;
  height: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  15% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-slide img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.heading {
  font-size: 30px;
  text-align: center;
}

.heading h2 {
  letter-spacing: 0.06em;
}

.heading small {
  display: block;
  font-size: 14px;
  color: var(--color-text-weak)
}

.about {
  padding: 90px 0 100px;
  text-align: center;
  background: var(--color-white);
}

.about h3 {
  margin-top: 70px;
  font-size: 24px;
  line-height: 2;
}

.about p {
  margin-top: 40px;
  font-size: 16;
  font-weight: var(--font-weight-semi-bold);
}


.service {
  padding: 90px 0 100px;
  background: url(images/footer-nav-bg.jpg) 0 0;
}

.service-content {
  position: relative;
  display: flex;
  height: 540px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 70px;
  margin-top: 40px;
  background-repeat: no-repeat;
  background-position: 0 0;
}

.service-content::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  opacity: 0;
}


.service-content.active::before {
  animation: fadeIn 1s;
  opacity: 1;
}

.service-content:first-child {
  margin-top: 50px;
}

.service-content.land::before {
  background-image: url(images/land.jpg);
  background-position: 0 0;
}

.service-content.estate {
  background-position: right 0;
  flex-direction: row-reverse;
}

.service-content.land p {
  margin-left: 300px;
}

.service-content.estate .service-content-title {
  margin-left: 300px;
}

.service-content.estate::before {
  background-image: url(images/estate.jpg);
  background-position: right 0;
}

.service-content h3 {
  writing-mode: vertical-rl;
  background: var(--color-white);
  font-size: 40px;
  font-weight: var(--font-weight-regular);
  padding: 10px 0;
  letter-spacing: 0.2em;
}

.service-content-title {
  display: flex;
  position: relative;
  align-items: flex-start;
}

.service-content-title small {
  position: relative;
  writing-mode: vertical-rl;
  transform-origin: left top;
  font-size: 14px;
  color: var(--color-white);
  margin-left: 20px;
  letter-spacing: 0.2em;
  display: flex;
  padding-top: 100px;
  line-height: 1;
}

.service-content-title small::before {
  content: "";
  display: block;
  position: absolute;
  left: 7px;
  top: 0;
  height: 1px;
  background: #fff;
  width: 80px;
  transform: rotate(90deg);
  transform-origin: left top;
}

.service-content p {
  font-size: 14px;
  line-height: 30px;
  background: var(--color-white);
  padding: 0 50px;
  max-width: 600px;
  height: 400px;
  display: grid;
  place-items: center;
  position: relative;
}

.company {
  padding: 80px 0 90px;
  background: var(--color-white);
}

.company-info-table {

  max-width: 600px;
  margin: 35px auto 0;
  display: grid;
  column-gap: 70px;
  grid-template-columns: 160px 1fr;
  letter-spacing: 0.08em;
  line-height: 50px;
}

.company-info-table dt {
  text-align: right;
}

.company-sdgs {
  text-align: center;
  margin-top: 90px;
}

.company-sdgs-text h3 {
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  margin-top: 33px;
}

.company-sdgs-text p {
  font-weight: var(--font-weight-medium);
  font-size: 14px;
  margin-top: 25px;
}

.privacy + .contact {
  margin-top: 100px;
}

.contact {
  padding: 50px 0;
  background: var(--color-contact-bg);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  letter-spacing: 0.1em;
  position: relative;
}

.contact-title {
  padding-right: 100px;
  border-right: 1px solid var(--color-white);
  align-self: center;
  padding: 44px 100px 44px 0;
  font-weight: var(--font-weight-semi-bold);
}

.contact-tel,.contact-mail {
  padding-left: 100px;
  line-height: 50px;
  font-weight: var(--font-weight-regular);
  font-size: 24px;
}


.contact-tel-number {
  font-size: 24px;
}

.footer {
  position: relative;
  padding-top: 30px;
  background: url(images/footer-nav-bg.jpg) 0 0;
}

.footer-contents {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-nav-items {
  display: flex;
}

.footer-nav-item + .footer-nav-item {
  margin-left: 30px;
}

.footer-nav-item-link {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.1em;
}

.footer-nav-item-link:hover {
  text-decoration: underline;
}

.copyright {
  padding: 20px 0;
  margin-top: 70px;
  border-top: 1px solid #7a7a7a;
  font-size: 12px;
  font-weight: var(--font-weight-regular);
}

.pagetop {
  position: fixed;
  display: block;
  bottom: 50px;
  right: 50px;
  z-index: 20;
  transition: opacity 0.3s;
}

.pagetop:hover {
  opacity: 0.8;
}

.sp-br {
  display: none;
}

.pc-br {
  display: inline;
}

.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

.page {
  padding-top: 160px;
}

.page-content {
  max-width: 1000px;
  margin: 35px auto 0;
  background: var(--color-white);
  padding: 35px 30px;
}

.privacy h2 {
  letter-spacing: 0.15em;
}

.privacy h3 {
  font-size: 18px;
  font-weight: var(--font-weight-semi-bold);
  margin-top: 50px;
}

.privacy p {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
}

.privacy h3 + p {
  margin-top: 20px;
}


@media screen and ( max-width: 1000px) {
  .header-logo-image {
    width: 80px;
    height: auto;
  }

  .header {
    padding: 0 0 0 15px;
  }

  .header.active {
    padding-left: 15px;
    padding-right: 0;
    height: var(--header-height-sp);
    justify-content: space-between;
  }

  .header-logo {
    position: relative;
    padding-top: 15px;
    z-index: 30;
  }

  .header.active .header-logo {
    padding-top: 0;
  }

  .header.active .header-logo-image {
    width: 136px;
  }

  .header-nav {
    opacity: 0;
    visibility: hidden;
    transition: .4s opacity ease-out,  .4s visibility ease-out;
  }

  .header-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .header.active .header-nav-switcher,
  .header-nav-switcher.active {
    background: var(--color-text-normal);
  }

  .header-nav-switcher {
    position: relative;
    width: var(--header-height-sp);
    height: var(--header-height-sp);
    display: grid;
    row-gap: 10px;
    grid-template-rows: 1px 1px;
    align-content: center;
    justify-content: flex-end;
    justify-items: flex-end;
    padding: 0 10px;
    z-index: 30;
    transition: 0.4s;
  }

  .header-nav-switcher::before,
  .header-nav-switcher::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-white);
    transition: 0.4s;
  }

  .header-nav-switcher::after {
    width: 30px;
  }

  .header-nav-switcher.active {
    row-gap: 0;
  }

  .header-nav-switcher.active::before {
    transform: rotate(-45deg);
    transform-origin: center;
  }

  .header-nav-switcher.active::after {
    transform: rotate(45deg);
    transform-origin: center;
    width: 40px;
  }


  .header-nav {
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    z-index: 20;
    padding-top: var(--header-height-sp);
  }

  .header-nav-items {
    flex-flow: column;
    margin: 0 35px;
  }

  .header-nav-item + .header-nav-item {
    margin-left: 0;
  }

  .header-nav-item-link {
    color: var(--color-text-normal);
    font-size: 20px;
    height: 80px;
    font-weight: var(--font-weight-bold);
    padding-top: 30px!important;
    border-bottom: 1px solid #000;
    padding-bottom: 0!important;
  }

  .header-nav-item-link::before {
    display: none;
  }

  .header-nav-item-link::after {
    background: transparent!important;
    right: 10px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #7a7a7a;
    border-right: 2px solid #7a7a7a;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: none;
    bottom: 25px;
  }

  .header-nav-item-link:hover::after {
    background: transparent!important;
    right: 10px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #7a7a7a;
    border-right: 2px solid #7a7a7a;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: none;
    bottom: 25px;
    left: auto;
  }

  .hero-image-contents {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    max-height: none;
  }

  .hero-images {
    height: 100%;
    width: 100%;
  }

  .hero-image-catch-container {
    transform: translate(-100%, calc(-50% + 65px));
  }

  .hero-image-catch {
    font-size: 80px;
    letter-spacing: -0.04em;
  }

  .hero-image-sub-catch {
    column-gap: 0;
    left: 50%;
    transform: translateY(calc(-50% + 20px));
  }

  .hero-image-sub-catch-text {
    font-size: 28px;
  }

  .main-contents-wrapper {
    margin-top: calc(var(--vh, 1vh) * 100);
  }

  .about {
    padding: 65px 15px;
  }

  .about h3 {
    margin-top: 50px;
  }

  .service {
    padding: 60px 0;
  }

  .service-content {
    flex-flow: column;
    background-size: 100% auto;
    padding-top: 0;
    height: auto;
  }

  .service-content:first-child {
    margin-top: 20px;
  }

  .service-content p {
    height: auto;
    padding: 40px 20px;
    margin: 20px 15px 0!important;
  }

  .service-content.estate {
    flex-direction: column;
  }

  .service-content::before {
    background-size: 100% auto;
  }

  .service-content.land::before {
    background-position: 0 60px;
  }

  .service-content.estate::before {
    background-position: right 100px;
  }

  .service-content-title {
    padding-left: 15px;
    padding-right: 15px;
  }

  .service-content.land .service-content-title > * {
    height: 218px;
  }

  .service-content.estate .service-content-title > * {
    height: 266px;
  }

  .service-content.land .service-content-title h3 {
    flex-direction: column;
  }

  .service-content.estate .service-content-title {
    justify-content: flex-end;
    margin-right: 15px;
    width: 100%;
  }

  .service-content.estate .service-content-title {
    margin-left: 0;
  }

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

  .company-sdgs-logo {
    padding-left: 20px;
    padding-right: 20px;
  }

  .company-sdgs-logo img {
    width: 100%;
    height: auto;
  }

  .company {
    padding-right: 15px;
    padding-left: 15px;
  }

  .contact {
    display: block;
  }

  .company {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .company-info-table {
    display: block;
    line-height: inherit;
  }

  .company-info-table dt {
    text-align: left;
  }

  .company-info-table dd + dt {
    margin-top: 20px;
  }

  .contact {
    padding: 50px 35px;
  }

  .contact-title {
    padding: 0;
    border: 0;
  }

  .contact-mail,
  .contact-tel {
    width: 100%;
    padding: 0;
    margin-top: 25px;
  }

  .contact-mail {
    font-size: 18px;
  }

  .footer-nav-items {
    flex-flow: column;
  }

  .footer-nav-item {
    margin-top: 15px;
  }

  .footer-nav-item + .footer-nav-item {
    margin-left: 0;
  }

  .footer-nav {
    padding-left: 35px;
    padding-right: 35px;
  }

  .copyright {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 50px;
  }

  .pagetop {
    bottom: 20px;
    right: 20px;
  }

  .sp-br {
    display: inline;
  }

  .pc-br {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }

  .page-content {
    margin-left: 15px;
    margin-right: 15px;
    padding: 35px 20px;
  }

  .page {
    padding-top: 130px;
  }
}

/*
TODO

個人情報保護方針
meta ogp
favicon

*/
