/* ---------- 全体 ---------- */
body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  background: #fafafa;
  color: #333;
}

/* ---------- ヘッダー ---------- */
header {
  background: #fff;
  border-bottom: 2px solid #eee;
  text-align: center;
  padding: 20px 0;
}

header img {
  height: 50px;
}

header p {
  margin: 5px 0 0;
  font-size: 0.95em;
}
/* ---------- ナビ ---------- */
nav {
  background: linear-gradient(90deg, #ff595e, #ffca3a, #8ac926, #1982c4, #6a4c93);
  text-align: center;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
}

nav a {
  display: inline-block;
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

/* ---------- 版画材料.comについて ---------- */
.intro {
  background: #fff;
  padding: 10px 20px;     /* 上下10px・左右20px */
  margin: 20px auto 5px;  /* 上20px・左右auto・下5px */
  max-width: 840px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.intro h3,
.intro h4 {
  margin-bottom: 0px; /* 下の余白 */
}
.intro p {
  margin-top: 5px;     /* 上の余白 */
  padding-left: 20px;
}
/* ▼ news：上の余白を小さく、intro にくっつき気味に */
.news {
  background: #fff;
  padding: 20px;
  margin: 5px auto 20px;
  max-width: 840px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.news-more {
  display: block;
  padding: 10px;
  margin-top: 10px;     /* 上の余白 */
  text-align: right;
  color: #1982c4;
  font-weight: bold;
  text-decoration: none;
}

.news-more:hover {
  text-decoration: underline;
}

.news h2 {
  margin-bottom: 10px;  /* 下の余白 */
  font-size: 1.4em;
}

.news ul {
  list-style: none;
  padding: 0;
}

.news li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

/* ---------- フッター ---------- */
footer {
  background-color: transparent; /* footer全体は透明、背景は footer-content 側で管理 */
  color: #666; /* 文字色は灰色 */
  padding: 20px;
  font-size: 0.9em;
  text-align: center;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左右に要素を分ける */
  padding: 10px 20px;
  background-color: #f2f2f2;
  flex-wrap: wrap; /* 横幅が狭くなった時に折り返す */
}

.footer-left {
  position: static;
}

.footer-left a {
  margin-right: 15px;
  text-decoration: none;
  color: #666;
}

.footer-right {
  text-align: right;  /* 中央に寄せる */
  flex: 1; 
}

/* ---------- 共通レイアウト ---------- */

/* 中央揃えテキスト */
.text-center {
  text-align: center;
}

/* 右揃えテキスト */
.text-right {
  text-align: right;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* ページ全体縮小 */
.page-scaled {
  max-width: 840px;
  margin: 0 auto;
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ====================================
   依頼ボタン & クリアボタン & 戻るボタン
==================================== */
button#clearInput,
button#backBtn,
button#request {
  padding: 6px 16px;       /* ボタン内の余白 */
  border: none;             /* 枠線なし */
  border-radius: 8px;       /* 角丸 */
  font-size: 13px;          /* 文字サイズ */
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s; /* ホバー時の変化を滑らかに */
  min-width: 80px;         /* 最小幅を揃える */
  text-align: center;       /* ボタン内の文字中央揃え */
  background-color: #f0f0f0; /* 薄いグレー */
  color: #333;
}

/* クリアボタン & 戻るボタン ホバー効果 */
button#clearInput:hover,
button#backBtn:hover {
  background-color: #e0e0e0;
}

/* 依頼ボタン */
button#request {
  background-color: #0078ff; /* 青系 */
  color: #fff;
}

/* 依頼ボタン ホバー効果 */
button#request:hover {
  background-color: #005fcc;
}


/* 送信ボタン */
.btn-dark {
  background-color: #333;
  color: #fff;
  padding: 12px 40px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 18px;
  margin-top: 15px;
  margin-bottom:10px;
}

/* 送信ボタン ホバー効果 */
.btn-dark:hover:not(:disabled) {
    background-color: #555;
}

/* 無効化時 */
.btn-dark:disabled {
  background-color: #ccc;   /* グレーにする */
  color: #666;              /* 文字も薄く */
  cursor: not-allowed;      /* 押せないマークに変更 */
}

/* ---------- ショップ案内 ---------- */
.table-scroll {
  overflow-x: auto;
  margin-bottom: 20px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  font-size: 15px;
}

.price-table th,
.price-table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: center;
  white-space: nowrap;
}

.price-table th {
  background: #f3f3f3;
  font-weight: bold;
}

/* ---------- お問い合わせ ---------- */
.contact-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 16px;
}

/* =========================
   スマホ用（768px以下）
========================= */
@media screen and (max-width: 768px) {

  /* 横余白を減らす */
  .intro,
  .news {
    margin: 10px;
    padding: 15px;
  }

  /* フッターを縦並びに */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    margin-bottom: 10px; /* コピーライトとの間に余白 */
  }

  /* ボタンを押しやすく */
  .contact-submit {
    width: 100%;
  }
}

/* ページ全体幅 */
  .page-scaled {
        max-width: 100%;
        padding: 0 10px;
        font-size: 0.85rem;
    }