﻿:root{
  --navy:#07304c;
  --ink:#142332;
  --muted:#5f6f7b;
  --line:#d7e7ef;
  --blue:#0878b8;
  --blue-dark:#075f93;
  --cyan:#22b8d8;
  --accent:#ffb84d;
  --accent2:#ffd36b;
  --red:#d85b4a;
  --green:#21886f;
  --shadow:0 22px 52px rgba(7,48,76,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","Yu Gothic","Meiryo",sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 8% 2%,rgba(34,184,216,.10),transparent 26%),
    radial-gradient(circle at 90% 7%,rgba(255,184,77,.12),transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f5fbff 100%);
  line-height:1.78;
  letter-spacing:.012em;
}
a{color:inherit}
.container{width:min(960px,calc(100% - 40px));margin:0 auto}
.topbar{
  background:linear-gradient(90deg,#ffffff 0%,#f0faff 55%,#fff7e8 100%);
  color:#21455f;
  border-bottom:1px solid rgba(8,120,184,.14);
}
.topbar .container{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  font-size:13px;
}
.topbar strong{color:var(--blue-dark)}
.hero{
  padding:62px 0 36px;
  background:
    radial-gradient(circle at 86% 15%,rgba(34,184,216,.20),transparent 28%),
    radial-gradient(circle at 8% 78%,rgba(255,184,77,.20),transparent 34%),
    linear-gradient(135deg,#f2fbff 0%,#ffffff 52%,#fff7e6 100%);
  border-bottom:1px solid rgba(8,120,184,.12);
}
.back-link{
  display:inline-flex;
  margin-bottom:18px;
  color:var(--blue-dark);
  font-size:14px;
  font-weight:900;
  text-decoration:none;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--blue-dark);
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:13px;
}
.eyebrow:before{
  content:"";
  width:34px;
  height:2px;
  background:linear-gradient(90deg,var(--accent),var(--cyan));
  border-radius:999px;
}
h1{
  margin:0 0 16px;
  color:var(--navy);
  font-size:clamp(31px,4vw,48px);
  line-height:1.25;
  letter-spacing:-.04em;
}
.lead{
  max-width:820px;
  margin:0;
  color:#4f6574;
  font-size:16px;
}
.form-section{padding:34px 0 72px}
.contact-form{
  background:#fff;
  border:1px solid rgba(8,120,184,.16);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.form-field{
  display:grid;
  gap:8px;
}
.form-field-full{grid-column:1 / -1}
.message-layout{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:18px;
  align-items:stretch;
}
.message-layout textarea{
  height:100%;
  min-height:360px;
}
.contact-guide-card{
  height:100%;
  border:1px solid rgba(8,120,184,.16);
  border-radius:20px;
  padding:20px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fcff 100%);
  box-shadow:0 12px 28px rgba(8,120,184,.075);
}
.contact-guide-card h2{
  margin:0 0 12px;
  color:var(--navy);
  font-size:18px;
  line-height:1.45;
}
.guide-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.guide-list li{
  position:relative;
  padding-left:28px;
  color:#35495a;
  font-size:14px;
  line-height:1.7;
}
.guide-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--green);
  font-weight:900;
}
.guide-note{
  margin-top:16px;
  padding:13px 15px;
  border:1px solid #f0d89d;
  border-radius:14px;
  background:#fff8e6;
  color:#5b6872;
  font-size:13px;
  line-height:1.7;
}
.form-field label,
.privacy-check{
  color:#17344a;
  font-weight:900;
  font-size:14px;
  line-height:1.5;
}
.required-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  background:#fff0eb;
  color:var(--red);
  font-size:12px;
  font-weight:900;
}
.contact-form input,
.contact-form textarea{
  width:100%;
  border:1px solid #c7dce7;
  border-radius:12px;
  padding:13px 14px;
  color:var(--ink);
  background:#fafdff;
  font:inherit;
  line-height:1.45;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.contact-form textarea{
  min-height:160px;
  resize:vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--cyan);
  background:#fff;
  box-shadow:0 0 0 4px rgba(34,184,216,.16);
}
.contact-form input[type="file"]{
  padding:11px 14px;
  background:#fff;
}
.postal-row{
  display:flex;
  gap:10px;
  align-items:stretch;
}
.postal-row input{flex:1 1 auto}
.postal-search-btn{
  flex:0 0 auto;
  min-height:48px;
  padding:0 18px;
  border:1px solid #9bcfe2;
  border-radius:12px;
  background:#ffffff;
  color:var(--blue-dark);
  cursor:pointer;
  font:inherit;
  font-size:14px;
  font-weight:900;
  line-height:1.2;
  box-shadow:0 8px 18px rgba(8,120,184,.08);
}
.postal-search-btn:hover{
  border-color:var(--cyan);
  background:#f2fbff;
}
.form-help{
  margin:0;
  color:#5d7180;
  font-size:13px;
  line-height:1.65;
}
.attachment-note{
  margin:4px 0 0;
  padding:14px 16px;
  border:1px solid #f0d89d;
  border-radius:14px;
  background:#fff8e6;
  color:#4d6170;
  font-size:14px;
  line-height:1.7;
}
.attachment-note strong{color:#9a5b00}
.attachment-note a{
  color:var(--blue-dark);
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:3px;
}
.privacy-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:6px;
  color:#334b5d;
  font-weight:700;
}
.privacy-check input{
  width:18px;
  height:18px;
  margin-top:3px;
  flex:0 0 auto;
}
.privacy-block{
  display:grid;
  gap:8px;
}
.privacy-note{
  margin:0 0 0 28px;
  color:#334b5d;
  font-size:14px;
  line-height:1.7;
}
.privacy-note a{
  color:var(--blue-dark);
  text-decoration:underline;
  text-underline-offset:4px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:15px 28px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,#ffb13d 0%,#ffd56b 100%);
  color:#142332;
  box-shadow:0 16px 30px rgba(255,184,77,.32), inset 0 1px 0 rgba(255,255,255,.52);
  cursor:pointer;
  font:inherit;
  font-weight:900;
  line-height:1.2;
  text-decoration:none;
}
.contact-submit-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  margin-top:22px;
}
.form-status{
  margin:0;
  color:#627684;
  font-size:13px;
}
.footer-note{
  background:#eef8fd;
  color:#526875;
  padding:24px 0;
  border-top:1px solid rgba(8,120,184,.12);
  font-size:13px;
}
@media(max-width:640px){
  .container{width:min(100% - 28px,960px)}
  .topbar .container{align-items:flex-start;flex-direction:column;gap:2px;padding:8px 0}
  .hero{padding:42px 0 28px}
  .form-section{padding:24px 0 52px}
  .contact-form{padding:20px;border-radius:20px}
  .form-grid{grid-template-columns:1fr}
  .message-layout{grid-template-columns:1fr}
  .message-layout textarea{
    height:auto;
    min-height:360px;
  }
  .postal-row{flex-direction:column}
  .postal-search-btn{width:100%}
  .form-field-full{grid-column:auto}
  .contact-submit-row{align-items:stretch}
  .btn{width:100%}
}

