/* ========== 共通・全体 ========== */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(to bottom, #dff3ff, #fff);
    color: #444;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
}
.icon {
    width: 1.3em;
    height: 1.3em;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.25rem;
}
*, *::before, *::after { box-sizing: border-box; }

/* ========== ヘッダー ========== */
header {
    background: #fff;
    border-bottom: 1.5px solid #e6d2a6;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.6rem 1.2rem;
}
.logo img { height: 46px; display: block; }
.nav-pc { display: flex; gap: 2rem; }
.nav-pc a, .nav-sp a {
    color: #7b5527;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.08rem;
    transition: color 0.18s;
    padding: 0.125rem 0.375rem;
}
.nav-pc a:hover, .nav-sp a:hover {
    color: #ffd966;
    background: #7b5527;
    border-radius: 6px;
}
.nav-pc .dropdown { position: relative; display: inline-block; }
.nav-pc .dropdown-parent { position: relative; z-index: 2; }
.nav-pc .dropdown-menu {
    display: block;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0; top: 100%;
    min-width: 170px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(120,120,120,0.09);
    border-radius: 0 0 9px 9px;
    padding: 0.4em 0;
    margin: 0;
    transition: opacity 0.22s, transform 0.21s;
    transform: translateY(-10px);
    z-index: 11;
}
.nav-pc .dropdown:hover .dropdown-menu,
.nav-pc .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-pc .dropdown-menu li { list-style: none; margin: 0; }
.nav-pc .dropdown-menu a {
    display: block;
    padding: 0.7em 1.4em;
    color: #7b5527;
    text-decoration: none;
    font-weight: bold;
    background: none;
    font-size: 1.05rem;
    border-radius: 0 0 9px 9px;
    transition: background 0.16s, color 0.16s;
}
.nav-pc .dropdown-menu a:hover {
    background: #fffbe1;
    color: #bb750a;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1500; }
.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: #7b5527;
    border-radius: 2px;
    margin: 0.3125rem 0;
    transition: 0.25s;
}
.nav-sp {
    display: none;
}

/* ========== メインビジュアル・ヒーロー ========== */
.hero {
    height: 600px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    will-change: transform, opacity;
}
/* ===== ヒヨコアニメーション ===== */
.chick-fly {
    position: absolute;
    top: 40%;
    left: -120px;
    width: 120px; height: 120px;
    animation:
        fly-right 12s linear infinite,
        fly-chick-updown 2s ease-in-out infinite;
    z-index: 1;
}
.chick {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    pointer-events: none;
}
.chick1 {
    animation: flap1 0.8s steps(1) infinite;
}
.chick2 {
    animation: flap2 0.8s steps(1) infinite;
}
@keyframes fly-right {
    0%     { left: -120px; opacity: 1; }
    90%    { left: 100vw; opacity: 1; }
    99%    { left: 100vw; opacity: 0; }
    100%   { left: -300px; opacity: 0; }
}
@keyframes fly-chick-updown {
    0%,100% { transform: translateY(0) rotate(-7deg); }
    20%     { transform: translateY(-15px) rotate(-4deg); }
    40%     { transform: translateY(5px) rotate(-2deg); }
    60%     { transform: translateY(-12px) rotate(2deg); }
    80%     { transform: translateY(6px) rotate(4deg); }
}
@keyframes flap1 {
    0%,49%  { opacity: 1; }
    50%,100% { opacity: 0; }
}
@keyframes flap2 {
    0%,49%  { opacity: 0; }
    50%,100% { opacity: 1; }
}

/* ===== バルーンアニメーション ===== */
.balloon-fly {
    position: absolute;
    top: 30%;
    left: -160px;
    width: 160px; height: 240px;
    animation:
        fly-balloon-horizontal 25s linear infinite,
        fly-balloon-float 7s ease-in-out infinite;
    z-index: 1;
}
@keyframes fly-balloon-horizontal {
    0%     { left: -160px; }
    100%   { left: 100vw; }
}
@keyframes fly-balloon-float {
    0%,100% { transform: translateY(0) rotate(-2deg); }
    30%     { transform: translateY(-24px) rotate(3deg); }
    70%     { transform: translateY(12px) rotate(-5deg); }
}

/* その他テキスト要素など */
.search-cloud-box,
.catch-copy {
    position: relative;
    z-index: 1;
}

/* ========== 検索雲ボックス ========== */
.search-form {
    transition: all 0.25s;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.search-form.is-hidden {
    display: none !important;
}

.search-cloud-box {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 320px;
    max-width: 90vw;
    background: rgba(255,255,255,0.65);
    box-shadow: 0 8px 32px rgba(120,160,200,0.13);
    border-radius: 2rem 2.5rem 2rem 2.5rem / 2.5rem 2rem 2.5rem 2rem;
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    text-align: center;
    backdrop-filter: blur(4px);
    border: 1.5px solid rgba(255,255,255,0.35);
    z-index: 20;
}
.search-heading {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.search-sub {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.catch-copy {
    text-align: center;
    position: absolute;
    top: 85%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    white-space: nowrap;
}

/* ========== YouTube ========== */
.YouTube-section .about-heading {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem
}
.YouTube-section {
    margin: 4rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 1rem;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.YouTube-contents {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
}
.YouTube-info {
    width: 50%;
}
.YouTube-overview {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.subscribe-btn {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    padding: 0.8em 2em;
    border-radius: 999px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    letter-spacing: 0.03em;
}
.subscribe-btn:hover {
    background: #cc0000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

/* ========== 共通カードボックス ========== */
.card-box {
	background: #fff;
	border-radius: 1.1rem;
	box-shadow: 0 4px 14px rgba(120,160,200,0.09);
	padding: 1.5rem 1.6rem;
	margin-bottom: 2rem;
}

/* ========== リストやグリッドの共通クラス ========== */
.flex-list {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

/* 色バリエーション（上書き用） */
.card-box--yellow { background: #fefae0; }
.card-box--cream { background: #fffbe1; }
.card-box--beige { background: #fffdeb; }
.card-box--shadow-lg { box-shadow: 0 8px 24px #e2e8f066, 0 1.5px 10px #fff4b733; }
.card-box--padding-s { padding: 1.1rem 1.4rem; }
.card-box--padding-xs { padding: 1.05rem 1.25rem; }
.card-box--center { text-align: center; }
.card-box--flex { display: flex; flex-direction: column; }

/* ========== 検索エリア・リンク ========== */
.search-link {
    text-align: center;
    margin: 3rem auto;
}
.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.2rem auto 0;
    gap: 1rem;
}
.search-button {
    background: #ffd966;
    color: #333;
    font-weight: bold;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 2rem;
    box-shadow: 0.4px 8px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}
.search-button:hover {
    background: #ffc107;
}
.search-chick {
    height: 110px;
    margin: 1.3rem auto 0;
    display: block;
    transition: transform 0.18s;
}
.search-chick:hover,
.search-chick:active {
    transform: scale(1.13);
}

/* ========== 新規素材レコメンド ========== */
.list-li {
    display: flex;
}

.list-a:hover{
    background-color: #e6f3ff;
}
.list-a{
    text-decoration: none;
    color: black;
    display: block;
    width: 100%;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-youtube { width: 300px; }

/* ========== サイト紹介 ========== */
.about-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.about-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.about-link {
    display: inline-block;
    text-decoration: none;
    background: #ffd966;
    color: #333;
    font-weight: bold;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: background 0.3s;
}
.about-link:hover {
    background: #ffc107;
}

/* ========== 利用ガイドライン ========== */
.rules-section {
    margin: 4rem auto;
    padding: 2.5rem 2rem 2.5rem 2rem;
    background: none;
    border-radius: 1rem;
    max-width: 900px;
}
.rules-heading {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2d4257;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.02em;
}
.rules-summary-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #b69c38;
    margin-bottom: 0.8em;
    text-align: center;
    letter-spacing: 0.02em;
}
.rules-summary-list {
    margin: 0;
    padding-left: 1.3em;
    color: #7c6b41;
    font-size: 1.08rem;
    line-height: 1.85;
}
.rules-details h4 {
    margin-top: 2em;
    margin-bottom: 0.7em;
    font-size: 1.09rem;
    font-weight: bold;
    color: #217a8c;
    border-left: 4px solid #ffe480;
    padding-left: 0.7em;
    background: linear-gradient(to right, #fffdf6 75%, transparent 100%);
}
.rules-details ul {
    margin-bottom: 1.4em;
    padding-left: 1.3em;
}
.rules-details li {
    font-size: 1.03rem;
    margin-bottom: 0.47em;
    color: #444;
}
strong {
    color: #be8e2b;
    font-weight: bold;
}
.rules-details-box {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 4px 16px rgba(120,160,200,0.10);
    padding: 2rem 1.5rem;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    max-width: 830px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.rules-details h4 {
    margin-top: 2em;
    margin-bottom: 0.7em;
    font-size: 1.09rem;
    font-weight: bold;
    color: #217a8c;
    border-left: 4px solid #ffe480;
    padding-left: 0.7em;
    background: linear-gradient(to right, #fffdf6 75%, transparent 100%);
}
.rules-details ul {
    margin-bottom: 1.4em;
    padding-left: 1.3em;
}
.rules-details li {
    font-size: 1.03rem;
    margin-bottom: 0.47em;
    color: #444;
}
.rules-possible-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
    justify-content: center;
    margin: 1.2rem auto 2.1rem auto;
    max-width: 900px;
}
.rules-possible-ok, .rules-possible-ng {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 13px rgba(120,160,200,0.07);
    padding: 1.1rem 1.3rem 1.1rem 1.3rem;
    min-width: 310px;
    max-width: 415px;
    flex: 1 1 320px;
}
.rules-possible-ok h4 { color: #168e4d; }
.rules-possible-ng h4 { color: #c9503e; }
.rules-possible-ok li::before { 
    content: "✅ ";
    color: #19be72;
}
.rules-possible-ng li::before {
    content: "❌ ";
    color: #c9503e; }
.inline-note {
    color: #a38d36;
    font-size: 0.97em;
}
.rules-details-box {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 4px 16px rgba(120,160,200,0.10);
    padding: 2rem 1.5rem;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    max-width: 830px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* ========== プロフィール =============== */
.profile-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}
.profile-name {
    font-size: 1.17rem;
    font-weight: bold;
    margin-bottom: 0.7em;
    color: #2d4257;
}
.profile-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0.9em;
}
.profile-list li {
    margin-bottom: 0.3em;
}
.profile-links {
    margin-bottom: 0.8em;
}
.profile-links a {
    color: #2087b8;
    text-decoration: underline;
    margin-right: 0.5em;
    font-size: 0.99em;
}
.profile-bio {
    color: #5d5d5d;
    font-size: 0.98em;
}

/* ================= よくある質問 ============ */
.faq-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 2.3rem 1.4rem;
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 6px 20px rgba(120,160,200,0.08);
}
.faq-heading {
    font-size: 1.45rem;
    font-weight: bold;
    margin-bottom: 2.3rem;
    text-align: center;
    letter-spacing: 0.03em;
}
.faq-category {
    font-size: 1.14rem;
    color: #bc9b27;
    margin: 2.2em 0 1em 0;
    border-left: 4px solid #ffe480;
    padding-left: 0.7em;
    background: linear-gradient(to right, #fffbe1 75%, transparent 100%);
    font-weight: bold;
}
.faq-list {
    margin: 0 0 2em 0;
    padding: 0;
}
.faq-list dt {
    font-weight: bold;
    margin-top: 1.4em;
    margin-bottom: 0.35em;
    color: #217a8c;
    font-size: 1.06em;
    letter-spacing: 0.01em;
}
.faq-list dd {
    margin: 0 0 1.2em 1em;
    font-size: 1em;
    color: #444;
    line-height: 1.7;
}
.faq-list a {
    color: #2087b8;
    text-decoration: underline;
}
.faq-list a:hover {
    color: #bb750a;
}

/* ========== かまタマゴについて ========== */
.about-lead {
    margin-bottom: 2.3rem;
    text-align: center;
    font-size: 1.13rem;
    color: #38525a;
}
.about-features-card,
.about-history-card,
.about-message-card {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 3px 12px rgba(120,160,200,0.08);
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.8rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.about-features-title,
.about-history-title,
.about-message-title {
    font-size: 1.13rem;
    color: #bc9b27;
    font-weight: bold;
    margin-bottom: 0.9em;
    border-left: 4px solid #ffe480;
    padding-left: 0.55em;
    background: linear-gradient(to right, #fffbe1 70%, transparent 100%);
}
.about-history-card p,
.about-message-card p {
    margin-bottom: 0.7em;
    color: #444;
    font-size: 1rem;
}
.about-features-list {
  	list-style: none;
  	padding-left: 0;
}
.features-illust {
	width: 50%;
}
.slide-in {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.6s, transform 0.6s;
}
.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s, transform 0.6s;
}
.slide-in.show {
  opacity: 1;
  transform: translateX(0);
}
.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* ========== リンク ===================== */
.link-section {
    margin: 4rem auto;
    max-width: 950px;
}
.link-heading {
    font-size: 1.5rem;
    color: #2d4257;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.1rem;
    letter-spacing: 0.03em;
}
.link-card {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 4px 14px rgba(120,160,200,0.10);
    padding: 1.1rem 1.4rem;
    min-width: 270px;
    max-width: 380px;
    flex: 1 1 295px;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
}
.link-card-title a {
    font-weight: bold;
    font-size: 1.13rem;
    color: #2571b8;
    text-decoration: none;
    transition: color 0.18s;
}
.link-card-title a:hover {
    color: #ffbe21;
    text-decoration: underline;
}
.link-card-desc {
    margin-top: 0.25em;
    color: #444;
    font-size: 1.02rem;
    line-height: 1.7;
}
.link-card-tag {
    display: inline-block;
    background: #f7e9b7;
    color: #c79521;
    font-size: 0.98em;
    padding: 0.11em 0.95em;
    border-radius: 1em;
    margin: 0.25em 0 0.22em 0;
}
.link-note {
    text-align: center;
    font-size: 0.98em;
    color: #8c7c5e;
    margin-bottom: 2rem;
}

/* ========== リンク2 ==================== */
.userlink-section {
    max-width: 950px;
    margin: 4rem auto;
}
.userlink-heading {
    font-size: 1.55rem;
    color: #2d4257;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.1rem;
    letter-spacing: 0.03em;
}
.userlink-note {
    color: #786430;
    font-size: 1em;
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.75;
}
.userlink-genre {
    font-size: 1.18rem;
    color: #bc9b27;
    border-left: 4px solid #ffe480;
    padding-left: 0.7em;
    background: linear-gradient(to right, #fffbe1 75%, transparent 100%);
    font-weight: bold;
    margin: 2.4rem 0 1.2rem 0;
}
.userlink-card {
    background: #fff;
    border-radius: 1.05rem;
    box-shadow: 0 4px 12px rgba(120,160,200,0.08);
    padding: 1.05rem 1.25rem;
    min-width: 270px;
    max-width: 410px;
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.3em;
}
.userlink-title a {
    font-size: 1.08rem;
    font-weight: bold;
    color: #2171b8;
    text-decoration: none;
}
.userlink-title a:hover {
    color: #ffbe21;
    text-decoration: underline;
}
.userlink-author {
    color: #465057;
    font-size: 0.97em;
    margin-top: 0.3em;
}
.userlink-author a {
    color: #2087b8;
    text-decoration: underline;
}
.userlink-author a:hover {
    color: #bb750a;
}
.userlink-note-r15 {
    color: #e56710;
    font-size: 0.96em;
    margin-left: 0.7em;
}
.userlink-deleted {
    color: #be4242;
    text-decoration: line-through;
    font-size: 0.97em;
    margin-left: 0.4em;
}

/* ========== お知らせ・更新履歴 ========== */
.info-section {
    margin: 4rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 1rem;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.info-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}
.info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
}
.info-date {
    font-weight: bold;
    margin-right: 0.5rem;
    color: #444;
}
.info-link {
    display: block;
    text-align: center;
    color: #007acc;
    font-size: 0.95rem;
}

/* ========== 検索ページ ======== */
.results-section {
    background: #e9f7ff;
    padding: 30px 0;
}
.cloud-card {
    background: #fffdeb;
    border-radius: 38px;
    box-shadow: 0 8px 24px #e2e8f066, 0 1.5px 10px #fff4b733;
    margin: 38px auto 28px auto;
    max-width: 1150px;
    padding: 30px 28px;
    display: flex;
    align-items: flex-start;
  	gap: 32px;
  	transition: box-shadow 0.15s;
}
.cloud-card:hover {
  	box-shadow: 0 12px 32px #e2e8f088, 0 3px 18px #fff0a344;
}
.music-thumb { flex: 0 0 195px; }
.thumb-img { width: 300px; height: 168.75px ;object-fit: cover; border-radius: 15px; }
.music-meta { flex: 1 1 0; }
.music-title-row {
  	display: flex; flex-wrap: wrap; gap: 15px;
 	align-items: center;
  	font-weight: bold;
  	font-size: 1.18rem;
  	margin-bottom: 8px;
}
.music-title { font-size: 1.22em; color: #38525a; }
.music-category {
 	background: #fbeab7;
  	color: #bb8e29;
  	font-size: 1.05em;
  	border-radius: 0.9em;
  	padding: 0.11em 1.25em;
  	font-weight: bold;
  	margin-left: 10px;
}
.music-date {
  	color: #b1b1a5;
  	font-size: 1.04em;
  	margin-left: 15px;
  	font-weight: bold;
}
.music-info-list {
  	display: flex; gap: 25px;
  	font-size: 1.10em; color: #92762e;
  	margin-bottom: 8px;
  	margin-top: 4px;
}
.music-info-list .icon { width: 1.3em; margin-right: 5px; vertical-align: middle; }
.music-description {
  	color: #4d4636; font-size: 1.03em; margin-bottom: 10px;
}
.music-controls {
  	display: flex; gap: 16px; align-items: center;
  	margin-top: 8px;
}

/* ボタン系 */
.main-btn {
  	background: #ffe6b6;
  	color: #bb8e29;
  	font-weight: bold;
  	border-radius: 9px;
  	padding: 8px 25px;
  	border: none;
  	font-size: 1.12em;
  	box-shadow: 0 2px 6px #fff7b355, 0 1px 2px #ffd60019;
  	cursor: pointer;
  	text-decoration: none;
  	display: inline-block;
  	transition: background 0.15s, color 0.15s;
}
.main-btn:hover, .main-btn:focus {
  	background: #ffcc5c;
  	color: #a7691a;
}
.detail-btn {
  	background: #fff;
  	color: #2688c7;
  	border: 2px solid #aad8fa;
  	box-shadow: 0 1.5px 4px #fff4b799;
}
.detail-btn:hover, .detail-btn:focus {
  	background: #e6f4ff;
  	color: #0a6ea9;
}

/* ========== 素材固有ページ ===== */
.theater-bg {
  	width: 100%;
  	background: #000;
 	display: flex;
  	justify-content: center;
  	align-items: center;
  	padding: 0;
}
.theater-center {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	padding: 0;
}
.yt-thumb-custom {
    width: 100%;
    max-width: 1036px;
    height: 320px;
    overflow: hidden;
    position: relative;
    background: #000;
    border-radius: 8px;
    margin: 0 auto;
}
.yt-thumb-custom img {
    height: 135%;
    width: auto;
    object-fit: cover;
    display: block;
    margin: -6% auto 0 auto;
}
.yt-thumb-custom iframe {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	background: #000;
	display: block;
	margin: 0; padding: 0;
	box-sizing: border-box;
}
.yt-play-button {
    width: 68px;
    height: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.yt-play-button svg path:first-child {
    fill: #212121;
    fill-opacity: 0.8;
    transition: fill 0.2s;
}
.yt-thumb-custom:hover .yt-play-button svg path:first-child {
    fill: #f00;
    fill-opacity: 0.92;
}

/* ダウンロード・アクションボタン */
.song-action-buttons {
	display: flex;
	gap: 2.5vw;
	width: 100%;
	max-width: 950px;
	margin: 32px auto 0;
	justify-content: space-between;
}
.song-action-buttons button {
	width: 47%;
	min-width: 140px;
	padding: 20px 0;
	border: none;
	background: #ffdca6;
	color: #945f00;
	font-size: 1.3rem;
	font-weight: bold;
	border-radius: 13px;
	cursor: pointer;
	box-shadow: 0 4px 18px #0001;
	transition: background .22s, color .22s, box-shadow .18s;
}
.song-action-buttons button:active,
.song-action-buttons button:focus {
	background: #ffe8be;
	color: #c17900;
}

/* ダウンロードリスト */
.download-list {
	margin: 16px auto 16px;
	padding: 0 0 10px 0;
	max-width: 950px;
	background: #fff8ec;
	border-radius: 14px;
	box-shadow: 0 3px 14px #0002;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.36s cubic-bezier(.4,2,.6,1), opacity 0.33s;
	display: none;
}
.download-list.show {
	max-height: 450px;
	opacity: 1;
	display: block;
}
.dl-type-block {
	padding: 15px 25px 10px 25px;
	border-bottom: 1px solid #ffe7ba;
}
.dl-type-title {
	font-weight: bold;
	font-size: 1.1rem;
	margin-bottom: 10px;
	color: #b47815;
}
.dl-type-links {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
.dl-link {
	background: #ffe6b6;
	color: #a17c29;
	border-radius: 7px;
	padding: 7px 18px;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	box-shadow: 0 2px 6px #0001;
	transition: background .22s, color .22s;
	margin-bottom: 7px;
	display: inline-block;
}
.dl-link:hover {
	background: #ffd590;
	color: #cf8c01;
}

/* ======== 曲情報・楽器カード新デザイン ======== */
.song-meta-card {
	background: #fff;
	border-radius: 1.1rem;
	box-shadow: 0 4px 14px rgba(120,160,200,0.08);
	padding: 1.5rem 1.6rem;
	margin: 2rem auto;
	max-width: 1200px;
	width: 100%;
}
.song-meta-card h2 {
	font-size: 1.18rem;
	color: #ab984f;
	margin-bottom: 1.2em;
	letter-spacing: 0.03em;
	border-left: 5px solid #ffd966;
	padding-left: 0.7em;
	background: linear-gradient(to right, #fffbe1 75%, transparent 100%);
}
.song-meta-card dl {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 0.6em 0.3em;
}
.song-meta-card dt {
	font-weight: bold;
	color: #b47815;
	font-size: 1rem;
	align-self: start;
}
.song-meta-card dd {
	margin: 0 0 0.1em 0;
	font-size: 1rem;
	color: #444;
	word-break: break-word;
}

.song-instruments-card table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.4em;
	background: #fff;
}
.song-instruments-card th,
.song-instruments-card td {
	border-bottom: 1px solid #f3e3b7;
	padding: 0.52em 0.6em;
	text-align: left;
	font-size: 1rem;
}
.song-instruments-card th {
	background: #fffbe1;
	color: #b47815;
	font-weight: bold;
}
.song-instruments-card td { color: #4d4031; }
.tag-link {
	display: inline-block;
	background: #ffe6b6;
	color: #b47815;
	border-radius: 10px;
	padding: 0.2em 0.9em;
	margin: 0 0.35em 0.2em 0;
	font-size: 0.98em;
	text-decoration: none;
	transition: background .18s, color .18s;
}
.tag-link:hover {
	background: #ffd590;
	color: #cf8c01;
}
@font-face {
    font-family: 'Kiwi Maru';
    src: url('/css/Font/Google-Fonts/KiwiMaru/KiwiMaru-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.lyrics {
	font-family: 'Kiwi Maru', 'Yu Gothic', '游ゴシック', 'Meiryo', sans-serif;
	font-size: 1.1em;
	background-image: linear-gradient(180deg, #ccc 1px, transparent 1px);
	background-size: 100% 2.5em;
	line-height: 2.5em;
	padding: 0.5em 1em;
}
/* 素材固有ページ用 */
.search-card-container {
    display: flex;
    gap: 20px;
    margin: 28px 0 14px 0;
    justify-content: center;
    flex-wrap: wrap;
}
.search-card {
    width: 230px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(80,160,220,0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}
.search-card:hover {
    box-shadow: 0 8px 28px rgba(70,160,220,0.15);
}
.search-card-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: #e0eaf6;
}
.search-card-body {
    padding: 14px 12px;
    text-align: center;
}
.search-card-title {
    font-size: 1.05em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #247bb2;
}
.search-card-btn {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 20px;
    background: linear-gradient(90deg, #50c4ee, #2788be);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.98em;
    transition: background 0.2s;
}
.search-card-btn:hover {
    background: linear-gradient(90deg, #31a9e0, #155a8b);
}

.search-card-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px 10px 0 0;
}

.img-link, .search-card-img-link {
    display: block;
    width: 100%;
}


/* ========== お問い合わせ ====== */
.mail {
    margin: 4rem auto;
    padding: 2rem;
    background: #fefae0;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.mail-form {
    max-width: 1200px;
    margin: 32px auto;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px #e0e0e0;
}
.mail-form label { display: block; margin-bottom: 12px; }
.mail-form input,
.mail-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
}
.mail-form button {
    padding: 8px 20px;
    background: #0081cc;
    color: #fff;
    border: none;
    border-radius: 4px;
}
.radio-wrap label { display: inline-block; margin-right: 12px; }
.msg { text-align: center; margin: 16px 0; }
.error { color: #c00; }
.success { color: #060; }
.confirm-list {
    margin: 32px auto 24px;
    max-width: 420px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafcfd;
}
.confirm-list dt { font-weight: bold; border-bottom: 1px solid #f1f1f1; padding: 8px 12px; }
.confirm-list dd { margin: 0; padding: 8px 12px; }



/* ========== フッター ========== */
.site-footer {
    background: #eee;
    padding: 2rem 1rem;
    font-size: 0.85rem;
    text-align: center;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.footer-links a {
    color: #333;
    text-decoration: none;
}
.footer-links a:hover {
    color: #007acc;
}
.footer-copy {
    color: #444;
    font-size: 0.8rem;
}
.footer-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    gap: 0.19em;
}
.footer-group-title {
    font-size: 1.05em;
    font-weight: bold;
    color: #ab984f;
    margin-bottom: 0.4em;
    letter-spacing: 0.02em;
}
.footer-group a {
    color: #333;
    text-decoration: none;
    padding: 0.11em 0;
    transition: color 0.18s;
    font-size: 0.98em;
}
.footer-group a:hover {
    color: #d58e20;
    text-decoration: underline;
}

/* ========== プレイヤー関連 ========== */
#controls {
    margin-bottom: 1.25rem;
    text-align: center;
}
#controls button {
    padding: 0.625rem 0.9375rem;
    margin: 0 0.3125rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #2ecc71;
    color: white;
    transition: background-color 0.3s;
}
#controls button:hover { background-color: #27ae60; }
#controls button#pauseBtn.paused { background-color: #f39c12 ; }
#controls button#pauseBtn.paused:hover { background-color: #e67e22 ; }
#progressBarContainer {
    width: 95%;
    margin: 0 auto;
    padding: 0 1.25rem;
}
#progressBar {
    width: 100%;
    height: 20px;
    background-color: #bdc3c7;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
#progressIndicator {
    height: 100%;
    width: 0%;
    background-color: #1abc9c;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#loopMarker {
    display: none;
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgba(52, 152, 219, 0.5);
    border-left: 2px solid #2980b9;
    border-right: 2px solid #2980b9;
    box-sizing: border-box;
    z-index: 0;
}
#timeDisplay {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
}
#bottomControls {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}