/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: #2c2c2c;
  line-height: 1.8;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Container ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a3a6b;
  letter-spacing: 0.04em;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav ul li a:hover {
  color: #1a3a6b;
  border-bottom-color: #1a3a6b;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 160px 24px;
  text-align: center;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a3a6b;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,58,107,0.80) 0%,
    rgba(37,99,176,0.70) 55%,
    rgba(10,30,60,0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  opacity: 0.88;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: #1a3a6b;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 40px;
  border-radius: 50px;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* ===== Section Common ===== */
.section {
  padding: 88px 0;
}

.section-alt {
  background: #f6f8fc;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #1a3a6b;
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  letter-spacing: 0.06em;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: #2563b0;
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ===== Company Table ===== */
.table-wrap {
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.975rem;
}

.company-table th,
.company-table td {
  padding: 20px 28px;
  border-bottom: 1px solid #e4e8f0;
  vertical-align: top;
  text-align: left;
}

.company-table th {
  width: 200px;
  color: #1a3a6b;
  font-weight: 700;
  background: #f0f4fa;
  white-space: nowrap;
}

.company-table tr:first-child th,
.company-table tr:first-child td {
  border-top: 2px solid #2563b0;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 2px solid #2563b0;
}

/* ===== 代表メッセージ ===== */
.message-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

.message-photo-wrap {
  position: sticky;
  top: 88px;
  text-align: center;
}

.message-photo {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  object-fit: cover;
  aspect-ratio: 5 / 6;
}

.message-photo-caption {
  margin-top: 14px;
  font-size: 0.875rem;
  color: #555;
  letter-spacing: 0.05em;
}

.message-text .section-title::after {
  margin: 12px 0 0;
}

.message-text p {
  font-size: 0.975rem;
  color: #444;
  line-height: 2;
  margin-bottom: 20px;
}

.message-sign {
  margin-top: 36px;
  font-size: 0.95rem;
  color: #333;
  border-top: 1px solid #d0d8e8;
  padding-top: 20px;
}

.message-sign strong {
  font-size: 1.2rem;
  color: #1a3a6b;
  display: block;
  margin-top: 4px;
  letter-spacing: 0.08em;
}

/* ===== フォトバナー ===== */
.photo-banner {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.photo-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.55);
}

.photo-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.photo-banner-text {
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  max-width: 700px;
  line-height: 1.7;
}

/* ===== Business Grid ===== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.business-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,58,107,0.15);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.business-card:hover .card-img {
  transform: scale(1.04);
}

.card-body {
  padding: 28px 28px 32px;
  border-top: 4px solid #2563b0;
}

.business-icon {
  width: 52px;
  height: 52px;
  background: #eef3fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #2563b0;
}

.business-icon svg {
  width: 28px;
  height: 28px;
}

.card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.card-body p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.9;
}

/* ===== Access ===== */
.access-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.access-address {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 20px;
  color: #333;
}

.access-list {
  list-style: none;
  font-size: 0.875rem;
  color: #666;
}

.access-list li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.access-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #2563b0;
  font-size: 0.5rem;
  top: 0.55em;
}

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.map-wrap iframe {
  display: block;
}

/* ===== Contact ===== */
.contact-inner {
  max-width: 680px;
}

.contact-lead {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  font-size: 0.975rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.required {
  background: #e53e3e;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-row input,
.form-row textarea {
  padding: 12px 16px;
  border: 1.5px solid #d0d8e8;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2c2c2c;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #2563b0;
  box-shadow: 0 0 0 3px rgba(37,99,176,0.12);
}

.contact-form .btn-primary {
  background: #2563b0;
  color: #fff;
  align-self: center;
  padding: 14px 56px;
}

.contact-form .btn-primary:hover {
  background: #1a3a6b;
}

/* ===== Footer ===== */
footer {
  background: #1a3a6b;
  color: rgba(255,255,255,0.85);
  padding: 48px 24px;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.footer-address {
  font-size: 0.85rem;
  margin-bottom: 16px;
  opacity: 0.75;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .message-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .message-photo-wrap {
    position: static;
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  nav ul {
    gap: 16px;
  }

  nav ul li a {
    font-size: 0.8rem;
  }

  .hero {
    padding: 100px 20px;
    min-height: 440px;
  }

  .section {
    padding: 64px 0;
  }

  .company-table th {
    width: 120px;
  }

  .access-inner {
    grid-template-columns: 1fr;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .photo-banner {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
    gap: 10px;
  }

  nav ul {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
