/*=============================================
 * HOME
*=============================================*/
.btn-scroll {
   width: 12px;
   cursor: pointer;
   transition: all 0.3s;
   position: relative;
   text-align: center;
}

.btn-scroll dd {
   background-color: #ccc;
   width: 1px;
   height: 180px;
   margin: 10px auto 0;
   position: relative;
   overflow: hidden;
}

.btn-scroll dd:after {
   content: '';
   width: 100%;
   height: 100%;
   background-color: #008570;
   position: absolute;
   top: 0;
   left: 0;
   animation: sdl01 2s infinite;
}

.btn-scroll:hover {
   opacity: 0.7;
}

@keyframes sdl01 {
   0% {
      transform: translateY(-100%);
   }

   100% {
      transform: translateY(100%);
   }
}

/* -- -- */
#mv {
   position: relative;
}

#mv .logo {
   width: 180px;
   position: absolute;
   top: 20%;
   left: 50%;
   transform: translateX(-50%);
}

@media screen and (max-width: 1023px) {
   #mv .logo {
      top: 10%;
   }
}

@media screen and (max-width: 767px) {
   #mv .logo {
      width: 24vw;
      top: 7vw;
   }
}

/* -- --*/
#about {
   position: relative;
   padding: 325px 0 435px;
}

#about .wrap {
   display: flex;
   justify-content: space-between;
   gap: 30px;
}

#about .col {
   width: 470px;
   color: #8A6339;
}

#about .logo {
   width: 161px;
   margin: 0 auto;
}

#about h2 {
   width: 283px;
   padding-top: 150px;
}

#about .sub {
   line-height: 2.22;
   padding-top: 50px;
}

#about .sub strong {
   font-weight: 700;
}

#about .txt {
   width: 684px;
   color: #ccc;
   line-height: 2.22;
}

#about .txt p:not(:last-child) {
   padding-bottom: 50px;
}

@media screen and (max-width: 1440px) {
   #about .txt {
      width: 630px;
   }
}

@media screen and (max-width: 1023px) {
   #about .wrap {
      flex-direction: column;
      align-items: center;
      gap: 50px;
   }
}

@media screen and (max-width: 767px) {
   #about {
      padding: 100px 0;
   }

   #about .wrap {
      gap: 30px;
   }

   #about .col,
   #about .txt {
      width: 100%;
   }

   #about .logo {
      width: 30vw;
   }

   #about h2 {
      width: 70%;
      padding-top: 50px;
   }

   #about .sub {
      padding-top: 20px;
   }

   #about .txt p:not(:last-child) {
      padding-bottom: 30px;
   }
	#about .txt p{
	   font-weight:normal;
		font-size:14px;
	}
}

@media screen and (min-width: 1441px) {
   #about {
      padding-right: 30px;
      padding-left: 30px;
   }

   #about .wrap {
      max-width: 1480px;
   }
}

/* -- --*/
#project .row {
   display: grid;
   justify-content: center;
   align-items: center;
   position: relative;
   margin-bottom: 20px;
}

#project .row img,
#project .row .text {
   grid-area: 1/1;
}

#project .row .text {
   padding: 50px 11.5%;
   position: relative;
}

#project .row h2 {
   font-weight: 400;
   letter-spacing: 0.1em;
}

#project .row .txt {
   font-size: 14px;
   line-height: 24px;
   letter-spacing: 0.03em;
   padding-top: 20px;
}

#project .photo img {
   width: 100%;
   max-width: inherit;
}

@media screen and (max-width: 767px) {
   #project .row .text {
      padding: 20vw 20px;
   }

   #project .row .txt {
      font-size: 12px;
      line-height: 20px;
      padding-top: 10px;
   }
}

/* -- --*/
#gallery {
   padding: 160px 0;
}

@media screen and (max-width: 767px) {
   #gallery {
      padding: 80px 0;
   }
}

/* -- --*/
#news {
   background-color: #F6F6F6;
   color: #333;
   padding: 160px 0;
}

#news .wrap {
   display: flex;
   align-items: flex-end;
   flex-wrap: wrap;
   gap: 50px;
}

#news h2 {
   flex: 1 0 0;
   font-weight: 400;
   letter-spacing: 0.3em;
}

#news .btn-more {
   font-weight: 400;
}

#news .btn-more a {
   letter-spacing: 0.1em;
   border-bottom: 1px solid;
}

#news .btn-more a:hover {
   border-bottom-color: transparent;
}

#news .news-list {
   width: 100%;
}

@media screen and (max-width: 767px) {
   #news {
      padding: 80px 0;
   }

   #news .wrap {
      gap: 30px;
   }
}

/*=============================================
 * Project
*=============================================*/
#project-detail {
   font-size: 15px;
   padding: 210px 0 350px;
}

#project-detail .tabs-switch .tab-content figure {
   display: block;
   width: 100%;
   padding-top: 62%;
   position: relative;
   transition: all 0.3s;
}

#project-detail .tabs-switch .tab-content figure img {
   position: absolute;
   top: 0;
   left: 0;
}

#project-detail .tabs-switch .tab-link {
   display: grid;
   grid-template-columns: repeat(5, 1fr);
   gap: 20px;
   padding-top: 20px;
}

#project-detail .tabs-switch .tab-link li {
   display: block;
   width: 100%;
   padding-top: 62%;
   position: relative;
   cursor: pointer;
   transition: all 0.3s;
   background-color: #000;
}

#project-detail .tabs-switch .tab-link li img {
   position: absolute;
   top: 0;
   left: 0;
   transition: all 0.3s;
}

#project-detail .tabs-switch .tab-link li.active img,
#project-detail .tabs-switch .tab-link li:hover img {
   opacity: 0.5;
}

#project-detail h2 {
   background-color: #323232;
   font-weight: 700;
   line-height: 2;
   padding: 18px 30px;
}

#project-detail .overview,
#project-detail .floor,
#project-detail .access {
   padding-top: 120px;
}

#project-detail .overview .txt {
   padding-top: 70px;
}

#project-detail .overview .txt dl {
   display: grid;
   grid-template-columns: 200px 1fr;
   border-bottom: 1px solid;
   padding-bottom: 25px;
}

#project-detail .overview .txt dl+dl {
   padding-top: 25px;
}

#project-detail .overview .txt dl dt {
   font-weight: 700;
   padding: 0 20px;
}

#project-detail .floor .map {
   background-color: #1A1A1A;
   margin-top: 70px;
   padding: 40px;
}

#project-detail .floor .map figure {
   max-width: 800px;
   margin: 0 auto;
}

#project-detail .floor .table {
   max-width: 762px;
   padding-top: 70px;
}

#project-detail .floor .table table {
   width: 100%;
}

#project-detail .floor .table table th,
#project-detail .floor .table table td {
   vertical-align: middle;
   border: 1px solid #fff;
   text-align: center;
}

#project-detail .floor .table table th {
   height: 46px;
   background-color: #323232;
   font-weight: 700;
}

#project-detail .floor .table table td {
   height: 60px;
}

#project-detail .floor .note {
   color: #999;
   font-size: 14px;
   padding-top: 12px;
}

#project-detail .access .gmap {
   width: 100%;
   height: 553px;
   margin-top: 70px;
}

#project-detail .access .gmap iframe {
   display: block;
   width: 100%;
   height: 100%;
}

#project-detail .access .txt {
   padding-top: 32px;
}

@media screen and (max-width: 767px) {
   #project-detail {
      font-size: 14px;
      padding: 100px 0;
   }

   #project-detail .tabs-switch .tab-link {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      padding-top: 10px;
   }

   #project-detail h2 {
      padding: 12px 15px;
   }

   #project-detail .overview,
   #project-detail .floor,
   #project-detail .access {
      padding-top: 50px;
   }

   #project-detail .overview .txt {
      padding-top: 30px;
   }

   #project-detail .overview .txt dl {
      grid-template-columns: 80px 1fr;
      padding-bottom: 15px;
   }

   #project-detail .overview .txt dl+dl {
      padding-top: 15px;
   }

   #project-detail .overview .txt dl dt {
      padding: 0;
   }

   #project-detail .floor .map {
      margin-top: 30px;
      padding: 20px 0;
   }

   #project-detail .floor .table {
      padding-top: 30px;
   }

   #project-detail .floor .note {
      font-size: 12px;
   }

   #project-detail .access .gmap {
      height: 300px;
      margin-top: 30px;
   }

   #project-detail .access .txt {
      padding-top: 20px;
   }
}

#project-other h2 {
   font-weight: 400;
   letter-spacing: 0.3em;
   padding-bottom: 100px;
}

#project-other .bnr {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
}

#project-other .bnr a {
   display: grid;
   justify-content: center;
   align-items: center;
   position: relative;
}

#project-other .bnr .text,
#project-other .bnr img {
   grid-area: 1/1;
}

#project-other .bnr .text {
   padding: 50px 15.6%;
   position: relative;
   z-index: 1;
}

#project-other .bnr h3 {
   font-weight: 400;
   letter-spacing: 0.3em;
}

#project-other .bnr .txt {
   font-weight: 400;
   font-size: 14px;
   line-height: 24px;
   letter-spacing: 0.03em;
   padding-top: 20px;
}

@media screen and (max-width: 1440px) {
   #project-other .bnr .text {
      padding: 50px 5%;
   }
}

@media screen and (max-width: 1023px) {
   #project-other .bnr {
      grid-template-columns: 1fr;
   }

   #project-other .bnr .text {
      padding: 50px 15%;
   }
}

@media screen and (max-width: 767px) {
   #project-other h2 {
      padding-bottom: 50px;
   }

   #project-other .bnr .text {
      padding: 20vw 20px;
   }

   #project-other .bnr .txt {
      font-size: 12px;
      line-height: 20px;
      padding-top: 10px;
   }
}

/*=============================================
 * Post type
*=============================================*/
.wp-pagenavi {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   gap: 15px;
   font-family: "Roboto", sans-serif;
   font-weight: 400;
   font-size: 16px;
   position: relative;
   padding-top: 70px;
}

.wp-pagenavi .pages {
   display: none;
}

.wp-pagenavi span,
.wp-pagenavi a {
   display: block;
   border-bottom: 1px solid transparent;
}

.wp-pagenavi .previouspostslink {
   margin-right: 20px;
}

.wp-pagenavi .nextpostslink {
   margin-left: 20px;
}

.wp-pagenavi a:hover {
   border-bottom-color: #fff;
}

.wp-pagenavi .current {
   pointer-events: none;
   border-bottom-color: #fff;
}

@media screen and (max-width: 767px) {
   .wp-pagenavi {
      padding-top: 40px;
   }
}

/* -- -- */
.news-list li {
   border-top: 1px solid #ADADAD;
   border-bottom: 1px solid #ADADAD;
}

.news-list li+li {
   border-top: 0;
}

.news-list a {
   display: grid;
   grid-template-columns: auto 1fr;
   align-items: center;
   gap: 80px;
   padding: 31px 0;
}

.news-list time {
   font-weight: 400;
}

.news-list span {
   font-weight: 700;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 1;
   display: -webkit-box;
   overflow: hidden;
}

@media screen and (max-width: 767px) {
   .news-list a {
      grid-template-columns: 1fr;
      gap: 5px;
      padding: 20px 0;
   }

   .news-list span {
      -webkit-line-clamp: 2;
   }
}

/*=============================================
 * News
 *=============================================*/
.pt-news {
   padding: 215px 0;
}

@media screen and (max-width: 767px) {
   .pt-news {
      padding: 100px 0;
   }
}

/*=============================================
 * Post Detail
 *=============================================*/
.pt-detail {
   position: relative;
   padding: 200px 0;
}

.pt-detail-title {
   font-weight: 700;
   line-height: 1.8;
   letter-spacing: 0.01em;
   padding-top: 20px;
}

.pt-detail-time {
   display: block;
   font-weight: 700;
   font-size: 16px;
   letter-spacing: 0.1em;
   line-height: 1.9;
   color: #868686;
}

.pt-detail-cate {
   display: flex;
   flex-direction: column;
   gap: 10px;
   font-weight: 600;
   padding-bottom: 25px;
}

.pt-detail-cate a {
   display: block;
   border-left: 8px solid #000;
   padding-left: 8px;
}

.pt-detail-thumb {
   padding-top: 30px;
}

.pt-detail-content {
   display: flex;
   flex-direction: column;
   gap: 30px;
   line-height: 1.88;
   padding-top: 75px;
}

.pt-detail-content h2,
.pt-detail-content h3,
.pt-detail-content h4,
.pt-detail-content h5,
.pt-detail-content h6 {
   font-style: normal;
   font-weight: 700;
   line-height: 1.5;
   letter-spacing: 0.02em;
   margin-top: 45px;
}

.pt-detail-content h2 {
   background-color: #323232;
   font-size: 21px;
   padding: 22px 25px;
	margin-top:30px !important;
}

.pt-detail-content h3 {
   font-size: 18px;
   border-bottom: 2px solid #AFB6B8;
   padding-bottom: 10px;
	margin-top:25px !important;
}

.pt-detail-content h4 {
   font-size: 16px;
	margin-top:20px !important;
}

.pt-detail-content h5,
.pt-detail-content h6 {
   font-size: 15px;
	margin-top:15px !important;
}
.pt-detail-content h1:first-child,
.pt-detail-content h2:first-child,
.pt-detail-content h3:first-child,
.pt-detail-content h4:first-child,
.pt-detail-content h5:first-child,
.pt-detail-content h6:first-child {
   margin-top: 0;
}

.pt-detail-content p {
	margin-top:15px !important;
	font-size:14px;
}

.pt-detail-content h2+h3,
.pt-detail-content h2+h4,
.pt-detail-content h3+h4 {
   margin-top: 0;
}

.pt-detail-content mark {
   background-color: #FFF6A8;
   color: #333;
}

.pt-detail-content strong {
   font-weight: 700;
}

.pt-detail-content a {
   text-decoration: underline;
}

.pt-detail-content a:hover {
   text-decoration: none;
}

.pt-detail-content hr {
   margin: 30px 0;
}

.pt-detail-nav {
   font-weight: 400;
   font-size: 15px;
   letter-spacing: 0.1em;
   text-align: center;
   border-top: 1px solid #AFB6B8;
   margin-top: 100px;
   padding-top: 40px;
}

.pt-detail-nav a {
   border-bottom: 1px solid;
}

.pt-detail-nav a:hover {
   border-bottom-color: transparent;
}

@media screen and (max-width: 1023px) {
   .pt-detail-content p img {
      display: block;
      margin: 0 auto 15px;
   }

   .pt-detail-content p img:last-child {
      margin: 0 auto;
   }
}

@media screen and (max-width: 767px) {
   .pt-detail {
      padding: 100px 0;
   }

   .pt-detail-cate {
      padding-bottom: 15px;
   }

   .pt-detail-time {
      font-size: 16px;
   }

   .pt-detail-title {
      padding-top: 10px;
   }

   .pt-detail-content {
      padding-top: 40px;
   }

   .pt-detail-content h2,
   .pt-detail-content h3,
   .pt-detail-content h4,
   .pt-detail-content h5,
   .pt-detail-content h6 {
      margin-top: 20px;
   }

   .pt-detail-content h2 {
      font-size: 20px;
      padding: 15px 20px;
   }

   .pt-detail-content h3 {
      font-size: 18px;
   }

   .pt-detail-content h4 {
      font-size: 18px;
   }

   .pt-detail-content p img {
      display: block;
      margin: 0 auto 15px;
   }

   .pt-detail-content p img.alignright {
      margin: 0 auto 15px;
   }

   .pt-detail-content p img:last-child {
      margin: 0 auto !important;
   }

   .pt-detail-content .wp-block-group-is-layout-flex {
      flex-direction: column;
   }

   .pt-detail-nav {
      font-size: 15px;
      margin-top: 50px;
      padding-top: 20px;
   }
}

footer p{
	text-align:center;
	margin:80px 10px 20px 10px;
	font-size:14px;
	color:#666;
}

@media screen and (max-width: 767px) {
	footer p{
		margin:40px 10px 20px 10px;
		font-size:13px;
	}

}