/* Mid-fi Wireframe stylesheet — Desktop 1440px fixed
 * Colors: #E5E7EB (light gray), #9CA3AF (mid gray), #111827 (text), #FFFFFF (background)
 * Units: px only (no rem / vh / vw / %)
 * Font: system-ui / Noto Sans JP
 */

:root {
  --color-bg: #FFFFFF;
  --color-fill-light: #E5E7EB;
  --color-fill-mid: #9CA3AF;
  --color-text: #111827;
  --container-width: 1280px;
  --canvas-width: 1440px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: system-ui, "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

body {
  width: 1440px;
  margin: 0 auto;
}

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

.section {
  width: 1440px;
  padding: 96px 80px;
}

.container {
  width: 1280px;
  margin: 0 auto;
}

.section--alt {
  background: #F9FAFB;
}

/* Placeholders */
.ph-image {
  background: var(--color-fill-light);
  background-image: linear-gradient(135deg, #E5E7EB 25%, #F3F4F6 25%, #F3F4F6 50%, #E5E7EB 50%, #E5E7EB 75%, #F3F4F6 75%, #F3F4F6 100%);
  background-size: 24px 24px;
  border: 1px solid var(--color-fill-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-fill-mid);
  font-size: 14px;
}

.ph-icon {
  width: 40px;
  height: 40px;
  background: var(--color-fill-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text);
}

/* Typography */
.h1-hero {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.h1-page {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
}

.h2-section {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.h3-item {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
}

.subcopy {
  font-size: 20px;
  line-height: 1.6;
  color: #374151;
}

.body {
  font-size: 16px;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--color-text);
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn--secondary {
  background: var(--color-bg);
  color: var(--color-text);
}

.btn-group {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* ============ Sections ============ */

/* Nav */
.nav {
  width: 1440px;
  height: 72px;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-fill-light);
}
.nav__logo {
  width: 160px;
  height: 32px;
  background: var(--color-fill-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-fill-mid);
}
.nav__items {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav__cta {
  padding: 10px 24px;
  border: 1px solid var(--color-text);
  border-radius: 4px;
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero__copy { max-width: 560px; }
.hero__subcopy { margin-top: 24px; }
.hero__visual {
  width: 560px;
  height: 480px;
}

/* Page header */
.page-header {
  padding: 96px 80px;
  background: #F9FAFB;
}
.page-header__inner {
  width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.page-header__visual {
  width: 100%;
  height: 320px;
}

/* Intro */
.intro__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro__visual {
  width: 100%;
  height: 400px;
}

/* Feature 2col */
.feature-2col__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 40px;
}
.feature-2col__row--reverse {
  direction: rtl;
}
.feature-2col__row--reverse > * { direction: ltr; }
.feature-2col__visual {
  width: 100%;
  height: 360px;
}

/* Feature 3col */
.feature-3col__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.feature-3col__item {
  padding: 24px;
}

/* Benefit */
.benefit__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.benefit__item {
  display: flex;
  gap: 16px;
}

/* Gallery */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.gallery__item {
  width: 100%;
  height: 240px;
}

/* CTA */
.cta {
  background: #F9FAFB;
  text-align: center;
}
.cta__lead {
  margin: 16px auto 0;
  max-width: 640px;
}
.cta__buttons {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* FAQ */
.faq__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq__item {
  padding: 24px 32px;
  border: 1px solid var(--color-fill-light);
  border-radius: 4px;
}
.faq__question {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Newsletter */
.newsletter {
  background: #F9FAFB;
}
.newsletter__form {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  max-width: 480px;
}
.newsletter__input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-fill-mid);
  border-radius: 4px;
  font-size: 16px;
}

/* Contact form */
.contact-form__wrap {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 720px 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form__field {
  margin-bottom: 24px;
}
.contact-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-form__label--required::after {
  content: " *";
  color: #DC2626;
}
.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-fill-mid);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  background: var(--color-bg);
}
.contact-form__textarea {
  height: 160px;
  resize: vertical;
}

/* Contact info */
.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.contact-info__item {
  padding: 24px;
  border: 1px solid var(--color-fill-light);
  border-radius: 4px;
}
.contact-info__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-fill-mid);
  margin-bottom: 8px;
}

/* Location */
.location__map {
  width: 100%;
  height: 400px;
  margin-top: 40px;
}
.location__details {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Legal body */
.legal-body__section {
  margin-top: 40px;
}
.legal-body__heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Footer */
.footer {
  width: 1440px;
  padding: 64px 80px 32px;
  background: #111827;
  color: #F9FAFB;
}
.footer__grid {
  width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #F9FAFB;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.footer__copyright {
  width: 1280px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid #374151;
  font-size: 12px;
  color: #9CA3AF;
}

/* Index page */
.index {
  width: 1440px;
  padding: 64px 80px;
}
.index__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
}
.index__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.index__card {
  padding: 24px;
  border: 1px solid var(--color-fill-light);
  border-radius: 4px;
}
.index__card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
