@charset "UTF-8";

/* =========================
   基本設定
========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #292725;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* =========================
   リンク設定
========================= */
a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid #397a9a;
  outline-offset: 5px;
}

/* =========================
   ロゴ
========================= */
.site-logo {
  display: block;
  width: 94%;
  max-width: 1400px;
  margin: 15px auto 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* =========================
   ヘッダー・ナビゲーション
========================= */
.site-header {
  width: 94%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.global-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 15px;
}

.global-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #397a9a;
  transition: width 0.25s ease;
}

.global-nav a:hover {
  color: #397a9a;
}

.global-nav a:hover::after {
  width: 100%;
}

.global-nav span {
  font-size: 14px;
}

/* =========================
   メインエリア
========================= */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* =========================
   お問い合わせメッセージ
========================= */
.intro-note {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 70px 0;
  text-align: center;
  font-family: "ta-koigokoro", "TA恋心", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.handwriting {
  margin: 0;
}

/* =========================
   フッター
========================= */
.site-footer {
  padding: 30px 5%;
  border-top: 1px solid #292725;
  text-align: center;
  font-size: 12px;
}

.back-top {
  display: inline-block;
  margin-bottom: 12px;
  color: #77716c;
  letter-spacing: 0.14em;
  transition: color 0.25s ease;
}

.back-top:hover {
  color: #397a9a;
}

.site-footer p {
  margin: 0;
}

/* =========================
   タブレット対応
========================= */
@media (max-width: 900px) {
  .site-header {
    padding: 15px 0 20px;
  }

  .global-nav {
    gap: 12px 18px;
  }

  .intro-note {
    width: 90%;
  }
}

/* =========================
   スマートフォン対応
========================= */
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .site-logo {
    width: 90%;
    font-size: 16px;
  }

  .site-header {
    width: 90%;
    justify-content: center;
    padding: 15px 0 20px;
  }

  .global-nav {
    justify-content: center;
    gap: 8px 13px;
    font-size: 12px;
  }

  .global-nav span {
    font-size: 10px;
  }

  .intro-note {
    width: 88%;
    padding: 45px 0;
    font-size: clamp(18px, 4.8vw, 24px);
    line-height: 2;
  }

  .site-footer {
    padding: 25px 5%;
  }
}

/* =========================
   動きを控えたい端末への配慮
========================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .global-nav a,
  .global-nav a::after,
  .back-top {
    transition: none;
  }
}
```