@charset "UTF-8";

/* ベースのスタイル
------------------------------------------------------------*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  background: #FFC1A9;
  color: #333;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

/* 共通のスタイル
------------------------------------------------------------*/

.section-heading {
  text-align: center;
}

.section-title {
  color: #333;
  margin: 1rem 0;
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 3.5;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 0 1.25rem;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ヘッダー
------------------------------------------------------------*/

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
}

.header a {
  color: #333;
}

.header a:hover {
  color: #666;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.header-logo {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.05rem;
  white-space: nowrap;
}

/* ハンバーガーメニュー（3本線ボタン） */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 2.5rem;
  height: 1.3rem;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 120;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ナビゲーション（共通） */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 193, 169, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.global-nav.show {
  opacity: 1;
  pointer-events: auto;
}

.nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav__list li {
  margin: 2rem 0;
  font-size: 1.5rem;
}

.nav__list a {
  text-decoration: none;
  color: #333;
  transition: opacity 0.3s;
}

.nav__list a:hover {
  opacity: 0.7;
}

/* カバー
------------------------------------------------------------*/

.cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../images/cover_sp.png);
  height: auto;
  aspect-ratio: 3 / 5;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* メイン
------------------------------------------------------------*/

/* Workセクション */
.works {
  padding: 0 10% 6.25rem 10%;
}

.works-grid {
  display: grid;
  gap: 1.25rem;
}

/* アコーディオン全体の枠 */
.works-category {
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* タイトル部分（クリック対象） */
.works-title {
  padding: 1.25rem;
  font-size: 1.375rem;
  font-weight: bold;
  border-bottom: 3px solid #333;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.works-title:hover {
  background-color: #f0f0f0;
}

/* アコーディオンの中身：初期は非表示 */
.works-content {
  display: none;
  padding: 0.9375rem 1.25rem;
}

/* 開いたときだけ表示 */
.works-content.is-open {
  display: block;
}

.works-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-list li {
  padding: 0.3125rem 0;
  font-size: 1rem;
  color: #333;
}

.works-list-actor li {
  text-align: center;
}

/* Newsセクション */
.news {
  padding: 2.5rem 10%;
  background-color: #D9D9D9;
  text-align: center;
}

.news-card {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9375rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  gap: 0.9375rem;
  margin-bottom: 1.25rem;
}

.news-card img {
  width: 9.375rem;
  height: 6.25rem;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
}

.news-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.news-date {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.3125rem;
}

.news-card h3 {
  font-size: 1.125rem;
  margin: 0;
  text-align: left;
  flex-grow: 1;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: 100%;
  margin-right: 1.25rem;
}

/* 「続きを読む」ボタン */
.read-more {
  display: inline-block;
  background: #007BFF;
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.2s;
  min-width: 6.25rem;
  text-align: center;
  align-self: center;
  margin-left: auto;
}

.read-more:hover {
  background: #0056b3;
}

.news-more {
  margin: 1.875rem auto 3.75rem auto;
  display: flex;
  justify-content: center;
}

/* 「もっと見る」ボタン */
#loadMore {
  background: #007BFF;
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.2s;
}

#loadMore:hover {
  background: #0056b3;
}

.contact_description {
  margin: 0 1.1875rem 3.125rem;
  text-align: center;
}

.contact_button {
  margin: 3.125rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 3.4375rem;
}

.contact_button li {
  list-style: none;
}

.contact_button a {
  display: block;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.625rem;
  line-height: 0;
  color: #fff;
  background-color: #333;
  border-radius: 50%;
}

/* フッター
------------------------------------------------------------*/

.footer {
  padding: 2.5rem;
  font-size: 0.875rem;
  text-align: center;
  color: #fff;
  background: #333;
}

/* PC版のみの調整 */
@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
    line-height: 2;
  }

  main {
    margin: auto;
  }

  .section-title {
    margin: 1.25rem 0;
    font-size: 4.375rem;
    text-align: center;
    line-height: 2.5;
  }

  .header {
    padding: 0 1.875rem;
  }

  .header__hamburger {
    display: none;
  }

  .global-nav {
    position: static;
    opacity: 1;
    pointer-events: auto;
    height: auto;
    display: block;
  }

  .nav__list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 1.25rem;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
  }

  .nav__list li {
    margin: 0;
    font-size: 1rem;
  }

  #overlay {
    background-color: transparent;
  }

  .cover {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100;
    width: 100%;
    height: auto;
    max-height: 100vh;
    color: #fff;
    background-image: url(../images/cover_bg.png);
    aspect-ratio: 16 / 9;
    background-size: contain;
    background-position: center center;
    overflow: hidden;
  }

  .contact_button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
  }
}

/* SP版のみの調整 */
@media (max-width: 768px) {
  .section-title {
    margin: 0.5rem 0;
    line-height: 2.5;
  }

  .works, .news {
    padding: 1.25rem 0 2.5rem 0;
  }

  .works-list li {
    font-size: 0.875rem;
  }

  .news-info {
    display: flex;
    flex-direction: column;
  }

  .news-date {
    font-size: 0.625rem;
  }

  .news-card {
    flex-direction: column;
    text-align: center;
    height: 21.875rem;
    padding: 1.25rem;
  }

  .news-card img {
    width: 14.375rem;
    height: 8.75rem;
    margin-bottom: 0.3125rem;
  }

  .news-card h3 {
    font-size: 0.875rem;
    text-align: center;
  }

  .news-card .read-more {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    min-width: 5.625rem;
    margin: 0 auto;
  }

  #loadMore {
    font-size: 0.875rem;
    padding: 0.375rem 1rem;
  }

  .footer {
    padding: 1.5rem;
  }

  .footer-copyright {
    font-size: 60%;
  }
}
