@charset "utf-8";

/* ---------------------------------------------------
common
--------------------------------------------------- */

:root {
  --white: #fff;
  --brown: #8e7e6d;
  --light-brown: #dbd3cc;
  --black: #3c3c3c;
  --grey: #c6c6c6;
  --light-yellow: #f2f2ed;
  --font-size16: min(16 / 1420 * 100vw, 16px);
}

html { scroll-behavior: smooth;}

body {
  width: 100%;
  overflow-x: clip;
  color: var(--black);
}

body.active {
  overflow: hidden;
}

p,
a,
li,
h2 {
  color: var(--black);
}

/* main {
  overflow: hidden;
} */

.inner {
  position: relative;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}

.middle-inner {
  position: relative;
  max-width: 1420px;
  width: 90%;
  margin: 0 auto;
}

.contents {
  margin-bottom: 160px;
}

.btn-brown {
  display: inline-block;
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--brown);
  border: 1px solid var(--brown);
  color: var(--white);
  border-radius: 30px;
  padding: 11px 70px 11px 40px;
}

.btn-brown:hover {
  opacity: 1;
  color: var(--brown);
  background: var(--white);
}

.btn-brown::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  background: url(../../image/common/white-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

.btn-brown:hover::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

.tag-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--light-yellow);
  border: 1px solid var(--light-yellow);
  color: var(--brown);
  border-radius: 30px;
  text-align: left;
  padding: 11px 30px 11px 40px;
  letter-spacing: 0;
}

.tag-btn span {
  font-size: 1.2rem;
}

.tag-btn:hover,
.tag-btn:active {
  opacity: 1;
  color: var(--brown);
  border: 1px solid var(--brown);
  background: var(--white);
}

.tag-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
  pointer-events: none;
}

.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

@media screen and (max-width: 767px) {
  body {
    min-width: 420px;
  }

  .contents {
    margin-bottom: 100px;
  }

  .tag-btn {
    padding: 11px 30px 11px 20px;
  }

  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
}

/* ---------------------------------------------------
header
--------------------------------------------------- */

header {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 130px;
  z-index: 10;
}

header.active {
  position: fixed;
}

#header .logo {
  margin-left: 2%;
  position: relative;
  z-index: 101;
}

#header .logo a {
  display: block;
}

#header .nav-content {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 110px;
  width: 100vw;
  min-width: 420px;
  min-height: 100vh;
  height: 100%;
  background: var(--brown);
  overflow: auto;
  translate: 0 -100%;
  transition: all 0.8s;
  z-index: 100;
}

#header .nav-content.active {
  translate: 0 0%;
}

#header .nav-content nav {
  padding-top: 85px;
}

#header .nav-content .nav-list {
  max-width: 220px;
  width: 90%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

#header .nav-content a {
  color: var(--white);
  font-size: 2rem;
  font-family: "Shippori Mincho";
}

#header .nav-content > li:nth-child(7) {
  margin-bottom: 20px;
}

#header .nav-content .nav-company {
  position: relative;
  z-index: 10;
  color: var(--white);
  font-size: 2rem;
  font-family: "Shippori Mincho";
  cursor: pointer;
}

#header .nav-content .nav-company p {
  color: var(--white);
}

#header .nav-content .nav-company a {
  width: 100%;
  display: block;
  position: relative;
}

#header .nav-content .nav-company span {
  content: "";
  position: absolute;
  top: 15px;
  right: 0;
  translate: 0 -50%;
  background: url(../../image/common/white-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 20px;
  height: 30px;
  transform: rotate(90deg);
  z-index: 11;
  cursor: pointer;
  pointer-events: none;
}

#header .nav-content .nav-company.open span {
  transform: rotate(-90deg);
}

/* ドロップメニュー */

#header .nav-content .nav-company .nav-drop {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  padding-left: 10px;
  padding-bottom: 10px;
  transform: scaleY(0);
  transform-origin: center top;
  transition: all 0.3s;
}

#header .nav-content .nav-company.open .nav-drop {
  display: flex;
  transform: scaleY(1);
  transition: transform 0.3s;
}

#header .nav-content .drop-menu-list a::after {
  content: "";
  background: none;
}

#header .nav-content .nav-btn {
  max-width: 220px;
  width: 90%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

#header .nav-content .nav-btn a {
  text-align: center;
  font-size: 1.6rem;
  padding: 5px 0;
  border: 1px solid var(--white);
  border-radius: 30px;
  font-family: initial;
}
/* 
#header .nav-content .flex-content {
  max-width: 330px;
  width: 100%;
  margin-inline: auto;
  margin-bottom: 40px;
}

#header .nav-content .flex-content ul {
  display: grid;
  grid-template-columns: 40% 30% 30%;
  text-align: center;
}

#header .nav-content .flex-content li {
  border-left: 1px solid var(--white);
}

#header .nav-content .flex-content li:last-child {
  border-right: 1px solid var(--white);
}

#header .nav-content .flex-content  a {
  font-size: 1.6rem;
} */

#header .nav-content .header-sns {
  max-width: 220px;
  width: 90%;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
}

/* ハンバーガーメニュー */
#header .open-btn {
  height: 30px;
  width: 50px;
  position: relative;
  margin-right: 3%;
  cursor: pointer;
  z-index: 101;
  position: fixed;
  right: 0;
}

#header .open-btn span {
  width: 100%;
  height: 1px;
  /* background: var(--brown); */
  background: var(--white);
  position: absolute;
  transition: all 0.4s;
  filter:contrast(0.5);
}

#header .open-btn span:nth-child(1) {
  top: 0;
  left: 0;
}

#header .open-btn span:nth-child(2) {
  top: 15px;
  left: 0;
}

#header .open-btn span:nth-child(3) {
  bottom: 0;
  left: 0;
}

#header .open-btn.active span {
  background: var(--white);
}

#header .open-btn.active span:nth-child(1) {
  top: 50%;
  left: 0;
  rotate: 45deg;
}

#header .open-btn.active span:nth-child(2) {
  opacity: 0;
}

#header .open-btn.active span:nth-child(3) {
  top: 50%;
  rotate: -45deg;
}

@media screen and (max-width: 1199px) {
  #header .open-btn {
    height: 23px;
    width: 48px;
  }

  #header .open-btn span:nth-child(2) {
    top: 11px;
    left: 0;
  }

  #header .nav-content nav {
    padding-top: 154px;
  }
}

@media screen and (max-width: 767px) {
  header {
    height: 103px;
  }

  #header .logo {
    width: 50px;
    margin-left: 30px;
  }

  #header .open-btn {
    margin-right: 30px;
  }
}

/* ---------------------------------------------------
animation
--------------------------------------------------- */

.fadeUp {
  animation: fadeLeftUpAnime 1s ease-out forwards;
  opacity: 0;
}

.fadeUp2 {
  animation: fadeRightUpAnime 1s ease-out 0.6s forwards;
  opacity: 0;
}

.fadeUp3 {
  animation: fadeBottomAnime 0.8s ease-out 0.3s forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

@keyframes fadeLeftUpAnime {
  from {
    opacity: 0;
    transform: translateY(60px) translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes fadeRightUpAnime {
  from {
    opacity: 0;
    transform: translateY(60px) translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes fadeBottomAnime {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

/* ---------------------------------------------------
footer
--------------------------------------------------- */

footer {
  background: var(--brown);
  padding-bottom: 60px;
  overflow: hidden;
}

/* 新築・リノベーション */

#footer .contact {
  background: var(--light-yellow);
}

#footer .contact-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

#footer .contact-wrap .left-content {
  position: relative;
  margin-left: calc(50% - 50vw);
}

#footer .contact-wrap .left-content img {
  position: absolute;
  top: 0;
  right: 43px;
  height: 100%;
  width: 50vw;
  object-fit: cover;
}

#footer .contact-wrap .left-content p {
  position: absolute;
  top: 50%;
  right: min(80 / 1050 * 100vw, 80px);
  translate: 0 -50%;
  font-size: 2.4rem;
  font-family: "Shippori Mincho";
  color: var(--white);
  line-height: 2;
}

#footer .contact-wrap .right-content {
  text-align: right;
  padding: 65px 0;
}

#footer .contact-wrap .right-content .heading {
  font-size: 3rem;
  font-family: "Shippori Mincho";
  margin-bottom: 30px;
}

#footer .contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#footer .contact-list a {
  display: inline-flex;
  background-color: var(--white);
  gap: 20px;
  max-width: 422px;
  width: 100%;
  box-shadow: 5px 5px 20px 0px rgb(205 205 205 / 35%);
  transform-origin: top left;
  transition: all 0.6s ease-in-out;
}

#footer .contact-list a:hover {
  transition: all 0.6s ease-in-out;
  /* transform: scale(0.9); */
  opacity: 1;
  box-shadow: 0 0 0 0px rgb(205 205 205 / 35%);
}

#footer .contact-list .txt-content {
  position: relative;
  text-align: left;
  width: 100%;
  padding: 30px 10px 40px 0;
}

#footer .contact-list a .txt-content::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 30px;
  background: url(../../image/common/right-bottom-arw.png) no-repeat center;
  background-size: 75px 6px;
  width: 75px;
  height: 6px;
  transition: all 0.6s;
}

#footer .contact-list a:hover .txt-content::after {
  right: 15px;
  transition: all 0.6s;
}

#footer .contact-list .txt-content .title {
  font-size: 2rem;
  font-family: "Shippori Mincho";
  margin-bottom: 15px;
}

#footer .contact-list .txt-content p {
  font-size: 1.4rem;
}

/* フッターナビゲーション */
.footer-wrap {
  padding-top: 107px;
}

.footer-top {
  margin-bottom: 100px;
}

.footer-wrap .footer-nav nav {
  display: flex;
  justify-content: space-between;
}

.footer-nav .nav-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav .nav-content a {
  color: var(--white);
  font-size: 1.8rem;
  /* font-weight: 600; */
}

.footer-nav .nav-drop {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px 85px;
}

.footer-nav .nav-drop .nav-list:nth-child(2n) {
  text-align: right;
}

.footer-nav .nav-drop a {
  font-size: 1.4rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.footer-bottom a {
  color: var(--white);
  font-size: 1.4rem;
  /* font-weight: 600; */
}

.footer-bottom ul {
  display: flex;
  gap: 48px;
}

.footer-bottom ul a {
  position: relative;
  padding-left: 22px;
}

.footer-bottom li:nth-child(1) a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  background: url(../../image/common/icon-house.svg) no-repeat center;
  background-size: 14px 16px;
  width: 14px;
  height: 16px;
}

.footer-bottom li:nth-child(2) a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  background: url(../../image/common/icon-book.svg) no-repeat center;
  background-size: 16px 14px;
  width: 16px;
  height: 14px;
}

.footer-bottom li:nth-child(3) a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  background: url(../../image/common/icon-mail.svg) no-repeat center;
  background-size: 16px 13px;
  width: 16px;
  height: 13px;
}

.footer-wrap2 {
  padding-top: 35px;
  border-top: 1px solid var(--white);
  display: flex;
  justify-content: space-between;
}

.footer-wrap2 .footer-left {
  display: flex;
  gap: 35px;
}

.footer-wrap2 .footer-left .logo a {
  display: block;
}

.footer-wrap2 .footer-address {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-wrap2 .footer-address .company-name {
  font-size: 1.8rem;
  /* font-weight: 600; */
  color: var(--white);
}

.footer-wrap2 .footer-address .company-info {
  color: var(--white);
  font-size: 1.4rem;
  /* font-weight: 600; */
}

.footer-wrap2 .footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-wrap2 .footer-right .footer-sns {
  text-align: center;
  display: flex;
  justify-content: space-around;
}

.footer-wrap2 .footer-right small {
  color: var(--white);
  font-size: 1rem;
  font-family: "Shippori Mincho";
}

@media screen and (max-width: 1199px) {
  #footer .contact-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  #footer .contact-wrap .left-content {
    position: relative;
    margin: 0 calc(50% - max(220px, 50vw));
    height: 600px;
  }

  #footer .contact-wrap .left-content img {
    position: relative;
    top: initial;
    right: initial;
    height: 100%;
    width: 100%;
    object-fit: cover;
    min-width: 420px;
  }

  #footer .contact-wrap .left-content p {
    right: 50%;
    translate: 50% -50%;
    width: initial;
    white-space: nowrap;
  }

  #footer .contact-wrap .right-content {
    text-align: center;
    padding: 65px 0;
  }

  #footer .contact-list a {
    max-width: initial;
  }
}

@media screen and (max-width: 767px) {
  #footer .contact-wrap .left-content {
    height: initial;
  }

  #footer .contact-wrap .left-content p {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  #footer .contact-wrap .right-content {
    padding: 55px 0;
  }

  #footer .contact-wrap .right-content .heading {
    font-size: 2rem;
    font-family: "Shippori Mincho";
    margin-bottom: 30px;
  }

  #footer .contact-list .txt-content {
    padding: 20px 10px 30px 0;
  }

  #footer .contact-list .txt-content .title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .footer-wrap {
    padding-top: 60px;
  }

  .footer-top {
    margin-bottom: 65px;
  }

  .footer-wrap .footer-nav nav {
    flex-direction: column;
    gap: 30px;
  }

  .footer-nav .nav-content {
    position: relative;
    padding-bottom: 30px;
  }

  .footer-nav .nav-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -6%;
    width: 110vw;
    min-width: 420px;
    height: 1px;
    background: white;
  }

  .footer-nav .nav-content:nth-child(2) {
    padding: 0;
    gap: 30px;
  }

  .footer-nav .nav-content:nth-child(2):after {
    background: none;
  }

  .footer-nav .nav-content a {
    font-size: 1.6rem;
  }

  .footer-nav .nav-content .nav-list a {
    display: block;
  }

  .footer-nav .nav-drop a {
    font-size: 1.4rem;
  }

  .footer-nav .nav-drop {
    padding-top: 20px;
    padding-left: 10px;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    display: none;
  }

  .footer-nav .nav-drop .nav-list:nth-child(2n) {
    text-align: left;
  }

  .footer-nav .drop-menu a {
    position: relative;
  }

  /* .footer-nav .drop-menu a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    translate: 0 -50%;
    background: url(../../image/common/white-arw.png) no-repeat center;
    background-size: 8px 15px;
    width: 8px;
    height: 15px;
    transform: rotate(90deg);
  } */

  .footer-nav .drop-menu.open a::after {
    transform: rotate(-90deg);
  }

  .footer-nav .drop-menu .nav-drop {
    display: grid;
  }

  .footer-nav .drop-menu.open .nav-drop {
    display: grid;
  }

  .footer-nav .drop-menu.open .nav-drop a::after {
    content: "";
    background: none;
  }

  .footer-bottom {
    gap: 30px;
    flex-direction: column;
    margin-bottom: 60px;
  }

  .footer-bottom a {
    font-size: 1.6rem;
  }

  .footer-bottom ul {
    flex-direction: column;
    gap: 30px;
  }

  .footer-wrap2 {
    position: relative;
    padding-top: 70px;
    border-top: none;
    flex-direction: column;
  }

  .footer-wrap2::after {
    content: "";
    position: absolute;
    top: 0;
    left: -6%;
    width: 110vw;
    height: 1px;
    background: white;
  }

  .footer-wrap2 .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
  }

  .footer-wrap2 .footer-address {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-wrap2 .footer-address .company-info {
    line-height: 2;
  }

  .footer-wrap2 .footer-right {
    gap: 68px;
  }

  .footer-wrap2 .footer-right .footer-sns {
    text-align: center;
    display: flex;
    justify-content: space-around;
    width: 216px;
    margin-inline: auto;
  }

  .footer-wrap2 .footer-right small {
    text-align: center;
  }
}
