/* -------------------------------------------------------------------
   JAMSTORE | WEB  —  Base Styles (aligned project cards)
------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;800&family=Noto+Sans+JP:wght@400;500;600;700;800;900&family=Zen+Kaku+Gothic+New:wght@300;900&display=swap');

:root {
  --bg: #EDF4FD;
  --text: #000000;
  --subtext: #555555;
  --accent: #FFD94E;
  --max-width: 980px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }

/* -------------------------------------------------------------------
   Hero
------------------------------------------------------------------- */
.hero { text-align: center; padding: 120px 20px 80px; }
.hero h1 {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.1;
}
.tagline {
  margin: 1rem 0 4rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--subtext);
}
.logo img { width: 80px; height: auto; }
.logo figcaption {
  margin-top: 0.5rem;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 0.875rem;
  color: var(--subtext);
}
@media (min-width: 1024px) {
  .hero h1        { font-size: 7.5rem; }
  .hero .tagline  { font-size: 1.25rem; }
  .hero .logo figcaption { font-size: 1.25rem; }
}

/* -------------------------------------------------------------------
   Generic Sections
------------------------------------------------------------------- */
.section { max-width: var(--max-width); margin: 0 auto; padding: 80px 20px; text-align: center; }
.section-title { margin: 0; }
.section-title.en {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 300; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--subtext); text-transform: uppercase; }
.section-title.jp, .section-subtitle.jp { font-size: 1.75rem; font-weight: 700; margin: 0.5rem 0 2rem; }
.section-subtitle.jp { color: var(--text); }
@media (min-width: 1024px) {
  .section-title, .section-subtitle.jp { text-align: center; }
  .section-title.en { font-size: 1.5625rem; }
  .section-title.jp { font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; font-weight: 900; font-size: 3.125rem; }
  #our-project .section-subtitle.jp, .section-title.jp#connect, .section-title.jp#walk { font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; font-weight: 900; font-size: 3.125rem; }
  #service .section-subtitle.jp, #strength .section-subtitle.jp { font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; font-weight: 900; font-size: 1.875rem; }
  .about-title { font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; font-weight: 900; font-size: 1.5625rem; }
}

/* -------------------------------------------------------------------
   Our Project Section (height sync & center)
------------------------------------------------------------------- */
.project-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
  justify-content: center; justify-items: center;
  grid-auto-rows: 1fr;
}

.project-card {
  display: flex; flex-direction: column; align-items: center;
  max-width: 320px; width: 100%; height: 100%; text-align: center;
}

.project-card img {
  width: 100%; height: 220px; object-fit: contain; margin-bottom: 24px;
}

.project-card h4 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.location { font-family: "Noto Sans JP", sans-serif; font-weight: 400; font-size: 1rem; line-height: 1.4; }
.location .en { font-size: 0.75rem; letter-spacing: 0.05em; }
.desc { font-family: "Noto Sans JP", sans-serif; font-weight: 400; font-size: 1rem; color: var(--subtext); }

/* -------------------------------------------------------------------
   Image Blocks (Connect / Walk)
------------------------------------------------------------------- */
.image-block { max-width: 480px; margin: 0 auto; text-align: center; }
.image-block img { border-radius: 12px; display: block; margin: 0 auto; }

/* -------------------------------------------------------------------
   Grid Cards (Service / Strength)
------------------------------------------------------------------- */
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin: 2rem auto 0; justify-content: center; }
.card { background: transparent; padding: 24px 20px; border-radius: 16px; box-shadow: none; text-align: left; }
.card p { margin: 0; font-family: "Noto Sans JP", sans-serif; font-weight: 400; font-size: 1rem; color: var(--subtext); }

/* -------------------------------------------------------------------
   About Section
------------------------------------------------------------------- */
.about-block { max-width: 640px; margin: 2rem auto; }
.about-title { font-size: 1rem; font-weight: 900; letter-spacing: 0.1em; margin-bottom: 0.5rem; color: var(--subtext); text-transform: uppercase; }
.about-block p { text-align: left; font-family: "Noto Sans JP", sans-serif; font-weight: 400; font-size: 1rem; }

/* -------------------------------------------------------------------
   Paragraphs default
------------------------------------------------------------------- */
.section p { font-family: "Noto Sans JP", sans-serif; font-weight: 400; font-size: 1rem; }

/* -------------------------------------------------------------------
   Footer (dark band) 追加スタイル
------------------------------------------------------------------- */
.footer {
  background: #262626;
  color: #fff;
  font-size: 0.875rem;
  text-align: center;
  padding: 40px 20px;
}
@media (min-width: 1024px) {
  .footer { height: 150px; padding: 0; display: flex; align-items: center; justify-content: center; }
}

/* -------------------------------------------------------------------
   Responsive Tweaks + Mobile Dividers
------------------------------------------------------------------- */
@media (max-width: 600px) {
  .hero { padding: 80px 20px 60px; }
  .section { padding: 60px 20px; }
  .grid-4 { grid-template-columns: 1fr; margin: 2rem auto 0; justify-content: center; }
  #our-project .section-subtitle.jp { font-size: 2rem; }
  #service .section-subtitle.jp, #strength .section-subtitle.jp { font-size: 1.5rem; }
  .project-cards { grid-template-columns: 1fr; }
  .project-card img { height: 180px; }

  /* --- Mobile-only section divider lines --- */
  .section-title.en { position: relative; }
  .section-title.en::before {
    content:""; position:absolute; left:0; right:0; top:-1.4rem; height:1px; background:#000;
  }

  /* 点線：地域とつながる／あゆむ */
  #connect .section-title.jp, #walk .section-title.jp { position: relative; }
  #connect .section-title.jp::before, #walk .section-title.jp::before {
    content:""; position:absolute; left:50%; transform:translateX(-50%);
    width:90%; top:-1.4rem; height:1px;
    background-image:repeating-linear-gradient(90deg,#000 0 3px,transparent 3px 6px);
  }
}
