:root {
  --ink: #2b1e08;
  --paper: #f7f0d0;
  --matcha: #b89010;
  --soba: #c4a030;
  --dashi: #edd88a;
  --mountain: #4a3510;
  --accent: #9b5520;
  --gold: #c49a02;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Serif JP', serif; background: var(--paper); color: var(--ink); min-height: 100vh; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 40px; display: flex; justify-content: space-between; align-items: center;
  background: rgba(247,240,208,0.95); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  border-top: 3px solid var(--gold);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 300; letter-spacing: 0.2em; color: var(--ink); text-decoration: none; }
.nav-logo img { height: 32px; }
.nav-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: 1px solid rgba(26,18,8,0.25); color: var(--ink); text-decoration: none; font-size: 0.72rem; letter-spacing: 0.18em; transition: all 0.3s; }
.nav-back:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.nav-back svg { width: 14px; height: 14px; }

.contact-hero {
  padding: 140px 8vw 60px;
  background: linear-gradient(155deg, var(--ink) 0%, #4a3510 100%);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(196,154,2,0.25) 0%, transparent 60%);
}
.contact-hero img.logo { height: 56px; margin-bottom: 18px; position: relative; filter: brightness(0) invert(0.92) sepia(0.2) saturate(0.4) hue-rotate(10deg); }
.contact-hero .label { font-size: 0.95rem; letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; position: relative; }
.contact-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 300; letter-spacing: 0.1em; margin-bottom: 18px; position: relative; }
.contact-hero p { font-size: 0.92rem; line-height: 2; color: rgba(250,245,230,0.7); max-width: 560px; margin: 0 auto; position: relative; line-break: strict; }

.form-wrap {
  max-width: 720px; margin: -40px auto 80px;
  background: var(--paper);
  padding: 60px 56px;
  border: 1px solid rgba(196,154,2,0.25);
  position: relative;
  box-shadow: 0 24px 60px rgba(26,18,8,0.08);
}
.form-row { margin-bottom: 28px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
label { display: block; font-size: 0.74rem; letter-spacing: 0.22em; color: var(--soba); text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
label .req { color: var(--accent); margin-left: 4px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], input[type="number"], select, textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(26,18,8,0.18);
  font-family: inherit; font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
textarea { resize: vertical; min-height: 100px; }
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1208' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.notes {
  margin-top: 8px;
  padding: 18px 22px;
  background: rgba(196,154,2,0.08);
  border-left: 3px solid var(--gold);
  font-size: 0.78rem;
  line-height: 1.95;
  color: rgba(26,18,8,0.7);
}
.notes strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 6px; }

.submit {
  margin-top: 36px;
  width: 100%;
  padding: 20px;
  background: var(--gold);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.28em;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}
.submit:hover { background: var(--ink); color: var(--dashi); }

footer {
  background: var(--ink); color: rgba(250,245,230,0.5); padding: 32px 8vw;
  text-align: center; font-size: 0.72rem; letter-spacing: 0.15em;
}

#thankyou {
  display: none;
  text-align: center;
  padding: 80px 40px;
}
#thankyou.show { display: block; }
#thankyou svg { width: 56px; height: 56px; stroke: var(--gold); margin-bottom: 20px; }
#thankyou h2 { font-size: 1.8rem; font-weight: 300; letter-spacing: 0.1em; margin-bottom: 16px; }
#thankyou p { font-size: 0.92rem; line-height: 2; color: rgba(26,18,8,0.65); margin-bottom: 28px; }
#thankyou a { display: inline-block; padding: 14px 32px; background: var(--gold); color: #fff; text-decoration: none; font-size: 0.78rem; letter-spacing: 0.22em; transition: all 0.3s; font-weight: 500; }
#thankyou a:hover { background: var(--ink); color: var(--dashi); }

@media(max-width:700px){
  nav { padding: 12px 16px; }
  .nav-logo { font-size: 1rem; gap: 8px; letter-spacing: 0.1em; }
  .nav-logo img { height: 26px; }
  .nav-back { padding: 6px 12px; font-size: 0.66rem; letter-spacing: 0.12em; }
  .contact-hero { padding: 100px 6vw 44px; }
  .contact-hero img.logo { height: 44px; margin-bottom: 14px; }
  .contact-hero .label { font-size: 0.78rem; letter-spacing: 0.25em; margin-bottom: 12px; }
  .contact-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); margin-bottom: 14px; }
  .contact-hero p { font-size: 0.82rem; line-height: 1.9; }
  .form-wrap { margin: -28px 16px 56px; padding: 36px 22px; }
  .form-row { margin-bottom: 22px; }
  .form-row.two { grid-template-columns: 1fr; gap: 22px; }
  label { font-size: 0.68rem; letter-spacing: 0.18em; }
  input, select, textarea { padding: 12px 14px; font-size: 0.88rem; }
  .notes { padding: 14px 18px; font-size: 0.72rem; line-height: 1.85; }
  .submit { padding: 18px; font-size: 0.84rem; letter-spacing: 0.22em; margin-top: 28px; }
  #thankyou { padding: 60px 24px; }
  #thankyou h2 { font-size: 1.4rem; }
  #thankyou p { font-size: 0.84rem; }
}
