@charset "UTF-8";

/* ========================================
   全ページ共通：ヘッダー・お問い合わせ・フッター
   ページごとの色は body のクラスで切り替えます。

   デフォルト（指定なし） … カラーロゴ / ピンク系ナビ（Top・About）
   theme-logo-black      … 黒ロゴ / 黒ナビ（Works・制作事例）
   theme-logo-white      … 白ロゴ / 白ナビ（Flow）
   ======================================== */

:root {
  --nav-color: #905f6b;
  --nav-hover-color: #7c4f59;
  --nav-underline: #7c4f59;
  --hamburger-color: #905f6b;
}

.theme-logo-black {
  --nav-color: #333;
  --nav-hover-color: #555;
  --nav-underline: #555;
  --hamburger-color: #333;
}

.theme-logo-white {
  --nav-color: #fff;
  --nav-hover-color: #ffdfe8;
  --nav-underline: #ffdfe8;
  --hamburger-color: #fff;
}

[data-include="header"] {
  min-height: 64px;
}

/* ヘッダー */
.header {
  padding: 10px 20px;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  margin: 0;
}
.logo-img {
  display: none;
  height: 40px;
  width: auto;
}
.logo-img--color {
  display: block;
}
.theme-logo-black .logo-img--color,
.theme-logo-white .logo-img--color {
  display: none;
}
.theme-logo-black .logo-img--black {
  display: block;
}
.theme-logo-white .logo-img--white {
  display: block;
}

.header__hamburger {
  display: none;
}
@media (max-width: 768px) {
  .header__hamburger {
    display: block;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
  }
  .hamburger span {
    position: absolute;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--hamburger-color);
    transition: all 0.4s ease;
  }
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 10px;
  }
  .hamburger span:nth-child(3) {
    top: 20px;
  }
  .hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    background-color: #fff;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    background-color: #fff;
  }
}

.main-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  flex: 1;
}
.main-nav li a {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  color: var(--nav-color);
  font-weight: 300;
  transition: color 0.3s ease;
}
.main-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--nav-underline);
  transition: all 0.3s ease;
}
.main-nav li a:hover {
  color: var(--nav-hover-color);
}
.main-nav li a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 20px;
    margin-top: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease;
    z-index: 1000;
  }
  .main-nav li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }
  .main-nav li.show {
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav.active li a {
    color: #fff;
    font-weight: 500;
    font-size: 2rem;
    margin: 10px 0;
    transition: all 0.3s ease;
  }
  .main-nav.active li a:hover {
    color: #ddd;
    transform: scale(1.05);
  }
  .main-nav.active li a::after {
    display: none;
  }
}

/* Contact */
.contact {
  background: #f5f5f5 url(../images/contact-bg.png) no-repeat;
  text-align: center;
  padding: 2rem;
}
.contact-title {
  font-family: "Cinzel", sans-serif;
  color: #333;
  font-weight: 500;
  font-size: 2.5rem;
  margin: 0 0 1rem;
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: nowrap;
  color: #333;
  padding: 2rem;
}
.contact-info p {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  padding-top: 1rem;
}
.contact-info img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
}
.line,
.mail {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: filter 0.3s ease;
}
.line:hover,
.mail:hover {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(7500%) hue-rotate(285deg) brightness(102%) contrast(107%);
}
@media (max-width: 768px) {
  .line,
  .mail {
    width: 40%;
  }
  .contact-info p {
    font-size: small;
  }
}
.contact-note {
  font-size: 1.1rem;
  color: #333;
  font-weight: 400;
}

/* フッター */
.footer {
  background: #b3b3b3;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 10px 20px;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-nav a {
  color: #fff;
  transition: all 0.3s ease;
}
.footer-nav a:hover {
  color: #333;
}
.footer-logo {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}
.footer-logo:hover {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(7500%) hue-rotate(285deg) brightness(102%) contrast(107%);
  transition: filter 0.3s ease;
}
.copy {
  text-align: center;
  padding-top: 2rem;
  color: #fff;
}
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* Works：準備中カード */
.work-card__thumb {
  position: relative;
}
.work-card__thumb img {
  width: 100%;
  display: block;
}
.work-card--soon .work-card__thumb {
  cursor: default;
}
.work-card__soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(51, 51, 51, 0.4);
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

/* Coming Soon ページ */
.coming-soon {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: url(../images/haikei.png) center / cover no-repeat;
  color: #fff;
}
.coming-soon h1 {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 0.5rem;
}
.coming-soon p {
  color: #fff;
  margin: 1rem 0 2rem;
}
.coming-soon .btn {
  display: inline-block;
  background-color: #9b6a76;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 300;
  font-size: 0.95rem;
  box-shadow: 2px 2px 4px -2px #333;
  transition: all 0.4s ease;
}
.coming-soon .btn:hover {
  background-color: #7c4f59;
  box-shadow: none;
}
