:root {
  --main: #0f4c81;
  --submain: #1f6fb2;
  --accent: #eef5fb;
  --text: #222;
  --sub: #666;
  --line: #d8e2ec;
  --bg: #f7f9fc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.9;
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--main);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.site-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--main);
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
  border-bottom: 1px solid var(--line);
  padding: 76px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 2.6rem;
  line-height: 1.35;
  color: var(--main);
}

.hero p {
  margin: 0 0 20px;
  color: var(--sub);
  font-size: 1.04rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 76, 129, 0.1);
  background: #fff;
  object-fit: cover;
}

.button {
  display: inline-block;
  background: var(--main);
  color: #fff;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.button:hover {
  opacity: 0.92;
  text-decoration: none;
}

.button.sub {
  background: transparent;
  color: var(--main);
  border: 1px solid var(--main);
}

section {
  padding: 58px 0;
}

.section-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.04);
}

h1, h2, h3 {
  line-height: 1.5;
}

h1 {
  margin-top: 0;
}

h2 {
  margin: 0 0 22px;
  font-size: 1.75rem;
  color: var(--main);
}

h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: var(--main);
}

.lead {
  font-size: 1.05rem;
  color: #333;
}

.profile-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.policy-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.card p,
.section-box p,
.section-box li {
  color: #333;
}

.policy-number {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--submain);
  margin-bottom: 8px;
}

ul {
  margin: 0;
  padding-left: 1.2em;
}

.news-date {
  color: var(--sub);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.quote {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--accent);
  border-left: 4px solid var(--submain);
  border-radius: 10px;
  font-weight: 700;
  color: var(--main);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--main);
  display: block;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd9e4;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(31, 111, 178, 0.18);
  border-color: var(--submain);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.notice {
  font-size: 0.9rem;
  color: var(--sub);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 32px 0 50px;
  text-align: center;
  color: var(--sub);
  font-size: 0.92rem;
}

.small {
  font-size: 0.92rem;
  color: var(--sub);
}

.page-simple {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.simple-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.04);
  text-align: center;
}

.simple-box p {
  color: #333;
}

.policy-text p {
  margin-bottom: 1.1em;
}

.policy-text ul {
  margin-bottom: 1.1em;
}

@media (max-width: 900px) {
  .hero-grid,
  .profile-grid,
  .contact-grid,
  .policy-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 52px 0 42px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-box {
    padding: 24px;
  }

  .hero-photo {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 10px 14px;
  }

  .nav a {
    font-size: 0.92rem;
  }

  .site-title {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p,
  .lead {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  h2 {
    font-size: 1.45rem;
  }

  .section-box,
  .simple-box {
    padding: 20px;
  }
}
.hp-field {
  position: absolute !important;
  left: -5000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
