/* -------------------------------
   🔄 Modern CSS Reset (2025)
-------------------------------- */

/* 1. Box-sizing のリセット */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. マージンをゼロに */
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

/* 3. デフォルトフォントやスムージング */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: system-ui, sans-serif;
  background-color: #fff;
  color: #000;
}

/* 4. リストのスタイルをリセット */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* 5. アンカーのスタイル初期化 */
a {
  text-decoration: none;
  color: inherit;
}

/* 6. ボタン・フォーム要素のベース調整 */
button,
input,
select,
textarea {
  font: inherit;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
}

/* 7. 画像とメディアをブロック表示＋レスポンシブ */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 8. テーブルのセルの間隔をリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 9. 過剰な focus-outline のリセット（必要に応じて） */
:focus {
  outline: 2px solid blue;
  outline-offset: 2px;
}

/* 10. モバイルでの改善 */
html:focus-within {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}







/* この下 */
/* ループセクション */
.header-flowing-text {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0; 
    border-bottom: 1px solid #222;
}
  
  .scrolling-content {
    display: inline-block;
    white-space: nowrap;
    animation: loop-scroll 15s linear infinite;
  }
  
  .scrolling-content span {
    display: inline-block;
    padding-right: 2rem; /* スパン同士の間隔を調整 */
  }
  
@keyframes loop-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
}
  


/* プロフィール */