/* =========================
   Base
========================= */
:root{
  --text: #0f172a;
  --muted: #475569;
  --white: #ffffff;
  --line: rgba(15, 23, 42, .12);
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --bg: #f8fafc;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.wrap{
  width: min(1120px, 94vw);
  margin: 0 auto;
}

/* =========================
   Top Nav (shared)
========================= */
.topnav{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 0;
  z-index: 10;
}

.topnav__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
/* ====== ナビ：リンクをアウトライン統一 ====== */
.topnav__links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.50);
  background: transparent;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
}


/* CTA（共通：形だけ） */
.topnav__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  border: 2px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}

/* ナビの中だけ：薄い青＋青枠＋黒字 */
.topnav .topnav__cta{
  background: rgba(56, 189, 248, .18);
  color: #334155;
  border-color: rgba(56, 189, 248, .60);
}

.topnav .topnav__cta:hover{
  background: rgba(56, 189, 248, .28);
  border-color: rgba(56, 189, 248, .80);
}

/* index下の「お問い合わせ」用（白背景に戻す保険） */
.contact__cta .topnav__cta{
  background: #fff;
  color: #111;
  border-color: #e5e7eb;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.brand__logo {
  display: block;
  height: 40px;   /* 好みで調整 */
  width: auto;
}

.brand__name {
  position: relative;
  top: 1px;
}

.topnav__links{
  display: flex;
  align-items: center;
  gap: 14px;
}

.topnav__links a{
  color: rgba(255,255,255,.95);
  text-decoration: none;
  font-weight: 600;
}

/* =========================
   Hero (index)
========================= */
.hero{
  position: relative;
  min-height: min(62vh, 560px);
  display: grid;
  place-items: center;
  padding: 56px 0;
  background-image: url("images/background.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
}

.hero__inner{
  position: relative;
  width: min(980px, 92vw);
  z-index: 1;
  text-align: center;   /* hero内のテキストをまとめて中央 */

}

.hero p{
  font-size: 1.2rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

/* ===== Hero copy：高級感チューニング ===== */
.hero__lead{
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.9;              /* 行間をゆったり */
  letter-spacing: .04em;         /* ほんの少し字間 */
  max-width: 42ch;               /* 行長を短めに */
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
}


/* =========================
   Buttons
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn--primary{
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--ghost{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}

.btn--wide{
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
}

/* =========================
   Sections (index)
========================= */
.section{
  padding: 60px 0;
}

section h2{
  text-align: center;
  margin-bottom: 24px;
}

section ul{
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  max-width: 520px;
}

section li{
  padding: 8px 0;
  text-align: center;
}

section + section{
  border-top: 1px solid #e5e7eb;
}

/* =========================
   Footer
========================= */
.footer{
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer__inner{
  padding: 18px 0;
  color: var(--muted);
}

/* =========================
   Contact Page (背景写真 + 中央白カード)
========================= */


.contact-hero{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 0 60px;
  position: relative;

  background-color: #0b0f14;             
  background-image: url("images/background.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.contact-hero{
  position: relative;
  z-index: 0;
}

.contact-hero::before{
  display: none;
}

.contact-card{
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 40px 38px 34px;
  box-shadow:
    0 30px 70px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.25);
}

.contact-title{
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(26px, 3.3vw, 36px);
}

.contact-lead{
  margin: 0 0 24px;
  text-align: center;
  color: var(--muted);
}

.contact__cta {
  text-align: center;
  margin-top: 40px; 
}
/* === Contact Form (カード内) === */
.formgrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
}

.field--full{ grid-column: 1 / -1; }

/* 目的（ラジオ） */
.choicegrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 12px;
  background: #f3f4f6;
  border: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  user-select: none;
}

.choice input{
  transform: scale(1.1);
}

.choice:hover{
  background: #eef2f7;
}

@media (max-width: 860px){
  .choicegrid{ grid-template-columns: 1fr; }
}

.field__head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.field__label{
  font-weight: 700;
  color: var(--text);
}

.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.badge--req{
  background: #e11;
  color: #fff;
}

.field__input,
.field__textarea{
  width: 100%;
  background: #f3f4f6;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  outline: none;
}

.field__textarea{
  min-height: 240px; /* 希望：しっかり書ける */
  line-height: 1.7;
  resize: vertical;
}

.field__input:focus,
.field__textarea:focus{
  background: #fff;
  border-color: rgba(0,0,0,.18);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

.field__help{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.noticebox{
  background: #f6f6f6;
  border-radius: 12px;
  padding: 14px 16px;
}

.noticebox__text{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.actions{
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

/* ハニーポット */
.hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================
   Responsive
========================= */
@media (max-width: 860px){
  .contact-card{ padding: 28px 18px 22px; }
  .formgrid{ grid-template-columns: 1fr; }
}


