@charset "UTF-8";

/* ================================
 * 共通スタイル
 * ================================ */

/* --------------------------------
 * ニュースレター：全体ラッパー
 * -------------------------------- */
.newsletter-container {
  position: static;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 620px;
  width: 100%;
  box-sizing: border-box;
}

/* --------------------------------
 * ニュースレター：入力エリア
 * -------------------------------- */
.newsletter-input-wrapper {
  position: relative;
  width: 100%;
  border-bottom: 1px solid black; /* ← wrapperに線を引く */
}

.newsletter-input {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  width: 100%;
  height: 45px;
  border: none;
  border: none;
  font-size: 18px;
  outline: none;
  padding-right: 100px; /* ← ボタンの幅を確保 */
  pointer-events: auto;
}

.newsletter-submit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 19px;
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit; /* ← 青文字防止 */
  text-decoration: none; /* ← Safariの自動リンク装飾防止 */
}

/* --------------------------------
 * ニュースレター：完了メッセージ
 * -------------------------------- */
#regit-confirm {
  display: none;
  min-height: 1.5rem; /* ✨ 高さの揺れを防ぐための追加行 */
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.0rem;
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
  color: rgb(93 93 93);
}
#regit-confirm.show {
  display: block;
}

/* --------------------------------
 * プライバシーポリシー文
 * -------------------------------- */
.newsletter-privacy {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 13px;
  margin-top: 8px;
  display: block;
  color: #000;
}

/* --------------------------------
 * newsletter-wrapper：フォームの固定下寄せ
 * -------------------------------- */
.newsletter-wrapper {
  margin-top: auto; /* ✨ flexで下へ押し出し */
  box-sizing: border-box;
}

/* --------------------------------
 * 汎用クラス
 * -------------------------------- */
.font-semibold {
  font-weight: 600;
}

.text-more-muted {
  color: #2125294d;
}

.pe-015 {
  padding-right: .15rem !important;
}

#content {
  min-height: calc(100dvh - 40px - 24px); /* フッター調整などに使用可能 */
}

/* --------------------------------
 * リンクやタブのホバー装飾
 * -------------------------------- */
#front-header ul li a:hover,
#sns-footer ul li a:hover,
#custom-header .navbar-nav a:hover,
.link-title:hover,
.post-title:hover,
#music-tab.active,
#video-tab.active {
  text-decoration: underline;
  color: #0000f5 !important;
  font-style: italic;
}

/* --------------------------------
 * 404ページ用：全画面センター
 * -------------------------------- */
.full-height {
  height: 100dvh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  margin: 0;
}

/* 投稿詳細ページ用フォント */
#single-font {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

/* ================================
 * モバイル・タブレット対応
 * ================================ */
@media (max-width: 1023px) {
  .newsletter-container {
    position: static !important;
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .newsletter-input {
    font-size: 16px;
  }

  .newsletter-submit {
    font-size: 12px;
  }

  .newsletter-privacy {
    font-size: 10px;
  }

  #regit-confirm {
    margin-bottom: 0.35rem;
  }
}

@media (max-width: 768px) {

  .custom-mx-2-md-down {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
}
