@charset "utf-8";

.heading-content p {
  margin-bottom: min(50/1000 * 100vw, 50px);
}

/* 下線付きリンク */
.under-line {
  position: relative;
  padding-right: 20px;
}

.under-line::before {
  content: '';
  background: var(--black);
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0px;
  display: inline-block;
}

.under-line::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 2px;
  translate: 0 -50%;
  background: url(../../image/common/black-arw.png) no-repeat;
  background-size: 5px 7px;
  width: 5px;
  height: 7px;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(20/1000 * 100vw, 20px);
  margin-bottom: min(160/1000 * 100vw, 160px);
}

.pagination .page-numbers {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  aspect-ratio: 1/1;
  color: var(--brown);
  text-align: center;
  align-items: center;
  white-space: nowrap;
}

.pagination .page-numbers.current::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 52px;
  aspect-ratio: 1/1;
  background: var(--light-yellow);
  border-radius: 50px;
  z-index: -1;
}

/* next ボタン */
.pagination .page-numbers.next {
  position: relative;
  max-width: 170px;
  width: 100%;
  aspect-ratio: initial;
  padding: 15px 28px 15px 40px;
  color: var(--white);
  background: var(--brown);
  border-radius: 50px;
  border: 1px solid var(--brown);
  text-align: left;
}

.pagination .page-numbers.next:hover {
  opacity: 1;
  color: var(--brown);
  background: var(--white);
}

.pagination .page-numbers.next::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;
}

.pagination .page-numbers.next: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;
}

/* backボタン */
.pagination .page-numbers.prev {
  position: relative;
  max-width: 170px;
  width: 100%;
  aspect-ratio: initial;
  padding: 15px 40px 15px 28px;
  color: var(--white);
  background: var(--brown);
  border-radius: 50px;
  border: 1px solid var(--brown);
  text-align: right;
}

.pagination .page-numbers.prev:hover {
  opacity: 1;
  color: var(--brown);
  background: var(--white);
}

.pagination .page-numbers.prev::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  translate: 0 -50%;
  background: url(../../image/common/white-arw.png) no-repeat center;
  transform: rotate(180deg);
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

.pagination .page-numbers.prev:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat center;
  background-size: 8px 15px;
  transform: rotate(180deg);
  width: 8px;
  height: 15px;
}

@media screen and (max-width: 767px) {
  .pagination {
    gap: 14px;
  }

  .pagination .page-numbers.current::before {
    width: 30px;
  }

  .pagination .page-numbers {
    width: 30px;
  }

  .pagination .page-numbers.next {
    max-width: 100px;
    padding: 5px 28px 5px 20px;
    font-size: 1.3rem;
  }

  .pagination .page-numbers.prev {
    max-width: 100px;
    padding: 5px 20px 5px 28px;
    font-size: 1.3rem;
  }
}

.contents iframe {
  width: 100%;
}

/* サブページヘッダー背景 */
.page-header {
  position: relative;
  margin-bottom: 35px;
}

.page-header-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  /* background: #ffffffc9; */
  padding: 20px 50px;
  font-family: 'Shippori Mincho';
}

.page-header-inner .catch {
  font-size: clamp(3rem, 4.9vw, 3.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* white-space: nowrap; */
  color: var(--white);
}

.page-header-inner .catch-en {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  /* color: var(--brown); */
  color: var(--white);
  text-align: center;
}

.page-header-bg {
  width: 100vw;
  height: auto;
  pointer-events: none;
}

.page-header-bg img {
  width: 100%;
  height: clamp(280px, 40vw, 390px);
  object-fit: cover;
  min-width: 420px;
}

@media screen and (max-width: 767px) {
  .page-header-inner {
    padding: 15px 20px;
  }
}

/* パンくずリスト */
.breadcrumb {
  font-size: 1.3rem;
  color: var(--grey);
  margin-bottom: 140px;
}

.breadcrumb a {
  color: var(--black);
  padding-right: 10px;
}

.breadcrumb a:last-child {
  text-decoration: underline;
}

.breadcrumb span {
  padding-right: 10px;
  color: var(--black);
}

@media screen and (max-width: 767px) {
  .breadcrumb {
    margin-bottom: 40px;
  }
}

/* 会社情報マップ */
.access-map {
  width: 100%;
  height: min(448/1000 * 100vw, 448px);
  margin-bottom: 50px;
}

/*----------------- キャッチコピー----------------- */
.catch-wrap {
  margin-bottom: min(115/1000 * 100vw, 115px);
}

.catch-wrap img {
  margin-bottom: min(80/1000 * 100vw, 80px);
}

.catch-wrap .catch-title {
  font-size: clamp(2.1rem, 4.9vw, 4rem);
  font-family: 'Shippori Mincho';
  color: var(--brown);
  margin-bottom: min(70/1000 * 100vw, 70px);
  text-align: center;
  padding: 0;
}

.catch-wrap .catch-title::before {
  content: none;
}

.catch-wrap .catch-txt {
  font-size: 1.6rem;
  color: var(--black);
  letter-spacing: 0.01em;
}

/*-------------------------------------------------
お知らせ
--------------------------------------------------*/
.category-wrap {
  /* display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px; */
  position: relative;
  /* margin-bottom: min(100/1000 * 100vw, 100px); */
  margin-bottom: min(80/1000 * 100vw, 100px);
}

.category-wrap.column4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 15px;
  margin-bottom: min(100/1000 * 100vw, 90px);
}

.category-wrap .category-select {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.category-wrap select {
  position: relative;
  display: block;
  margin-left: auto;
  padding: 20px 40px;
  border: none;
  border-bottom: 1px solid #e6e3df;
  color: var(--brown);
  font-weight: 600;
  appearance: none;
  width: 100%;
  background: var(--white);
  outline: none;
}

.category-wrap .select-btn {
  position: relative;
  color: var(--brown);
  padding: 15px 40px;
  cursor: pointer;
  font-size: 1.4rem;
  border-bottom: 1px solid #e6e3df;
}

.category-wrap .select-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 19px;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat;
  background-size: 9px 16px;
  width: 9px;
  height: 16px;
  transform: rotate(90deg);
  pointer-events: none;
  transition: all 0.3s;
}

.category-wrap .select-btn.active::after {
  transform: rotate(-90deg);
  pointer-events: none;
  transition: all 0.3s;
}

.category-wrap .category-select-wrap {
  position: absolute;
  top: 50px;
  width: 100%;
  padding: 35px 60px;
  background: var(--white);
  border: 1px solid #e6e3df;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
  z-index: 5;
  pointer-events: none;
}

.category-wrap .category-select-wrap.active {
  opacity: 1;
  pointer-events: initial;
  transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
}

.category-select-wrap ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 35px 0;
}

.category-wrap .category-select-wrap a {
  position: relative;
  display: inline;
  padding-right: 15px;
  font-size: 1.4rem;
}

/* .category-wrap .category-select-wrap a::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
} */

.category-wrap .category-select-wrap a::after {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  background: url(../../image/common/black-arw.png) no-repeat;
  background-size: 4px 7px;
  width: 4px;
  height: 7px;
}

.category-select-wrap .box {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.category-select-wrap .box .parent {
  font-size: 2rem;
  font-family: 'Shippori Mincho';
}

.category-select-wrap .box .right-content {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 60px;
}

@media screen and (max-width: 1199px) {
  .category-select-wrap ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .category-wrap .category-select {
    max-width: 300px;
  }

  .category-wrap .select-btn {
    padding-left: 20px;
  }

  .category-wrap .category-select-wrap {
    padding: 35px 20px;
  }

  .category-select-wrap ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }

  .category-select-wrap .box {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
  }

  .category-select-wrap .box .right-content {
    gap: 15px 30px;
  }
}

.posts-wrap {
  margin-top: min(120/1000 * 100vw, 120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 19px;
  margin-bottom: 110px;
}

#news .news-list {
  opacity: 0;
}

#news .news-list a {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.6rem;
  color: var(--black);
}

#news .news-list-img {
  display: flex;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--grey);
}

#news .news-list-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#news .news-list-tag {
  display: flex;
  justify-content: space-between;
}

#news .news-list-tag .news-tag {
  font-size: 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--black);
  padding: 0 10px;
}

#news .news-list-tag time {
  font-size: 1.3rem;
  font-family: 'Shippori Mincho';
  color: var(--brown);
}

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

@media screen and (max-width: 767px) {
  .posts-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-wrap.column4 {
    grid-template-columns: repeat(2, 1fr);
  }

  #news .category-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  #news .posts-wrap {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 50px;
  }

  #news .news-list a {
    gap: 10px;
  }
}

/*-------------------------------------------------
施工事例
--------------------------------------------------*/

#case .category-wrap {
  /* border-top: 2px solid #d5d5d5; */
  /* padding-top: min(20/1000 * 100vw, 20px); */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(40/1000 * 100vw, 40px);
  margin: 0 auto;
  /* margin-bottom: min(80/1000*100vw,80px); */
  max-width: 740px;
}

#case .posts-wrap {
  margin-top: min(120/1000 * 100vw, 120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(40/1000 * 100vw, 40px);
  margin-bottom: min(110/1000 * 100vw, 100px);
}

#case .case-list {
  opacity: 0;
}

#case .case-list a {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#case .case-list-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--grey);
}

#case .case-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#case .case-list-title {
  position: relative;
  padding-right: 10px;
  font-size: 1.4rem;
  color: var(--black);
}

#case .case-list-title::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  background: url(../../image/common/right-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

#case .main-slide {
  aspect-ratio: 3/2;
}

#case .main-slide img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  #case .category-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  #case .posts-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  #case .case-list-img {
    aspect-ratio: 6/4;
  }

  #case .case-list-title {
    font-size: 1.6rem;
  }
}

/*-------------------------------------------------
施工事例（詳細）
--------------------------------------------------*/
.contents .case-wrap .heading {
  font-size: 4rem;
  text-align: center;
  margin: 0;
  padding: 0;
  margin-bottom: min(20/1000 * 100vw, 20px);
}

.contents .case-wrap .build-info {
  text-align: center;
  color: var(--brown);
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: min(90/1000 * 100vw, 90px);
}

.contents .case-wrap .build-info .custom-home {
  background: var(--light-yellow);
  padding: 2px 10px;
}

.case-wrap .manager {
  display: flex;
  padding-top: min(60/1000 * 100vw, 40px);
  padding-bottom: min(60/1000 * 100vw, 60px);
  margin-bottom: min(120/1000 * 100vw, 120px);
  gap: min(40/1000 * 100vw, 40px);
  flex-wrap: wrap;
  border-bottom: 2px solid #e6e3df;
}

.case-wrap .manager .manager-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.case-wrap .manager .manager-wrap .img-content {
  width: min(60/1000 * 100vw, 60px);
  height: min(60/1000 * 100vw, 60px);
  min-width: 30px;
  min-height: 30px;
  border-radius: 50px;
  background: var(--light-yellow);
  overflow: hidden;
}

.case-wrap .manager .manager-wrap .img-content img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.case-wrap .manager .manager-wrap .txt-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 5px;
}

.case-wrap .manager .manager-wrap .txt-content dt {
  font-size: 1rem;
}

.case-wrap .manager .manager-wrap .txt-content dd {
  font-size: 1.2rem;
}

/* ページネーション */
.nav-links {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: min(25/1200 * 100vw, 25px);
}

.nav-links.p50 {
  padding-top: 50px;
}

.contents .nav-links a {
  color: initial;
  text-decoration: none;
}

.nav-links .all-posts {
  flex-shrink: 0;
}

.nav-links .prev-post,
.nav-links .next-post {
  width: 100%;
}

.nav-links .prev-post a,
.nav-links .next-post a {
  position: relative;
  display: flex;
  gap: min(20/1200 * 100vw, 20px);
}

.nav-links .prev-post a {
  padding-left: 25px;
}

.nav-links .prev-post a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat;
  background-size: 8px 13px;
  width: 8px;
  height: 13px;
  rotate: 180deg;
}

.nav-links .next-post a {
  padding-right: 25px;
}

.nav-links .next-post a::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat;
  background-size: 8px 13px;
  width: 8px;
  height: 13px;
}

.nav-links .prev-post .thumb,
.nav-links .next-post .thumb {
  width: 150px;
  height: auto;
  aspect-ratio: 3/2;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-links .prev-post .thumb img,
.nav-links .next-post .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links .prev-post p,
.nav-links .next-post p {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  color: var(--black);
}

.nav-links .prev-post .title,
.nav-links .next-post .title {
  font-size: 1.4rem;
  color: #b7b7b7;
}

.contents .nav-links .btn-brown {
  color: var(--white);
}

.contents .nav-links .btn-brown:hover {
  color: var(--brown);
}

@media screen and (max-width: 1000px) {
  .nav-links {
    flex-direction: column;
    gap: 30px;
  }

  .nav-links .prev-post p {
    text-align: right;
  }

  .nav-links .prev-post,
  .nav-links .next-post {
    order: 1;
  }
  .nav-links .all-posts {
    order: 2;
  }
}

/*-------------------------------------------------
お役立ちブログ
--------------------------------------------------*/
.useful-list {
  opacity: 0;
}

.useful-list .useful-list-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  margin-bottom: 15px;
  border: 1px solid var(--grey);
}

.useful-list a .useful-list-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.useful-list a:hover .useful-list-img img {
  opacity: 1;
}

.useful-list-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.useful-tag {
  font-size: 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--black);
  padding: 0 10px;
}

.useful-date {
  font-size: 1.3rem;
  font-family: 'Shippori Mincho';
  color: var(--brown);
  margin-bottom: 5px;
}

.useful-list-title {
  font-size: 1.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

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

.writer-wrap > p {
  position: relative;
  font-size: 2.4rem;
  font-family: 'Shippori Mincho';
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--brown);
  margin-bottom: min(15/1000 * 100vw, 15px);
}

.profile-wrap {
  display: flex;
  gap: 25px;
  padding: 40px min(30/1100 * 100vw, 30px);
  border: 1px solid #e6e3df;
}

.profile-wrap .left-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: min(60 / 1000 * 100vw, 60px);
  height: min(60 / 1000 * 100vw, 60px);
  min-width: 30px;
  min-height: 30px;
  border-radius: 50px;
  background: var(--light-yellow);
  overflow: hidden;
}

.profile-wrap .right-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.contents .profile-wrap h3 {
  padding: 0;
  margin: 0;
}

.contents .profile-wrap h3::before {
  content: none;
}

.profile-wrap .box {
  display: flex;
  justify-content: space-between;
}

.profile-wrap .icon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.profile-wrap .btn-brow a {
  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;
}

.profile-wrap .btn-brow a::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;
}

.related-posts {
  margin-top: 50px;
}

.related-posts > p {
  position: relative;
  font-size: 2.4rem;
  font-family: 'Shippori Mincho';
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--brown);
  margin-bottom: min(15 / 1000 * 100vw, 15px);
}

.related-posts h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.related-post-item {
  padding-top: 20px;
  margin-bottom: 20px;
  border-top: 1px solid var(--grey);
}

.related-post-item:first-child {
  border: none;
  padding-top: 0;
}

.related-post-item a {
  display: flex;
  gap: 20px;
}

.related-post-item .thumb {
  width: 200px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.related-post-item .thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.related-post-meta {
  width: 100%;
}

.related-post-category .category-tag {
  display: inline;
  font-size: 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--black);
  padding: 0 10px;
}

.related-post-item .title {
  font-size: 1.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

@media screen and (max-width: 767px) {
  .profile-wrap {
    padding: 30px 20px;
  }

  .profile-wrap .left-content {
    text-align: center;
    margin: 0 auto;
    width: min(50 / 390 * 100vw, 50px);
    height: min(50 / 390 * 100vw, 50px);
  }

  .profile-wrap .right-content {
    gap: 20px;
  }

  .profile-wrap .box {
    flex-direction: column;
    gap: 10px;
  }
}

/*-------------------------------------------------
Q&A
--------------------------------------------------*/
/* #question .faq-list {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
} */

#question h3 {
  font-size: 3.2rem;
  padding: 0;
  margin-bottom: 52px;
}

#question h3::before {
  content: none;
}

#question .faq-list dl {
  margin-bottom: 10px;
}

#question .faq-list dt {
  position: relative;
  padding: 30px 90px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.8;
  cursor: pointer;
  letter-spacing: 0;
}

#question .yellow-bg .faq-list dt {
  background: var(--white);
}

#question .faq-list dt::before {
  content: 'Q';
  font-size: 2.8rem;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 40px;
  translate: 0 -50%;
  color: var(--brown);
  pointer-events: none;
}

#question .faq-list dt::after {
  content: '';
  background: url(../../image/common/brown-arw.png) no-repeat;
  background-size: 11px 20px;
  width: 11px;
  height: 20px;
  position: absolute;
  top: 50%;
  right: 40px;
  translate: 0 -50%;
  transform: rotate(-90deg) scaleX(-1);
  transition: all 0.3s;
  pointer-events: none;
}

#question .faq-list dt.open::after {
  content: '';
  background: url(../../image/common/brown-arw.png) no-repeat;
  background-size: 11px 20px;
  width: 11px;
  height: 20px;
  position: absolute;
  top: 50%;
  right: 40px;
  translate: 0 -50%;
  transform: rotate(-90deg);
  transition: all 0.3s;
  pointer-events: none;
}

#question .faq-list dd {
  display: none;
  padding: 30px 90px 20px 40px;
  font-size: 1.4rem;
  color: var(--black);
  line-height: 1.75;
  letter-spacing: 0;
}

#question .white-bg {
  margin-bottom: min(120 / 1000 * 100vw, 120px);
}

#question .white-bg dt {
  background: #f8f8f8;
  color: var(--black);
}

@media screen and (max-width: 767px) {
  #question .faq-list dt {
    padding: 20px 60px;
  }

  #question .faq-list dt::before {
    top: 50%;
    left: 20px;
  }

  #question .faq-list dt.open::after {
    right: 25px;
  }

  #question .faq-list dt::after {
    right: 25px;
  }

  #question .faq-list dd {
    padding: 30px 20px 20px 20px;
  }
}

/*-------------------------------------------------
新築
--------------------------------------------------*/
/* タブ */
.tab2,
.tab3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: min(40 / 1000 * 100vw, 40px);
}

.tab2 li,
.tab3 li {
  position: relative;
  text-align: center;
  font-size: 1.8rem;
  color: #cbc7c3;
  border-right: 1px solid var(--brown);
  padding: 0 15px;
  text-align: center;
  padding-bottom: 15px;
  cursor: pointer;
}

.tab2 li span,
.tab3 li span {
  position: relative;
  height: 100%;
  padding-right: 25px;
}

/* .tab2 li span::after,
.tab3 li span::after {
  content: "〉";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  font-size: 0.8rem;
} */

.full-reform,
.heat-resist-reform,
.full-reform2,
.heat-resist-reform2 {
  display: none;
}

.full-reform.active2,
.heat-resist-reform.active2,
.full-reform2.active3,
.heat-resist-reform2.active3 {
  display: block;
}

.tab2 li::before,
.tab3 li::before {
  content: '▼';
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  font-size: 0.8rem;
}

.tab2 li.active2,
.tab3 li.active3 {
  color: var(--brown);
  text-decoration: underline;
}

.tab2 li:last-child,
.tab3 li:last-child {
  border-right: none;
}

@media screen and (max-width: 767px) {
  .tab2 li {
    font-size: 1.6rem;
  }

  .tab2 li span,
  .tab3 li span {
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* 家づくりの流れ  */

#building-house .flex-box {
  position: relative;
  padding: 20px 0 80px 110px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#building-house .flex-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: 1px;
  height: 100%;
  background: var(--brown);
  z-index: 0;
}

#building-house .flex-box:last-child {
  padding-bottom: 0;
}

#building-house .flex-box:last-child .toggle-box {
  margin-bottom: 80px;
}

#building-house .flex-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: auto;
  z-index: 5;
}

#building-house .flex-box:last-child img {
  top: initial;
  /* bottom: 0; */
}

#building-house .flex-box h3 {
  position: relative;
  line-height: 1;
  padding: 0 60px 25px 0;
  font-size: 2.4rem;
  font-family: 'Shippori Mincho';
  color: var(--black);
  margin: 0;
  border-bottom: 1px solid var(--brown);
  cursor: pointer;
}

#building-house .flex-box h3::after {
  content: '';
  background: url(../../image/common/brown-arw.png) no-repeat;
  background-size: 11px 20px;
  width: 11px;
  height: 20px;
  position: absolute;
  top: 10px;
  right: 40px;
  transform: rotate(-90deg) scaleX(-1);
  transition: all 0.3s;
  pointer-events: none;
}

#building-house .flex-box h3.open::after {
  content: '';
  background: url(../../image/common/brown-arw.png) no-repeat;
  background-size: 11px 20px;
  width: 11px;
  height: 20px;
  position: absolute;
  top: 10px;
  right: 40px;
  transform: rotate(-90deg) scaleX(1);
  transition: all 0.3s;
  pointer-events: none;
}

#building-house .flex-box h4 {
  padding-left: 27px;
  margin-bottom: 0;
}

#building-house .flex-box h4 span {
  font-size: 1.4rem;
  color: var(--black);
}

#building-house .toggle-box {
  display: none;
}

#building-house .toggle-box .customer-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#building-house .toggle-box a {
  position: relative;
  text-decoration: underline;
  padding-right: 15px;
}

#building-house .toggle-box a::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 2px;
  translate: 0 -50%;
  background: url(../../image/common/black-arw.png) no-repeat;
  background-size: 5px 7px;
  width: 5px;
  height: 7px;
}

#building-house .toggle-box ol {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#building-house .toggle-box ol > li {
  counter-increment: item;
  position: relative;
  font-size: 1.6rem;
  color: var(--black);
  text-decoration: none;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#building-house .toggle-box ol > li::before {
  color: var(--brown);
  content: counter(item);
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  top: 5px;
  background-color: var(--white);
  padding: 0px 1px;
  border-radius: 50px;
  min-width: 20px;
  height: 20px;
  text-align: center;
  font-family: 'Shippori Mincho';
}

#building-house .toggle-box ol li ul li {
  position: relative;
  padding-left: 27px;
  font-size: 1.6rem;
  color: var(--black);
  line-height: 1.8;
  letter-spacing: 0;
}

#building-house .toggle-box ol li ul li::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 10px;
  width: 5px;
  min-width: initial;
  height: 5px;
  background: #c3b4a5;
  border-radius: 50px;
}

#building-house .toggle-box .customer-wrap {
  display: flex;
  gap: 20px;
}

#building-house .toggle-box .customer {
  background: #c3b4a5;
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: 0;
  padding: 0 10px;
  display: block;
  height: 30px;
  width: 132px;
  border-radius: 50px;
}

@media screen and (max-width: 767px) {
  #building-house .flex-box {
    padding: 15px 0 30px 60px;
    gap: 15px;
  }

  #building-house .flex-box:last-child .toggle-box {
    margin-bottom: 30px;
  }

  #building-house .flex-box img {
    width: 50px;
  }

  #building-house .flex-box::after {
    left: 25px;
  }

  #building-house .flex-box h3 {
    font-size: 2.2rem;
    padding: 0px 30px 15px 0;
  }

  #building-house .flex-box h3::after {
    top: 5px;
    right: 10px;
  }

  #building-house .flex-box h3.open::after {
    top: 5px;
    right: 10px;
  }

  #building-house .toggle-box .customer-wrap {
    gap: 10px;
  }

  #building-house .toggle-box ol {
    gap: 20px;
  }
}

/* 性能 */
#performance .catch {
  margin-bottom: min(80/1000 * 100vw, 80px);
}

#performance .box {
  display: flex;
  gap: 40px;
  margin-bottom: min(100/1000 * 100vw, 100px);
}

#performance .box .img-content {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#performance .box .txt-content p {
  margin-bottom: 25px;
}

@media screen and (max-width: 1199px) {
  #performance .box {
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 70px;
  }

  #performance .box .img-content {
    flex-shrink: initial;
    width: 100%;
  }

  #performance .box .img-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  #performance .box .img-content {
    order: 1;
  }

  #performance .box .txt-content {
    order: 2;
  }
}

/* デザイン */
#design .design img {
  width: 100%;
  height: auto;
  margin-bottom: 35px;
}

#design .design p {
  margin-bottom: 25px;
}

/* 資金計画 */
#financial-plan .box {
  display: flex;
  gap: 40px;
  margin-bottom: min(120/1000 * 100vw, 120px);
}

#financial-plan .box .img-content {
  flex-shrink: 0;
}

#financial-plan .box .img-content img {
  width: 100%;
  height: auto;
}

#financial-plan .box .txt-content p {
  margin-bottom: 25px;
}

@media screen and (max-width: 1199px) {
  #financial-plan .box {
    flex-direction: column;
  }

  #financial-plan .box .img-content {
    width: 100%;
  }
}

/* 家づくりの前に */

#pre-build .box {
  padding: 60px 50px;
}

#pre-build .box h3 {
  margin-bottom: 15px;
}

#pre-build .box:nth-child(2n) {
  background: var(--light-yellow);
}

#pre-build .box p {
  margin-bottom: 20px;
  letter-spacing: 0;
}

#pre-build .box .center {
  text-align: center;
}

@media screen and (max-width: 767px) {
  #pre-build .heading-content p {
    font-size: 1.4rem;
  }

  #pre-build .box {
    padding: 40px 20px;
  }
}

/* 写真 */
.section-image {
  margin-left: calc(50% - 50vw);
  width: 100vw;
  min-width: 420px;
  max-height: 450px;
  margin-bottom: min(120/1000 * 100vw, 120px);
  overflow: hidden;
}

.section-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 420px) {
  .section-image {
    margin-left: calc(50% - 210px);
  }
}

/* アフターサービス */
#after-service .box,
#craftsman-training .box {
  display: flex;
  gap: 40px;
  margin-bottom: min(120/1000 * 100vw, 120px);
}

#after-service .box .img-content,
#craftsman-training .box .img-content {
  flex-shrink: 0;
}

#after-service .box .img-content img,
#craftsman-training .box .img-content img {
  /* width: 100%; */
  height: auto;
}

#after-service .box .txt-content p,
#craftsman-training .box .txt-content p {
  margin-bottom: 25px;
}

@media screen and (max-width: 1199px) {
  #after-service .box,
  #craftsman-training .box {
    flex-direction: column;
  }

  #after-service .box .img-content,
  #craftsman-training .box .img-content {
    width: 100%;
  }

  #after-service .box .img-content img,
  #craftsman-training .box .img-content img {
    width: 100%;
    height: auto;
  }
}

/* Q&A */
#banner a:hover {
  opacity: 1;
}

/*-------------------------------------------------
土地情報
--------------------------------------------------*/
.table-wrap {
  overflow: auto;
  margin-bottom: min(120/1000 * 100vw, 120px);
}

.land-table {
  min-width: 800px;
}

.land-table th {
  background: var(--light-yellow);
  padding: 15px;
  text-align: center;
  color: var(--brown);
  font-weight: 600;
  border-right: 1px solid var(--white);
}

.land-table td {
  border-right: 1px solid #e6e3df;
  padding: 15px;
  text-align: center;
  color: var(--black);
}

.land-table td:first-child {
  text-align: left;
  width: 32.5%;
}

.land-table td:nth-child(2) {
  width: 13.5%;
}

.land-table td:nth-child(3) {
  width: 16.5%;
}

.land-table td:nth-child(4) {
  width: 19.5%;
}

.land-table td:last-child {
  border-right: none;
}

.land-table tbody tr:last-child {
  border-bottom: 1px solid var(--grey);
}

.land-table tr:nth-child(even) td {
  background: #f7f7f7;
}

.bnr-wrap {
  display: flex;
  flex-direction: column;
  gap: min(60/1000 * 100vw, 60px);
}

.bnr-wrap img {
  width: 100%;
}

/* ダイアログ */
dialog {
  border: none;
  outline: none;
  background: initial;
}

.land-dialog {
  background: var(--white);
  padding: 90px min(100/1000 * 100vw, 100px);
  max-width: 1000px;
  width: 90%;
}

.land-dialog h2 {
  font-family: 'Shippori Mincho';
  font-size: 3.2rem;
  padding: 0;
}

.land-dialog h2::before {
  content: none;
}

.land-dialog .box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 min(20/1000 * 100vw, 20px);
  margin-bottom: min(60/1000 * 100vw, 60px);
}

.land-dialog dl {
  width: 100%;
  display: grid;
  grid-template-columns: 43.59% 56.41%;
  padding: 20px 7px;
  color: var(--black);
  border-bottom: 1px solid #e6e3df;
}

.land-dialog dt {
  color: var(--brown);
  display: flex;
  align-items: center;
}

.land-dialog dd {
  display: flex;
  align-items: center;
  line-height: 1.8;
}

.land-dialog .map {
  margin-bottom: min(60/1000 * 100vw, 60px);
}

.land-dialog .map iframe {
  width: 100%;
  height: min(360/1000 * 100vw, 360px);
}

.land-dialog .btn-wrap {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.land-dialog .btn-wrap span {
  display: block;
  background: var(--brown);
}

.land-dialog .btn-wrap span:nth-child(1) {
  rotate: 45deg;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.land-dialog .btn-wrap span:nth-child(2) {
  rotate: -45deg;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

@media screen and (max-width: 767px) {
  .land-detail-wrap h2 {
    font-size: 2.6rem;
  }

  .land-dialog {
    padding: 40px 30px;
  }

  .land-dialog h2 {
    margin-bottom: 35px;
    font-size: 2.6rem;
  }

  .land-dialog .box {
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 50px;
  }

  .land-dialog .map {
    margin-bottom: 50px;
  }

  .land-dialog .map iframe {
    height: auto;
    aspect-ratio: 1/1;
  }

  .land-dialog dl {
    padding: 10px 7px;
  }

  .land-dialog .btn-wrap {
    top: 15px;
    right: 10px;
    width: 30px;
    height: 30px;
  }
}

/*-------------------------------------------------
スタッフ紹介
--------------------------------------------------*/
.staff-wrap {
  padding-top: min(50/1000 * 100vw, 50px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  margin-bottom: min(140/1000 * 100vw, 140px);
}

.staff-wrap .box {
  border: 1px solid var(--light-yellow);
  padding-bottom: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.staff-wrap .box .img-content {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 45 / 60;
  margin-bottom: 20px;
  background-color: var(--light-yellow);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.staff-wrap .box:hover .img-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brown);
  opacity: 0.3;
}

.staff-wrap .box .img-content img {
  width: 100%;
  height: auto;
}

.staff-wrap .box .position {
  font-size: 1.6rem;
  font-family: 'Shippori Mincho';
  padding: 0 20px;
  margin-bottom: 10px;
}

.staff-wrap .box .name {
  position: relative;
  font-size: 2.4rem;
  font-family: 'Shippori Mincho';
  padding: 0 40px 0 20px;
}

.staff-wrap .box .name span {
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  display: flex;
}

/* ダイアログ */
.dialog.active {
  display: flex;
}

.dialog {
  /* display: flex; */
  justify-content: center;
  gap: 30px;
  max-width: 1034px;
  width: 90%;
  flex-direction: column;
  height: 100%;
  padding: 0;
  background: initial;
  outline: none;
  border: none;
  scroll-behavior: auto;
  contain: layout;
}

/* ダイアログの背景色 */
dialog::backdrop {
  background: rgba(72, 66, 63, 0.6) !important;
}

.dialog .wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: min(40/1000 * 100vw, 40px);
  width: 100%;
  height: fit-content;
  padding: 60px 80px 70px;
  background: var(--light-yellow);
  margin: 0 auto;
  overflow-y: auto;
}

.dialog .wrap .left-content {
  width: 297px;
  text-align: center;
  flex-shrink: 0;
}

.dialog .wrap .left-content .img-content {
  width: 100%;
  height: auto;
  aspect-ratio: 6/7;
  background: #e4e4e4;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 15px;
}

.dialog .wrap .left-content .img-content img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.dialog .wrap .left-content .position {
  font-family: 'Shippori Mincho';
  margin-bottom: 10px;
}

.dialog .wrap .left-content .name {
  font-family: 'Shippori Mincho';
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 20px;
}

.dialog .wrap .left-content .joining-date {
  font-size: 1.4rem;
  color: #717171;
}

.dialog .wrap .right-content {
  padding-top: 20px;
  width: 100%;
  height: fit-content;
}

.dialog .wrap .right-content .box {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid #e6e3df;
  padding-left: 10px;
}

.dialog .wrap .right-content .box:last-child {
  border-bottom: none;
}

.dialog .wrap .right-content .box p {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
}

.dialog .wrap .right-content .box a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  text-decoration: underline;
  padding-right: 25px;
}

.dialog .wrap .right-content .box a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  background: url(../../image/common/black-arw.png) no-repeat;
  background-size: 6px 9px;
  width: 6px;
  height: 9px;
  pointer-events: none;
}

.dialog .wrap .right-content .txt-box {
  padding-top: 25px;
}

.dialog .btn-wrap {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.dialog .btn-wrap .btn {
  position: relative;
}

.dialog .btn-wrap span {
  display: block;
  background: var(--brown);
}

.dialog .btn-wrap span:nth-child(1) {
  rotate: 45deg;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.dialog .btn-wrap span:nth-child(2) {
  rotate: -45deg;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.staff-bnr {
  background: url(../../image/page/staff-bnr.jpg) no-repeat;
  background-color: var(--light-yellow);
  background-position: top right;
  background-size: cover;
}

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

  .dialog {
    /* padding: 30px 20px 30px; */
    height: 100%;
  }

  .dialog .wrap {
    flex-direction: column;
    gap: 0;
    padding: 50px 20px 30px;
  }

  .dialog .wrap .left-content {
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .staff-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-wrap .box .name {
    font-size: 1.8rem;
    padding: 0 30px 0 20px;
    line-height: 1;
  }

  .dialog .btn-wrap {
    width: 30px;
    height: 30px;
  }

  .staff-wrap .box .name span {
    right: 10px;
    width: 17px;
  }

  .dialog .btn-wrap {
    top: 15px;
    right: 10px;
  }
}

/*-------------------------------------------------
お問い合わせ
--------------------------------------------------*/
.contact-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-wrap .box {
  padding: 50px min(55/1000 * 100vw, 55px);
  background: var(--light-yellow);
  text-align: center;
}

.contact-wrap .box h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.contact-wrap .box h2 span {
  display: flex;
  align-items: center;
}

.contact-wrap .box p {
  margin-bottom: 40px;
}

@media screen and (max-width: 1199px) {
  .contact-wrap .box {
    padding: 35px 20px;
  }
}

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

/*-------------------------------------------------
404
--------------------------------------------------*/
#error p {
  text-align: center;
  margin-bottom: 80px;
}

/*-------------------------------------------------
代表あいさつ
--------------------------------------------------*/
.blog-wrap {
  padding-top: 20px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px min(30/1000 * 100vw, 30px);
}

.blog-wrap .blog-list img {
  width: 100%;
  aspect-ratio: 9/5;
  object-fit: cover;
  margin-bottom: 20px;
}

.blog-wrap .blog-list-title {
  position: relative;
  padding: 0 10px;
  font-size: 1.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

.blog-wrap .blog-list-title::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  background: url(../../image/common/right-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

@media screen and (max-width: 767px) {
  .blog-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}
.at_text{
	text-align: center;
	padding: 40px 0px;
}
