@charset "UTF-8";
/* 専用のファイルは用いず、style.scssに直接書いている。
@use "sass:map"; // breakpoints用のmap.getのを使うための@use。ページの先頭に書く。 */
/* フォント */
/* カラー */
/* ===================================
レイアウト（スマホUI）
=================================== */
/* ===================================
Breakpoints（PCは微調整用）
=================================== */
/* ===================================
 CSS Reset / Base
 =================================== */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #5D4954;
  background: #fdfdfd;
  -webkit-text-size-adjust: 100%;
}
body body {
  overflow-x: hidden;
}

/* ===================================
スマホUI本体
=================================== */
.app {
  max-width: 390px;
  width: 100%;
  margin-inline: auto;
  min-height: 100dvh;
  background: #F5F3F6;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid #C48BAB;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/* header */
header {
  background-color: #538083;
  height: 40px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.app-main {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow-y: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* book */
.book {
  margin-top: 40px;
}

.book-title {
  font-size: 20px;
  font-weight: 700;
  margin-inline: auto;
  text-align: center;
  display: block;
  width: 341px;
  border: #C48BAB 1px solid;
  padding-top: 28px;
  padding-bottom: 28px;
}

/* intro */
.intro {
  margin-top: 32px;
}

.intro-title {
  font-size: 20px;
  text-align: center;
}

.intro-text {
  margin-top: 24px;
  font-weight: 400;
}

.song-list {
  margin-top: 16px;
}
.song-list li + li {
  margin-top: 8px;
}

.song-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: calc(100% - 32px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  padding: 8px 0 8px 108px;
  gap: 4px;
  background: #C48BAB;
  text-decoration: none;
  color: #F5F3F6;
}

/* 戻るボタン */
.back {
  margin-top: 16px;
  margin-bottom: 45px;
}

.btn-back {
  display: block;
  width: 108px;
  margin-inline: auto;
  padding: 8px 24px;
  background: #538083;
  color: #F5F3F6;
}

footer {
  background-color: #538083;
}

.gakuensha-logo {
  display: block;
  width: 144px;
  margin-inline: auto;
  padding-top: 24px;
  padding-bottom: 24px;
}

.copyright {
  display: block;
  text-align: center;
  color: #F5F3F6;
  font-size: 12px;
  padding-bottom: 16px;
}

/* ===================================
 個別の楽曲ページ
 =================================== */
.song {
  text-align: center;
}

.song__title {
  color: #5D4954;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 40px;
}

.song__credits {
  color: #5D4954;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 8px;
}
.song__credits p + p {
  margin-top: 8px;
}

.song__credits span + span {
  margin-left: 8px;
}

/* Audioプレーヤー部分のスタイル調整 */
.song__audio {
  margin-top: 24px;
  max-width: 320px;
  margin-inline: auto;
}

.song__audio .mejs__container {
  width: 100% !important;
  max-width: 320px;
}

.song__pdf {
  margin-top: 16px;
  width: 320px;
  margin-inline: auto;
}

.btn-pdf {
  display: block;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #FCA311;
  color: #F5F3F6;
}

.song__back {
  margin-top: 40px;
  margin-bottom: 40px;
}