@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
  background-color: white;
  color: black;
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 166px;
}

.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  background-color: white;
  z-index: 2;
  padding: 15px 40px 15px 50px;
  height: 166px; /*176px*/
  display: flex;
}
.header .company-info {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: url(../img/logo.svg) center left no-repeat;
  background-size: contain;
  text-decoration: none;
  color: black;
}
.header .company-info .company-name {
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 35px;
}
.header .company-info .company-subtitle {
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 35px;
}
.header .hamburger {
  display: none;
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}
.header .hamburger .hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 5px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}
.header .hamburger .hamburger-line:nth-child(1) {
  transform: translateY(0);
}
.header .hamburger .hamburger-line:nth-child(2) {
  opacity: 1;
}
.header .hamburger .hamburger-line:nth-child(3) {
  transform: translateY(0);
}
.header .hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header .hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.header .hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-container {
  display: flex;
  min-height: calc(100vh - 166px);
}

.sidebar {
  width: 280px;
  padding: 40px 60px 40px 50px;
  position: sticky;
  top: 166px;
  height: calc(100vh - 166px);
  overflow-y: auto;
  transition: transform 0.3s ease;
}
.sidebar .nav-item {
  display: block;
  margin-bottom: 45px;
  font-size: 16px;
  color: black;
  text-decoration: none;
  position: relative;
  transition: -webkit-text-decoration 0.2s ease;
  transition: text-decoration 0.2s ease;
  transition: text-decoration 0.2s ease, -webkit-text-decoration 0.2s ease;
}
.sidebar .nav-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: black;
  transition: width 0.4s ease;
}
.sidebar .nav-item:hover::after {
  width: 100%;
}
.sidebar .nav-item.current::after {
  width: 100%;
  background-color: black;
}
.sidebar .nav-item.current:hover::after {
  background-color: #666;
}
.sidebar .nav-item.nav-item--top {
  display: none;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: flex-start;
}
.main-content .image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 800px;
  height: 580px;
  margin-top: 30px;
}
.main-content .image-grid .image-item {
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.main-content .image-grid .image-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.main-content .image-grid .image-item img.loaded {
  opacity: 1;
}
.main-content .image-grid .image-item.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ddd;
  border-top: 2px solid black;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.main-content .image-grid .image-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.main-content .image-grid .image-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.main-content .image-grid .image-item:nth-child(3) {
  grid-column: 3/span 2;
  grid-row: 1/3;
}
.main-content .image-grid .image-item:nth-child(4) {
  grid-column: 1/3;
  grid-row: 2;
}

.main-content02 {
  flex: 1;
  padding: 0 40px 0 80px;
  width: 920px;
}
.main-content02 h1 {
  margin-top: 30px;
  font-size: 28px;
  font-family: "Roboto";
  font-weight: 400;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 1024px) {
  body {
    width: 100%;
    padding-top: 166px;
  }
  .header {
    width: 100%;
    left: 0;
    transform: none;
    padding: 15px 40px 15px 40px;
  }
  .header .hamburger {
    display: block;
  }
  .main-container {
    position: relative;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    padding: 80px 60px 40px 40px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    border-right: 1px solid #ddd;
    transform: translateX(-100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .sidebar .nav-item.nav-item--top {
    display: block;
  }
  .sidebar-overlay {
    display: block;
  }
  .sidebar-overlay.active {
    display: block;
  }
  .main-content,
  .main-content02 {
    width: 100%;
    padding: 0 40px;
  }
  .main-content .image-grid,
  .main-content02 .image-grid {
    max-width: 800px;
    height: 580px;
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .main-content .image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    height: 1200px;
  }
  .main-content .image-grid .image-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .main-content .image-grid .image-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .main-content .image-grid .image-item:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }
  .main-content .image-grid .image-item:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
  }
}
.main-content02 h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.works,
.about,
.profile,
.contact,
.news {
  margin-top: 60px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  line-height: 1.8;
  font-size: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Works コンテンツスタイル */
.works-filter {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.filter-button {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 300;
  position: relative;
  transition: color 0.3s ease;
}
.filter-button::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: black;
  transition: width 0.4s ease;
}
.filter-button:hover, .filter-button.active {
  color: black;
}
.filter-button:hover::after, .filter-button.active::after {
  width: 100%;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.work-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.work-item:nth-child(1) {
  animation-delay: 0.3s;
}
.work-item:nth-child(2) {
  animation-delay: 0.4s;
}
.work-item:nth-child(3) {
  animation-delay: 0.5s;
}
.work-item:nth-child(4) {
  animation-delay: 0.6s;
}
.work-item:nth-child(5) {
  animation-delay: 0.7s;
}
.work-item:nth-child(6) {
  animation-delay: 0.8s;
}
.work-item:hover {
  transform: translateY(-5px);
}
.work-item.no-effect {
  cursor: default;
}
.work-item.no-effect:hover {
  transform: none;
}
.work-item.no-effect:hover .work-image img {
  transform: none;
}
.work-item .work-image {
  width: 100%;
  height: 250px;
  background-color: #f5f5f5;
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
}
.work-item .work-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.work-item .work-image img.img-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.work-item:hover .work-image img {
  transform: scale(1.05);
}
.work-item .work-title {
  font-size: 14px;
  font-weight: 400;
  color: black;
}
.work-item .work-year {
  font-size: 12px;
  color: #666;
  font-weight: 300;
}
.work-item .work-category {
  font-size: 11px;
  color: #999;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 18px;
  font-weight: 400;
  margin: 0px 0 40px 0;
  color: black;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.section-content p {
  margin-bottom: 15px;
}
.section-content ul {
  list-style: none;
  display: flex;
  width: -moz-max-content;
  width: max-content;
  flex-direction: column;
  margin-left: auto;
  margin-top: 30px;
  margin-right: 30px;
  margin-bottom: 30px;
  font-size: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .works-filter {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
  }
  .works-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }
  .work-item .work-image {
    height: 200px;
  }
  .section-title {
    margin: 60px 0 30px 0;
    font-size: 16px;
  }
}
/* フェードインアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 隠しクラス */
.hidden {
  display: none;
}

.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: black;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1003;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.page-top:hover {
  background-color: #333;
  transform: translateY(-2px);
}
.page-top.show {
  opacity: 1;
  visibility: visible;
}
.page-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: translate(-50%, -30%) rotate(-45deg);
}

@media (max-width: 1024px) {
  .page-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
.about-table {
  display: flex;
  flex-flow: column;
  row-gap: 45px;
}
.about-table div {
  display: grid;
  grid-template-columns: 100px 3fr;
  gap: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}
.about-table div:nth-child(1) {
  animation-delay: 0.2s;
}
.about-table div:nth-child(2) {
  animation-delay: 0.3s;
}
.about-table div:nth-child(3) {
  animation-delay: 0.4s;
}
.about-table div:nth-child(4) {
  animation-delay: 0.5s;
}
.about-table div:nth-child(5) {
  animation-delay: 0.6s;
}
.about-table div .about-context {
  font-weight: 300;
}
.about-table div .about-context .note {
  font-size: 12px;
  color: #666;
}
@media (max-width: 768px) {
  .about-table div .about-context .note {
    display: block;
  }
}

.member-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 768px) {
  .member-list {
    grid-template-columns: 1fr;
  }
}
.member-list .member-item > div {
  display: flex;
  gap: 15px;
}
.member-list .member-item > div .member-text {
  display: flex;
  flex-flow: column;
}
.member-list .member-item > div .member-text .member-name {
  display: flex;
  flex-flow: column;
  font-size: 18px;
}
.member-list .member-item > div .member-text .member-name .member-job {
  font-size: 12px;
}
.member-list .member-item > div .member-text .member-status {
  margin-top: 30px;
  list-style: none;
  display: flex;
  flex-flow: column;
  line-height: 1.4;
}
.member-list .member-item > div .member-text .member-status em {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
}
.member-list .member-item > div .member-text .member-status li:last-child {
  font-size: 11px;
  margin-top: 5px;
}
.member-list .member-item .member-history {
  margin-top: 15px;
  display: grid;
  font-size: 12px;
}
.member-list .member-item .member-history > div {
  display: grid;
  grid-template-columns: 100px 1fr;
}

.contact-tel,
.contact-mail {
  display: grid;
  grid-template-columns: 100px 3fr;
  gap: 30px;
  margin-top: 30px;
  font-size: 18px;
}
.contact-tel #encrypted-email a,
.contact-mail #encrypted-email a {
  text-decoration: none;
  color: #000;
}

.contact-tel {
  margin-top: 60px;
}

/* 物件詳細ページ用スタイル */
.project-detail .project-title {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 18px;
  font-family: "Roboto";
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
  letter-spacing: 0.5px;
}
.project-detail .project-content {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}
.project-detail .project-slider-container {
  margin-bottom: 60px;
}
.project-detail .project-slider {
  background: #ffffff;
}
.project-detail .project-slider .slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  -o-object-fit: contain;
     object-fit: contain; /* cover トリミング */
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.project-detail .project-slider .slide.portrait img {
  width: auto;
  max-height: 600px;
  -o-object-fit: contain;
     object-fit: contain;
}
.project-detail .project-slider .slide.is-small img {
  max-height: 300px;
}
.project-detail .project-info .project-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  line-height: 1.4;
  font-size: 13px;
}
.project-detail .project-info .project-details .detail-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 25px;
  align-items: baseline;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease-out forwards;
}
.project-detail .project-info .project-details .detail-item:nth-child(1) {
  animation-delay: 0.4s;
}
.project-detail .project-info .project-details .detail-item:nth-child(2) {
  animation-delay: 0.45s;
}
.project-detail .project-info .project-details .detail-item:nth-child(3) {
  animation-delay: 0.5s;
}
.project-detail .project-info .project-details .detail-item:nth-child(4) {
  animation-delay: 0.55s;
}
.project-detail .project-info .project-details .detail-item:nth-child(5) {
  animation-delay: 0.6s;
}
.project-detail .project-info .project-details .detail-item .detail-label {
  font-weight: 300;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.2px;
}
.project-detail .project-info .project-details .detail-item .detail-value {
  font-weight: 300;
  font-size: 13px;
  color: black;
  line-height: 1.3;
}

/* Slickナビゲーションのスタイル */
.slick-prev, .slick-next {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  z-index: 100;
  transition: background 0.3s ease;
}
.slick-prev:hover, .slick-next:hover {
  background: rgba(0, 0, 0, 0.7);
}
.slick-prev:before, .slick-next:before {
  color: white;
  font-size: 16px;
}

.slick-prev {
  left: 20px;
}

.slick-next {
  right: 20px;
}

.slick-dots {
  bottom: -30px !important;
}
.slick-dots li button:before {
  font-size: 24px !important;
  color: #000;
  opacity: 0.3;
}
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #000;
}

/* レスポンシブ対応の追加 */
@media (max-width: 768px) {
  .project-detail .project-slider .slide img {
    max-height: 250px;
  }
  .project-detail .project-slider .slide.portrait img {
    max-height: 370px;
    height: 370px;
  }
  .project-detail .project-info .project-details {
    gap: 15px;
  }
  .project-detail .project-info .project-details .detail-item {
    grid-template-columns: 55px 1fr;
    gap: 20px;
  }
  .project-detail .project-info .project-details .detail-item .detail-label {
    font-size: 10px;
  }
  .project-detail .project-info .project-details .detail-item .detail-value {
    font-size: 12px;
  }
  .slick-prev {
    left: 10px;
  }
  .slick-next {
    right: 10px;
  }
}
/* 戻るリンクのスタイル */
.back-to-works {
  margin-top: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.7s;
}
.back-to-works .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  position: relative;
  line-height: 2;
  transition: color 0.3s ease;
}
.back-to-works .back-link i {
  font-size: 10px;
  transition: transform 0.3s ease;
}
.back-to-works .back-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: black;
  transition: width 0.4s ease;
}
.back-to-works .back-link:hover {
  color: black;
}
.back-to-works .back-link:hover i {
  transform: translateX(-3px);
}
.back-to-works .back-link:hover::after {
  width: 100%;
}

/* フッター */
.footer {
  margin-top: 60px;
  padding: 10px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.footer .footer-copyright {
  font-size: 10px;
  font-weight: 300;
  color: #888;
  text-align: center;
}

/* フッターのレスポンシブ対応 */
@media (max-width: 768px) {
  .footer {
    margin-top: 40px;
    padding: 10px 0 20px;
  }
  .footer .footer-copyright {
    font-size: 9px;
  }
}/*# sourceMappingURL=styles.css.map */