@charset "utf-8";

/*========= ドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/
nav{
	background:#333;
	color:#fff;
	text-align: center;
}

/*ナビゲーションを横並びに*/
nav ul{
    /*2階層目の基点にするためrelativeを指定*/
	position: relative;
	list-style: none;
	display: flex;
	justify-content: center;
}

/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
    /*矢印の基点にするためrelativeを指定*/
	position: relative;
	display: block;
	text-decoration: none;
	color: #999;
	padding:20px 45px;
	transition:all .3s;
}

nav ul li li a{
	padding:20px;
}

nav ul li a:hover{
	color:#fff;	
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/

nav ul li.has-child > a::before{
	content:'';
	position: absolute;
	left:15px;
	top:25px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}

/*==2階層目以降の画像設定*/

nav ul li.has-child img{
	max-width: 100%;
	height: auto;
	transition: all .5s;
	vertical-align: bottom;
}

/*hoverしたら画像拡大*/
nav ul li.has-child img:hover{
	transform: scale(1.2);
}

nav ul li.has-child dt{
	overflow: hidden;
	height: 20vh;
	margin:0 0 20px 0;
}

@media screen and (max-width:1200px){
nav ul li.has-child dt{
	height: 12vh;
}
	
}

/*== 2層目の設定 */

nav li.has-child ul{
  /*絶対配置で位置を指定*/
    position: absolute;
	left:5%;
	top:58px;
	z-index: 4;
  /*子要素を横並びに*/    
	justify-content: space-between;
	flex-wrap: wrap;
    /*形状を指定*/
	background:#888;
	width:90%;
    /*はじめは非表示*/
	display: none;
	visibility: hidden;
	opacity: 0;
     /*アニメーション設定*/
	transition: all .3s;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul{
  visibility: visible;
  opacity: 1;
  display: flex;
}

/*各ナビゲーション横幅*/
nav li.has-child ul li{
	width:20%;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #fff;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:#3577CA;
}

/*==768px以下の形状*/
@media screen and (max-width:768px){
	
	nav ul{
		display: block;
	}

	nav li.has-child ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
    nav li.has-child:hover > ul {
	    display: none;
    }
	nav li.has-child ul li{
		width:100%;
		text-align: left;
	}
	
	nav li.has-child ul li dl{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	nav li.has-child ul li dt{
		width:30%;
		height: auto;
		margin: 0;
	}

	nav li.has-child ul li dd{
		width:64%;			
	}

    
    nav ul li a{
	    padding: 10px 20px;
	    border-bottom:1px solid #ccc;
}
    
    nav ul li li a{
		padding: 0;
}
	
/*矢印の位置と向き*/
	
nav ul li.has-child > a::before{
	top:17px;
	left:20px;
    transform: rotate(135deg);
}
    
nav ul li.has-child.active > a::before{
    transform: rotate(-45deg);
}
}


/* --- 基本設定 --- */
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
}

main {
  max-width: 900px; /* コンテンツの最大幅 */
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid #2a2a2a;
}

/* --- ヘッダー & フッター --- */
.page-header, .page-footer {
  text-align: center;
  padding: 20px;
}
.back-to-home, .page-footer p {
  color: #888;
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
}

/* --- Site Header and Logo --- */
.site-header {
    display: flex;
    align-items: center;
    background-color: #fff;
    /* ↓ Ensures space on the left for the absolute positioned logo */
    padding-left: 150px; /* Adjust based on logo width */
    position: relative; /* Essential for positioning child elements absolutely */
}

.logo {
    position: absolute;
    height: 100px;
    width: auto;
    top: 20px;
    left: 20px;
}

.title {
    font-size: 10rem;
    font-weight: bold;
    color: #333;
    font-family: Impact, "Arial Black", Anton, "Dela Gothic One", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

.title a {
    color: inherit; /* Inherits text color from .title */
    text-decoration: none; /* Removes underline */
}

.title a:hover {
    text-decoration: underline; /* Adds underline on hover for clarity */
}

.instagram{
    width: 20px;
}

.youtube{
    width: 20px;
}

/* --- Headings --- */
h1 {
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
    padding: 20px;
}

h2 {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 30px 0;
}

.section-title {
    font-family: 'Anton', sans-serif; /* Font for section headings */
    font-size: 4rem;
    color: #FFD700; /* Accent color: Gold */
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}


/* --- 1. ヒーローセクション --- */

.video-hero {
  padding: 40px 0; /* 上下の余白をここで調整 */
  background-color: #000; /* 背景を黒にすると一体感が出ます */
}

.video-player {
  /* Spotifyプレーヤーの最大幅に合わせて中央揃え */
  max-width: 700px; /* Spotifyプレーヤーの幅に合わせて調整 */
  margin: 0 auto;
}

.video-player iframe {
  /* iframeが親要素の幅いっぱいに広がるようにする */
  width: 100%;
  display: block; /* 中央揃えや余白のために必要 */
}

/* --- 2. 情報セクション --- */
.video-info {
  text-align: center;
}
.artist-name {
  font-family: 'Anton', sans-serif;
  font-size: 5rem;
  color: #FFD700;
  margin: 0;
  letter-spacing: 2px;
}
.song-title {
  font-size: 2.5rem;
  margin: 10px 0;
  font-weight: normal;
}
.release-date {
  color: #888;
  font-size: 1rem;
}

/* --- 3. 深掘りセクション --- */
/* .deep-dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
} */
.artist-profile img {
  width: 100%;
  margin-bottom: 20px;
  filter: grayscale(100%);
}
/* .deep-dive h3 {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  color: #FFD700;
  margin-top: 0;
} */
.lyrics-text {
  background-color: #1e1e1e;
  padding: 20px;
  border-left: 3px solid #FFD700;
  font-family: monospace;
  white-space: pre-wrap; /* 自動で折り返す */
  line-height: 1.8;
}

/* --- 4. 関連リンク --- */
.related-links {
  text-align: center;
  border-bottom: none;
}
.social-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  gap: 20px;
  margin-top: 20px;
}
.social-links a {
  color: #e0e0e0;
  font-size: 2rem;
  transition: all 0.2s ease;
}
.social-links a:hover {
  color: #FFD700;
  transform: scale(1.2);
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .artist-name { font-size: 3rem; }
  .song-title { font-size: 1.8rem; }
  .deep-dive { grid-template-columns: 1fr; } /* 1カラムにする */
}

/* --- Responsive Design for Mobile --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem; /* Smaller title on mobile */
    }

    .video-layout {
        grid-template-columns: 1fr; /* Stacks video and details vertically */
    }

    .video-details {
        text-align: center; /* Centers text on mobile */
        margin-top: 20px;
    }
    
    .site-header {
        padding-left: 120px; /* Adjust padding for smaller screens */
    }

    .logo {
        height: 80px; /* Smaller logo */
    }

    .title {
        font-size: 5rem; /* Smaller main title */
    }
}


/* ======== SNSアイコン用のCSS（完成版）======== */

/* アイコンリンクの余白を調整 */
nav ul li.sns-icon a {
    padding: 20px 15px;
}

/* アイコンのサイズと色、アニメーションを指定 */
nav ul li.sns-icon a i {
    font-size: 1.5rem;
    vertical-align: middle;
    color: #fff; /* アイコンを白色に */
    transition: opacity 0.3s; /* 透明度の変化を滑らかにする */
}

/* アイコンにマウスが乗ったら少し透明にする */
nav ul li.sns-icon a:hover i {
    opacity: 0.7; /* 70%の透明度にする */
}

/* レスポンシブ対応：スマホ表示の際の余白調整 */
@media screen and (max-width:768px){
    nav ul li.sns-icon a {
        padding: 10px 20px;
    }
}

/* --- 既存の .deep-dive スタイルは削除してください --- */

/* --- 新しい「楽曲ブレイクダウン」セクション --- */
.track-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* PCでは横並び、スマホでは縦積み */
  gap: 30px;
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.breakdown-item {
  background-color: #1e1e1e;
  padding: 25px;
}

.breakdown-item h3 {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  color: #FFD700;
  margin: 0 0 15px 0;
}

.breakdown-item p {
  line-height: 1.8;
  color: #aaa;
}

/* --- 引用（pull-quote）は以前のスタイルを流用 --- */
.pull-quote {
  font-size: 1.8rem;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  margin: 60px auto;
  padding: 20px;
  border-left: 5px solid #FFD700;
  border-right: 5px solid #FFD700;
  max-width: 80%;
}

/* --- アーティスト情報まとめセクション --- */
.artist-summary {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}
.artist-profile-box {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #1e1e1e;
  padding: 30px;
}
.artist-profile-box img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%; /* 円形にする */
}

.artist-profile-box h3 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  color: #FFD700;
  margin: 0 0 10px 0;
}
.social-links {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 15px;
  font-size: 1.5rem;
  margin-top: 20px;
}
/* ... .social-links a のスタイルは既存のものを流用 ... */


/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .artist-profile-box {
    flex-direction: column; /* 縦積みにする */
    text-align: center;
  }
}


/* 著者紹介ボックス全体 */
.author-box {
    display: flex; /* 横並びにする */
    align-items: center; /* 上下中央揃え */
    gap: 15px; /* 画像とテキストの間の余白 */
    background-color: #1e1e1e; /* ボックスの背景色 */
    padding: 20px;
    border-radius: 8px; /* 角を少し丸くする */
}

/* アバター画像 */
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* 画像を円形にする */
    object-fit: cover;
}

/* 著者名 */
.author-name {
    margin: 0 0 4px 0;
    font-size: 1em;
    font-weight: bold;
}

/* 自己紹介文 */
.author-bio {
    margin: 0;
    font-size: 0.85em;
    color: #b3b3b3; /* 少し薄いグレーに */
    line-height: 1.5;
}

/* --- Footer --- */
small {
    background: #333;
    color: #fff;
    display: block;
    text-align: center;
    padding: 20px;
    margin-top: 40px; /
    /* Space from content above */
}

small a {
    color: #fff;
}
