@charset "utf-8";
/* ==================================================
   リセット・基本
================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #434343;
  line-height: 1.6;
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1)), url("../../img/inaho.png"), url("../../img/wasi.png");
  background-color: #ccccbe;
  background-size:
    auto, 480px, 480px;
  background-position:
    center, right 10px bottom -10px, center;
  background-repeat:
    no-repeat, no-repeat, repeat;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
p {
  font-size: 1.1rem;
  line-height: 1.6;
}
/* ==================================================
   全体
================================================== */
.wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* ==================================================
   ヘッダー
================================================== */
.header {
  width: 100%;
  background-color: #fff;
  text-align: center;
  padding: 20px 16px;
  margin: 0 0 1rem;
}
.header h1, .header h3 {
  font-family: "Noto Serif JP", serif;
}
.header h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.header h1 {
  font-size: 1.8rem;
}
/* ==================================================
   メイン
================================================== */
.description {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem;
}
/* ==================================================
   ダウンロード案内
================================================== */
.inner-description {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  margin: 1rem auto;
  padding: 1rem;
  text-align: center;
  border: 2px solid #e6e6e6;
  border-radius: 5px;
  background-color: #fff;
  box-shadow:
    0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgb(0 0 0 / 5%);
}
.dl-link {
  margin: 3px 0;
  font-style: italic;
  color: #0095f6;
  transition: opacity 0.3s;
}
.dl-link:hover {
  opacity: 0.5;
}
.dl-icon {
  width: 20px;
  height: auto;
  margin-left: 5px;
  vertical-align: middle;
}
/* ==================================================
   フォーム全体
================================================== */
#formWrap {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 0.6rem;
  color: #3d3d3d;
  line-height: 1.2;
  font-size: 90%;
}
.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
.formTable th, .formTable td {
  border: 1px solid #ccc;
  padding: 10px;
}
.formTable th {
  width: 30%;
  font-weight: bold;
  background-color: #f9f9f9;
  text-align: left;
  vertical-align: middle;
}
.formTable td {
  width: 70%;
}
/* ==================================================
   入力欄
================================================== */
.formTable input[type="text"], .formTable input[type="tel"], .formTable input[type="email"], .formTable textarea {
  max-width: 100%;
  font-family: inherit;
  font-size: 1rem;
}
.formTable textarea {
  width: 100%;
  resize: vertical;
}
::placeholder {
  color: #c0c0c0;
}
/* ==================================================
   必須
================================================== */
.attention {
  display: inline-block;
  margin-left: 1rem;
  padding: 2px 5px;
  background-color: red;
  color: #fff;
  font-size: 0.8em;
  font-weight: normal;
}
/* ==================================================
   ボタン
================================================== */
.submit-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
}
.submit-button {
  display: inline-block;
  width: 140px;
  padding: 0.4rem 0.8rem;
  margin: 5px 0;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  color: #333;
  background-image:
    linear-gradient(to top, #d8d9db 0%, #fff 80%, #fdfdfd 100%);
  border: 1px solid #999;
  border-radius: 100vh;
  text-shadow: 0 1px #fff;
  box-shadow:
    0 2px 1px 1px #f9f9f9, 0 2px 3px #cecfd1, 0 -1px 1px #cecfd1, 0 -2px 1px #eee, inset 0 0 1px 1px #cecfd1;
  transition: 0.3s;
  cursor: pointer;
}
.submit-button:hover {
  opacity: 0.5;
  transform: translateY(2px);
}
/* ==================================================
   確認画面
================================================== */
.confirm-header {
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 2rem 1rem;
  background: #fff;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.confirm-header h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
}
.check {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
}
/* ----------------------------------
   確認内容
---------------------------------- */
#formWrap .formTable {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}
#formWrap .formTable th, #formWrap .formTable td {
  border: none;
  border-bottom: 1px solid #eeeeee;
  padding: 1rem 1.2rem;
  vertical-align: top;
}
#formWrap .formTable tr:last-child th, #formWrap .formTable tr:last-child td {
  border-bottom: none;
}
#formWrap .formTable th {
  width: 35%;
  background: #fafafa;
  color: #666;
  font-weight: 500;
  text-align: left;
}
#formWrap .formTable td {
  width: 65%;
  background: #fff;
  color: #333;
  line-height: 1.8;
  word-break: break-word;
}
/* ----------------------------------
   確認画面ボタン
---------------------------------- */
.confirm-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem;
}
.confirm-buttons .submit-button {
  width: 160px;
  margin: 0;
}
.confirm-buttons .submit-button:first-of-type {
  background: #444;
  color: #fff;
  border: 1px solid #444;
  text-shadow: none;
  box-shadow: none;
}
.confirm-buttons .submit-button:first-of-type:hover {
  background: #666;
  opacity: 1;
  transform: translateY(1px);
}
.confirm-buttons .submit-button:last-of-type {
  background: #fff;
  color: #555;
  border: 1px solid #ccc;
  text-shadow: none;
  box-shadow: none;
}
.confirm-buttons .submit-button:last-of-type:hover {
  background: #f7f7f7;
  opacity: 1;
  transform: translateY(1px);
}
/* ----------------------------------
   確認画面スマホ
---------------------------------- */
@media (max-width: 768px) {
  .confirm-header {
    margin-bottom: 1.2rem;
    padding: 1.5rem 1rem;
  }
  .confirm-header h1 {
    font-size: 1.5rem;
  }
  .check {
    margin-bottom: 1.2rem;
    padding: 0;
    text-align: left;
  }
  #formWrap .formTable {
    border-radius: 4px;
  }
  #formWrap .formTable th, #formWrap .formTable td {
    width: 100%;
    padding: 0.7rem 1rem;
  }
  #formWrap .formTable th {
    padding-bottom: 0.2rem;
    background: #fff;
    color: #777;
    font-size: 0.9rem;
  }
  #formWrap .formTable td {
    padding-top: 0.2rem;
    padding-bottom: 0.9rem;
    font-size: 0.95rem;
  }
  #formWrap .formTable tr {
    border-bottom: 1px solid #eeeeee;
  }
  #formWrap .formTable tr:last-child {
    border-bottom: none;
  }
  .confirm-buttons {
    flex-direction: column;
    gap: 8px;
    margin-top: 1.5rem;
  }
  .confirm-buttons .submit-button {
    width: 160px;
  }
}
/* ==================================================
   エラー
================================================== */
.error-box {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
}
.error-box h2 {
  margin-bottom: 1rem;
  font-family: "Noto Serif JP", serif;
  font-size: 1.4rem;
}
.error_messe {
  margin: 5px 0;
  color: red;
}
/* ==================================================
   注意書き
================================================== */
.note {
  color: red;
}
.letter {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}
/* ==================================================
   フッター
================================================== */
.footer {
  margin-top: 2rem;
}
.footer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.footer-container::before {
  content: "";
  display: block;
  height: 1px;
  background: #424242;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}
.footer-section {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 1.6rem 0;
  text-align: center;
  font-size: 16px;
}
.footer-section > a:hover, .footer-bottom > a:hover {
  opacity: 0.7;
}
.footer-bottom {
  padding: 8px 0 24px;
  color: #434343;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
}
/* ==================================================
   スマホ
================================================== */
@media (max-width: 768px) {
  .header {
    padding: 1rem 0.7rem;
  }
  .header h3 {
    font-size: 1rem;
  }
  .header h1 {
    font-size: 1.5rem;
  }
  .description {
    max-width: 90%;
    padding: 1rem 0;
  }
  .inner-description {
    padding: 1rem;
  }
  #formWrap {
    max-width: 100%;
    padding: 1rem 0;
  }
  /* ----------------------------------
     表をスマホでは縦積みにする
  ---------------------------------- */
  .formTable, .formTable tbody, .formTable tr, .formTable th, .formTable td {
    display: block;
    width: 100%;
  }
  .formTable {
    border: none;
  }
  .formTable th, .formTable td {
    border: none;
  }
  .formTable th {
    max-width: 100%;
    margin-top: 8px;
    padding: 5px 0;
    background-color: transparent;
  }
  .formTable td {
    padding: 0 0 10px;
  }
  /* ----------------------------------
     入力欄
  ---------------------------------- */
  .formTable input[type="text"], .formTable input[type="tel"], .formTable input[type="email"], .formTable textarea {
    width: 100%;
    margin: 0;
    padding: 8px;
  }
  .formTable textarea {
    min-height: 200px;
  }
  /* ----------------------------------
     ボタン
  ---------------------------------- */
  .submit-area, .confirm-buttons {
    flex-direction: column;
    gap: 4px;
  }
  .submit-button {
    width: 140px;
  }
  /* ----------------------------------
     確認画面
  ---------------------------------- */
  .confirm-header {
    padding: 1rem 0.7rem;
  }
  .confirm-header h1 {
    font-size: 1.5rem;
  }
  .check {
    text-align: left;
  }
  /* ----------------------------------
     注意書き
  ---------------------------------- */
  .letter {
    text-align: left;
  }
  /* ----------------------------------
     フッター
  ---------------------------------- */
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    margin: 1rem 0;
  }
}