:root {
  --main: #5E1A2E;
  --accent: #8A2A44;
  --text: #2b2325;
  --tint: #f7f2f3;
  --line: #e3d8db;
  --gold: #C9A15F;
  /* ロゴの札と同じ、右下の角を切り落とした形 */
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

.inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.site-header {
  background: var(--main);
  color: #fff;
}
/* 見出しを語の途中で折り返さない */
.hero-title span { display: inline-block; }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo {
  display: block;
  line-height: 0;
}
.logo img {
  display: block;
  height: 32px;
  width: auto;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
}
.nav a:hover { text-decoration: underline; }

/* ヒーロー */
.hero {
  background: var(--main);
  color: #fff;
  padding: 56px 0 64px;
}
.hero-small {
  display: inline-block;
  margin: 0 0 16px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: #3a0f1c;
}
.hero-title {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.hero-text {
  margin: 0;
  max-width: 36em;
  font-size: 15px;
}

/* セクション */
.section { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-title {
  display: inline-block;
  margin: 0 0 28px;
  padding: 4px 26px 4px 14px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  background: var(--main);
  line-height: 1.4;
  clip-path: var(--cut);
  transform: rotate(-3deg);
  transform-origin: left center;
}
.lead { font-weight: 500; font-size: 17px; }
.note { font-size: 13px; color: #666; }

/* カード */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  position: relative;
  border: 2px solid var(--main);
  padding: 20px;
  background: #fff;
  clip-path: var(--cut);
}
/* 切り落とした角に金を差す */
.card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: var(--gold);
}
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; color: var(--main); }
.card p { margin: 0; font-size: 15px; }

/* 流れ */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-weight: 700;
  color: var(--accent);
}
.flow span:not(.arrow) {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px;
}

.list { padding-left: 1.4em; margin: 0 0 24px; }

/* ボタン */
.button {
  display: inline-block;
  background: var(--main);
  color: #fff;
  border: 0;
  padding: 12px 36px 12px 28px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  clip-path: var(--cut);
}
.button:hover { background: var(--accent); }

/* 表 */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.table th, .table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.table th {
  width: 7em;
  color: var(--main);
  white-space: nowrap;
  background: #fbf8f9;
}

/* フォーム */
.form { max-width: 640px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 15px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #c9bcc0;
  border-radius: 2px;
  background: #fff;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* フッター */
.site-footer {
  background: var(--main);
  color: #fff;
  padding: 24px 0;
  font-size: 14px;
}
.site-footer p { margin: 0; }

/* 迷惑送信よけの見えない欄 */
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* パソコン */
@media (min-width: 720px) {
  .hero { padding: 96px 0 104px; }
  .hero-title { font-size: 42px; }
  .hero-text { font-size: 17px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .nav a { font-size: 15px; }
  .logo img { height: 40px; }
  /* スマホでは上に残すとメニューが画面を大きく覆うので、パソコンだけ固定する */
  .site-header { position: sticky; top: 0; z-index: 10; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}
