body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

header {
  background: #333;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
}

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;


/* ヒーローセクション */
.hero {
    height: 100vh; /* 画面いっぱい */
    max-width: 1080px;
    margin: 20px auto;
    padding: 10px;
    background-image: url("images/kunnrennnekogif.gif"); /* ←ここに画像ファイル名 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;

    position: relative;
}

/* 画像を暗くして文字を見やすく */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #0067C0;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #ddd;
}


.pictogram {
  padding: 40px 20px;
  text-align: center;
}

.picto-gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.picto-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  width: 200px;
  object-fit: contain; /* ← 画像全体を表示して箱に収める */
}

.picto-card img {
  width: 100%;
  border-radius: 10px;
}

.about, .works, .contact {
  padding: 4rem 2rem;
  max-width: 960px;
  margin: auto;
}

.video {
  padding: 40px 20px;
  text-align: center;

.video-box {
  max-width: 900px;
  margin: 20px auto;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.video-box video {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.kyakuhon {
  max-width: 750px;
  margin: 20px auto;
  overflow: hidden;  /* はみ出しを隠す */
}

.kyakuhon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 枠内に収める */
}

.portfolio-content {
    height: 100vh; /* 画面いっぱい */
    max-width: 1080px;
    margin: 20px auto;
    padding: 10px;
    background-image: url("images/nekoanimeugoku.gif"); /* ←ここに画像ファイル名 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;

    position: relative;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 24px 0;
}
