/* chit-etto apply hub & forms shared style */
:root {
  --red: #C4071C;
  --red-dark: #a00616;
  --ink: #2F2F2F;
  --cream: #F6F0EC;
  --line: #e5dcd4;
  --muted: #8a7f78;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Montserrat, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.6rem; border-bottom: 1px solid var(--line); background: #fff;
}
.site-header .logo img { height: 28px; display: block; }
.site-header nav a { color: var(--ink); margin-left: 1.4rem; font-size: .88rem; font-weight: 500; font-family: Montserrat, sans-serif; letter-spacing: .05em; }
.site-header nav a:hover { color: var(--red); text-decoration: none; }

.hero { background: var(--cream); padding: 3.5rem 1.8rem 3rem; }
.hero-inner { max-width: 920px; margin: 0 auto; }
.hero h1 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  color: var(--red); font-weight: 600; letter-spacing: .02em;
  margin: 0; line-height: 1.05;
}
.hero .subtitle { font-size: .95rem; color: var(--ink); margin: .8rem 0 0; font-weight: 500; }
.hero .lead { max-width: 640px; margin: 1rem 0 0; font-size: .95rem; color: var(--ink); }

.content { max-width: 920px; margin: 0 auto; padding: 2.8rem 1.8rem 5rem; }
.content h2 {
  font-size: 1.15rem; margin: 2.5rem 0 1rem; font-weight: 600;
  border-left: 4px solid var(--red); padding-left: .8rem;
}
.content h2:first-child { margin-top: 0; }
.content p { margin: .6rem 0; }

.cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; gap: 1.2rem; } }
.card {
  display: block; padding: 1.8rem 1.8rem; background: #fff;
  border: 1px solid var(--line); border-radius: 6px; color: var(--ink);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--red); box-shadow: 0 6px 20px rgba(196,7,28,.08); text-decoration: none; }
.card .en { font-family: Montserrat, sans-serif; font-size: .78rem; color: var(--red); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: .4rem; }
.card .title { font-size: 1.1rem; font-weight: 600; margin: .1rem 0 .5rem; color: var(--ink); }
.card .desc { font-size: .9rem; color: var(--muted); line-height: 1.65; margin: 0; }
.card .arrow { color: var(--red); margin-top: 1rem; font-weight: 500; font-size: .9rem; display: inline-block; }

form { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.field { display: block; }
.field > .label { display: block; margin-bottom: .35rem; font-weight: 500; font-size: .95rem; }
.field > .label .required { color: var(--red); font-size: .8em; margin-left: .3em; }
.field > .help { color: var(--muted); font-size: .85rem; margin-bottom: .35rem; display: block; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=month], textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 4px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
  box-sizing: border-box;
}
input:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { min-height: 6em; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 4px; padding: .9rem 1.2rem; margin: 0; }
fieldset legend { padding: 0 .4rem; font-size: .95rem; font-weight: 500; }
fieldset legend .required { color: var(--red); font-size: .8em; margin-left: .3em; }
fieldset label { display: flex; align-items: flex-start; gap: .5rem; padding: .3rem 0; cursor: pointer; font-size: .95rem; }
fieldset label input { margin-top: .35em; flex-shrink: 0; }

button[type=submit] {
  padding: 1rem 2rem; background: var(--red); color: #fff;
  border: 0; border-radius: 4px; font-size: 1rem; font-family: inherit; font-weight: 500;
  cursor: pointer; margin-top: 1rem; letter-spacing: .05em;
}
button[type=submit]:hover { background: var(--red-dark); }
button[type=submit]:disabled { background: #ccc; cursor: not-allowed; }

.notice { font-size: .95rem; background: #fff8e1; padding: .9rem 1.2rem; border-radius: 4px; border-left: 3px solid #f90; margin: 1rem 0; }
.notice ul { margin: .4rem 0 .4rem 1.2rem; padding: 0; }
.terms-notice { font-size: .9rem; background: var(--cream); padding: 1rem 1.2rem; border-radius: 4px; }
.terms-notice ul { margin: .4rem 0 .4rem 1.2rem; padding: 0; }

[data-42ws-error], [data-42ws-success] { padding: .8rem 1rem; border-radius: 4px; }
[data-42ws-success]:not([hidden]) { background: #e8f5e9; color: #2e7d32; }
[data-42ws-error]:not([hidden]) { background: #fde8ec; color: var(--red); }

.lead-box { font-size: .95rem; background: var(--cream); padding: 1rem 1.2rem; border-radius: 4px; margin: 1rem 0; }

.plan-card { background: var(--cream); padding: 1rem 1.2rem; border-radius: 6px; margin: 1.2rem 0; }
.plan-name { font-size: 1.1rem; font-weight: 600; }
.plan-price { font-size: 1.3rem; font-weight: 700; color: var(--red); margin-top: .3rem; font-family: Montserrat, sans-serif; }
.plan-start { color: var(--ink); margin-top: .4rem; font-weight: 500; }

.site-footer {
  border-top: 1px solid var(--line); padding: 2rem 1.8rem; text-align: center;
  font-size: .85rem; color: var(--muted); margin-top: 3rem;
}
.site-footer a { color: var(--red); }
