@charset "UTF-8";

:root {
  --blue: #07529a;
  --blue-dark: #123f70;
  --sky: #eaf8ff;
  --sky-strong: #ccefff;
  --yellow: #ffdc45;
  --text: #183d62;
  --content: 1120px;
}
.site-header {
  min-height: 78px; padding: 14px clamp(18px, 4vw, 54px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff; position: relative; z-index: 2;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--blue); line-height: 1.35; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 34px; color: white; background: #e92735; font-size: 24px; font-weight: 900; transform: skew(-18deg); }
.brand strong { display: block; font-size: 19px; letter-spacing: .08em; }
.brand small { display: block; font-size: 12px; font-weight: 700; margin-top: 3px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 28px); color: var(--blue); font-size: 13px; font-weight: 700; }
.site-header nav a { white-space: nowrap; }
.site-header nav a:hover { opacity: .65; }

.hero {
  min-height: 300px; display: grid; place-items: center; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; }
.hero-copy { position: relative; padding: 36px 18px; text-shadow: 0 2px 10px rgba(0,54,105,.18); }
.hero h1 { margin: 0; font-size: clamp(58px, 8vw, 90px); line-height: 1; font-weight: 800; letter-spacing: .02em; }
.hero-sub { margin: 7px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.hero-kicker { margin: 0 0 15px; font-size: clamp(15px, 2vw, 20px); font-weight: 700; }

.story { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 52px 0 70px; }
.update-pill {
  display: inline-block; border-radius: 999px; padding: 6px 22px; margin-bottom: 18px;
  color: #fff; background: #159fe4; font-size: 16px; font-weight: 800; letter-spacing: .04em;
}
.title-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.headline-art { width: min(100%, 790px); margin: 0 0 20px; }

.intro {
  max-width: 720px;
  margin: 0;
  padding: 20px 24px;
  font-size: clamp(16px, 1.65vw, 19px);
  line-height: 2.05;
  color: #183d62;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
}

.fact-note { padding: 22px 14px; text-align: center; border-radius: 38% 62% 55% 45% / 50% 40% 60% 50%; background: radial-gradient(ellipse at center, #e7f8ff 0, #f7fcff 72%, transparent 73%); }
.doodle { width: 110px; margin: 0 auto 8px; }
.fact-art { width: 100%; max-width: 360px; margin: 0 auto; }

.photo-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px 32px;
  align-items: start; margin-top: 46px;
}
.photo { margin: 0; min-width: 0; }
.photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 5px; box-shadow: 0 10px 28px rgba(29,94,135,.12);
}
.photo-certificate img { aspect-ratio: 2446 / 3472; object-fit: contain; background: #fff; }
.photo figcaption {
  display: inline-block; margin-top: 10px; padding: 5px 15px; border-radius: 999px;
  color: var(--blue); background: #e3f6ff; font-size: 13px; font-weight: 700; line-height: 1.7;
}
.photo-collection { margin-top: 30px; }
.photo-certificate { margin-top: 30px; }

.closing {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 22px;
  /* ほかの既存設定はそのまま */
}

.closing-doodle {
  width: 130px;
  max-width: 100%;
  height: auto;
}
.thanks-art { width: min(100%, 560px); margin-bottom: 14px; }
.closing p { margin: 0; line-height: 2; }
.leaves-doodle { width: 76px; align-self: end; }
.site-footer { padding: 28px 20px; text-align: center; color: #315879; background: #f2f9fc; }
.site-footer p { margin: 0 0 8px; font-weight: 700; }
.site-footer small { font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .fact-art {
    width: 100%;
    max-width: 330px;
    min-width: 0;
    margin: 0;
    object-fit: contain;
    object-position: left center;
  }
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-header nav { gap: 10px 16px; font-size: 12px; }
  .hero { min-height: 230px; }
  .story { width: min(calc(100% - 28px), var(--content)); padding-top: 32px; }
  .title-row { grid-template-columns: 1fr; gap: 22px; }
  .fact-note { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px; border-radius: 24px; 
background: radial-gradient(
  ellipse closest-side at center,
  #e7f8ff 0,
  #f7fcff 90%,
  transparent 100%
);
}
   .doodle {
    width: 68px;
    margin: 0 0 0 auto;
  }
  .fact-art { max-width: 330px; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; margin-top: 30px; }
  .photo-collection, .photo-certificate { margin-top: 0; }
  .photo figcaption { font-size: 11px; padding: 4px 10px; }
  

  .closing {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .closing-doodle {
    width: 68px;
    max-width: 100%;
  }
}

  .leaves-doodle { display: none; }
}
@media (max-width: 420px) {
  .brand strong { font-size: 16px; }
  .brand-mark { width: 38px; height: 30px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo img { aspect-ratio: 4 / 3; }
  .photo-certificate img { aspect-ratio: 2446 / 3472; }
  .fact-note { align-items: center; }
}
#container {
    background-color: #D7EBFC;
    background-image: url(/dealer/joshikai/sj-shiga/images/background_header.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
}
