/* Contact page styles: background matches /index, box is slightly lighter */
@font-face {
  font-family: 'SmartFontUI';
  src: url('../assets/fonts/SmartFontUI.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  padding: 24px;
  background-color: #eadfca; /* match index page background */
  font-family: 'SmartFontUI', system-ui, -apple-system, 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  color: #494949;
}

h1 {
  text-align: center;
  margin-top: 18px;
  font-size: 28px;
}

.contact-box {
  max-width: 760px;
  margin: 28px auto;
  background-color: #f6efe4; /* slightly lighter than page background */
  border-radius: 12px;
  padding: 30px 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  text-align: left;
}

.contact-line { margin: 12px 0; font-size: 16px; }
.contact-line a { color: #5283c0; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }

.back-btn { display: inline-block; padding: 10px 18px; background: #4477cc; color: #fff; text-decoration: none; border-radius: 6px; }

@media (max-width: 520px) {
  .contact-box { padding: 20px; margin: 18px; }
  h1 { font-size: 22px; }
}

.nav-button {
  margin-top: 40px;
  padding: 10px 22px;
  font-size: 16px;
  display: inline-block;
  /* ① 角を極限まで丸く */
  border-radius: 9999px;
  /* ② 粗めの点線、③ 枠線を太く */
  border: 3px dotted #494949;
  /* Fill: slightly translucent version of the page background */
  background: #f6efe4;
  color: inherit;
}

/* Ensure nav-button links on contact page never show an underline */
.nav-button, .nav-button:visited, .nav-button:hover, .nav-button:focus {
  text-decoration: none;
}