/*
Theme Name: aesteroid
Author: Your Name
Description: Æsteroid Official WordPress Theme
Version: 1.0
*/

/* === 基本 === */
html, body {
  background: #18191b;
  color: #edeef0;
  font-family: "Shippori Mincho", serif;;
  font-size: 17px;
  font-weight: 350;
  letter-spacing: 0.01em;
  line-height: 1.7;
  margin: 0; padding: 0; min-height: 100vh;
}
/* ヘッダーの高さ分の余白を確保 */
body {
    padding-top: 56px !important;
}
@media (max-width:700px) {
    body {
        padding-top: 45px !important;
    }
}
a {
  color: #7dc7ff;
  text-decoration: none;
  transition: color .15s;
}
a:hover {
  color: #fff;
}
.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 3vw;
}

body.page-news main,
body.page-news .container {
    margin-top: 0 !important;
}

/* ===== ハンバーガーメニュー関連 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100vw;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #18191b;
  height: 56px;
  padding: 0 1rem;
  box-sizing: border-box;
}
.band-logo {
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  margin: 0;
  position: relative;
  z-index: 3200;
}
.menu-btn {
  position: fixed;
  top: 1.0rem;
  right: 1.2rem;
  width: 44px; height: 44px;
  background: none; border: none;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  z-index: 9999 !important;
  cursor: pointer;
}
.menu-btn span {
  width: 28px; height: 4px; margin: 4px 0;
  background: #fff; border-radius: 2px;
  transition: .3s;
  display: block;
}
.menu-btn.open span:nth-child(1) { transform:translateY(10px) rotate(45deg);}
.menu-btn.open span:nth-child(2) { opacity:0;}
.menu-btn.open span:nth-child(3) { transform:translateY(-10px) rotate(-45deg);}
.drawer-overlay {
  display: none;
  position: fixed;
  z-index: 9000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,34,40, 0.61);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.drawer-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
  z-index: 800; 
}
.site-nav {
  position: fixed;
  top: 0; right: 0;
  width: 67vw; max-width: 340px; height: 100vh;
  background: #222428;
  display: none;
  z-index: 9100;
  flex-direction: column;
  padding: 4.5rem 1.3rem;
  box-shadow: -2px 0 40px #000a;
}
.site-nav.open { display: flex; }
.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  width: 100%;
}
.site-nav li { width: 100%; }
.site-nav a {
  display: block;
  text-decoration: none;
  color: #fff;
  background-color: transparent;
  padding: 1rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  font-family: "Shippori Mincho", serif;
  transition: color .18s, background-color .18s;
}
.site-nav a:hover {
  background-color: #444;
  color: #7dc7ff;
}

/*==== SNS/フッター ====*/
.sns {
  margin-top: 2.5rem;
  margin-bottom: 0.7rem;
  text-align: center;
}
.sns a {
  margin: 0 1.0rem;
  color: #b3c0d8;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color .17s;
} 
.sns a:hover {
  color: #66ccff;
  text-shadow: 0 1px 6px #22bbff33;
}
footer {
  text-align: center;
  color: #858aa0;
  padding: 1.3rem 0 1.0rem 0;
  font-size: 0.93rem;
  letter-spacing: 0.13em; 
  z-index: 1;
}

/* ==== ローダー ==== */
#logo-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #0f1115;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  transition: opacity 0.7s cubic-bezier(.6,.2,.3,1);
  opacity: 1;
  pointer-events: auto;
}
#logo-loader .logo-fx {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2.2rem, 9vw, 7.7rem);
  color: #b6f0ff;
  letter-spacing: 0.10em;
}
#logo-loader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(.68,0,.4,1);
}
body:not(.show) .main-content {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
  opacity: 0.6;
}
body.show .main-content {
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
  transition: filter 0.6s, opacity 0.6s;
}

/* ==== レスポンシブ ==== */
@media (max-width:700px) {
  .site-header { height: 45px; padding: 0 0.8rem;}
  .band-logo { font-size: 1.27rem;}
  .container { padding: 0 2.2vw; }
  .site-nav { padding: 3.5rem 1rem; }
}
@media (max-width:600px) {
  .container { padding: 0 2vw; }
}

main, .container {
  position: relative;
  z-index: 2;
}



/* ===== 追記：ナビゲーション関連のスタイル ===== */
.shippori-mincho-regular {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}

.site-header {
    font-family: 'Shippori Mincho', serif;
}

.site-nav a {
    font-family: 'Playfair Display', serif;
}

.site-nav a.active {
    color: #7dc7ff; /* 現在地のリンクをハイライト */
}

.admin {
    position: absolute; /* nav要素内での絶対配置 */
    bottom: 1rem;
    right: 1.3rem;
    color: #666;
    font-size: 0.8rem;
}

/* ==================================================
   プランA改：NEWS詳細ページ（フォント調整版）
   ================================================== */
.article-section {
    padding: 4rem 0;
}
.post-header-a {
    text-align: center;
    margin-bottom: 3.5rem;
}
.post-title-a {
    font-family: "Shippori Mincho", serif; /* ← タイトルのフォントを明示的に指定 */
    font-weight: 600; /* ← 少し太くして存在感を調整 */
    font-size: 2.1rem;
    line-height: 1.5;
    letter-spacing: 0.05em; /* ← 文字間を少し調整 */
    margin-bottom: 1rem;
    color: #fff;
}
.post-meta-a {
    font-family: 'Montserrat', sans-serif; /* ← 日付のフォントを明示的に指定 */
    font-size: 0.9rem;
    color: #a7a8ae;
    letter-spacing: 0.05em;
}
/* タイトル下にアクセントの罫線 */
.post-header-a::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: #444;
    margin: 2rem auto 0;
}
.post-body-a {
    font-size: 1rem;
    line-height: 1.9;
    color: #edeef0;
    max-width: 650px;
    margin: 0 auto;
}
.post-body-a > *:first-child { margin-top: 0; }
.post-body-a > *:last-child { margin-bottom: 0; }


/* ==================================================
   汎用情報リスト (info-list)
   ================================================== */
.info-list {
  list-style: none;
  margin: 0 0 2.2rem 0;
  padding: 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.info-list li {
  display: flex;
  padding: 0;
  border-top: 2px solid #d2eafc44;
  margin-bottom: 2.1rem;
}
.info-list li:first-child {
  border-top: 3px solid #7dc7ff;
}
.info-date-block {
  min-width: 82px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 1em;
  padding-top: 1.6rem; /* aタグの内側に移動 */
  font-family: "Shippori Mincho", serif;
}
.date-year { font-size: 1em; color: #a7a8ae; letter-spacing: 0.04em; }
.date-month { font-size: 0.87em; color: #b7b7b7; letter-spacing: 0.12em; }
.date-day {
  font-size: 2.0em;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.08em;
  margin-top: .32em;
}
.info-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 1.6rem 0 1.1rem 0; /* aタグの内側に移動 */
}
.info-type {
  align-self: flex-end;
  font-size: 0.93em;
  color: #c6c7ce;
  letter-spacing: 0.13em;
  margin-bottom: 0.17em;
  margin-top: -0.09em;
  font-family: "Shippori Mincho", serif;
}
.info-title {
  font-size: 1.09em;
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.08em;
  line-height: 1.45;
  letter-spacing: 0.04em;
  word-break: break-word;
  transition: color 0.2s;
}
.info-desc {
  font-size: 0.96em;
  color: rgb(165, 179, 194);
  margin-top: 0.1em;
  line-height: 1.6;
  word-break: break-word;
}
/* クリック可能なリストの調整 */
.clickable-list li {
  transition: background-color 0.2s;
}
.clickable-list li:hover {
  background-color: rgba(125, 199, 255, 0.05);
}
.clickable-list li:hover .info-title {
  color: #7dc7ff;
}
.list-item-link {
  display: flex;
  flex: 1; /* liの中で幅いっぱいに広がる */
  align-items: flex-start; /* 上揃え */
  gap: 1.2em;
  text-decoration: none;
}
/* レスポンシブ調整 */
@media (max-width:700px) {
  .info-list { max-width: 97vw; }
  .info-list li { gap: 0.55em; }
  .info-date-block { min-width: 47px; padding-top: 1.05em; }
  .info-main { padding: 1.05em 0 0.65em 0; }
  .date-day { font-size: 1.12em; }
}