/* 全体 */
body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background: #f5f2ef;
  color: #222;
}


/* ＝＝＝＝＝ ヒーロー ＝＝＝＝＝ */
.studio-hero {
  background-image: url("../images/studio/studiotop.JPG");
  background-size: cover;
  background-position: center 55%;
  padding: 80px 20px;
  position: relative;
}

.studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.studio-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.studio-hero h1 {
  font-size: 3rem;
  color: #fff;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 0 12px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
  .studio-hero h1 {
    font-size: 2.3rem;
  }
}


/* ＝＝＝＝＝ スタジオ一覧 ＝＝＝＝＝ */

.studio-list {
  max-width: 900px;
  margin: 40px auto 70px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.studio-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 3px 15px rgba(0,0,0,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
}

.studio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.25);
}

.studio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.studio-card-text {
  padding: 22px 20px 28px;
}

.studio-card-text h2 {
  font-size: 1.7rem;
  margin: 0 0 10px;
}

.studio-card-text p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.studio-link {
  font-size: 1rem;
  color: #e02b2b;
  font-weight: 700;
}

/* スマホ */
@media (max-width: 768px) {
  .studio-card img {
    height: 220px;
  }
}


/* サイトマップ */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  color: #fff;
  background: #111;
}

.footer-sitemap h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.07em;
}

.footer-sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-sitemap li {
  margin-bottom: 6px;
}

.footer-sitemap a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-sitemap a:hover {
  text-decoration: underline;
  color: #ffd768; /* ホバーを少し黄色にして統一感UP */
}

@media (max-width: 768px) {
  .footer-sitemap {
    grid-template-columns: 1fr 1fr;
    gap: 25px 10px;
  }
}


/* ====== ヘッダー（PCデフォルト表示） ====== */
.site-header {
  background-color: #222;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.site-header .logo {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* ====== ハンバーガー（スマホのみ） ====== */
.hamburger {
  display: none;
}

/* ====== スマホ用調整 ====== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .hamburger span {
    background: white;
    height: 3px;
    margin: 4px 0;
    width: 25px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #222;
    flex-direction: column;
    text-align: center;
    z-index: 1000;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    margin: 10px 0;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    margin: 20px 10px;
  }

  .slider {
    gap: 6px;
  }

  .slider a {
    flex: 0 0 33.3%;
  }

  .slider img {
    max-width: 140px;
  }
}


