@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol:wght@400;500;700&family=Kaisei+Opti:wght@400;500;700&display=swap');

/*ヘッダー部分開始*/
.header {
  margin: 0;
  position: fixed;
  width: 100%;
  height: 52px;
  text-align: right;
  z-index: 1000;
}

/* 背景全体をカバーする要素 */
.menu-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fdfbef;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 999;
}

/* メニューを開いたときに背景色を適用 */
.menu-btn:checked~.menu-background {
  opacity: 1;
  pointer-events: auto;
}

/* ナビゲーションメニュー */
.menu {
  list-style: none;
  position: absolute;
  width: 100%;
  top: 52px;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #fdfbef;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 0.3s ease-in-out;
  z-index: 1001;
  /* メニューを前面に表示 */
}

/* メニュー表示時 */
.menu-btn:checked~.menu {
  transform: scale(1, 1);
}

/* ハンバーガーボタン */
.menu-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 20px;
  right: 10px;
  width: 70px;
  height: 70px;
  background-color: #fdfbef;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1002;
  border: 2px solid #d4bc89;
}

@media (max-width: 760px) {
  .menu-icon {
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px;
  }

  .menu a {
    font-size: 24px !important;
  }

  .menu li {
    padding: 10px 0 !important;
    margin: 0 20px !important;
  }
}

.menu-icon.no-border {
  border: none;
}

/* ハンバーガーボタンのアイコン */
.navicon {
  background: #000;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3s ease-in-out;
}

/* 上下のバー */
.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 3px;
  width: 26px;
  position: absolute;
  background: #000;
  transition: 0.3s ease-in-out;
}

.navicon:before {
  top: 8px;
}

.navicon:after {
  bottom: 8px;
}

/* メニューを開いたときのハンバーガーアイコンのアニメーション */
.menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

.menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
  top: 0;
}

.menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
  bottom: 0;
}

/* メニュー内のリンク */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 50px;
  text-transform: capitalize;
  color: #000;
  opacity: 0;
  transition: opacity 0.5s;
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-style: normal;
}

.menu li {
  border-top: 1px solid rgb(75, 75, 75);
  padding: 15px 0;
  margin: 0 54px;
  opacity: 0;
  transition: opacity 0.5s;
}

/* メニュー表示時にテキストをフェードイン */
.menu-btn:checked~.menu a,
.menu-btn:checked~.menu li {
  opacity: 1;
}

/* メニューの表示非表示切り替え */
.menu-btn {
  display: none;
}

/*ヘッダー部分終了*/





/*イラスト部分開始*/
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* PC用イラスト */
.pc-illustration {
  width: 100%;
  height: 100%;
  display: block;
}

.pc-illustration .thanks-sketch {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -40px;
  display: block;
}

/* スマホ用イラスト（縦並び） */
.sp-illustration {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.sp-illustration .smartphone-img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  position: absolute;
  top: 0;
  display: block;
  margin: 0;
}

.sp-illustration .title-img {
  width: 100%;
  height: 30%;
  object-fit: contain;
  position: absolute;
  bottom: 4%;
  display: block;
  margin: 0;
  padding: 0;
}

@media (min-width: 981px) {
  .pc-illustration .thanks-sketch {
    height: 100%;
    width: auto;
    min-width: 100%;
  }
}

@media (max-width: 980px) {
  .pc-illustration .thanks-sketch {
    width: 100%;
    height: 100%;
    object-fit: center;
    object-position: center;
  }
}

@media (max-width: 760px) {
  .pc-illustration {
    display: none;
  }

  .sp-illustration {
    display: block;
    font-size: 0;
    line-height: 0;
    margin-bottom: -135px;
  }

  .sp-illustration .smartphone-img {
    margin-bottom: -10px;
  }

  .sp-illustration .title-img {
    margin-top: -10px;
  }
}

/*イラスト部分終了*/



/* YouTube歌枠部分開始 */
.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.category {
  width: 100%;
  position: relative;
  margin-bottom: 50px;
}

.category-title {
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-style: normal;
}

@media (max-width: 760px) {
  .category-title.first {
    font-size: 40px;
    margin-top: -20px;
    margin-bottom: 40px;
    text-align: center;
    max-width: 100%;
    font-family: "Kaisei Decol", serif;
    font-weight: 700;
    font-style: normal;
  }

  .category-title.second {
    font-size: 40px;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
    max-width: 100%;
    font-family: "Kaisei Decol", serif;
    font-weight: 700;
    font-style: normal;
  }

}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 760px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category:first-child .video:nth-child(n+2) {
    display: none;
  }

  .category:nth-child(2) .video {
    display: flex;
  }
}

.video {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.video-box {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background-color: black;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.video-box:hover {
  transform: scale(1.03);
}

.video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  font-size: 30px;
  margin-top: 10px;
  text-align: center;
  max-width: 100%;
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-style: normal;
}

@media (max-width: 760px) {
  .video-title {
    font-size: 20px;
    margin-top: 10px;
    text-align: center;
    max-width: 100%;
    font-family: "Kaisei Decol", serif;
    font-weight: 700;
    font-style: normal;
  }
}




/* ボタンコンテナのスタイル */
.reload-button-container {
  position: absolute;
  top: 35px;
  right: 0;
  z-index: 10;
}

.reload-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(253, 160, 133, 0.3);
  font-family: "Kaisei Decol", serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.reload-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fda085 0%, #f6d365 100%);
  opacity: 0;
  z-index: -1;
  transition: all 0.3s ease;
}

.reload-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(253, 160, 133, 0.4);
}

.reload-button:hover:before {
  opacity: 1;
}

.reload-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(253, 160, 133, 0.2);
}

.reload-icon {
  display: inline-block;
  margin-right: 6px;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.reload-button:hover .reload-icon {
  transform: rotate(240deg);
}

.reload-button:disabled {
  background: linear-gradient(135deg, #e0e0e0 0%, #cccccc 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: not-allowed;
  color: #999;
}

.reload-button:disabled .reload-icon {
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* レスポンシブ対応 */
@media (max-width: 760px) {
  .reload-button-container {
    top: 35px;
  }

  .reload-button {
    padding: 6px 12px;
    font-size: 12px;
  }

  .reload-icon {
    font-size: 14px;
    margin-right: 4px;
  }
}

/* YouTube歌枠部分終了 */










/* news部分開始 */
.news-container-unique {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* ヘッダー部分 - Newsを中央に配置 */
.news-header-unique {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.news-title-unique {
  font-size: 50px;
  color: #111827;
  margin: 0;
  letter-spacing: -0.03em;
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-style: normal;
}

.news-divider-unique {
  height: 4px;
  width: 60px;
  background: linear-gradient(90deg, #ffcdb2, #ffdfd3);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* 記事一覧 */
.new-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-family: "Kaisei Decol", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 30px;
}

.news-item-unique {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news-item-link-unique {
  display: flex;
  align-items: center;
  background-color: #fefefe;
  padding: 1.5rem;
  text-decoration: none;
  color: #111827;
  position: relative;
  border-radius: 12px;
  border: 1px solid #ffa183;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-item-date-unique {
  min-width: 110px;
  margin-right: 1.5rem;
  padding-right: 1.5rem;
  border-right: 1px solid #ffa183;
  font-size: 20px;
  color: #ffa183;
  font-weight: 600;
}

.news-item-title-unique {
  flex: 1;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  padding-right: 2rem;
  line-height: 1.5;
  text-align: left;
  transition: transform 0.3s ease;
}

.news-item-arrow-unique {
  position: absolute;
  right: 1.5rem;
  color: #ffcdb2;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

/* ホバーエフェクト - 文字のみ動かす */
.news-item-unique:hover .news-item-link-unique {
  border-color: #ffa183;
  box-shadow: 0 4px 6px -1px rgba(255, 161, 131, 0.08);
  background-color: #fffcfb;
  /* 全体のtransformを削除（上に動かないように） */
}

.news-item-unique:hover .news-item-title-unique {
  /* タイトルを左に少し動かす */
  transform: translateX(-5px);
}

.news-item-unique:hover .news-item-arrow-unique {
  opacity: 1;
  transform: translateX(0);
  color: #ffa183;
}

/* 記事一覧へのリンク */
.go-to-news {
  margin-top: 2.5rem;
  text-align: center;
}

.go-to-news-link-unique {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffcdb2;
  color: #9a6348;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(255, 161, 131, 0.1);
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-style: normal;
}

.go-to-news-text-unique {
  font-size: 1rem;
}

.go-to-news-icon-unique {
  transition: transform 0.3s ease;
}

.go-to-news-link-unique:hover {
  background: #ffb898;
}

.go-to-news-link-unique:hover .go-to-news-icon-unique {
  transform: translateX(5px);
}

.go-to-news-link-unique:active {
  box-shadow: 0 2px 4px -1px rgba(255, 161, 131, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 760px) {
  .news-container-unique {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .news-title-unique {
    font-size: 40px;
  }

  .news-item-link-unique {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }

  .news-item-date-unique {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #ffa183;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    width: 100%;
  }

  .news-item-title-unique {
    padding-right: 0;
    font-size: 1rem;
  }

  .news-item-arrow-unique {
    top: 1.25rem;
    right: 1.25rem;
  }
}

/* news部分終了 */














/* プロフィール部分開始 */
.tm-profile-container,
.sn-profile-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tm-profile-box,
.sn-profile-box {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto 8rem;
  padding: 20px;
  color: #000000;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.tm-profile-text-center,
.sn-profile-text-center {
  text-align: center;
}

.tm-profile-tamaya-img,
.sn-profile-img {
  width: 40%;
  max-width: 300px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  z-index: 2;
}

.tm-profile-text-main,
.sn-profile-text-main {
  font-size: 24px;
  position: relative;
  z-index: 2;
}

.tm-profile-text.tm-profile-sub,
.sn-profile-text.sn-profile-sub {
  width: 50%;
  max-width: 500px;
  padding: 10px;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  position: relative;
  z-index: 2;
}

/* 背景テキストのスタイル */
.tm-background-text,
.sn-background-text {
  position: absolute;
  font-size: 50px;
  font-weight: bold;
  color: rgb(138, 138, 138);
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.5s ease;
}

.tm-background-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sn-background-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* たまやのフェードインスタイル */
.tm-fade-from-left {
  transform: translate3d(-100px, 0, 0);
  transition: transform 1.5s, opacity 1.5s;
  opacity: 0;
}

.tm-fade-from-right {
  transform: translate3d(100px, 0, 0);
  transition: transform 1.5s, opacity 1.5s;
  opacity: 0;
}

/* 園部マヤのフェードインスタイル */
.sn-fade-from-left {
  transform: translate3d(-100px, 0, 0);
  transition: transform 1.5s, opacity 1.5s;
  opacity: 0;
}

.sn-fade-from-right {
  transform: translate3d(100px, 0, 0);
  transition: transform 1.5s, opacity 1.5s;
  opacity: 0;
}

/* アニメーション完了時のスタイル */
.tm-fade-from-left.animated,
.tm-fade-from-right.animated,
.sn-fade-from-left.animated,
.sn-fade-from-right.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* プロフィール部分終了 */


/* プロフィール詳細部分開始 */

/* TAMAYAボタン部分開始 */
/* ボタンのスタイル */

.btn-container-tamaya {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.toggle-btn-tamaya {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: inline-block;
}

.toggle-btn-tamaya:hover {
  background-color: #0056b3;
}

/* テキストのコンテナ（初期状態） */
.hidden-text-tamaya {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out, opacity 0.4s ease-out;
}

/* チェックボックスをチェックしたらスライドダウン */
#toggle-tamaya:checked~.hidden-text-tamaya {
  max-height: 3000px;
  opacity: 1;
}

/* チェックボックスは非表示 */
#toggle-tamaya {
  display: none;
}

/* テキストのスタイル */
.hidden-text-tamaya p {
  max-width: 550px;
  margin: 10px auto;
  padding: 10px;
}

#tamaya-career-title {
  text-align: center;
  font-size: 25px;
}

.twitter-timeline {
  display: block;
  margin: 0 auto;
  width: 320px;
}

/* TAMAYAボタン部分終了 */

/* 園部マヤボタン部分開始 */
/* ボタンのスタイル */

.btn-container-sonobe {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.toggle-btn-sonobe {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: inline-block;
}

.toggle-btn-sonobe:hover {
  background-color: #0056b3;
}

/* テキストのコンテナ（初期状態） */
.hidden-text-sonobe {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out, opacity 0.4s ease-out;
}

/* チェックボックスをチェックしたらスライドダウン */
#toggle-sonobe:checked~.hidden-text-sonobe {
  max-height: 1000px;
  opacity: 1;
}

/* チェックボックスは非表示 */
#toggle-sonobe {
  display: none;
}

/* テキストのスタイル */
.hidden-text-sonobe p {
  max-width: 600px;
  margin: 10px auto;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* 園部マヤボタン部分終了 */

/* プロフィール詳細部分終了 */





/* リンク部分開始 */
.links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.content {
  padding: 5rem 0;
  font-family: "Mochiy Pop One", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}

.link-section {
  text-align: center;
  margin-bottom: 2rem;
}

.section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.section p {
  margin-bottom: 3rem;
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.image-container {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.image-container.active {
  opacity: 1;
  transform: translateY(0);
}

.image-container img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.link-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  gap: 20px;
}

.cp_link {
  display: inline-block;
  transition: .3s;
  transform: scale(1);
}

.cp_link:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .links-container {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .links-container {
    flex-direction: column;
  }
}

/* リンク部分終了 */



/*ページトップ移動ボタン部分開始*/
.page_top_btn {
  display: inline-block;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  transition: all 0.3s ease;
  border-radius: 50%;
  overflow: hidden;
}

.page_top_btn img {
  width: 100px;
  height: 100px;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 690px) {
  .page_top_btn img {
    width: 70px;
    height: 70px;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
}

.page_top_btn:hover img {
  opacity: 1;
  transform: translateY(-5px);
}

.page_top_btn:active img {
  transform: translateY(0);
}

/*ページトップ移動ボタン部分終了*/


/* フッター部分開始 */
.footer {
  padding: 2rem;
  font-size: 15px;
  color: #4b5564;
  background: #fff;
  max-width: 100%;
  margin: 0 auto;
}

.footer ul {
  padding: 0;
  list-style: none;
}

.footer a {
  color: #4b5564;
  text-decoration: none;
}

.footer a:hover {
  color: #000;
}

.footer hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  text-align: center;
}

.footer__navi-heading {
  font-weight: 600;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 3rem;
  perspective: 1000px;
}

.footer__logo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  transition: transform 1s ease;
}

.footer__logo:hover img {
  transform: rotateY(360deg);
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23rem;
  }

  .md-justify-between {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .md-flex {
    display: block;
    text-align: center;
  }

  .footer__logo {
    margin-bottom: 1.5rem;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer {
    padding: 1rem;
  }

  .footer__navi-heading {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer__navi li {
    margin-bottom: 5px;
    font-size: 12px;
  }
}

/* フッター部分終了 */





#wrap {
  position: relative;
  z-index: 1100;
}

#wrap::before,
#wrap::after {
  position: fixed;
  z-index: 1;
  top: -15%;
  display: block;
  visibility: hidden;
  width: 50%;
  height: 130%;
  content: '';
  background-color: #fdfbef;

  /* カーテンに立体感を出す影の追加 */
  box-shadow:
    -10px 0 20px rgba(0, 0, 0, 0.2),
    -20px 10px 30px rgba(0, 0, 0, 0.1);

  /* カーテンの質感を出すためのテクスチャ */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 0%, transparent 10%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, transparent 10%);
}

#wrap::before {
  left: 0;
  animation: curtain_l 3s;
  -webkit-animation: curtain_l 3s;
  transform-origin: left center;
}

#wrap::after {
  right: 0;
  animation: curtain_r 3s;
  -webkit-animation: curtain_r 3s;
  transform-origin: right center;
}

@keyframes curtain_l {
  0% {
    visibility: visible;
    box-shadow:
      -10px 0 20px rgba(0, 0, 0, 0.2),
      -20px 10px 30px rgba(0, 0, 0, 0.1);
  }

  20% {
    transform: rotate(0deg) translateX(0%);
    background-color: #fdfbef;
    box-shadow:
      -10px 0 20px rgba(0, 0, 0, 0.2),
      -20px 10px 30px rgba(0, 0, 0, 0.1);
  }

  60% {
    transform: rotate(6deg) translateX(-50%);
    box-shadow:
      -20px 10px 30px rgba(0, 0, 0, 0.3),
      -30px 20px 40px rgba(0, 0, 0, 0.2);
  }

  80% {
    opacity: 1;
    box-shadow:
      -15px 5px 25px rgba(0, 0, 0, 0.2),
      -25px 15px 35px rgba(0, 0, 0, 0.1);
  }

  100% {
    transform: rotate(0deg) translateX(-100%);
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
  }
}

@keyframes curtain_r {
  0% {
    visibility: visible;
    box-shadow:
      10px 0 20px rgba(0, 0, 0, 0.2),
      20px 10px 30px rgba(0, 0, 0, 0.1);
  }

  20% {
    transform: rotate(0deg) translateX(0%);
    background-color: #fdfbef;
    box-shadow:
      10px 0 20px rgba(0, 0, 0, 0.2),
      20px 10px 30px rgba(0, 0, 0, 0.1);
  }

  60% {
    transform: rotate(-6deg) translateX(50%);
    box-shadow:
      20px 10px 30px rgba(0, 0, 0, 0.3),
      30px 20px 40px rgba(0, 0, 0, 0.2);
  }

  80% {
    opacity: 1;
    box-shadow:
      15px 5px 25px rgba(0, 0, 0, 0.2),
      25px 15px 35px rgba(0, 0, 0, 0.1);
  }

  100% {
    transform: rotate(0deg) translateX(100%);
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
  }
}















.myUniqueProfileWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 0;
  min-height: 100vh;
  padding-top: 3vh;
  padding-bottom: 3vh;
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-style: normal;
}

.myUniqueProfileCard {
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 名前とキャッチフレーズのスタイル */
.myUniqueProfileName {
  font-size: 50px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.2s;
}

.myUniqueProfileCatchphrase {
  font-size: 20px;
  color: #666;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.4s;
}

.myUniqueProfileCard.visible .myUniqueProfileName,
.myUniqueProfileCard.visible .myUniqueProfileCatchphrase {
  opacity: 1;
  transform: translateX(0);
}

/* 左右に並べるためのフレックスコンテナ */
.myUniqueProfileContent {
  display: flex;
  flex-direction: row;
}

/* スクロール時に適用されるクラス */
.myUniqueProfileCard.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 子要素アニメーション用（連続的に表示） */
.myUniqueInfoItem {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.2s;
  position: relative;
}

.myUniqueInfoItem:nth-child(1) {
  transition-delay: 0.6s;
}

.myUniqueInfoItem:nth-child(2) {
  transition-delay: 0.8s;
}

.myUniqueInfoItem:nth-child(3) {
  transition-delay: 1.0s;
}

.myUniqueInfoItem:nth-child(4) {
  transition-delay: 1.2s;
}

.myUniqueInfoItem:nth-child(5) {
  transition-delay: 1.4s;
}

.myUniqueInfoItem:nth-child(6) {
  transition-delay: 1.6s;
}

/* 表示クラスが追加されたときの子要素表示 */
.myUniqueProfileCard.visible .myUniqueInfoItem {
  opacity: 1;
  transform: translateX(0);
}

/* ソーシャルアイコンのアニメーション */
.myUniqueSocialLinks {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 1.9s;
}

.myUniqueProfileCard.visible .myUniqueSocialLinks {
  opacity: 1;
  transform: translateY(0);
}

/* 左側の画像エリア */
.myUniqueProfileHeader {
  flex: 1;
  position: relative;
}

.myUniqueProfileImage {
  width: 100%;
  transform: scale(1.5);
  transform-origin: top left;
  height: auto;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
}

.myUniqueImageSwitcher {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.myUniqueImageSwitcher:hover {
  opacity: 1;
}

.myUniqueImageCounter {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 12px;
}

/* 右側のテキストとリンクエリア */
.myUniqueProfileDetails {
  flex: 1.5;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.myUniqueInfoList {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  --text-align-position: 350px;
}

.myUniqueInfoItem {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.myUniqueInfoItem:last-child {
  margin-bottom: 0;
}

.myUniqueInfoLabel {
  width: 240px;
  font-size: 30px;
  color: #888;
  flex-shrink: 0;
  white-space: nowrap;
  text-align: left;
}

.myUniqueInfoValue {
  font-size: 30px;
  color: #333;
  font-weight: 500;
  overflow-wrap: break-word;
  word-break: break-all;
  flex: 1;
  position: relative;
  padding-left: 110px;
  text-align: left;
  display: inline-block;
  min-width: 200px;
}

.myUniqueSocialLinks {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.myUniqueSocialLink {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 50px 0 0;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.myUniqueSocialLink:hover {
  background-color: #84fab0;
  color: white;
  transform: scale(1.1);
}

.myUniqueScrollIndicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #888;
  font-size: 12px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@media (max-width: 760px) {

  .myUniqueProfileImage {
    width: 100%;
    transform: scale(1.0);
    transform-origin: center center;
  }

  .myUniqueProfileContent {
    flex-direction: column;
  }

  .myUniqueProfileHeader {
    max-width: 100%;
  }

  .myUniqueInfoItem {
    flex-direction: column;
    align-items: flex-start;
  }

  .myUniqueInfoLabel {
    margin-bottom: 5px;
    width: 100%;
    font-size: 20px;
  }

  .myUniqueInfoValue {
    padding-left: 40px;
    font-size: 30px;
  }

  .myUniqueProfileWrapper {
    padding-top: 5vh;
    padding-bottom: 5vh;
  }

  .myUniqueSocialLinks {
    justify-content: center;
  }

  .myUniqueSocialLink {
    margin: 0 20px;
  }

  .myUniqueProfileName {
    text-align: center;
    margin-top: 15px;
  }

  .myUniqueProfileCatchphrase {
    text-align: center;
  }
}

.myUniqueProfileImage.fade-out {
  opacity: 0;
}

.myUniqueProfileImage.fade-in {
  opacity: 1;
}









/* タイムライン形式の経歴セクション */
.tamayaBioSection {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 1.3s;
}

.myUniqueProfileCard.visible .tamayaBioSection {
  opacity: 1;
  transform: translateY(0);
}

.tamayaBioIntro {
  margin-bottom: 25px;
}

.tamayaBioTitle {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
  background: linear-gradient(to right, #84fab0 0%, #8fd3f4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.tamayaBioSubtitle {
  font-size: 18px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.tamayaTimelineContainer {
  position: relative;
  padding-left: 15px;
}

.tamayaTimelineHeader {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
}

.tamayaTimelineHeader:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #84fab0 0%, #8fd3f4 100%);
}

/* ボタンのスタイル */
.tamayaTimelineToggleBtn {
  display: block;
  background: linear-gradient(to right, #84fab0 0%, #8fd3f4 100%);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tamayaTimelineToggleBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* タイムラインのトランジション用のスタイル */
.tamayaTimeline {
  position: relative;
  padding-left: 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
}

.tamayaTimeline.show {
  max-height: 2000px;
  opacity: 1;
}

.tamayaTimeline:before {
  content: '';
  position: absolute;
  left: 7px;
  top: 5px;
  height: calc(100% - 10px);
  width: 2px;
  background: linear-gradient(to bottom, #84fab0 0%, #8fd3f4 100%);
}

/* タイムラインアイテムのアニメーション */
.tamayaTimelineItem {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 5px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tamayaTimelineYear {
  font-size: 16px;
  font-weight: 700;
  color: #84fab0;
  margin-bottom: 5px;
}

.tamayaTimelineDot {
  position: absolute;
  left: -30px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #84fab0;
  box-shadow: 0 0 0 2px rgba(132, 250, 176, 0.3);
}

.tamayaTimelineContent {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(5) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(6) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(7) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.7s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(8) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.8s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(9) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.9s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(10) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.0s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(11) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.1s;
}

.tamayaTimeline.show .tamayaTimelineItem:nth-child(12) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.2s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.5s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.7s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.9s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.1s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(5) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(6) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(7) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(8) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(9) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(10) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(11) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

.myUniqueProfileCard.visible .tamayaTimelineItem:nth-child(12) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

@media (max-width: 760px) {

  .tamayaBioTitle,
  .tamayaBioSubtitle {
    text-align: center;
  }

  .tamayaTimelineHeader {
    display: block;
    text-align: center;
  }

  .tamayaTimelineHeader:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 43%;
    width: 14%;
    height: 3px;
    background: linear-gradient(to right, #84fab0 0%, #8fd3f4 100%);
  }

  .tamayaTimelineContainer {
    padding-left: 0;
  }

  .tamayaTimelineYear {
    font-size: 15px;
  }

  .tamayaTimelineContent {
    font-size: 14px;
  }

  .tamayaTimelineToggleBtn {
    margin: 0 auto 15px auto;
    display: block;
  }
}















.animeIdWrapper {
  font-family: 'Helvetica Neue', Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 26px;
  margin: 0;
  min-height: 100vh;
  padding-top: 10px;
  padding-bottom: 3.9vh;
}

.animeIdCard {
  background: linear-gradient(135deg, #FEF7E5 0%, #FEF7E6 100%);
  border-radius: 15.6px;
  box-shadow: 0 10.4px 26px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 1000px;
  overflow: visible;
  border: 2.6px solid #d4bc89;
  opacity: 0;
  transform: translateY(65px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
  margin-top: 0;
  transform-style: preserve-3d;
  min-height: 700px;
}

.animeIdCard.visible {
  opacity: 1;
  transform: translateY(0);
}

.animeIdCard.flipped {
  transform: rotateY(180deg);
}

.animeIdFront,
.animeIdBack {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: 15.6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.animeIdBackHeader {
  background: linear-gradient(135deg, #F9D7B3 0%, #E1A360 100%);
  color: white;
  padding: 10.4px 19.5px;
  text-align: center;
  position: relative;
  border-bottom: 1.3px solid #bb9652;
  border-radius: 14px 14px 0 0;
}

.animeIdFront {
  transform: rotateY(0deg);
  z-index: 2;
}

.animeIdBack {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #FEF7E5 0%, #FEF7E6 100%);
  border: 2.6px solid #d4bc89;
  z-index: 1;
}

.animeIdBackContent {
  font-size: 17px;
  color: #333;
  text-align: left;
  line-height: 1.6;
  padding: 30px 26px 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

.animeIdBackContentImg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px auto;
  max-width: 100%;
  padding: 0 15px;
}

.animeIdBackContentImg img {
  max-width: 55%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.animeIdHeader {
  background: linear-gradient(135deg, #E1A360 0%, #F9D7B3 100%);
  color: white;
  padding: 10.4px 19.5px;
  text-align: center;
  position: relative;
  border-bottom: 1.3px solid #bb9652;
  border-radius: 14px 14px 0 0;
}

.animeIdSchoolName {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 2.6px;
  color: #ffffff;
  text-shadow: 1.3px 1.3px 2.6px rgba(0, 0, 0, 0.3);
}

.animeIdHeaderDiamond {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 39px;
  color: white;
}

.animeIdHeaderDiamond:first-of-type {
  left: 26px;
}

.animeIdHeaderDiamond:last-of-type {
  right: 26px;
}

.animeIdContent {
  display: flex;
  padding: 19.5px;
  position: relative;
  flex: 1;
}

.animeIdPhotoSection {
  flex: 0 0 40%;
  padding-right: 19.5px;
  display: flex;
  flex-direction: column;
  object-fit: cover;
  max-width: 650px;
  max-height: 200.2px;
}

.animeIdPhotoFrame {
  position: relative;
  border: 2.6px solid #d4bc89;
  border-radius: 7.8px;
  overflow: hidden;
  background-color: #ffffff;
  margin-bottom: 13px;
}

.animeIdPhoto {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
}

.animeIdPhotoCounter {
  position: absolute;
  top: 6.5px;
  left: 6.5px;
  background-color: rgba(201, 164, 91, 0.7);
  color: white;
  border-radius: 13px;
  padding: 2.6px 7.8px;
  font-size: 13px;
}

.animeIdPhotoButton {
  position: absolute;
  bottom: 6.5px;
  right: 6.5px;
  color: white;
  border-radius: 50%;
  width: 36.4px;
  height: 36.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15.6px;
}

.animeIdActionContainer {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.animeIdFlipButton {
  background-color: rgba(201, 164, 91, 0.7);
  color: white;
  border: none;
  border-radius: 13px;
  padding: 5px 13px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  margin-left: 0;
  white-space: nowrap;
}

.animeIdFlipButton:hover {
  background-color: rgba(201, 164, 91, 0.9);
  transform: scale(1.05);
}

.click_hand {
  width: 100%;
}

.animeIdInfoSection {
  flex: 0 0 60%;
}

.animeIdTitleSection {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 19.5px;
}

.animeIdTitle {
  font-size: 32.5px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.animeIdEmblem {
  margin-left: 10.4px;
  display: flex;
  align-items: center;
}

.animeIdDetailsList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.animeIdDetailsItem {
  margin-bottom: 15.6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animeIdLabel {
  font-size: 19.5px;
  color: #333;
  margin-right: 13px;
  min-width: 78px;
}

.animeIdValue {
  font-size: 22.1px;
  color: #333;
  font-weight: 500;
}

#animeFullName {
  font-size: 39px;
  color: #333;
  font-weight: 500;
}

.animeIdValueWrapper {
  display: flex;
  flex-direction: column;
}

.animeIdValueEn {
  font-size: 15.6px;
  color: #333;
  margin-top: 2.6px;
}

.animeIdDetailsItem:nth-child(1) {
  transition-delay: 0.1s;
}

.animeIdDetailsItem:nth-child(2) {
  transition-delay: 0.2s;
}

.animeIdDetailsItem:nth-child(3) {
  transition-delay: 0.3s;
}

.animeIdDetailsItem:nth-child(4) {
  transition-delay: 0.4s;
}

.animeIdCard.visible .animeIdDetailsItem {
  opacity: 1;
  transform: translateX(0);
}

.animeIdSmallNote {
  font-size: 15.6px;
  color: #666;
  margin-top: 13px;
  display: block;
}

.animeIdFooter {
  border-top: 1.3px solid #d4bc89;
  padding: 13px 19.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.animeIdSocialLinks {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.5s;
  width: 100%;
  margin-bottom: 15px;
}

.animeIdCard.visible .animeIdSocialLinks {
  opacity: 1;
  transform: translateY(0);
}

.animeIdSocialLink {
  margin: 0 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animeIdSocialLink:first-child {
  margin-left: 0;
}

.animeIdSocialLink:hover {
  transform: scale(1.1);
}

.animeIdPhoto.fade-out {
  opacity: 0;
}

.animeIdPhoto.fade-in {
  opacity: 1;
}

@media (max-width: 760px) {
  .animeIdWrapper {
    padding: 10px;
    padding-bottom: 20px;
  }

  .animeIdCard {
    min-height: 850px;
    margin: 0 auto;
    border-radius: 15.6px;
  }

  .animeIdHeader,
  .animeIdBackHeader {
    padding: 8px 15px;
  }

  .animeIdFront {
    border-radius: 15.6px 15.6px 999px 999px;
    overflow: hidden;
  }

  .animeIdSchoolName {
    font-size: 24px;
    letter-spacing: 1.5px;
  }

  .animeIdHeaderDiamond {
    font-size: 30px;
  }

  .animeIdHeaderDiamond:first-of-type {
    left: 15px;
  }

  .animeIdHeaderDiamond:last-of-type {
    right: 15px;
  }

  .animeIdContent {
    flex-direction: column;
    padding: 15px;
    padding-bottom: 100px;
    align-items: center;
  }

  .animeIdPhotoSection {
    flex: 0 0 auto;
    width: 100%;
    padding-right: 0;
    margin-bottom: 15px;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .animeIdPhotoFrame {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 13px;
    display: block;
  }

  .animeIdPhoto {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .animeIdInfoSection {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .animeIdTitleSection {
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
  }

  .animeIdTitle {
    font-size: 28px;
  }

  .animeIdDetailsItem {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .animeIdLabel {
    margin-right: 0;
    margin-bottom: 5px;
    font-size: 16px;
  }

  .animeIdValue {
    font-size: 18px;
  }

  #animeFullName {
    font-size: 30px;
  }

  .animeIdValueEn {
    font-size: 14px;
  }

  .animeIdSmallNote {
    font-size: 14px;
    width: 100%;
  }

  .animeIdFooter {
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(254, 247, 229, 0.95);
    border-radius: 0 0 999px 999px;
  }

  .animeIdBackContent {
    font-size: 18px;
    padding: 30px 15px 20px;
    line-height: 1.5;
    text-align: left;
  }

  .animeIdBackContentImg {
    max-width: 100%;
    margin: 0px auto 0px;
  }

  .animeIdBackContentImg img {
    max-width: 100%;
  }

  .animeIdActionContainer {
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .animeIdSocialLinks {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
  }

  .animeIdSocialLink {
    margin: 0 8px;
  }

  .animeIdFlipButton {
    padding: 5px 10px;
    font-size: 20px;
    margin-left: 0;
  }

  .animeIdDetailsList {
    margin: 0 auto;
    width: 90%;
    max-width: 320px;
  }
}






.tamaya-album-container {
  display: flex;
  flex-direction: column;
  max-width: 950px;
  width: 94%;
  margin: 2rem auto;
  color: black;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background-color: #F9F3EE;
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-style: normal;
  border: 2px solid #3C303B;
}

.tamaya-album-cover {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  background-color: #F9F3EE;
  padding: 1rem;
  box-sizing: border-box;
}

.tamaya-cover-link {
  position: relative;
  display: inline-block;
  width: auto;
  height: auto;
  text-decoration: none;
}

.tamaya-cover-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.5s ease;
  object-fit: contain;
}

.tamaya-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tamaya-play-icon {
  font-size: 32px;
  margin-left: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #333333;
}

.tamaya-cover-link:hover .tamaya-play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.tamaya-cover-link:hover .tamaya-play-icon {
  opacity: 1;
}

.tamaya-cover-link:hover .tamaya-cover-img {
  transform: scale(1.03);
}

.tamaya-album-info {
  padding: 2rem;
  background-color: #F9F3EE;
}

.tamaya-artist {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.tamaya-album-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.5px;
  background-color: #190F48;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tamaya-release-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #6a6a6a;
}

.tamaya-description {
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
  margin: 1.5rem 0;
  color: #444;
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-serif;
}

.tamaya-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 2rem;
  max-width: 90%;
}

.tamaya-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 45px;
  box-sizing: border-box;
}

.tamaya-service-icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  flex-shrink: 0;
}

.tamaya-spotify-btn {
  background-color: #1DB954;
  color: white;
}

.tamaya-spotify-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z'/%3E%3C/svg%3E");
}

.tamaya-spotify-btn:hover {
  background-color: #1ED760;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.tamaya-youtube-btn {
  background-color: #FF0000;
  color: white;
}

.tamaya-youtube-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

.tamaya-youtube-btn:hover {
  background-color: #FF3333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.tamaya-apple-btn {
  background-color: #000000;
  color: white;
}

.tamaya-apple-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M17.05 20.28c-.98.95-2.05.86-3.08.38-1.09-.5-2.08-.51-3.23 0-1.44.65-2.18.57-3.08-.38C2.92 15.55 3.74 8.35 8.44 8.08c1.43.09 2.41.83 3.18.84.96 0 2.03-.87 3.6-.87.61 0 2.27.24 3.34 1.69-3.06 1.96-2.57 5.93.49 7.19-.39 1.18-.97 2.36-2 3.35zM14.27 4.73c-1.8.21-3.23 1.9-3.04 3.6 1.68.21 3.29-1.76 3.04-3.6z'/%3E%3C/svg%3E");
}

.tamaya-apple-btn:hover {
  background-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tamaya-booth-btn {
  background-color: #FC4D50;
  color: white;
}

.tamaya-booth-btn:hover {
  background-color: #FF6669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 77, 80, 0.3);
}

@media (min-width: 761px) {
  .tamaya-album-container {
    flex-direction: row;
    align-items: stretch;
    height: auto;
    background-color: #F9F3EE;
    width: 94%;
  }

  .tamaya-album-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
    background-color: #F9F3EE;
    padding-right: 3rem;
  }

  .tamaya-album-cover {
    flex: 0 0 auto;
    width: 48%;
    order: 2;
    aspect-ratio: 1/1;
    background-color: #F9F3EE;
    padding: 1.5rem;
  }

  .tamaya-cover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
  }

  .tamaya-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.8rem;
    max-width: 90%;
  }
}

@media (max-width: 760px) {
  .tamaya-album-container {
    flex-direction: column;
    margin: 2rem auto;
    width: 94%;
    max-width: 520px;
    background-color: #F9F3EE;
  }

  .tamaya-album-cover {
    order: 1;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #F9F3EE;
    padding: 1.5rem;
    box-sizing: border-box;
  }

  .tamaya-album-info {
    order: 2;
    background-color: #F9F3EE;
    padding: 1.5rem;
  }

  .tamaya-album-title {
    font-size: 2rem;
  }

  .tamaya-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.8rem;
    align-items: center;
    max-width: 100%;
  }
}