/* =====================
   ベース
===================== */
*, ::after, ::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

a {
  transition: .3s all ease;
  text-decoration: none;
}

/* =====================
   コンテナ
===================== */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
  /* display: flex; */
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* =====================
   ヒーロー
===================== */
.site-blocks-cover {
  background: url("../img/sougentop.png") center/cover no-repeat;
  position: relative;
  padding: 100px 20px;
  display: flex;
  align-items: center;
}

.site-blocks-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.site-blocks-cover .container {
  position: relative;
}

.site-blocks-cover h1 {
  color: #fff;
  font-size: 42px;
  font-weight: normal;
  letter-spacing: 4px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 768px) {
  .site-blocks-cover { padding: 60px 20px; }
  .site-blocks-cover h1 { font-size: 28px; }
}

/* =====================
   セクション
===================== */
.site-section {
  padding: 60px 0;
}

/* =====================
   フォーム全体
===================== */
.contact {
  max-width: 800px;
  margin: 0 auto;
}

.contact > form > p {
  font-size: 15px;
  margin-bottom: 24px;
  color: #555;
  line-height: 2;
}

.red {
  color: #e74c3c;
  font-weight: bold;
}

.small {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

/* =====================
   テーブル
===================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

table th {
  background: #f0ede6;
  color: #5b2a78;
  font-weight: bold;
  padding: 12px 16px;
  border: 1px solid #ddd;
  width: 35%;
  vertical-align: top;
  font-size: 14px;
}

table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.8;
}

table tr th[colspan="2"] {
  background: linear-gradient(135deg, #5b2a78, #7b3a98);
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  border-radius: 0;
}

/* チェックボックス・ラジオ */
input[type="checkbox"],
input[type="radio"] {
  margin-right: 8px;
  accent-color: #5b2a78;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

/* =====================
   入力フィールド
===================== */
.inp_wide,
input[type="text"],
textarea,
select {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color .3s;
  outline: none;
  color: #333;
}

.inp_wide {
  width: 100%;
  max-width: 400px;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
  border-color: #5b2a78;
  box-shadow: 0 0 0 3px rgba(91,42,120,0.1);
}

textarea {
  width: 100%;
  max-width: 500px;
  resize: vertical;
}

select {
  padding: 6px 10px;
  background: #fff;
}

/* =====================
   ボタン
===================== */
.btn {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  padding: 12px 40px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 50px;
  transition: .3s;
  cursor: pointer;
  border: none;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(45deg, #f7c35f, #f06d6d);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

input[type="submit"].btn-primary,
input[type="reset"].btn-primary {
  appearance: none;
  -webkit-appearance: none;
}

/* 送信ボタンエリア */
.c {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* =====================
   フェードイン
===================== */
.fade-in-bottom {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1s ease, transform 2s ease;
}

.fade-in-bottom.active {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   ページトップ
===================== */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #5b2a78;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: .3s;
  z-index: 999;
}

#page-top:hover {
  transform: translateY(-4px);
  background: #7b3a98;
}

.thank {
  margin: 50px auto;
  text-align: center;
  line-height: 2.4;
  color: #5b2a78;
}

/* =====================
   スマホ対応
===================== */
@media (max-width: 768px) {
  table th,
  table td {
    display: block;
    width: 100%;
  }

  table tr th[colspan="2"] {
    display: table-cell;
  }

  .inp_wide {
    max-width: 100%;
  }

  textarea {
    max-width: 100%;
  }

  .c {
    flex-direction: column;
    align-items: center;
  }
  }