@charset "UTF-8";
/* =========================
   Base
========================= */
html {
    font-size: 100%;
}
body {
    margin: 0;
    font-size: 0.8rem;
    background-image: url("../img/bgd.jpg");
    background-size: 100px;
    background-repeat: repeat;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}
/*--------------header-------------------*/
* {
    box-sizing: border-box;
}
.piano_wrapper {
    background: #99b1cb;
    display: flex;
    min-height: 20vh;
    padding: 30px 0;
    justify-content: center;
    overflow-x: auto;
    width: 100%;
    z-index: 999;
}
.piano {
    --white-key-width: 30px;
    --white-key-height: 120px;
    --black-key-width: 18px;
    --black-key-height: 75px;
    position: relative;
    display: flex;
    width: fit-content;
    height: var(--white-key-height);
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.white-key {
    position: relative;
    flex: 0 0 var(--white-key-width);
    width: var(--white-key-width);
    height: var(--white-key-height);
    background: linear-gradient(to bottom, #fff 0%, #ddd 100%);
    border-right: 1px solid #aaa;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.white-key:last-of-type {
    border-right: none;
}
.black-key {
    position: absolute;
    top: 0;
    width: var(--black-key-width);
    height: var(--black-key-height);
    background: linear-gradient(to bottom, #333 0%, #000 100%);
    border-radius: 0 0 4px 4px;
    box-shadow:
        inset 0 -2px 5px rgba(0, 0, 0, 0.5), 0 2px 3px rgba(0, 0, 0, 0.5);
    transform: translateX(-50%);
    z-index: 2;
}
.white-key:hover {
    background: linear-gradient(to bottom, #eee 0%, #bbb 100%);
}
.black-key:hover {
    background: linear-gradient(to bottom, #222 0%, #000 100%);
}
.white-key:active {
    transform: translateY(2px);
}
.black-key:active {
    height: calc(var(--black-key-height) + 2px);
}
/*--------------main--------------------*/
h1,.subtitle {
    font-size: 1.5rem;
    color: #99b1cb;
}
h1{
	    border-bottom: 4px solid #99b1cb;
}
.subtitle{
	margin-bottom: 2rem
}

h2 {
    font-size: 1.1rem;
    background-color: #ccc;
    border: 1px #505050 solid;
    display: inline-block;
    padding: 0 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
}
.hero {
    margin-bottom: 3rem;
}
.hero img {
    min-width: 30%;
    max-width: 50%;
    margin: auto;
    object-fit: contain;
}
.tokusyu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}
/*--------------menu--------------------*/
.menu_color {
    background-color: #99b1cb;
    border: 1px #505050 solid;
    padding: 0.3rem;

    border-radius: 10px;
}
.menu {
    margin-bottom: 1rem;
    display: flex;
    text-align: center;
    gap: 0.3rem
}
.menu a {
    text-decoration: none;
    color: #000;
    white-space: nowrap;
}
.menu-left {
    width: 50%;
}
.menu-right {
    width: 50%
}
.one-hand, .two-hands {
    display: flex;
    gap: 0.2rem;
}
.one-hand a {
    width: 50%;
}
.two-hands a {
    width: 33%
}
.orange p, #shoseki, #key32, #key25 {
    background-color: #ffd058;
}
.white p, #key25-katate, #key32-katate, #key32-ryote {
    background-color: #fff;
    ;
}
.green p, #key32-katate-shokyu, #key32-ryote-shokyu {
    background-color: #0097b2;
    color: #fff;
}
.pink p, #key32-ryote-chukyu {
    background-color: #fea9d3;
}
.yellow p, #key32-katate-donyu, #key32-ryote-donyu, .katete-doyu {
    background-color: #fffaca;
}
.menu p {
    border: 1px #505050 solid;
    border-radius: 5px;
    margin-bottom: 0.3rem
}
#index {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}
#shoseki, #key32, #key25, #key25-katate, #key32-katate, #key32-katate-donyu, #key32-katate-shokyu, #key32-ryote-donyu, #key32-ryote-shokyu, #key32-ryote, #key32, #key32-ryote-chukyu, .katete-doyu {
    border: 3px #505050 solid;
    border-radius: 5px;
    width: 6rem;
    padding: 0.3rem;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    font-size: 1rem;
}
#shoseki, #key32, #key25, #key32-katate-shokyu, #key32-ryote-chukyu, #key32, #key32-ryote, #key32-ryote-shokyu {
    margin-top: 5rem;
}
/*--------------card--------------------*/
.card {
    position: relative;
    width: 100%;
    height: 22rem;
    overflow: hidden;
    border-radius: 5px;
    margin: 0rem auto;
    max-width: 300px;
}
.poster {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .3);
}
.poster::before {
    content: '';
    position: absolute;
    bottom: -45%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: .3s;
}
.card:hover .poster::before {
    bottom: 0;
}
.poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
}
.card:hover .poster img {
    transform: scale(1.1);
}
.details {
    position: absolute;
    bottom: -100%;
    left: 0;
    padding: 1.5em 1.5em 2em;
    background: #000a;
    backdrop-filter: blur(16px) saturate(120%);
    transition: .3s;
    color: #fff;
    z-index: 2;
}
.card:hover .details {
    bottom: 0;
}
.details .rating {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    gap: .25em;
}
.details .rating i {
    color: #e3c414;
}
.details .rating span {
    margin-left: 0.25em;
}
.details .tags {
    display: flex;
    gap: .375em;
    margin-bottom: .875em;
    font-size: 0.8rem;
}
.details .tags span, .cast {
    padding: .35rem .65rem;
    color: #fff;
    border: 1.5px solid rgba(255 255 255 / 0.4);
    border-radius: 4px;
    border-radius: 50px;
}
.cast {
    border-radius: 15px;
}
.details .desc {
    color: #fff;
    opacity: .8;
    line-height: 1.5;
    margin-bottom: 1em;
}
.details .cast p {
    margin-bottom: .5em;
}
.details .cast ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    width: 100%;
}
.tag {
    font-size: 0.7rem;
}
h3, h4 {
    text-align: center;
    color: #383838;
    height: 2rem;
}
h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
    white-space: nowrap;
}
h4 {
    font-size: 1rem;
    margin-left: 1rem;
}
/*--------------btn-------------------*/
.btn {
    text-align: center;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.btn a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    white-space: nowrap
}
.item-page {
    background-color: #fffaca;
}
.show-page {
    background-color: #fea9d3;
}
.item-page, .show-page {
    padding: 0.5rem;
    border: 1px solid #000;
    border-radius: 5px;
    width: 6rem;
}
/*=================news===================*/
#new, #first, #mother, #idol, #grand {
    padding-top: 20vh;
}
#new {
    padding-top: 25vh;
}
.song {
    background-color: #fff;
    margin: 1rem;
    padding: 1rem;
    border: 1px #000 solid;
    border-radius: 20px;
    font-size: 0.7rem
}
.hero_news {
    padding-top: 25vh
}
/*--------------fotter--------------------*/
footer {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999
}
footer img {
    width: 50px;
}

/*add*/
.tagflex{display:flex;justify-content: space-between;flex-wrap:wrap;}
.tagbox{border:1px solid gray;  padding:0 3px;margin-bottom:2px; }
a {
  text-decoration: none;
}
/*--------------デスクトップ用--------------------*/
@media(min-width:550px) {
    body {
        background-size: 800px;
        font-size: 0.8rem
    }
    header {
        position: absolute;
    }
    header {
        min-height: 10vh;
    }
    h1,.subtitle{
    font-size: 2.5rem;
    }
    .hero {
        display: flex;
        margin-bottom: 5rem;
        gap: 2rem;
        align-items: center
    }
    .hero img {
        min-width: 40%;
        max-width: 50%;
        margin: auto;
        object-fit: contain;
    }
    .menu p {
        font-size: 1.2rem;
    }
    .card {
        max-width: 250px;
        height: 23rem;
        font-size: 0.9rem;
    }
    .card_wrapper, article {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-bottom: 5rem
    }
    .song {
        margin: 6rem 0 1rem;
    }
    .section_wrapper {
        display: flex;
        gap: 1rem
    }
    section {
        width: 50%;
    }
    /*--fotter---*/
    .hero_news {
        padding-top: 25vh
    }
    /*--fotter---*/
    footer img {
        width: 70px;
    }
}
@media(min-width:900px) {
    body {
        font-size: 1rem;
    }
    .hero {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 1.3rem
    }
    .piano {
        --white-key-width: 60px;
        --white-key-height: 200px;
        --black-key-width: 38px;
        --black-key-height: 120px;
    }
    .wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
	h1,.subtitle{
    font-size: 3rem;
    }
	
   /* .card_wrapper, article {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }*/
	    .card_wrapper,
    article {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
    /*.card {
        max-width: 350px;
        height: 27rem;
    }*/
	    .card {
        width: 100%;
        max-width: none;
        height: 27rem;
    }
	/*add*/
	    h3 {
        white-space: normal;
        overflow-wrap: anywhere;
    }
	    .card_box {
        width: 100%;
        min-width: 0;
    }
	/*addここまで*/
	
	
    #shoseki, #key32, #key25, #key25-katate, #key32-katate, #key32-katate-donyu, #key32-katate-shokyu, #key32-ryote-donyu, #key32-ryote-shokyu, #key32-ryote, #key32, #key32-ryote-chukyu, .katete-doyu {
        width: 13rem;
		font-size: 1.5rem
    }
    /*--fotter---*/
    footer img {
        width: 100px;
    }
}