/*
 * tadaoto.css — 旧子テーマ style.css の移植(2026-08-06)
 * tadaoto-base.cssの後に読み込むこと。
 */


/* --------------------------------------------------------------------------------------------------------------
共通
-------------------------------------------------------------------------------------------------------------- */
:root {
  --tadaoto-accent: #0693cd;
  --tadaoto-accent-rgb: 6, 147, 205;
  --tadaoto-accent-dark: #235c9a;
  --tadaoto-accent-text: #3279bd;
}
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  /* 旧サイトの実効値(旧テーマはbodyのfont-sizeを指定せずブラウザ既定の16px)。
     theme.jsonのfluid typography(clamp)を打ち消して完全移植の見た目を維持する */
  font-size: 16px;
  overflow: visible !important;
}
body:not(.has-sidebar) .site-content {
  overflow: visible!important;
}
a:hover {
  opacity: .7;
}
button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
  box-shadow: none;
  opacity: .7;
}
button {
  cursor: pointer;
}
.site-content {
  margin-top: 0 !important;
}
.ads-header,
.grid-wrap,
.musiclist-frame,
.top-section-inner,
.content__main {
  margin: 0 auto;
  max-width: 1200px;
}
.top-section-inner {
  padding: 0 10px;
}
.page-container {
  margin: 0 auto;
  max-width: 960px;
}
.sp-only {
  display: none;
}
.youtube-container {
  margin: 0;
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.youtube-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
}
@media screen and (max-width: 600px) {
}

/* --------------------------------------------------------------------------------------------------------------
ヘッダー
-------------------------------------------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
}
.global-nav__toggle.is-open+.global-nav {
  z-index: 10;
}
.site-branding {
  margin-right: 20px;
  padding: 8px 0 !important;
}
.site-branding .site-title img {
  width: 120px;
}
.site-header button {
  color: #fff;
}
#switch-lang {
  color: #666;
}
.lang-box {
  margin: 0 10px 0 auto;
}
.lang-box button,
.lang-box a {
  background-color: #fff;
  border-radius: 25px;
  color: #141414;
  width: 120px;
}
/* サーバーサイド切替(aタグ)もボタンと同じ見た目にする */
.lang-box a {
  display: inline-block;
  box-sizing: border-box;
  padding: 2px 6px;
  font-size: 13.5px;
  line-height: normal;
  text-align: center;
  text-decoration: none;
}
.lang-box a:hover {
  opacity: .7;
}
.switch-lang-not {
  color: #aaa;
}
.switch-lang-selected {
  font-weight: 900;
}
.header-type--row1 .global-nav {
  margin-left: 30px;
}
.menu-tools {
  width: 60px;
}
.menu-fav {
  width: 90px;
}
.global-nav__menu li {
  text-align: center;
}
.menu-bgm {
  width: 50px;
}
.menu-fx {
  width: 65px;
}
.menu-blog {
  width: 65px;
}
.menu-contact {
  width: 110px;
}
@media (max-width: 768px) {
  .lang-box {
    margin: 10px 0;
  }
  .global-nav__menu li {
    text-align: left;
  }
}

/* --------------------------------------------------------------------------------------------------------------
検索ボタンを押したら開くメニュー
-------------------------------------------------------------------------------------------------------------- */
.searchbox-title {
  color: #fff;
  margin: 20px 0 0;
}

#searchbox-sp {
  display: none;
}
@media (max-width: 768px) {
  #searchbox-pc {
    display: none;
  }
  #searchbox-sp {
    display: block;
  }
  .global-nav__search {
    border: 0;
  }
}


/* --------------------------------------------------------------------------------------------------------------
フッター
-------------------------------------------------------------------------------------------------------------- */
/* フッターのYouTubeチャンネルへの動線 */
#yt-frame {
  background-color: #191919;
  padding: 50px 0;
}
.yt-title {
  color: #fff;
  font-size: 36px;
  margin: 0;
  text-align: center;
}
.yt-layout-frame {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 20px auto;
}
.yt-layout-box {
  padding: 5px 15px;
  width: 50%;
}
.yt-layout-box h3 {
  color: #fff;
  margin: 0;
  text-align: center;
}
.yt-layout-box img {
  display: block;
}
.yt-layout-box p {
  color: #fff;
}
/*　フッターメニュー　*/
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 10px auto;
}
.footer-menu h2 {
  font-size: 16px;
  font-weight: 900;
  margin: 20px 0 5px;
  padding-left: 15px;
}
.footer-menu-left {
  width: 35%;
}
.footer-menu-center {
  width: 28%;
}
.footer-menu-right {
  width: 37%;
}
.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  margin: 0 10px;
}
.footer-menu a {
  display: block;
  font-size: 15px;
  padding: 5px;
}
@media (max-width: 768px) {
  .yt-layout-frame {
  display: block;
  }
  .yt-layout-box {
    margin-bottom: 30px;
    width: 100%;
  }
  .footer-menu {
    display: block;
  }
  .footer-menu-left,
  .footer-menu-center,
  .footer-menu-right {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------------------------------------------
パンくずリスト
-------------------------------------------------------------------------------------------------------------- */
.breadcrumbs__item a {
  color: #2980b9;
  font-weight: bold;
}
.breadcrumbs__item:before {
  content: ">";
}

/* --------------------------------------------------------------------------------------------------------------
contact form 7
-------------------------------------------------------------------------------------------------------------- */
.contact-form-text {
  margin-top: 20px;
}
.contact-form-frame {
  margin: 10px;
}
.contact-form {
  display: table;
  margin: 10px 0 30px;
}
.contact-form-label {
  color: #333;
  display: table-cell;
  font-weight: normal;
  vertical-align: top;
  width: 240px;
}
.contact-form-input {
  display: table-cell;
  vertical-align: top;
}
/* placeholderの色を変更 */
::-webkit-input-placeholder {
  color: #ccc;
}
::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #ccc;
}

/* 必須か任意か */
.contact-form-status-required {
  background-color: #cc3300;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
  padding: 3px 6px;
  vertical-align: middle;
}
.contact-form-status-optional {
  background-color: #a3a5a6;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
  padding: 3px 6px;
  vertical-align: middle;
}

/* 入力欄 */
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form input[type=date],
.contact-form textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
  color: #666;
  font-size: 14px;
  padding: 10px;
  vertical-align: bottom;
  width: 260px;
  -webkit-appearance: none;
}
.contact-form input[type=date] {
  margin-right: 5px;
  width: 140px;
}

/* チェックボックスとラジオボタン */
.wpcf7-list-item {
  display: inline-block;
}

/* 送信ボタン */
.contact-submit {
  width: 300px;
}
.contact-submit img {
  display: inline;
}
.wpcf7 img.ajax-loader {
  width: 16px;
}
.contact-submit-empty {
  display: table-cell;
  vertical-align: top;
  width: 240px;
}
.contact-form input[type=submit] {
  background-color: #0693cd;
  border: 1px solid #0693cd;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: table-cell;
  font-size:18px;
  font-weight: bold;
  line-height: 1.4;
  margin: 20px auto;
  padding: 15px 10px 13px;
  text-decoration: none;
  text-align: center;
  -webkit-appearance: none;
  width: 220px;
}

/* 注釈 */
.contact-form-caution {
  font-size: 14px;
  padding: 5px 0 0;
}

/* 送信後のメッセージ */
.wpcf7-response-output {
  margin: 2em 0.5em 4em;
}
.wpcf7-mail-sent-ok {
  background-color: #fff;
  border: 4px solid #009b40;
  padding: 15px;
}
.wpcf7-validation-errors {
  background-color: #fff;
  border: 4px solid #cc0000;
  padding: 15px;
}

@media screen and (max-width: 767px) {
  .contact-form-frame {
    margin: 10px 0;
  }
  .contact-form {
  }
  .contact-form-label,
  .contact-form-input,
  .contact-submit-empty,
  .contact-form input[type=submit] {
    display: block;
  }
  .contact-form-label {
    line-height: 1;
    margin-bottom: 8px;
  }
  .contact-form-pc {
    display: none;
  }
}
@media screen and (max-width: 479px) {
  .contact-form input[type=date] {
      width: 120px;
  }
  .contact-submit {
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------------------------------------------
ボタン
-------------------------------------------------------------------------------------------------------------- */
.main-btn a,
.sub-btn a {
  background-color: #0693cd;
  border-radius: 30px;
  color: #fff;
  display: block !important;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.4;
  margin: 20px auto;
  max-width: 320px;
  overflow: hidden;
  padding: 15px 10px;
  position: relative;
  text-align: center;
  text-decoration: none;
}
.searchandfilter input[type=submit],
.contact-form input[type=submit],
.randomize-btn button,
.musicpage-dl-btn button,
.musicpage-dl-btn .music-download-link {
  background-color: #0693cd;
  border: 0;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  display: block !important;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  margin: 20px auto;
  max-width: 320px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  padding: 15px 10px;
  position: relative;
  -webkit-appearance: none;
  width: 100%;
}
.randomize-btn button {
  font-size: 14px;
  margin-left: 20px;
  padding: 10px 15px;
}
.yt-btn a {
  background-color: #ff0000;
  font-weight: 900;
}

/* --------------------------------------------------------------------------------------------------------------
検索ボックス
-------------------------------------------------------------------------------------------------------------- */
.searchandfilter-frame {
  margin-top: -120px;
  position: relative;
  z-index: 3;
}
.searchandfilter-inner {
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  margin: 0 auto 15px;
  max-width: 600px;
  padding: 10px 30px 0;
  width: 100%;
}
.searchandfilter-sidebar .searchandfilter-inner {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 5px 20px 0;
}
.searchandfilter-inner ul {
  margin: 20px auto;
  padding: 0;
}
.searchandfilter-inner li {
  display: block;
  padding: 0;
}
.searchandfilter-inner li > ul {
  display: flex;
  flex-wrap: wrap;
}
.searchandfilter-inner li > ul > li {
  display: inline-block;
  margin-right: 10px;
}
.searchandfilter-inner form > div > ul > li:nth-child(2) {
  margin-top: 40px;
  position: relative;
}
.searchandfilter-inner form > div > ul > li:nth-child(2)::before {
  color: #ccc;
  content: "Category";
  font-weight: 900;
  margin: 10px 0 -20px;
  position: absolute;
  top: -35px;
}
.searchandfilter-inner form > div > ul > li:nth-child(3) {
  margin-top: 35px;
  margin-bottom: 25px;
  position: relative;
}
.searchandfilter-inner form > div > ul > li:nth-child(3)::before {
  color: #ccc;
  content: "Tag";
  font-weight: 900;
  margin: 10px 0 -20px;
  position: absolute;
  top: -35px;
}
@media (max-width: 767px) {
  .searchandfilter-frame {
    margin-top: -80px;
  }
}

/* --------------------------------------------------------------------------------------------------------------
トップページ
-------------------------------------------------------------------------------------------------------------- */
.top-eyecatch-frame {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
    flex-direction: column;
    justify-content: center;
  height: 50vh;
  position: relative;
  width: 100%;
  z-index: 2;
}
.top-eyecatch-frame::before {
  content: '';
  background-color: rgba(0,0,0,.3);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-eyecatch-text {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  margin: 0 auto;
  max-width: 480px;
  padding: 0 20px 80px;
  text-align: center;
  text-shadow: 0 0 15px #fff, 0 0 50px #fff, 0 0 15px #222, 0 0 20px #222, 0 0 30px #222;
  z-index: 3;
}
#eyecatch-pc {
  background-image: url("../../images/top-eyecatch.jpg");
}
/* トップページの構造 */
.top-section {
  padding: 30px 0;
}
.top-section h2 {
  margin: 0;
}
#album {
  background-color: #ecf6fa;
}
#about {
  background-color: #ecf6fa;
}
@media (max-width: 767px) {
  #recent .top-section-inner {
    padding: 0;
  }
  #recent .top-section-inner h2 {
    padding: 0 10px 10px;
  }
}
@media (max-width: 500px) {
  .top-eyecatch-text {
    font-size: 8vw;
  }
}

/* --------------------------------------------------------------------------------------------------------------
　single.php
-------------------------------------------------------------------------------------------------------------- */
.single__wrap {
  display: flex;
  flex-wrap: wrap;
}
.single__wrap .site-main {
  margin-right: 20px;
  width: calc(100% - 356px);
}
.single__wrap .sidebar {
  width: 336px;
}
/* 投稿ヘッダー */
.entry-title {
  margin: 20px 0;
}
.musicpage-eyecatch img {
  display: block;
}
/* 投稿ヘッダーボタン */
.musicpage-btn {
  background-color: #000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 20px;
}
.musicpage-play-btn {
  margin: 5px;
}
.musicpage-play-btn button {
  font-size: 14px;
  line-height: 1;
  padding: 10px 8px;
  width: 160px;
}

/* タグなどの情報 */
.musicpage-meta-frame {
  margin-top: 20px;
}
.musicpage-meta-box {
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
}
.musicpage-meta-title {
  font-weight: 100;
  width: 120px;
}
.musicpage-albums,
.musicpage-author,
.musicpage-date,
.musicpage-keywords {
  width: calc(100% - 120px);
}

.musicpage-keywords {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.musicpage-keywords li {
  margin: 5px 10px 10px 0;
}
.musicpage-keywords a {
  background-color: #eee;
  border-radius: 16px;
  color: #141414;
  font-weight: 500;
  padding: 4px 16px 4px 12px;
  position: relative;
  text-decoration: none;
}
.musicpage-keywords a:before {
  content: "#";
  margin-right: 2px;
}

/* 本文エリア */
.entry-suno {
  background-color: #f0f0f0;
  padding: 10px;
}
.entry-suno p {
  margin: 0;
}
.musicpage-content-text {
  margin-bottom: 40px;
}

/* ダウンロードエリア */
.popup {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
.popup-content {
  background-color: #fefefe;
  border: 1px solid #888;
  margin: 15% auto;
  max-width: 540px;
  padding: 20px;
  position: relative;
  width: 90%;
}
.popup-content p {
  font-size: 15px;
}
.popup-close {
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 10px;
}
.popup-close:hover,
.popup-close:focus {
  color: #000;
  cursor: pointer;
  text-decoration: none;
}


/* sidebar */
.sidebar-box-ad {
  position: sticky;
  top: 70px;
}
.sidebar-box {
  margin: 20px 0;
}
.sidebar-box h2 {
  margin: 0;
}
@media screen and (max-width: 768px) {
  .single__wrap {
    display: block;
  }
  .single__wrap .site-main {
    margin-right: 0;
    width: 100%;
  }
  .single__wrap .sidebar {
    width: 100%;
  }

  .musicpage-play-btn {
    width: 45%;
  }
  .musicpage-meta-title {
    font-size: 14px;
    width: 100px;
  }
  .musicpage-albums,
  .musicpage-author,
  .musicpage-date,
  .musicpage-keywords {
    width: calc(100% - 100px);
  }
}

/* --------------------------------------------------------------------------------------------------------------
　page-blog.php ブログのトップページ
-------------------------------------------------------------------------------------------------------------- */
.blog-eyecatch-frame {
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
    flex-direction: column;
    justify-content: center;
  height: 30vh;
  position: relative;
  width: 100%;
  z-index: 2;
}
.blog-eyecatch-frame::before {
  content: '';
  background-color: rgba(0,0,0,.3);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.blog-eyecatch-text {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  margin: 0 auto;
  max-width: 480px;
  padding: 0 20px;
  text-align: center;
  text-shadow: 0 0 15px #fff, 0 0 50px #fff, 0 0 15px #222, 0 0 20px #222, 0 0 30px #222;
  z-index: 3;
}
#blog-eyecatch-pc {
  background-image: url("../../images/blog-eyecatch.jpg");
}

/* ブログ内キーワード検索 */
.blogpage-keyword-search {
  margin-bottom: 45px;
}
.blogpage-keyword-search .searchbox-title {
  margin: 0;
}
/* card style */
.card-frame {
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: wrap row;
  -ms-flex-flow: wrap row;
  flex-flow: wrap row;
}
.card-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  margin: 0 0.5% 10px 0.5%;
  vertical-align: top;
  width: 32%;
}
.card-box-ads {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  margin: 0 0.5% 10px 0.5%;
  vertical-align: top;
  width: 32%;
}
.card-box a {
  color: #fff;
}
.card-img img {
  border-radius: 3px 3px 0 0;
  width: 100%;
}
.card-title {
  color: #333;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 5px;
  padding: 0 5px 10px;
}
.card-meta {
  font-size: 12px;
  line-height: 1;
  margin: 5px 5px 0;
  width: 100%;
}
.card-cat {
  background-color: #333;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  line-height: 1;
  margin: 5px;
  padding: 3px 10px;
}
.card-date {
  color: #999;
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .category-frame {
    padding-bottom: 20px;
  }
  .card-title {
    font-size: 16px;
  }
  .card-box,
  .card-box-ads {
    margin: 0 2% 10px 2%;
    width: 96%;
  }
}

/* --------------------------------------------------------------------------------------------------------------
　single-blog.php ブログ記事
-------------------------------------------------------------------------------------------------------------- */
/* テキスト・リンクの装飾 */
.ccaution,
.ttext {
  border-radius: 5px;
  position: relative;
  padding: 15px;
  margin: 10px 10px 30px;
}
.ccaution ul,
.ccaution ol,
.ttext ul,
.ttext ol,
.llink ul,
.llink ol {
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 15px 15px 10px;
}
.ccaution li,
.ttext li,
.llink li {
  padding: 5px 0;
}
.ccaution {
  background-color: #fcf8e3;
  border: 4px solid #faebcc;
  border-radius: 5px;
  color: #8a6d3b;
  font-size: 16px;
  position: relative
}
.ccaution a {
  color: #FBC02D;
  text-decoration: underline;
}
.ccaution p:last-child {
  margin-bottom: 0;
}
.ccaution:after {
  color: rgba(0,0,0,0.05);
  content: "\f071";
  font-family: fontawesome;
  font-size: 48px;
  position: absolute;
  top: 8px;
  left: 8px;
}

.ttext {
  background: linear-gradient(130deg, #141E30, #243B55);
  box-sizing: border-box;
  color: #fff;
  font-size: 16px;
}
.ttext strong {
  color: #ff8;
}
.ttext a {
  color: #FBC02D;
  text-decoration: underline;
}
.ttext p:last-child {
  margin-bottom: 0;
}
.llink {
  background-color: #fff;
  border: 3px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  margin: 10px 0 50px;
}
.llink ul {
  margin-bottom: 0;
  padding: 5px 0 0 0;
}
.llink li {
  padding: 5px 0;
}
.llink a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.4;
  padding: 15px;
  text-decoration: underline;
}
.llink a:after {
  content:"\f08e";
  font-family: fontawesome;
}
/* ブログカード */
.entry-card-box {
  margin: 20px auto;
  position: relative;
  width: 100%;
}
.entry-card-box:before {
  background-color: #0693cd;
  border-radius: 5px 5px 0 0;
  content: "関連する記事をチェック";
  color: #fff;
  display: block;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  margin: 10px 0 0;
  padding: 8px 12px 5px;
}
.entry-card-box a {
  background-color: #fff;
  border: 3px solid #0693cd;
  border-collapse: separate;
  border-spacing: 10px;
  border-radius: 0 0 5px 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: table;
  margin: 0 auto;
  text-decoration: none;
  width: 100%;
}
.entry-card-img {
  display: table-cell;
  width: 120px;
}
.entry-card-img img {
  width: 120px;
}
.entry-card-txt {
  display: table-cell;
  vertical-align: top;
}
.entry-card-title {
  font-weight: bold;
  text-decoration: underline;
}
.entry-card-btn {
  background-color: #FBC02D;
  border-radius: 12px;
  box-shadow: inset 0px 1px 0px #FBC02D, 0px 6px 0px 0px rgba(225, 172, 40, 1), 0px 6px 6px #999;
  color: rgba(0,0,0,0.75);
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  margin: 5px 0;
  max-width: 220px;
  overflow: hidden;
  padding: 8px 12px;
  position: absolute;
  right: 20px;
  bottom: 20px;
  text-align: center;
  width: 120px;
}
/* 対談形式 */
.entry-talk-box {
  border-collapse: separate;
  border-spacing: 10px 2px;
  display: table;
  margin: 30px -10px 20px 0;
  table-layout: fixed;
  width: 100%;
}
.entry-talk-img {
  display: table-cell;
  vertical-align: top;
  width: 90px;
}
.entry-talk-img img {
  border-radius: 50%;
  width: 84px;
}
.entry-talk-txt {
  background-color: #f3f3f3;
  border-bottom: 1px solid #ddd;
  border-radius: 6px;
  display: table-cell;
  padding: 10px 0;
  position: relative;
}
.entry-talk-txt-left:after {
  content: '';
  position: absolute;
  border-right: 12px solid #f3f3f3;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  left: -12px;
  top: 24px;
}
.entry-talk-txt-right:after {
  content: '';
  position: absolute;
  border-left: 12px solid #f3f3f3;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  right: -12px;
  top: 24px;
}
.entry-talk-txt p {
  line-height: 1.4;
  margin: 0 5px 0 10px;
}

/*----------------------------------------------------------------
 アフィリエイト
-----------------------------------------------------------------*/
.pr-text {
  margin: 10px 20px;
}
.amlink-frame {
  background-color: #f6f6f6;
  box-sizing: border-box;
  border: 1px solid #cfd8dc;
  border-radius: 5px;
  margin: 10px 0 30px;
  max-width: 540px;
  padding: 20px;
  width: 100%;
}
.amlink-img {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  width: 250px;
}
.amlink-img img {
  max-height: 320px;
  width: auto;
}
.amlink-txt {
  display: table-cell;
  padding-left: 10px;
  vertical-align: middle;
}
.amlink-txt a {
  color: #333;
  display: block;
  padding: 10px 0;
}
.amlink-txt-review a {
  color: #ff9900;
  padding: 10px 0;
}
.amlink-btn a {
  background-color: #f0c723;
  border-radius: 20px;
  color: #fff;
  display: block;
  font-weight: bold;
  margin: 10px auto;
  max-width: 360px;
  padding: 12px 10px;
  position: relative;
  text-align: center;
  text-decoration: none;
}
.amlink-btn img {
  display: none;
}
.amlink-btn a {
  background-color: #FBC02D;
  border-radius: 12px;
  box-shadow: inset 0px 1px 0px #FBC02D, 0px 6px 0px 0px rgba(225, 172, 40, 1), 0px 6px 6px #999;
  color: rgba(0,0,0,0.75);
  display: block;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  max-width: 270px;
  margin: 15px auto;
  overflow: hidden;
  padding: 15px 0;
  position: relative;
  text-align: center;
  text-decoration: none;
}
.amlink-btn a:before {
  border-top: 2px solid rgba(0,0,0,0.75);
  border-right: 2px solid rgba(0,0,0,0.75);
  content: "";
  display: block;
  height: 8px;
  margin-top: -5px;
  position: absolute;
    right: 15px;
    top: 50%;
  transform: rotate(45deg);
  width: 8px;
}
@media screen and (max-width: 767px) {
  .pr-text {
    margin: 0 10px;
    padding: 10px;
  }
}
@media screen and (max-width: 479px) {
  .pr-text {
    margin: -10px 10px 15px;
  }
  .amlink-img {
    display: block;
    margin: 5px auto;
    max-width: 300px;
    width: 100%;
  }
  .amlink-img img {
    max-height: 300px;
    width: auto;
  }
  .amlink-txt {
    display: block;
  }
  .amlink-txt-review a {
    text-align: center;
  }
}


/* --------------------------------------------------------------------------------------------------------------
　ミュージックプレイヤー
-------------------------------------------------------------------------------------------------------------- */
.musiclist-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.misiclist-art-box {
  margin-right: 20px;
  width: calc(50% - 20px);
}
.misiclist-art-box img {
  display: block;
  width: 100%;
}
.misiclist-meta-box {
  width: 50%;
}
.musiclist-title {
  margin: 20px 0;
}
.musiclist-tag-name {
  position: relative;
}
.musiclist-tag-name:before {
  content: '#';
}
/* ミュージックプレイヤー */
.musiclist-frame {
}
.musiclist-frame li {
  list-style: none;
}
.musiclist-frame a {
  text-decoration: none;
}
.musiclist-img {
  height: 60px;
  margin: 0 10px;
  width: 60px;
}
.musiclist-th ul {
  color: #777;
  display: grid;
  font-size: 14px;
  font-weight: 300;
  grid-template-columns: 80px 1fr 200px 50px 50px;
  padding: 5px;
}
.musiclist-th-center {
  text-align: center;
}
.musiclist-box {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  display: grid;
    align-items: center;
  font-size: 15px;
  grid-template-columns: 80px 1fr 200px 50px 50px;
  margin-top: -1px;
  padding: 5px;
}
.musiclist-box h2,
.musiclist-box h3 {
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  padding: 0;
}
.musiclist-box h2 a,
.musiclist-box h3 a {
  color: #141414;
  display: block;
  font-weight: bold;
  margin-right: 10px;
  padding: 15px 0;
}
.musiclist-tag ul {
  display: flex;
  flex-wrap: wrap;
  line-height: 1;
  margin: 0;
  padding: 0;
}
.musiclist-tag a {
  background-color: #ccc;
  border-radius: 10px;
  color: #141414;
  display: inline-block;
  font-size: 10px;
  margin-right: 2px;
  margin-bottom: 2px;
  padding: 3px 5px;
}
.musiclist-player button {
  background-color: #0693cd;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: block;
  height: auto;
  line-height: 1;
  margin: 0 auto;
  padding: 10px;
  width: 34px;
}
.musiclist-playlist button,
.tadaoto-single-track .js-add-playlist {
  align-items: center;
  aspect-ratio: 1 / 1;
  background-color: #444;
  border: 0;
  border-radius: 50%;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  margin: 0 auto;
  max-width: 34px;
  min-width: 34px;
  padding: 0;
  width: 34px;
}
.musiclist-playlist button.is-added,
.tadaoto-single-track .js-add-playlist.is-added,
.tadaoto-player__playlist.is-added {
  background-color: #39a96b;
}
.playPauseButton.paused {
  background-color: #0693cd;
}
.playPauseButton.playing {
  background-color: #efc430;
}
.musiclist-box.is-current-track {
  background-color: #f2f9fc;
  box-shadow: inset 3px 0 0 #0693cd;
}
/* --------------------------------------------------------------------------------------------------------------
  全ページ共通ミニプレイヤー
-------------------------------------------------------------------------------------------------------------- */
body.has-tadaoto-player {
  padding-bottom: 82px;
}
.tadaoto-player[hidden],
.tadaoto-player-toast[hidden] {
  display: none;
}
.tadaoto-player {
  background: rgba(18, 18, 18, .97);
  bottom: 0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .25);
  color: #fff;
  left: 0;
  position: fixed;
  right: 0;
  transform: translateY(0);
  z-index: 1000;
}
.tadaoto-player__progress {
  height: 8px;
  line-height: 0;
}
.tadaoto-player__seek {
  accent-color: #efc430;
  cursor: pointer;
  height: 8px;
  margin: 0;
  padding: 0;
  width: 100%;
}
.tadaoto-player__inner {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(140px, 1fr) auto auto minmax(100px, 160px) 36px;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 66px;
  padding: 8px 16px;
}
.tadaoto-player__art {
  height: 48px;
  object-fit: cover;
  width: 48px;
}
.tadaoto-player__title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tadaoto-player__controls {
  align-items: center;
  display: flex;
  gap: 4px;
}
.tadaoto-player__controls button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  min-width: 38px;
  padding: 10px 6px;
}
.player-control-icon {
  display: block;
  fill: currentColor;
  height: 18px;
  margin: 0 auto;
  width: 18px;
}
.tadaoto-player__controls .tadaoto-player__toggle {
  background: #0693cd;
  border-radius: 18px;
  font-size: 13px;
  min-width: 62px;
}
.tadaoto-player__time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tadaoto-player__volume-wrap {
  align-items: center;
  display: flex;
  gap: 4px;
}
.tadaoto-player__volume {
  accent-color: #0693cd;
  min-width: 80px;
  width: 100%;
}
.tadaoto-player__playlist {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #444;
  border: 0;
  border-radius: 50%;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  max-width: 34px;
  min-width: 34px;
  padding: 0;
  width: 34px;
}
/* Web Audio(MasterGain)導入によりiOSでも音量スライダーが機能するため常時表示。
   モバイルの2段レイアウトでは下部のメディアクエリで別途非表示にしている。 */
.tadaoto-player-toast {
  background: #222;
  border-radius: 4px;
  bottom: 92px;
  color: #fff;
  left: 50%;
  max-width: calc(100% - 40px);
  padding: 10px 16px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 1200;
}

/* プレイリスト / DJページ */
.tadaoto-tool-page {
  max-width: 960px;
  padding-bottom: 40px;
}
/* h1の上余白をページ種別間で統一(BGMアーカイブ=.musiclist-titleの20pxに合わせる)
   ツール系は.musiclist-titleのデフォルト20pxをそのまま使用 */
.tadaoto-playlist-page__header h1 {
  margin-top: 20px;
}
.singular-header {
  margin-top: 20px;
}
.tadaoto-tool-page .site-main {
  width: 100%;
}
.tadaoto-playlist-page {
  max-width: 960px;
  padding-bottom: 40px;
}
.tadaoto-playlist-page .site-main {
  width: 100%;
}
.playlist-now-playing {
  align-items: center;
  background: #171717;
  color: #fff;
  display: flex;
  gap: 24px;
  border-radius: 8px 8px 0 0;
  margin: 24px 0 0;
  padding: 24px;
}
.playlist-now-playing__art {
  height: 140px;
  object-fit: cover;
  width: 140px;
}
.playlist-now-playing__label,
.playlist-now-playing__time {
  color: #bbb;
  margin: 0;
}
.playlist-now-playing__title {
  color: #fff;
  margin: 8px 0;
}
.playlist-controls {
  align-items: center;
  background: #171717;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid #363636;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px 20px;
}
.playlist-controls button,
.playlist-list-actions button,
.playlist-track__actions button,
.playlist-trash__header button,
.playlist-trash-track__actions button {
  background: #444;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  padding: 8px 10px;
}
.playlist-controls button {
  border-radius: 18px;
  font-size: 13px;
  min-height: 36px;
  min-width: 44px;
  transition: background-color .2s ease, transform .2s ease;
}
.playlist-controls button:hover,
.playlist-controls button:focus-visible {
  filter: brightness(1.15);
  transform: translateY(-1px);
}
/* 前後・再生ボタンは一覧の再生ボタンと同じ円形トンマナに */
.playlist-controls button[data-action="previous"],
.playlist-controls button[data-action="next"],
.playlist-controls button[data-action="toggle"] {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 44px;
  justify-content: center;
  min-width: 0;
  padding: 0;
  width: 44px;
}
.playlist-controls button[data-action="previous"],
.playlist-controls button[data-action="next"] {
  background: #444;
}
.playlist-controls button[data-action="toggle"] {
  background: #0693cd;
  font-size: 16px;
}
.playlist-controls button[data-action="shuffle"] {
  background: #475569;
}
.playlist-controls button[data-action="repeat"] {
  background: #7651a8;
  min-width: 92px;
}
.playlist-controls button.is-active {
  background: #0d9488;
}
.playlist-controls label {
  align-items: center;
  background: #282828;
  border-radius: 18px;
  box-sizing: border-box;
  color: #f2f2f2;
  display: flex;
  font-size: 13px;
  flex-shrink: 0;
  gap: 6px;
  height: 36px;
  padding: 6px 12px;
  white-space: nowrap;
}
.playlist-controls input[type="range"] {
  accent-color: #efc430;
}
.playlist-controls select,
.playlist-controls input[type="number"] {
  background: #3a3a3a;
  border: 1px solid #555;
  border-radius: 4px;
  color: #ddd;
  padding: 3px 5px;
}
.playlist-controls input[type="number"] {
  width: 64px;
}
.playlist-controls__help {
  color: #aaa;
  font-size: 11px;
  margin-left: -4px;
  white-space: nowrap;
}
.playlist-list-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 24px 0 8px;
}
.playlist-page-message {
  padding: 18px 0;
}
.playlist-track-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.playlist-track {
  align-items: center;
  border-bottom: 1px solid #ddd;
  display: grid;
  gap: 12px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  padding: 8px;
}
.playlist-track.is-current-track {
  background: #f2f9fc;
  box-shadow: inset 3px 0 0 #0693cd;
}
.playlist-track img {
  height: 56px;
  object-fit: cover;
  width: 56px;
}
.playlist-track__art-link {
  display: block;
  line-height: 0;
}
.playlist-track__title {
  color: #141414;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.playlist-track__actions {
  align-items: center;
  display: flex;
  gap: 6px;
}
/* 行内ボタンは一覧のPlay/Listボタンと同じ円形トンマナに合わせる */
.playlist-track__actions button {
  align-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  flex: 0 0 34px;
  font-size: 14px;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}
.playlist-track__actions .playlist-track__play {
  background: #0693cd;
}
.playlist-trash[hidden] {
  display: none;
}
.playlist-trash {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 40px;
  padding: 18px;
}
.playlist-trash__header {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.playlist-trash__header h2 {
  font-size: 20px;
  margin: 0 0 4px;
}
.playlist-trash__header p {
  color: #555;
  font-size: 13px;
  margin: 0;
}
.playlist-trash__header button,
.playlist-trash-track__actions button[data-action="purge"] {
  background: #a83d3d;
}
.playlist-trash-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.playlist-trash-track {
  align-items: center;
  border-top: 1px solid #ddd;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  padding: 10px 0;
}
.playlist-trash-track img {
  filter: grayscale(1);
  height: 44px;
  object-fit: cover;
  opacity: .65;
  width: 44px;
}
.playlist-trash-track__title {
  color: #444;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.playlist-trash-track__actions {
  display: flex;
  gap: 6px;
}
.playlist-trash-track__actions button[data-action="restore"] {
  background: #2f6177;
}
.playlist-license-note {
  background: #f7f7f7;
  margin-top: 30px;
  padding: 14px;
}
@media screen and (max-width: 768px) {
  body.has-tadaoto-player {
    padding-bottom: 116px;
  }
  .tadaoto-player__inner {
    gap: 8px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 88px;
    padding: 8px 10px;
  }
  .tadaoto-player__art {
    height: 42px;
    width: 42px;
  }
  .tadaoto-player__controls {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .tadaoto-player__playlist {
    display: none;
  }
  .tadaoto-player__controls button {
    min-width: 32px;
    padding: 9px 4px;
  }
  .tadaoto-player__controls .tadaoto-player__toggle {
    min-width: 52px;
  }
  .tadaoto-player__time {
    grid-column: 2;
    grid-row: 2;
  }
  .tadaoto-player__volume-wrap {
    display: none;
  }
  .tadaoto-player-toast {
    bottom: 126px;
  }
  .playlist-now-playing {
    gap: 14px;
    padding: 14px;
  }
  .playlist-controls {
    padding: 12px 14px 16px;
  }
  .playlist-now-playing__art {
    height: 88px;
    width: 88px;
  }
  .playlist-track {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .playlist-track img {
    height: 44px;
    width: 44px;
  }
  .playlist-track__actions {
    grid-column: 2;
  }
  .playlist-trash {
    padding: 14px;
  }
  .playlist-trash__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .playlist-trash-track {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .playlist-trash-track__actions {
    grid-column: 2;
  }
}
/* single.phpでの再生・停止ボタンを調整 */
.musicpage-btn .musicpage-play-btn button {
  background-color: inherit;
  border: 0;
  font-size: 21px;
}
.musicpage-btn .musicpage-play-btn {
  width: 100px;
}
.tadaoto-single-track {
  align-items: center;
  display: flex;
}
.musicpage-btn .musicpage-play-btn button {
  display: block;
  width: 50px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .musiclist-header {
    display: block;
  }
  .misiclist-art-box {
    margin-right: 0;
    width: 100%;
  }
  .misiclist-meta-box {
    width: 100%;
  }
  .musiclist-header {
    margin: 10px;
  }

  .musiclist-th {
    display: none;
  }
  .musiclist-box {
    grid-template-columns: 70px 1fr 50px 50px;
    padding-right: 0;
    position: relative;
  }
  .musiclist-img {
    margin-right: 10px;
    margin-left: 0;
  }
  .musiclist-box h2 a,
  .musiclist-box h3 a {
    margin: 0;
    padding: 5px 0;
  }
  .musiclist-tag,
  .musiclist-time,
  .musiclist-bpm,
  .musiclist-download {
    display: none;
  }
}

/* --------------------------------------------------------------------------------------------------------------
　固定ページ アルバムリスト (トップページでも流用)
-------------------------------------------------------------------------------------------------------------- */
/* トップページのおすすめアルバム */
.album-list ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.album-list li {
  width: 25%;
}
.album-list img {
  display: block;
  padding: 5px;
}
@media (max-width: 767px) {
  .album-list li {
    width: 50%;
  }
}
/* --------------------------------------------------------------------------------------------------------------
　固定ページ タグリスト (トップページでも流用)
-------------------------------------------------------------------------------------------------------------- */
.tag-ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.tag-ul li {
  list-style: none;
}
.tag-ul a {
  background-color: #eee;
  border-radius: 25px;
  color: #111;
  display: block;
  line-height: 1;
  margin: 5px;
  padding: 5px 15px 5px 12px;
  position: relative;
  text-decoration: none;
}
.tag-ul a:before {
  content: "#";
  margin-right: 2px;
}

/* --------------------------------------------------------------------------------------------------------------
AdSense
-------------------------------------------------------------------------------------------------------------- */
.ads-header {
  margin-top: 10px;
}
.ads-archive-paging {
  margin: 20px auto;
}
@media (max-width: 767px) {
}

/* --------------------------------------------------------------------------------------------------------------
  プレイリスト 3スロット拡張（追加ポップオーバー / タブ / 移行バナー）
  ※ playlist-dj-design.md 3スロット対応で追加したセクション
-------------------------------------------------------------------------------------------------------------- */
/* ＋ボタンのチェックボックス式ポップオーバー */
.tadaoto-playlist-popover[hidden] {
  display: none;
}
.tadaoto-playlist-popover {
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  box-sizing: border-box;
  min-width: 200px;
  max-width: 260px;
  padding: 10px 12px;
  position: fixed;
  z-index: 1300;
}
.tadaoto-playlist-popover__title {
  color: #333;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
}
.tadaoto-playlist-popover__row {
  align-items: center;
  color: #222;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 8px;
  padding: 6px 2px;
}
.tadaoto-playlist-popover__row input {
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}
.tadaoto-playlist-popover__link {
  color: #0693cd;
  display: inline-block;
  font-size: 12px;
  margin-top: 8px;
  text-decoration: none;
}
.tadaoto-playlist-popover__link:hover {
  text-decoration: underline;
}

/* プレイリストページ タブ */
.playlist-tabs {
  border-bottom: 2px solid #e2e2e2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}
.playlist-tab-wrap {
  align-items: stretch;
  display: flex;
}
.playlist-tab {
  background: #efefef;
  border: 0;
  border-radius: 6px 6px 0 0;
  color: #444;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
}
.playlist-tab.is-active {
  background: #0693cd;
  color: #fff;
}
.playlist-tab-rename {
  background: transparent;
  border: 0;
  color: #888;
  cursor: pointer;
  font-size: 13px;
  padding: 0 6px;
}
.playlist-tab-rename:hover {
  color: #0693cd;
}

/* ゴミ箱エントリの移動元リスト表示 */
.playlist-trash-track__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.playlist-trash-track__origin {
  color: #888;
  font-size: 11px;
}
.playlist-track[draggable="true"],
.playlist-track.sortable-chosen {
  cursor: grab;
}
.playlist-track.sortable-ghost {
  opacity: .4;
}

/* お気に入り → プレイリスト 移行バナー */
.favorites-migrate[hidden] {
  display: none;
}
.favorites-migrate {
  background: #eef7fb;
  border: 1px solid #b9e0ef;
  border-radius: 8px;
  margin: 16px 0 8px;
  padding: 16px 18px;
}
.favorites-migrate__lead {
  color: #123;
  margin: 0 0 10px;
}
.favorites-migrate__result {
  color: #1a7a48;
  font-weight: 700;
  margin: 0 0 10px;
}
.favorites-migrate__result[hidden] {
  display: none;
}
.favorites-migrate__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.favorites-migrate__actions .js-migrate-favorites {
  background: #0693cd;
  border: 0;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 18px;
}
.favorites-migrate__actions .js-migrate-favorites:disabled {
  background: #9bb7c2;
  cursor: default;
}
.favorites-migrate__link {
  color: #0693cd;
  font-weight: 700;
  text-decoration: none;
}
.favorites-migrate__link[hidden] {
  display: none;
}
.favorites-migrate__link:hover {
  text-decoration: underline;
}


/* --------------------------------------------------------------------------------------------------------------
ifuk-glossary(用語集)tadaoto向け調整
プラグイン本体は全サイト共通のため、tadaoto固有の色・レイアウトはテーマ側で上書きする。
-------------------------------------------------------------------------------------------------------------- */

/* 旧tadaoto-glossaryの配色(プラグインCSSの:rootより優先させるためbodyスコープ) */
body {
  --ifgl-accent: #0693cd;
  --ifgl-ink: #202124;
  --ifgl-muted: #6d737a;
  --ifgl-line: #dfe3e7;
  --ifgl-soft: #f6f7f8;
  --ifgl-link: #235c9a;
}

/* 旧テーマ構造用のレイアウト(テーマ上書きテンプレートが使用) */
.container.ifgl-page {
  padding-bottom: 80px;
  padding-top: 0;
  max-width: 1080px;
}

.ifgl-page .content__wrap {
  align-items: flex-start;
}

.ifgl-page .site-main {
  width: 100%;
}

/* プラグインCSS(ifukテーマ用)の余白を旧テーマ構造では無効化 */
.ifgl-page .ifgl-archive,
.ifgl-page .ifgl-single {
  padding-bottom: 0;
}

.ifgl-page .ifgl-single {
  margin: 0 auto;
  max-width: 960px;
}

/* 種別バッジの配色(旧プラグインと同一) */
.ifgl-type-badge--theory {
  background: #eef1f3;
  color: #566069;
}

.ifgl-type-badge--performance {
  background: #f2f4f5;
  color: #566069;
}

.ifgl-type-badge--production {
  background: #eaf5fa;
  color: var(--ifgl-link);
}

/* 用語集ページの目次スタイル(旧プラグインから移設) */
.ifgl-term-content .toc {
  background: var(--ifgl-soft);
  border: 1px solid var(--ifgl-line);
  border-radius: 14px;
  margin: 0 0 42px;
  padding: 24px;
}

.ifgl-term-content .toc__title {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 12px;
}

.ifgl-term-content .toc__list {
  margin-bottom: 0;
  margin-top: 0;
}

.ifgl-term-content .toc__list li {
  line-height: 1.65;
  margin: 7px 0;
}

.ifgl-term-content .toc__list a {
  color: var(--ifgl-ink);
  text-decoration-color: #b9ccd5;
  text-underline-offset: 4px;
}

.ifgl-term-content .toc__list a:hover,
.ifgl-term-content .toc__list a:focus-visible {
  color: var(--ifgl-link);
  opacity: 1;
}

@media (max-width: 599px) {
  .ifgl-term-content .toc {
    padding: 20px;
  }
}

/* トップページ用語集セクションのボタン余白(旧プラグインと同一) */
.ifgl-home .main-btn a {
  margin-top: 32px;
}

@media (max-width: 599px) {
  .container.ifgl-page {
    padding-bottom: 56px;
    padding-top: 0;
  }
}

/* --------------------------------------------------------------------------------------------------------------
検索モーダル(ifuk標準UI。挙動は assets/js/main.js)
-------------------------------------------------------------------------------------------------------------- */
.header-search-toggle:focus-visible {
  outline: 2px solid var(--tadaoto-accent);
  outline-offset: 3px;
}

.header-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header-search-toggle__label {
  display: none;
}

.search-modal {
  width: min(90vw, 520px);
  padding: 48px 32px 32px;
  border: 0;
  border-radius: 8px;
  background: var(--content-bg, #ffffff);
  box-shadow: 0 18px 40px rgba(32, 33, 36, .25);
  color: var(--font-color, #222222);
}

.search-modal::backdrop {
  background: rgba(32, 33, 36, .55);
}

.search-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--font-gray, #656565);
}

.search-modal__close:hover {
  opacity: .65;
}

.search-modal__close:focus-visible {
  outline: 2px solid var(--tadaoto-accent);
  outline-offset: 2px;
}

.search-modal__title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.search-modal .search-form {
  width: 100%;
  margin: 0;
}

@media (max-width: 599px) {
  .search-modal {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .global-nav .header-search-toggle {
    width: auto;
    min-height: 44px;
    margin: 16px 0 0;
    padding: 8px 0;
    color: var(--mobile-nav-text);
  }

  .header-search-toggle__label {
    display: inline;
  }
}

/* --------------------------------------------------------------------------------------------------------------
トップへ戻るボタン(ifuk標準UI。挙動は assets/js/main.js)
-------------------------------------------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #ffffff;
  border: 1px solid #dfe3e7;
  border-radius: 50%;
  color: #202124;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease-out, visibility 0s linear 0.25s;
}
.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease-out;
}
.back-to-top:hover {
  border-color: rgba(6, 147, 205, .5);
}
/* ミニプレイヤー表示中はプレイヤーの上に逃がす */
body.has-tadaoto-player .back-to-top {
  bottom: 96px;
}

/* --------------------------------------------------------------------------------------------------------------
目次(ifukのenable_toc。旧テーマ時代の目次デザインを維持)
-------------------------------------------------------------------------------------------------------------- */
.toc {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  background-color: rgba(238, 238, 238, .2);
  border: 1px solid #bdc3c7;
  color: #222222;
  font-size: .9em;
}
.toc a {
  color: currentColor;
  text-decoration: none;
}
.toc__title {
  margin: 0 0 .5em;
  font-weight: 700;
}
.toc__list,
.toc__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc__list li {
  padding: .25em 0;
}
.toc__list > li {
  margin-bottom: .5em;
  padding-left: 1em;
  border-left: 1px solid #bdc3c7;
}
.toc__sub {
  padding-left: 1em;
  font-size: .95em;
}
.toc__sub li::before {
  margin-right: .25em;
  content: "-";
}
