/* リセットと基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: sans-serif;
}
  /* ナビゲーションバー */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
  height: 80px;
  /* PC: ナビバー高さ */
}

.logo img {
  height: 80px;
  /* PC: ロゴ高さ */
  width: auto;
  /* アスペクト比を維持 */
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0077cc;
}

/* ハンバーガー */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: black;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .logo img {
    height: 50px;
    /* モバイル時は少し小さく */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 60px;
    /* ナビバー高さに合わせて調整 */
    left: 0;
    border-top: 1px solid #ddd;
  }

  .nav-links li {
    margin: 0;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* ヒーロービジュアル（背景画像） */
/* セクション全体のスタイル */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px); /* ナビバーの高さ分だけ減算 */
  background: url('DSC_7865.jpg') no-repeat center center;
  background-size: cover;
  background-color: #000;
  overflow: hidden;
}

/* スマホ向け：画像全体を表示し、縦横比を維持 */
@media (max-width: 768px) {
  .hero {
    background-size: cover; /* contain ではなく cover に変更 */
    background-position: center bottom;/* 下を優先して表示 */
  }
}

/* テロップ1：画像内の右下に配置 */
.hero-caption {
  position: absolute;
  bottom: 0px;
  right: 30px;
  font-weight: 800;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  font-size: clamp(2rem, 5vw, 4rem); /* レスポンシブ対応 */
}
/* 画像内左下テロップ：受賞情報 */
.hero-award {
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-weight: 300;
  color: #f0f0f0;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  .hero-award {
    left: 0px;
    bottom: 40px;
    font-size: 0.8rem;
  }
}
/* テロップ2：画像の外、すぐ右下に配置 */
.hero-caption-2 {
  margin-top: -20px;
  margin-right: 30px;
  text-align: right;
  font-weight: 800;
  color: #111;
  font-size: clamp(2rem, 5vw, 4rem); /* テロップ1と同じサイズ感 */
}


/* テロップ3：画像の下、左端から10px */
.hero-caption-3 {
  margin-top: -40px;
  margin-left: 30px;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
}
@media screen and (max-width: 768px) {
  /* テロップ1：画像内右下 */
  .hero-caption {
    bottom: 0px;
    right: 20px;
    font-size: clamp(1.8rem, 6vw, 3rem);
    text-align: right;
  }

  /* テロップ2：画像の外、すぐ右下 */
  .hero-caption-2 {
    margin-top: -10px;
    margin-right: 20px;
    margin-bottom: 55px; /* ← 追加：テロップ3との重なり防止 */
    font-size: clamp(1.8rem, 6vw, 3rem);
    text-align: right;
    word-break: break-word; /* 改行が多少不自然でもOKにする */
  }

  /* テロップ3：画像の下、左端から10px */
  .hero-caption-3 {
    margin-top: -40px;
    margin-left: 20px;
    font-size: 1.2rem;
    line-height: 1.2;
    word-break: break-word;
    justify-content: center;
    align-items: center;
  }
}
/* Works セクション */
.works {
width: 100%;
margin: 24px 0;
padding: 0;
}

/* 2列×2行のグリッド */
.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px; /* 各画像の間に余白 */
padding: 0 8px; /* 画面端との間にも余白 */
box-sizing: border-box;
}


/* 各フレーム */
.frame {
width: 100%;
overflow: hidden;
background: #000;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
}


/* 画像は枠に収めつつアスペクト比を維持 */
.frame img {
width: 100%;
height: auto;
object-fit: contain;
display: block;
}


/* 小さい画面でも2列を維持 */
@media (max-width: 420px) {
.grid {
gap: 6px;
padding: 0 6px;
}
}
.price {
  margin: 40px auto;       /* 上下40px、左右はautoで中央寄せ */
  padding: 20px;           /* 内側余白 */
  max-width: 800px;        /* 横幅を制限（大きすぎないように） */
  text-align: left;        /* テキストは左揃え（中央寄せなら center） */
}

.price h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  border-bottom: 2px solid #333;
  display: inline-block;   /* 下線を文字幅に制限 */
  padding-bottom: 4px;
}

.price div {
  margin-bottom: 8px;
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
}

.awards {
  margin: 40px auto;
  padding: 20px;
  max-width: 800px;
}

.awards h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: inline-block;
  padding-bottom: 4px;
}

.award-list {
  list-style: none;   /* ← これで「・」を消す */
  padding-left: 0;    /* 左の余白もリセット */
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
}

/* どこにでも置ける問い合わせボタン用 */
/* ラッパー：中央配置を制御 */
.inquiry-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

/* ボタン本体 */
.btn-inquiry {
  display: inline-block;
  padding: 0.75em 2em;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0078D4, #00B4FF);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー・フォーカス時の演出 */
.btn-inquiry:hover,
.btn-inquiry:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  outline: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .btn-inquiry {
    width: 50%;
    text-align: center;
  }
}
/* どこにでも置ける問い合わせボタン用（終わり） */