/*
Theme Name: Cocoon Child
Template: cocoon
Author: Kyosuke
Description: Kyosuke Official Site Custom Child Theme
Version: 1.2.1
*/

/* =========================================================
   📘 フォント読み込み
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&family=Rubik+Glitch&family=Cinzel+Decorative:wght@700&display=swap');

/* =========================================================
   📘 基本設定
   ========================================================= */
body {
  background-color: #000;
  color: #fff;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* =========================================================
   📘 ヘッダーサイトタイトル
   ========================================================= */
.site-title a {
  font-family: 'Rock Salt', cursive !important;
  font-size: 2rem;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 0 4px rgba(255,255,255,0.6),
    0 0 10px rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.site-title a:hover {
  text-shadow:
    0 0 6px rgba(255,255,255,0.8),
    0 0 15px rgba(255,255,255,0.5);
}

/* =========================================================
   📘 固定ページ 共通ページタイトル
   ========================================================= */
.page-title {
  text-align: center;
  margin: 80px 0 40px;
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg,#e4c77b,#fff,#b98710);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255,255,255,0.2),
               0 0 30px rgba(255,200,100,0.3);
}

/* =========================================================
   📘 固定ページ 共通セクション
   ========================================================= */
.page-section {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
  font-size: 1.05rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.page-section h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-weight: 700;
  border-left: 3px solid #fff;
  padding-left: 12px;
}

.page-section p {
  margin-bottom: 1.5em;
}

/* リスト */
.page-section ul {
  padding-left: 18px;
  margin-bottom: 1.5em;
}
.page-section li {
  margin-bottom: 0.8em;
}

/* ボタン汎用 */
.button-primary {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #fff;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  transition: 0.2s;
}
.button-primary:hover {
  background: #fff;
  color: #000;
}

/* =========================================================
   NEWSページ専用
   ========================================================= */
.news-item {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0;
}
.news-item .date {
  opacity: 0.7;
  font-size: 0.9rem;
}
.news-item .title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 5px;
}

/* =========================================================
   MUSIC Coming Soon
   ========================================================= */
.coming-soon {
  text-align: center;
  padding: 120px 0;
  font-size: 2rem;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

/* =========================================================
   MOVIE（動画ギャラリー）
   ========================================================= */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.movie-grid iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  border: none;
}

/* =========================================================
   QUOTE（名言）
   ========================================================= */
.quote-box {
  margin: 40px auto;
  padding: 30px;
  border-left: 4px solid #fff;
  font-size: 1.3rem;
  font-style: italic;
  opacity: 0.9;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: #111;
  border: 1px solid #555;
  color: #fff;
}
.contact-form textarea {
  height: 160px;
}
.contact-form button {
  width: 100%;
  padding: 12px;
  background: #fff;
  border: none;
  color: #000;
  font-size:1rem;
  cursor:pointer;
  font-weight:600;
}

section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 10px;
}

.page-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 0;
  backdrop-filter: blur(6px);
}

.profile-section {
  margin-top: 80px; /* 目次の高さぶん下げる */
}


/* =========================================================
   📘 ヒーローエリア
   ========================================================= */
.hero {
  height: 100vh;
  background-color: #0a0028; /* 背景カラー */
  background-image: url('http://kyosuke-official.com/wp-content/uploads/2025/11/Artist-photo.jpeg');
  background-repeat: no-repeat;
  background-size: contain; 
  background-position: left center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 背景暗めレイヤー */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

/* ヒーロー内テキスト */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 90%;
}

.hero-text h1 {
  position: relative;
  word-break: keep-all;
  white-space: pre-line;
  text-align: center;
  padding: 0 1rem;
  font-family: 'Rock Salt', cursive;
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow:
    0 0 8px rgba(255,255,255,0.8),
    2px 2px 12px rgba(0,0,0,0.6),
    -2px -2px 12px rgba(0,0,0,0.4);
  animation: fadeIn 2s ease-out, shakeY 6s infinite ease-in-out alternate;
}

/* 文字ノイズ */
.hero-text h1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/noise.png');
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* アニメーション定義 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shakeY {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-2px) rotate(-2deg) scale(1.03); }
  50% { transform: translateY(2px) rotate(2deg) scale(1.02); }
  75% { transform: translateY(-1.5px) rotate(-1.5deg) scale(1.03); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* スマホ対応（ヒーロー） */
@media (max-width: 480px) {
  .hero { background-size: cover; }
  .hero-text { top: 50%; transform: translate(-50%, -50%); }
  .hero-text h1 { font-size: clamp(2rem, 12vw, 5rem); line-height: 1.1; }
}

/* =========================================================
   📘 プロフィールセクション
   ========================================================= */
.profile-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 200px;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
  box-sizing: border-box;
}

.flame-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('http://kyosuke-official.com/wp-content/uploads/2025/11/Gibson-Guitar.gif') center/cover no-repeat;
  opacity: 0.45;
  z-index: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.profile-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: floatText 6s ease-in-out infinite;
}

@keyframes floatText { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

.profile-content h2 {
  font-size: clamp(2.2rem,5vw,3.5rem);
  margin-bottom: 40px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: 'Cinzel Decorative', serif;
  background: linear-gradient(135deg,#d4af37,#f8f8f8 40%,#b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 8px rgba(255,255,255,0.2),0 4px 16px rgba(0,0,0,0.8);
  animation: metallicGlow 6s ease-in-out infinite alternate;
}

@keyframes metallicGlow { 0%{text-shadow:0 0 10px rgba(255,255,200,0.3),0 0 30px rgba(255,215,100,0.2);} 50%{text-shadow:0 0 20px rgba(255,255,255,0.6),0 0 40px rgba(255,220,150,0.4);} 100%{text-shadow:0 0 8px rgba(255,240,200,0.3),0 0 25px rgba(255,200,120,0.2);} }

.profile-content p {
  font-size: clamp(1rem,2.8vw,1.15rem);
  line-height: 1.9;
  font-weight: 400;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  max-width: 780px;
  margin: 0 auto;
  letter-spacing: 0.02em;
  text-align: justify;
  text-justify: inter-character;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.profile-content p + p { margin-top: 1.2em; }

/* スマホ対応（プロフィール） */
@media (max-width:768px){
  .profile-section{ min-height:100dvh; padding:60px 15px; align-items:flex-start; }
  .profile-content{ margin-top:15vh; animation:none; max-width:90%; margin:0 auto; padding:0 5%; }
  .profile-content h2{ font-size:2.5rem; margin-bottom:30px; }
  .profile-content p{ font-size:15px; line-height:2; letter-spacing:0.04em; text-align:left; text-justify:inter-word; word-break:keep-all; overflow-wrap:anywhere; hyphens:manual; }
  .profile-content p + p{ margin-top:1.2em; }
  .profile-content p span{ white-space:nowrap; }
}

/* =========================================================
   📘 メッセージ部分
   ========================================================= */
.profile-message {
  margin-top:3em;
  text-align:left;
  border-left:3px solid rgba(255,255,255,0.25);
  padding-left:1.2em;
}

.profile-message p {
  font-size:1.1rem;
  line-height:2;
  letter-spacing:0.05em;
  margin:1.5em 0;
  font-family:'Montserrat',sans-serif;
  font-style:italic;
  opacity:0.9;
  text-shadow:0 0 6px rgba(255,255,255,0.15),0 0 12px rgba(255,255,255,0.1);
  transition:opacity 0.3s ease;
}

.profile-message p:hover { opacity:1; text-shadow:0 0 8px rgba(255,255,255,0.25),0 0 20px rgba(255,255,255,0.15); }

/* 最後の一文は強めに */
.profile-message p:last-child{
  font-style:normal;
  font-weight:600;
  opacity:1;
  text-shadow:0 0 8px rgba(255,255,255,0.3),0 0 16px rgba(255,255,255,0.2);
}

/* スマホ対応 */
@media(max-width:768px){
  .profile-message{ padding-left:0.8em; }
  .profile-message p{ font-size:15px; line-height:1.9; }
}

/* =========================================================
   📘 自作SNSリンク（残す）
   ========================================================= */
.social-links{
  margin-top:2em;
  display:flex;
  justify-content:center;
  gap:30px;
}

.social-icon{
  color:#fff;
  font-size:1.8rem;
  transition:all 0.3s ease;
}

.social-icon:hover{
  color:#ff3c00;
  transform:scale(1.15);
}

@media(max-width:768px){
  .social-links{ gap:22px; }
  .social-icon{ font-size:1.6rem; }
}

/* =========================================================
   📘 親テーマSNS（LINE・X・Facebook等）を完全非表示
   ========================================================= */
.ss-top .sns-share-buttons,
.ss-bottom .sns-share-buttons,
.ss-top .sns-share-buttons a,
.ss-bottom .sns-share-buttons a,
[class*=bc-brand-color] .facebook-button,
[class*=bc-brand-color] .line-button,
[class*=bc-brand-color] .x-button {
  display: none !important; /* 親テーマSNSを完全非表示 */
}

/* =====================================
   スマホ対応（横型トップバーに変換）
   ===================================== */
@media (max-width: 768px) {
  .custom-sidebar {
    flex-direction: row;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 10px 0;
    justify-content: space-around;
    border-radius: 0;
    background: rgba(0,0,0,0.85);
  }
  .custom-sidebar a {
    font-size: 14px;
  }
}

/* 目次とプロフィールの重なり解消 */
.page-nav {
  height: 60px; /* 目次の高さを固定（今の見た目に合わせて調整） */
  line-height: 60px;
}

.profile-section {
  margin-top: 60px !important; /* 目次の高さぶんだけ下げる */
}

