@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
.spOnly {
  display: none;
}

header {
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  position: fixed;
  display: flex;
  padding: 0 0px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.0);
  z-index: 100;
  backdrop-filter: var(--blurStrong);
}
/*
.header_center_wrapper {
  max-width: var(--siteWidth);
  width: 100%;
  margin: 0 auto 0;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
  url('../images/background_header.jpg') center/contain repeat;
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
  box-shadow: var(--shadowColor) 0px 0px 8px;
  opacity: 1.0;
  backdrop-filter: var(--blurStrong);
  border-radius: 0 0 6px 6px;
}
*/
.header_center_wrapper {
  position: relative;
  overflow: hidden;
  max-width: var(--siteWidth);
  width: 100%;
  margin: 0 auto 0;
  box-shadow: var(--shadowColor) 0px 0px 8px;
  border-radius: 0 0 6px 6px;
  z-index: 1;
  opacity: 0.97;
}

.header_center_wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
              url('../images/background_header.jpg') center/contain repeat;
  filter: blur(0px);
  transform: scale(1.1);
}

.language {
  color: var(--subFor);
  width: 90%;
  text-align: right;
  margin: 15px 0 20px;
}

#PObtn, #ENbtn, #JPbtn {
  padding: 2px 8px 0px;
  margin-right: 10px;
  border: none;
  border-radius: 2px;
  color: var(--langChangeFontColor);
  font-size: 14px;
}
#PObtn {
  background: var(--POButtonColor);
}
#ENbtn {
  background: var(--ENButtonColor);
}
#JPbtn {
  background: var(--JPButtonColor);
}
button.currentLang {
  border: 2px solid var(--currentLangBorderColor) !important;
}
main {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 5vh;
}

footer {
  margin-bottom: 10px;
  text-align: center;
  font-size: 10px;
}

body {
  max-width: var(--siteWidth);
  height: 100%;
  margin: 0 auto;
  padding: 0 5px 0;
  background-color: var(--BGColor);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0 0;
  background-attachment: fixed;
  color: var(--sumi);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: var(--fSize);
  overflow: visible;
}
body.jp-mode {
  font-size: var(--fSizeJP);
}
body.en-mode {
  font-size: var(--fSize);
}


.pageWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--BGColor);
  margin: 15em 0 0 0;

}

hr {
  border: none;
  border-top: dotted 1px var(--charGrey);
  height: 3px;
  width: 100%;
  margin: 30px 0px;
}

a {
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a:link {
  color: var(--blue);
}

a:visited {
  color: var(--blue);
}

a:active {
  color: var(--blue);}

a:hover {
  color: var(--nblue);
}

a.anchor {
  display: block;
  padding-top: 180px;
  margin-top: -180px;
}

a#song.anchor {
  padding-top: 300px;
  margin-top: -300px;
}

.titleImg {
  width: 95%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.title_link{
  width: 50%;
  display: inline-block;
  background: rgba(0, 0, 0, 0.0);
  margin-top: 40px;
  padding: 5px 15px;
  border-radius: var(--baseRadius);
  line-height: 1;
  vertical-align: middle;
}
.title_link:link {
  color: var(--sumi);
}

.title_link:visited {
  color: var(--sumi);
}

.title_link:active {
  color: var(--sumi);
}

.title_link:hover {
  color: var(--sumi);
}

.normal_link:link {
  color: var(--green);
}

.normal_link:visited {
  color: var(--green);
}

.normal_link:active {
  color: var(--charGrey);
}

.normal_link:hover {
  color: var(--charGrey);
}

h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--nblue);
  padding: 0;
}

h1 a {
  text-decoration: none;
}

h2 {
  text-align: center;
}

h3 {
  width: 50%;
  padding: 15px 20px;
  background: none;
  border-radius: 0;
  border-bottom: 1px solid var(--h3FontColor);
  font-size: 40px;
  letter-spacing: 0.1em;
  color: var(--h3FontColor);
  text-align: left;
  margin-block-start: 2em;
  margin-block-end: 2em;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;  
}

.pin-left,
.pin-right {
  content: "";
  width: var(--h3PinSize);
  height: var(--h3PinSize);
  background: var(--h3PinColor);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: inset -1px -1px 2px rgba(0,0,0,0.2);
}

.pin-left {
  left: var(--h3PinPosition);
}

.pin-right {
  right: var(--h3PinPosition);
}

ul {
  list-style-type: none;
}

.menu {
  font-family:"Courier";
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.00em;
  display: flex;
  justify-content: center;
  margin: 20px 0 0px;
  padding-left: 0;
}
.menuItemsWrapper{
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.0);
  border-radius: var(--mediumRadius);
}

.menu-item {
  list-style: none;
  padding: 0 10px 0;
}

.menu-item a {
  text-decoration: none;
}

.menu-item a, .menu-item a:active, .menu-item a:visited {
  color: var(--menuItemColor);
  text-shadow: 2px 3px 8px rgba(255,255,255,0.6), 2px 3px 8px rgba(0,0,0,0.7);
}

.menu-item a:hover, .menu-item a:focus {
  color: var(--nblue);
}

.linkJump{
  padding: 2px 8px;
  background: var(--menuItemBgColor);
  border-radius: var(--mediumRadius);
}

.top {
  width: 100%;
  margin: 0 0 100px;
  display: flex;
  justify-content: center;
}

.top_content {
  width: 80%;
  margin: 15em 0 0 0;
  align-items: start;
  border-radius: var(--mediumRadius);
}

.category {
  margin: 0px 0 0px 0;
  display: flex;
  justify-content: center; /* 水平方向の中央寄せ */
  align-items: center;   
  text-align: center;
}
.contact.category{
  width: 100%;
}
.contactWrapper{
  width: 50%;
  background: var(--ContactBgColor);
  border-radius: var(--baseRadius);
  padding: 2px 8px;
  box-shadow: var(--shadowColor) 0px 0px 5px;  
}

.leftAlignment{
    text-align: left;
}
.lyrics.leftAlignment{
  width: var(--LyricsWidth);
  position: flex;
}
.lyrics{ 
  background: var(--LyricsBgColor);
  padding: 50px 50px;
  border-radius: var(--mediumRadius);
  font-size: var(--fontSizeLyrics);
  color: var(--LyricsFontColor);
  left: 15%;
  box-shadow: var(--shadowColor) 0px 0px 5px;
}
.lyrics.en-mode, .lyrics.po-mode {
  left: 0%; 
  font-size: var(--fontSizeLyrics);
}
.lyrics.jp-mode { 
  font-size: var(--fSize);
  left: 0%;
 }

.caution {
  margin: 0 0 20px;
  font-weight: bold;
  color: var(--pink);
}

.scoreLink{
  width:80%;
  padding: 0 10px;
  box-sizing: border-box;
}
.score.category{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scoreImg{
  width: 100%;
  max-width: 600px;
  border-radius: var(--baseRadius);
  box-shadow: var(--shadowColor) 0px 0px 8px;
}
/* PDF レンダリング */
.score-container {
  width: 100%;
  max-width: 600px; /* 楽譜の横幅 */
  margin: 0 auto;
  border:#000000 solid 1px;
  border-radius: var(--baseRadius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0);
}

/* ダウンロード */
.musicDownload{
  width: 100%;
  max-width: 450px;
  margin: 10px 0px;
  padding: 0px;
  display: block;
  align-items: center;
  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
}
.downloadText{
  display: inline-block;
  width: 300px;
  margin-bottom: 0px;
  padding: 0 5px;
  text-align: left;
}

#downloadBtn {
  width: 280px;
  background: var(--downloadBtnColor);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--baseRadius);
  cursor: pointer;
}

#downloadInstBtn {
  background: var(--tabChar);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--baseRadius);
  cursor: pointer;  
}
#PObtn, #ENbtn, #JPbtn, #playPauseBtn, #videoPlayBtn, #musicPlayBtn, #downloadBtn, #downloadInstBtn, #submitBtn {
  transition: opacity 0.2s, transform 0.1s;
}
#PObtn:active, #ENbtn:active, #JPbtn:active, #playPauseBtn:active, #videoPlayBtn:active, #musicPlayBtn:active, #downloadBtn:active, #downloadInstBtn:active, #submitBtn:active {
  transform: scale(0.95); /* 押した時に少しへこむ */
  opacity: 0.8;
}

#pdfCanvas {
  width: 100%; /* 親要素に合わせる */
  height: auto;
  display: block;
}

/* Epilogue */
.prologue, .epilogue {
  width:75%;
}

/* フォーム関係 */

input[type="text"],
input[type="email"] {
  width: 250px;
  padding: 5px;
  margin: 10px 0;
  border: 1px solid var(--sumi);
  border-radius: var(--baseRadius);
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--tabFill);
  box-shadow: 0 0 5px var(--green);
  outline: none;
}

textarea {
  width: 80%;
  height: 200px;
  padding: 5px;
  margin: 10px 0;
  border: 1px solid var(--sumi);
  border-radius: var(--baseRadius);
  box-sizing: border-box;
}

.submitButton {
  background-color: var(--submitBtnColor);
  color: white;
  padding: 5px 0px;
  border: none;
  border-radius: var(--baseRadius);
  cursor: pointer;
  font-size: var(--fSize);
  width: 80px;
  display: inline;
  margin: 10px auto;
}

.submitButton:active {
  background-color: var(--pink);
}

/* フェード */
#fadeOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--BGColor);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;   
  transition: opacity 0.5s ease;
}
#fadeOverlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 背景色Config */
.Setter{
  position: fixed;
  display: flex;
  left: 0;
  top: 0;
  justify-content: left;
  align-content: start;
  z-index: 1000;
}
.Settr_R,.Setter_G,.Setter_B{
  position: relative;
  display: inline-block;
}

#Btn_R{
  background: #FF0000;
  color: #FFFFFF;
}
#Btn_G{
  background: #00FF00;
  color: #FFFFFF;
}
#Btn_B{
  background: #0000FF;
  color: #FFFFFF;
}

.Control_R,.Control_G,.Control_B {
  position: absolute;
  top: 100%;
  left: 15%;
  transform: translateX(-50%);
  background: #f3f4f6;
  padding: 10px 5px;
  border: 2px solid #ddd;
  border-radius: var(--baseRadius);
  z-index: 1001;
}

.hidden, .Control_R.hidden,.Control_G.hidden,.Control_B.hidden {
  display: none;
}
#TitlBtn{
  background: #ffffff;
  color: #000000;
}
/* スライダーを縦にする */
#Slider_R,#Slider_G,#Slider_B {
  writing-mode: vertical-lr; /* 縦書きモード */
  direction: rtl;
  width: 8px;
  height: 80px;
  cursor: pointer;
}
#Slider_R{
  background: #FF0000;
}
#Slider_G{
  background: #00FF00;
}
#Slider_B{
  background: #0000FF;
}

