/* =========================
   共通設定
========================= */

* {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    color: #333;
    background-color: #f7faf6;
    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Helvetica Neue",
      "Yu Gothic",
      "Hiragino Kaku Gothic ProN",
      "Hiragino Sans",
      Meiryo,
      sans-serif;
    font-size: 16px;
    line-height: 1.8;
  }
  
  /* 画像が親要素からはみ出さないようにする */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* リンク共通 */
  a {
    color: inherit;
  }
  
  /* =========================
     ヘッダー
  ========================= */
  
  header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
  }
  
  .header-inner {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
  
  h1 {
    margin: 0;
    color: #355e3b;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 2px;
  }
  
  /* =========================
     ナビゲーション
  ========================= */
  
  nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
  }
  
  nav a {
    position: relative;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition:
      color 0.2s ease,
      opacity 0.2s ease;
  }
  
  nav a:hover {
    color: #355e3b;
  }
  
  /* ホバー時の下線 */
  nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #355e3b;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
  }
  
  nav a:hover::after {
    transform: scaleX(1);
  }
  
  /* =========================
     メインエリア
  ========================= */
  
  main {
    width: min(1000px, 90%);
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(53, 94, 59, 0.05);
  }
  
  /* =========================
     メインビジュアル
  ========================= */
  
  .hero {
    min-height: 420px;
    padding: 70px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    text-align: left;
    background-color: #fff;
  }
  
  .hero img {
    width: 180px;
    flex-shrink: 0;
  }
  
  .hero h2 {
    margin: 0;
    color: #355e3b;
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
  
  .sub-title {
    margin: 10px 0 0;
    color: #355e3b;
    font-size: 20px;
    font-weight: 700;
  }
  
  /* =========================
     各セクション
  ========================= */
  
  section {
    padding: 70px 50px;
    background-color: #fff;
    border-top: 1px solid #ddd;
  }
  
  section h2 {
    margin: 0 0 24px;
    color: #355e3b;
    font-size: 28px;
    line-height: 1.4;
  }
  
  section p {
    margin: 0;
    color: #333;
  }
  
  section p + p {
    margin-top: 16px;
  }
  
  /* =========================
     オンラインショップリンク用
     HTMLにクラスを追加した時に使える
  ========================= */
.shop-links{
    display:flex;
    gap:25px;
    margin-top:20px;
}

.shop-link{
    width:180px;
    padding:18px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    color:#fff;
    background:#355e3b;

    border-radius:5px;
    text-decoration:none;

    transition:.2s;
}

.shop-link strong{
    color:#fff;
    font-size:22px;
}

.shop-link span{
    color:#dbe9dc;
    font-size:12px;
    margin-top:4px;
}

.shop-link:hover{
    background:#46754b;
    transform:translateY(-3px);
}
  /* =========================
     古物商許可
  ========================= */
  
  #license p {
    padding: 20px;
    background-color: #f7faf6;
    border-left: 4px solid #355e3b;
  }
  
/* =========================
   一次創作部門
========================= */

.creation-content {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.novel {
  display: block;
  flex-shrink: 0;
}

.novel img {
  width: 180px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.novel img:hover {
  transform: translateY(-4px);
}

.creation-text p {
  margin-bottom: 20px;
}

.kindle-link {
  display: inline-block;
  padding: 10px 22px;
  color: #fff;
  background-color: #355e3b;
  border: 1px solid #355e3b;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s ease;
}

.kindle-link:hover {
  color: #355e3b;
  background-color: #fff;
}

/* スマホ */
@media (max-width: 700px) {
  .creation-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .novel img {
    width: 150px;
  }
}

/* =========================
   Contact
========================= */

.contact-form {
  max-width: 650px;
  margin-top: 30px;
}

.form-item {
  margin-bottom: 24px;
}

.form-item label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #355e3b;
}

.form-item input,
.form-item textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-item textarea {
  resize: vertical;
}

.form-item input:focus,
.form-item textarea:focus {
  outline: none;
  border-color: #355e3b;
}

.submit-button {
  padding: 12px 30px;
  color: #fff;
  background-color: #355e3b;
  border: 1px solid #355e3b;
  border-radius: 4px;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.submit-button:hover {
  color: #355e3b;
  background-color: #fff;
}
  /* =========================
     フッター
  ========================= */
  
  footer {
    padding: 30px;
    color: #fff;
    background-color: #333;
    text-align: center;
  }
  
  footer p {
    margin: 0;
    color: #fff;
    font-size: 14px;
  }
  
  /* =========================
     スマホ表示
  ========================= */
  
  @media (max-width: 700px) {
    .header-inner {
      display: block;
      padding: 18px 0;
    }
  
    h1 {
      font-size: 27px;
    }
  
    nav {
      margin-top: 16px;
      gap: 10px 16px;
    }
  
    nav a {
      font-size: 14px;
    }
  
    main {
      width: 94%;
    }
  
    .hero {
      min-height: auto;
      padding: 60px 24px;
      flex-direction: column;
      gap: 24px;
      text-align: center;
    }
  
    .hero img {
      width: 140px;
    }
  
    .hero h2 {
      font-size: 25px;
    }
  
    .sub-title {
      font-size: 17px;
    }
  
    section {
      padding: 55px 24px;
    }
  
    section h2 {
      font-size: 24px;
    }
  
    .shop-links {
      display: block;
    }
  
    .shop-link {
      width: 100%;
      margin-top: 10px;
    }
  }

  
  /* =========================
     小さいスマホ
  ========================= */
  
  @media (max-width: 420px) {
    nav {
      gap: 8px 12px;
    }
  
    .hero h2 {
      font-size: 22px;
    }
  
    .sub-title {
      font-size: 16px;
    }
  
    section {
      padding: 45px 20px;
    }
  }


  /* スパム対策用：人間には見せない */
  .website-field {
    position: absolute;
    left: -9999px;
  }

/* =========================
   お問い合わせ完了ページ
========================= */

body.thanks-page {
  margin: 0;
  background-color: #f7f9f7;
}

body.thanks-page .thanks-container {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

body.thanks-page .thanks-box {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 60px 40px;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
}

body.thanks-page .thanks-brand {
  margin: 0 0 30px;
  color: #355e3b;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.12em;
}

body.thanks-page .thanks-box h1 {
  margin: 0 0 30px;
  color: #355e3b;
  font-size: 26px;
}

body.thanks-page .thanks-box p {
  line-height: 1.9;
}

body.thanks-page .thanks-note {
  margin: 30px 0;
  font-size: 14px;
}

body.thanks-page .thanks-button {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 28px;
  color: #fff;
  background-color: #355e3b;
  border-radius: 5px;
  text-decoration: none;
}

body.thanks-page .thanks-button:hover {
  opacity: 0.85;
}

.x-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  width: 384px;   /* eBay + BASEあたりの横幅 */
  margin-top: 12px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.x-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.x-link:hover {
  opacity: 0.7;
}

.tj-x-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: auto;
  padding: 10px 14px;

  color: #222;
  text-decoration: none;
  font-weight: bold;
}

.tj-x-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}