/* Style your web app */
@font-face {
	font-family: "YuGothic-M";
	font-weight: normal;
	 src: local("YuGothic-Medium"),
		  local("Yu Gothic Medium"),
		  local("YuGothic-Regular");
}

@font-face {
	font-family: "YuGothic-M";
	font-weight: bold;
	 src: local("YoGothic-Bold"),
		  local("Yu Gothic");
}

html {
	font-size: 62.5%;/* 16px x 0.625 = 10px(=1rem) */
}

body {
	font-size: 1.6rem;/* 16px */
	font-family: -apple-system, blinkMacSystemFont, YuGothic-M, YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	-webkit-text-size-adjust: 100%;
	font-feature-settings: "palt";
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	::i-block-chrome, body {
		font-feature-settings: "pkna";
	}
}
body {
    background-color: #f8f9fa;
}
.container {
    margin-top: 50px;
    text-align: center;
}
.cp_iptxt {
	position: relative;
	width: 120%;
	margin: 1px 3%;
}
.cp_iptxt input[type='text'] {
	font: 15px/24px sans-serif;
	box-sizing: border-box;
	width: 100%;
	padding: 0.3em;
	transition: 0.3s;
	letter-spacing: 1px;
	color: #aaaaaa;
	border: 1px solid #1b2538;
	border-radius: 4px;
}
.ef input[type='text']:focus {
	border: 1px solid #a364fb;
	outline: none;
	box-shadow: 0 0 5px 1px rgba(149, 0, 255, 0.5);
}
summary {
    /* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
    display: block;
  }

summary::-webkit-details-marker {
    /* Safariで表示されるデフォルトの三角形アイコンを消します */
    display: none;
  }

  .icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
  }
  
  /* アコーディオンが開いた時のスタイル */
  details[open] .icon {
    transform: rotate(180deg);
  }
  
  /* アイコンのバーのスタイル */
  .icon::before,
  .icon::after {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: #7050ff;
  }
  
  .icon::before {
    left: 0;
    transform: rotate(45deg);
  }
  
  .icon::after {
    right: 0;
    transform: rotate(-45deg);
  }
  
  /* --------summaryタグの疑似要素でアイコンを作る場合-------- */
  .wrapper_pseudoElementsIcon .summary_inner::after {
    content: "";
    display: block;
    width: 25px;
    height: 16px;
    margin-left: 6px;
    flex-shrink: 0;
    background-image: url("icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: center 43%;
    /* アコーディオンが閉じる時にアイコンをアニメーションさせます */
    animation: 0.4s close-animation;
  }

  .summary_inner{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border: 1px solid #d2beff;
    font-weight: bold;
    color: #002255;
  }

  
  
  @keyframes close-animation {
    from {
      transform: rotate(180deg);
    }
  
    to {
      transform: rotate(0deg);
    }
  }

  .content {
    background-color: #f0f2ff;
    padding: 24px 48px;
    display: flex;
    gap: 16px;
  }
  
  /* アコーディオンが開いた時にアイコンをアニメーションさせます */
  details[open] .summary_inner::after {
    animation: 0.4s open-animation forwards;
  }
  
  @keyframes open-animation {
    from {
      transform: rotate(0deg);
    }
  
    to{
      transform: rotate(180deg);
    }
  }
  
.select-wrapper {
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}
@media (min-width: 768px) {
    .select-wrapper {
        width: 50%;
        margin-right: 20px;
    }
}
#lyrics {
    border: 1px solid #dee2e6;
    padding: 20px;
    background-color: #fff;
    color: gray;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    border-radius: 5px;
    min-height: 200px;
    line-height: 1.5;
}
.scroll{
    height: 280px;
    overflow: auto;
    /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
    -ms-overflow-style: none;
    /*Firefoxへの対応*/
    scrollbar-width: none;
}

 /*Google Chrome、Safariへの対応*/
.scroll::-webkit-scrollbar{
  display: none;
}

.btn-play {
    background-color: #007bff;
    border-color: #007bff;
    margin-right: 10px;
}
.btn-pause {
    background-color: #6c757d;
    border-color: #6c757d;
    margin-right: 10px;
}
.btn-stop {
    background-color: #dc3545;
    border-color: #dc3545;
    margin-right: 10px;
}
#progress-bar {
    margin-top: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #e9ecef;
    position: relative;
    overflow: hidden;
}
#time {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8em;
    color: gray;
}
#progress-bar span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #007bff;
    transition: width 0.1s ease-in-out;
}
@media (max-width: 768px) {
    .btn-play,
    .btn-pause,
    .btn-stop {
        margin-top: 10px;
    }
    .btn-stop {
        margin-left: 10px;
    }
}
