/*========================
  ピクセルフォント読み込み
========================*/
@font-face {
  font-family: 'PixelMplus';
  src: url('fonts/PixelMplus10-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* 全体に適用 */
* {
  font-family: 'PixelMplus', monospace !important;
}

/* --- ベース設定 --- */
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-image: url(images/bg.PNG);
  background-size:150%; /*背景画像のサイズ指定*/
  line-height: 1.5;
}

/*ここからハンバーガーメニュー*/
.header-container_01 {
  position: relative;
  margin: 0 !important;
  height: auto; /*固定の高さをやめる*/
  font-family:serif; /*フォントを変えるとこ*/
}

.header__navi_01 {
  position: fixed;      /* 画面に固定 */
  top: 0;
  left: 0;              /* 左からスライドイン */
  width: 70%;
  height: 100vh;        /* 画面全体の高さ */
  background: #f76c3c;
  transform: translateX(-130%); /* 最初は画面外 */
  transition: transform 0.4s;  /*出てくる早さ*/
  z-index: 1500;
  overflow-y: auto;     /* コンテンツが長い場合スクロール可能に */
}

.header__navi_01.active {
  transform: translateX(0%);
}

.header__navi_01 ul {
  position: fixed;      /* 文字を画面内で固定 */
  top: 50%;             /* 画面中央に配置 */
  left: 0;
  width: 100%;
  transform: translateY(-50%); /* 正確に中央に */
  padding-left: 20px;
  text-align: left;
}

.header__navi_01 li {
  list-style: none;
  margin-bottom: 42px; /*テキストの間の間隔*/
}

.header__navi_01 li a {
  color: #fff;
  text-decoration: none;
   border-bottom: 3px dotted #fff; /* ← 点線の下線 */
  padding-bottom: 4px;            /* 下線と文字の間隔調整 */
  display: block;       /* ブロックにすることで幅いっぱいに伸びる */
  width: 100%;          /* 幅100% */
  transition: all 0.2s; /* 色変化をスムーズに */
  transition: border-color 0.3s;
}

/* ホバー時 */
.header__navi_01 li a:hover {
  color: #ffeaa7;       /* マウスオーバーで色を変える */
  border-bottom-color: #ffeaa7;
}

/* 押したとき */
.header__navi_01 li a:active {
  color: #35dbf1;       /* 押した瞬間の色 */
  background-color: rgba(255,255,255,0.1); /* 背景を少し変える */
  transform: translateY(1px); /* 軽く沈み込むように */
}

/* メニューボタン */
.sp-menu-btn_01 {
  background: #f76c3c;
  border: none;
  position: fixed; /*スクロールしても位置固定*/
  right: -5px; /*ボタンの左右の位置調整*/
  top: 5px;  /*ボタンの上下位置*/
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 2000;
  border-radius: 50%; /*ボタンの角丸調整*/
  transform: scale(0.5);/*ボタンのサイズ調整*/
}

.sp-menu-btn_01 .line {
  display: block;
  position: absolute;
  width: 30px;
  height: 4px;
  right: 15px;
  background: #fff;
  transition: 0.3s ease-in-out;
}

.sp-menu-btn_01 span:nth-child(1) {
  top: 20px;
}

.sp-menu-btn_01 span:nth-child(2) {
  top: 28px;
}

.sp-menu-btn_01 span:nth-child(3) {
  top: 36px;
}

/* メニューが開いているときのボタン */
.sp-menu-btn_01.active span:nth-child(1) {
  top: 28px;
  transform: rotate(-45deg);
}

.sp-menu-btn_01.active span:nth-child(2) {
  opacity: 0;
}

.sp-menu-btn_01.active span:nth-child(3) {
  top: 28px;
  transform: rotate(45deg);
}

.header-container_01 h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  font-weight: normal;
}
/**ここまでハンバーガーメニュー*/

/* --- スマホ向け調整 --- */
@media (max-width: 600px) {
  .footer-btn {
    font-size: 14px;
    padding: 10px 14px;
    margin: 0 5px;
  }
}

/*プロフィール画像*/
.profile-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.icon-wrapper img {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
}

/*フチカビ*/
.profile-title {
  font-size: 24px;
  margin: 0;
}

/*説明*/
.explanation {
  margin: 20px 0;
  line-height: 1.5;
  color: #351a11;
}

/*リンク*/
.links a {
  font-size: 24px;
  font-weight: bold;    /* ← 太字 */
  color: #ff6600;
  text-decoration: none;
  margin: 3px 0;
  display: inline-block;
}

.links a:hover {
  text-decoration: underline;
  color: #3399ff;
}

/*連載してます文字*/
.rensai {
  display: block;       /* 1行ブロック要素にする（中央寄せしたいときに便利） */
  font-size: 12px;      /* サイズ変更 */
  color: #4ab9db;       /* 文字色変更 */
  font-weight: bold;    /* 強調（任意） */
  margin: -10px 0;       /* 上下余白 */
  text-align: center;   /* 中央揃え */
}

/*twitterのタイムライン*/
.twitter-tweet {
  display: inline-block;
  transform: scale(0.9);  /* 90%に縮小 */
  transform-origin: top center;  /* 縮小基準を上中央に */
  margin: 40px auto 0px auto;
}

