/*
Theme Name: MyTheme
Theme URI: https://example.com/
Author: Nenem HITONEMURI
Author URI: https://example.com/
Description: 自作WordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
*/

@charset "utf-8";

*,*::before,*::after { box-sizing: inherit;}
html { box-sizing: border-box;}
details * { box-sizing: border-box;}
h1,h2,h3,h4,h5,img,p,ul,ol,li { margin: 0; padding: 0;}
img { border: none; max-width: 100%;}

/* -------------------- */
/* カスタム用色変更欄 */
/* -------------------- */
:root{
	--background-color: #fefefe; /* 全体背景色 */
	--background-gray: #ebebeb; /* 白背景より少し濃い灰色、ボタンなどに */
	--mozi-color: #637071; /* メイン文字色 */
	--usu-mozi-color: #adb7b8; /* ↑よりちょっと薄い文字色など */
	--siro-mozi-color: #fefefe; /* 濃い背景に乗せる白文字 */
	--link-iro: #358f96; /* リンク、カテゴリの色など */
	--link-hover-iro: #979797; /* リンクにマウス乗せたときの色と強調のマーカー色 */
    --blue: #358f96; /* 基本の青 */
	--darkblue: #45737f; /* 濃い青 */
	--lightblue: #e3ecec; /* 薄い水色 */ 
	--content-color: #fafafa; /* 薄い水色の中のcontentの色 */
	--iconfont: "Material Icons Round"; /* アイコンフォントの名前 */
}

/********* フォント読み込み ***********************************************/
@font-face {
	font-family: 'M PLUS Rounded 1c';
	src: url('fonts/MPLUSRounded1c-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'M PLUS Rounded 1c';
	src: url('fonts/MPLUSRounded1c-Bold.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'ZenKakuGothic';
    src: url('fonts/ZenKakuGothicAntique-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'ZenKakuGothic';
    src: url('fonts/ZenKakuGothicAntique-Bold.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Josefin Sans';
    src: url('fonts/JosefinSans-Bold.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

/* 日付表示の調整 */
@font-face {
  font-family: "AdjustedNumbers";
  src: url(https://fonts.gstatic.com/s/notosansjp/v53/-F62fjtqLzI2JPCgQBnw7HFYwQgP-FVthw.woff2) format('woff2');
  size-adjust: 125%; /* 数字を1.75倍に拡大 */
  font-weight: 400;
  unicode-range: U+0030-0039; /* 数字 (0-9) のUnicode範囲 */
}

/********* 全体共通装飾 ***********************************************/
body {
	font-size: 15px;
	line-height: 1.3rem;
	font-family: "YakuHanRP","M PLUS Rounded 1c","メイリオ",Meiryo,"Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
	margin: 0;
	padding: 0;
	background-color: var(--background-color);
	color: var(--mozi-color);
	overflow-wrap: break-word;
}

h1,h2,h3,h4,h5 {
	margin: 30px 0 10px;
	font-family: 'Josefin Sans', "ZenKakuGothic";
}

h1 {font-size: 180%;}
h2 {font-size: 160%;}
h3 {font-size: 140%;}
h4 {font-size: 130%;}
h5 {font-size: 120%;}
h6 {font-size: 100%;}

/* リンクの装飾 */
a {
	color: var(--link-iro);
	-webkit-transition: 0.24s ease-out;
    transition: 0.24s ease-out;
}
a:hover {
	color: var(--link-hover-iro);
	-webkit-transition: 0.24s ease-out;
    transition: 0.24s ease-out;
}

/********* ヘッダー・メイン・フッター ***********************************************/
/* ヘッダー */
header {
	padding: 1rem 0 3rem 0;
}

header .header {
	max-width: 80%;
	margin: 0 auto;
}

/* ヘッダーのサイトロゴ */
header .site-logo svg {
	max-width: 300px;
}

header .site-logo svg path {
	fill: var(--mozi-color);
}

/* ページの上に戻るボタン */
#page-top{
	width: 50px;
	height: 50px;
	position: fixed;
	right: 20px;
	bottom: 20px;
	background: #b6b6b6;
	opacity: 0.8;
	border-radius: 50%;
	z-index: 2;
}

#page-top a .hook {
	content: '';
	background-image: url('images/hook.svg');
	width: 25px;
	height: 30px;
	height: 39px;
	background-repeat: no-repeat;
	text-decoration: none;
	color: #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}

#page-top:hover {
	background: #949494;
	-webkit-transition: .2s;
    transition: .2s;
}

/* メイン */
main {
	background-color: transparent;
	margin: 0;
}

/* container */
#container {
	max-width: 1000px;
	margin: 0 auto;
	padding: min(6vw, 60px);
}

#container h1 {
	text-align: center;
}

/* content */
.content { /* 背景が白 */
	padding: 2rem 2rem 4rem 2rem;
	margin: 2rem 0;
	background-color: var(--content-color);
	border-radius: 8px;
}

.content-transparent { /* 背景が透明(青貫通) */
	padding: 2rem;
	margin-bottom: 2rem;
	background-color: transparent;
	border-radius: 8px;
}

#container .content h1 {
	text-align: left;
}

.content .sub-content { /* 小見出しを見やすくする */
	margin-left: 10px;
}

.content .sub-content p { /* 小見出しを見やすくする */
	margin-left: 10px;
}

/* footer */
footer {
    background-color: var(--background-gray);
    color: var(--mozi-color);
    padding: 2rem;
    position: relative; /* waveを適用するため */
}

/* フッターのサイトロゴ */
footer .site-logo svg {
	max-width: 150px;
}

footer .site-logo svg path {
	fill: var(--mozi-color);
}

/* フッターのサイトマップ */
nav.footer-nav {
	max-width: 80%;
	margin: 0 auto;
}

nav.footer-nav .menu-menu-container ul {
	list-style: none;
}

nav.footer-nav .menu-menu-container ul li a {
	display: inline-block;
	border-bottom: 1px dotted;
	width: 200px;
	padding: 0.1rem 0;
}

nav.footer-nav .menu-menu-container ul li::before{
	font-family: "tabler-icons";
	content: '\f014';
	margin-right: 5px;
}

footer a {
	color: var(--mozi-color);
	text-decoration: none;
}

/********* トップページ関連 ***********************************************/
/* 見出しのスタイル */
main .sec-h1-box {
	display: flex;
	align-items: flex-end;
}

main .sec-h1-box p {
	margin-left: 1.0vw;
	line-height: 300%;
	color: var(--usu-mozi-color);
}

main .sec-h1-box p::before {
	content: '/';
	margin-right: 4px;
}

/* informationなど、固定ページへのリンク */
main a.link-to-page {
	background: var(--usu-mozi-color);
	color: var(--siro-mozi-color);
	border-radius: 8px;
	padding: 1.5rem;
	display: block;
	align-items: center;
	text-decoration: none;
	max-width: 650px;
	margin: 0 auto;
	text-align: center;
}

main a.link-to-page h1 {
	margin: 0;
	font-family: "M PLUS Rounded 1c";
}

main a.link-to-page:hover {
	background: var(--link-iro);
	color: var(--siro-mozi-color);
}

main .link-to-page p {
	margin-left: 20px;
}

.menu {
	display: none;
}

/********* musicDB ***********************************************/
/* 今日の一曲エリア */
.today-music {
	margin-top: 30px;
	padding: 1.5rem 3rem;
	border: 1px solid var(--mozi-color);
	border-radius: 5px;
}

.today-music .title-and-author {
	padding-bottom: 10px;
	border-bottom: 1px solid var(--background-gray);
}

.today-music p.music-title {
	font-family: 'ZenKakuGothic';
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	margin-bottom: 10px;
}

.today-music p.music-author, .today-music p.music-memo {
	margin-left: 5px;
}

p.music-memo {
	color: var(--usu-mozi-color);
}

p.music-author::before {
	font-family: "tabler-icons";
	content: '\eb4d';
	margin-right: 2px;
}

p.music-memo::before {
	font-family: "tabler-icons";
	content: '\eaed';
	margin-right: 2px;
}

ul.post-playlist, ul.post-tags {
	list-style: none;
	margin: 0;
	display: flex;
	list-style: none;
	min-width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: 5px;
}

ul.post-playlist {
	padding-top: 10px;
}

ul.post-playlist li:not(:first-child), ul.post-tags li:not(:first-child) {
	margin-left: 5px;
}

ul.post-playlist li::before {
	font-family: "tabler-icons";
	content: '\eec0';
	margin-right: 2px;
}

ul.post-tags li::before {
	font-family: "tabler-icons";
	content: '\eabc';
	margin-right: 2px;
}

/* playlistのサムネイル */
ul.all-playlists-thumbnail {
	list-style: none;
	display: grid;
	gap: 40px;
	grid-template-columns: 40% 40%;
}

ul.all-playlists-thumbnail li {
  position: relative;
}

ul.all-playlists-thumbnail li img {
  width: 100%;
  height: auto;
  display: block;
}

ul.all-playlists-thumbnail li::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;        /* 下側からスタート */
  width: 100%;
  height: 50%;      /* 高さを50%に */
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  z-index: 1;       /* 画像より上、テキストより下 */
	pointer-events: none;
}

ul.all-playlists-thumbnail li p.page-title {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: 'ZenKakuGothic';
	font-weight: 600;
  font-size: 1.5rem;
  line-height: 2.5rem;
  max-width: 75%;
  word-break: break-word;
  text-align: right;
  color: var(--content-color);
  padding: 0.2em 0.5em;
  z-index: 2;
}

/********* プレイリスト表示ページ ***********************************************/
#container .playlist-wrap {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.playlist-thumbnail {
	width: 40%;
	line-height: 0;
}

.playlist-thumbnail img {
	width: 100%;
	height: auto;
	box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.3);
}

.playlist-area {
	width: 53%;
	position: relative;
	padding: 20px 0 60px;
}

/* 曲名・作曲者・コメント */
ul.music-lists {
	list-style: none;
	padding: 15px 35px 35px;
}

ul.music-lists li {
	margin-top: 10px;
	padding: 15px 8px;
	border-bottom: 1px solid var(--background-gray);
}

ul.music-lists p {
	margin-bottom: 5px;
}

ul.music-lists p.music-title {
	font-family: 'ZenKakuGothic';
	font-size: 1.1rem;
	font-weight: 600;
}

/* プレイリスト曲群表示 */
#playlist-disc-animation {
	position: fixed;
	top: 50%;
	left: -5%;
	transform: translate(-50%, -50%);
	z-index: -1;

	/* 円のサイズ */
	width: clamp(400px, 130vmin, 900px);
	aspect-ratio: 1 / 1;

	/* 円形にする */
	border-radius: 50%;
	border: 1px solid var(--mozi-color);
	overflow: hidden;
}

#playlist-disc-animation img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.3;
	animation: rotation 15s linear infinite;
}

/* アニメーション */
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/********* 404エラー ***********************************************/
#container .page-error {
	text-align: center;
}

#container .page-error p {
	margin: 10px 0;
}

#container .page-error p i {
	font-size: 30px;
}