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

html, body {
  width: 100%;
  height: 100%;
  background: #007acc;
  font-family: system-ui, sans-serif;
  color: #fff;
}

/* =========================
   Header
========================= */

.site-header {
  width: 100%;
  text-align: center;
  padding: 16px 0;
}

.site-title img {
  display: block;
  margin: 0 auto;
  max-width: 200px;
}

.nav { display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
  }
}


/* =========================
   Hero（フル画面画像）
========================= */

.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-inner {
  padding: 24px;  /* ← 上下左右の余白 */
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
}


/* =========================
   Footer
========================= */
.footer { text-align: center; padding: 24px 0 32px; font-size: 12px; }
.footer-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links div { text-align: center; }
.footer-links a { color: #fff; text-decoration: none; min-width: 72px; padding: 4px 0; display: block; }
.footer-links a:hover { opacity: 0.8; }

.copyright { opacity: 0.7; }



/* =========================
   black-bar
========================= */
.black-bar {
  background: black;
  color: white;
  text-align: left;       /* ← 左寄せ */
  padding: 16px 16px;     /* 左右に余白を入れて文字が端にくっつかないように */
  border-radius: 0;
  overflow: hidden;
}

.black-bar .page-title {
  font-size: 32px;
  font-weight: bold;
  margin: 5px 0 5px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}


/* =========================
   Parts Page
========================= */

.parts {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* price */
.part-price {
  margin-top: 8px;
  font-size: 15px;
  font-weight: bold;
  color: rgb(217, 0, 0);
}

/* title */
.page-title {
  text-align: center;
  margin-bottom: 12px;
}

/* lead text */
.page-lead {
  margin-top: 40px; 
  margin-bottom: 30px;
  text-align: center;
}

.parts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .parts-list {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* item */
.part-item {
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

/* image */
.part-item img {
  width: 100%;
  height: auto;
  max-width: 220px;
  margin: 0 auto 12px;
  display: block;
}

/* name */
.part-item h3 {
  margin-bottom: 8px;
}

/* description */
.part-item p {
  line-height: 1.5;
}

/* img two */
.part-images.two {
  display: flex;
  gap: 0px; /* 画像の隙間。お好みで */
}

.part-images.two img {
  width: 50%;
  height: auto;
}

/* part text */

.part-note {
  text-align: center;
  margin: 25px 0;
}


/* =========================
   Stock Empty
========================= */
.stock-empty {
  min-height: 60vh;
}

.stock-message {
  text-align: center;
  margin-bottom: 16px;
}

.stock-message a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}


/* =========================
   team
========================= */
.team-top img {
  width: 100%;
  height: auto;
  display: block;
}

.team-member-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.team {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

.team-member-photo {
  width: 200px;
  text-align: center;
  flex-shrink: 0;
}

.team-member-photo img {
  width: 100%;
  height: auto;
}

.team-member-rank {
  margin-top: 6px;
  color: rgb(217, 0, 0);
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.team-member-besttime {
  margin-top: 8px;
  font-weight: 600;
  color: #007acc; /* 読みやすい青 */
}

.team-member {
  display: flex;
  gap: 35px;
  padding: 16px;
  background: #fff;
  color: #000;
  border-radius: 0 0 8px 8px;
  margin-bottom: 30px;
}

.team-member img {
  width: 220px;
  height: auto;
  flex-shrink: 0;
}

.team-member-text {
  flex: 1;
}

.team-member-desc {
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 25px;
}

.team-member-title {
  font-weight: bold;
  text-align: center;
  margin-top: 45px;
  margin-bottom: 40px;
}


/* スマホ */
@media (max-width: 360px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-member img {
    width: 160px;
  }

  .team-member-text {
    width: 100%;
  }

  .team-member-photo {
    width: 240px;
  }
}


/* =========================
   Information
========================= */
.information {
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
}

.information-lead {
  margin: 80px auto;
  margin-bottom: 30px;
  text-align: center;
}

.shop-data {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 12px;
  margin-bottom: 40px;
}

.shop-data dt {
  font-weight: bold;
}

.shop-images {
  display: flex;
  width: 100%;
  margin-bottom: 48px;
}

.shop-images img {
  width: 50%;
  height: auto;
  display: block;
}


/* =========================
   Map
========================= */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   Nav Current
========================= */
.nav .current {
  border-bottom: 1px solid #fff;
}

@media (min-width: 900px) {
  .team-member-photo {
    width: 400px;
  }
}
