/* ============================================================
   example.css — 施工例ページ固有スタイル
   ============================================================ */

.ly_content_size--example {
  max-width: 1540px;
  padding-left: 70px;
  padding-right: 70px;
}

.un_exSection_bleed--left,
.un_exSection_bleed--right,
.un_exSection_bleed--full {
  --bleed-x: clamp(-330px, calc(700px - 50vw - 70px), 0px);
  --bleed-w: clamp(0px, calc(50vw + 70px - 700px), 330px);
}

.un_exSection_full {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

.un_exSection_full img {
  width: 100%;
  max-height: 800px;
  object-fit: cover;
  display: block;
}

.un_exSection_full--inner {
  max-width: 1400px;
}

/* ──────────────────────────────────────────
   セクション間余白 (PC)
────────────────────────────────────────── */
#ex-headlight {
  margin-top: 285px;
}

@media screen and (max-width: 767px) {
  #ex-headlight {
    margin-top: 0;
  }
}

#ex-screen,
#ex-tank,
#ex-fuel,
#ex-rear,
#ex-speed,
#ex-side {
  margin-top: 200px;
}

#ex-side {
  margin-bottom: 132px;
}

/* ──────────────────────────────────────────
   セクション共通
────────────────────────────────────────── */
.un_exKv,
.un_exSection {
  width: 100%;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  overflow-x: clip;
  /* ブリード要素のはみ出しを横スクロールに繋がせない */
}

.un_exSection_en {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: #fff;
  margin: 0 0 88px;
  text-transform: uppercase;
  opacity: 0.6;
}

.un_exSection_ja {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 56px;
}

.un_exSection_desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 2.5;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0;
}

.un_exSection_imgWrap img,
.un_exSection_imgGroup img,
.un_exSection_imgStack img,
.un_exSection_duoItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   KV
   ============================================================ */
.un_exKv {
  max-width: 1920px;
  height: 600px;
  margin-top: 120px;
  overflow: hidden;
}

.un_exKv_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.un_exKv_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.un_exKv::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.un_exKv_body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.un_exKv_body>.ly_content,
.un_exKv_body>.ly_content>.ly_content_size,
.un_exKv_body>.ly_content>.ly_content_size>.ly_content_pad {
  width: 100%;
}

.un_exKv_text {
  margin-left: calc(909 / 1400 * 100%);
  width: calc(491 / 1400 * 100%);
}

.un_exKv_en {
  position: relative;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #fff;
  padding-bottom: 16px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.un_exKv_en::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: #fff;
}

.un_exKv_ttl {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 16px;
}

.un_exKv_desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 2.25;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0;
}

.un_exSection--headlight .un_exSection_upper {
  display: grid;
  grid-template-columns: calc(635 / 1400 * 100%) calc(120 / 1400 * 100%) calc(645 / 1400 * 100%);
  align-items: stretch;
  min-height: 540px;
}

.un_exSection--headlight .un_exSection_imgWrap {
  grid-column: 1;
  position: relative;
  height: 100%;
  overflow: visible;
}

/* 画像をラッパーから左にブリード(index.css の img max-width:100% を解除) */
.un_exSection--headlight .un_exSection_imgWrap img {
  width: calc(100% + var(--bleed-w, 0px));
  max-width: none;
  height: 100%;
  margin-left: var(--bleed-x, 0px);
  object-fit: cover;
  display: block;
}

.un_exSection--headlight .un_exSection_txt {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 25%;
}

.un_exSection--headlight .un_exSection_full {
  margin-left: 0;
  margin-right: auto;
  margin-top: 100px;
  width: calc(50vw + 700px);
  max-width: calc(100% - 70px);
}

@media screen and (max-width: 767px) {
  .un_exSection--headlight .un_exSection_full {
    margin-top: 150px;
  }
}

.un_exSection--screen .un_exSection_upper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.un_exSection--screen .un_exSection_imgGroup {
  display: flex;
  flex-direction: column;
  gap: calc(40 / 1400 * 100%);
}

.un_exSection--screen .un_exSection_imgGroup>div {
  overflow: visible;
}

.un_exSection--screen .un_exSection_imgGroup>div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.un_exSection--screen .un_exSection_imgGroup>div:nth-child(1) {
  width: calc(720 / 1400 * 100% + var(--bleed-w, 0px));
  margin-left: var(--bleed-x, 0px);
}

.un_exSection--screen .un_exSection_imgGroup>div:nth-child(2) {
  width: calc(1040 / 1400 * 100%);
  margin-left: calc(360 / 1400 * 100%);
}

.un_exSection--screen .un_exSection_full {
  margin: 9% auto 3%;
}

.un_exSection--screen .un_exSection_txt {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(610 / 1400 * 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 10%;
  z-index: 1;
}

/* ============================================================
   TANK
   ============================================================ */
.un_exSection--tank .un_exSection_header {
  display: flex;
  align-items: flex-start;
  gap: calc(240 / 1400 * 100%);
  padding: 14px 0;
}

.un_exSection--tank .un_exSection_header_en {
  flex-shrink: 0;
}

.un_exSection--tank .un_exSection_header_info {
  flex: 1;
}

.un_exSection--tank .un_exSection_full {
  margin-top: 140px;
}

@media screen and (max-width: 767px) {
  .un_exSection--tank .un_exSection_full {
    margin-top: 20px;
  }
}

.un_exSection--tank .un_exSection_duo {
  display: flex;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  gap: calc(160 / 1920 * 100%);
}

.un_exSection--tank .un_exSection_duoItem {
  flex: 0 0 calc(880 / 1920 * 100%);
  overflow: hidden;
}

.un_exSection--tank .un_exSection_duoItem:nth-child(2) {
  margin-top: 320px;
}

.un_exSection--tank .un_exSection_duoItem img {
  min-height: calc(550 / 1920 * 100vw);
  object-fit: contain;
}

/* ============================================================
   FUEL FILLER AREA
   ============================================================ */
.un_exSection--fuel .un_exSection_upper {
  display: flex;
  align-items: stretch;
}

.un_exSection--fuel .un_exSection_txt {
  flex: 0 0 calc(635 / 1400 * 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 11%;
}

.un_exSection--fuel .un_exSection_imgWrap {
  flex: 0 0 calc(675 / 1400 * 100%);
  margin-left: calc(90 / 1400 * 100%);
  min-height: 560px;
  overflow: hidden;
}

.un_exSection--fuel .un_exSection_duo {
  display: flex;
  gap: calc(50 / 1400 * 100%);
  margin-top: 50px;
}

.un_exSection--fuel .un_exSection_duoItem {
  flex: 0 0 calc(675 / 1400 * 100%);
  overflow: hidden;
}

.un_exSection--fuel .un_exSection_duoItem img {
  min-height: 320px;
}

/* ============================================================
   REAR COWL
   ============================================================ */
.un_exSection--rear .un_exSection_upper {
  position: relative;
  padding: 60px 0;
}

.un_exSection--rear .un_exSection_imgGroup {
  display: flex;
  flex-direction: column;
  gap: calc(40 / 1400 * 100%);
  width: 100%;
}

.un_exSection--rear .un_exSection_imgGroup>div {
  width: calc(675 / 1400 * 100%);
  overflow: hidden;
}

.un_exSection--rear .un_exSection_imgGroup>div:nth-child(1) {
  margin-left: 0;
}

.un_exSection--rear .un_exSection_imgGroup>div:nth-child(2) {
  margin-left: calc(388 / 1400 * 100%);
}

.un_exSection--rear .un_exSection_imgGroup>div img {
  min-height: 280px;
}

.un_exSection--rear .un_exSection_txt {
  position: absolute;
  top: 60px;
  right: 0;
  width: calc(605 / 1400 * 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

/* ============================================================
   SPEEDOMETER
   ============================================================ */
.un_exSection--speed .un_exSection_header {
  display: flex;
  align-items: flex-start;
  padding: 60px 0 140px;
}

.un_exSection--speed .un_exSection_header_en {
  flex: 0 0 calc(541 / 1400 * 100%);
  padding-left: calc(83 / 1400 * 100%);
  box-sizing: border-box;
}

.un_exSection--speed .un_exSection_header_info {
  flex: 1;
}

@media screen and (min-width: 768px) {

  .un_exSection--tank .un_exSection_en,
  .un_exSection--speed .un_exSection_en {
    margin-bottom: 0;
  }
}

/* ============================================================
   SIDE COVER
   ============================================================ */
.un_exSection--side .un_exSection_upper {
  position: relative;
  padding: 60px 0;
}

.un_exSection--side .un_exSection_txt {
  position: absolute;
  top: 9%;
  left: 0;
  width: calc(644 / 1400 * 100%);
  z-index: 1;
}

.un_exSection--side .un_exSection_imgStack {
  display: flex;
  flex-direction: column;
  gap: calc(50 / 1400 * 100%);
}

.un_exSection_imgStackItem {
  overflow: hidden;
}

.un_exSection_imgStackItem img {
  min-height: 320px;
}

.un_exSection--side .un_exSection_imgStack>div:nth-child(1) {
  margin-left: calc(874 / 1400 * 100%);
  width: calc((1400 - 874) / 1400 * 100% + var(--bleed-w, 0px));
}

.un_exSection--side .un_exSection_imgStack>div:nth-child(2) {
  margin-left: calc(509 / 1400 * 100%);
  width: calc(786 / 1400 * 100%);
}

.un_exSection--side .un_exSection_imgStack>div:nth-child(3) {
  margin-left: 0;
  width: calc(786 / 1400 * 100%);
}

/* ============================================================
   Responsive — 767px
   ============================================================ */
@media screen and (max-width: 767px) {
  .un_pcOnlyBr {
    display: none;
  }

  .ly_content_size--example {
    max-width: 100%;
    padding-left: 5.33333vw;
    padding-right: 5.33333vw;
  }

  .un_exSection_bleed--left,
  .un_exSection_bleed--right,
  .un_exSection_bleed--full {
    --bleed-x: 0px;
  }

  /* KV */
  .un_exKv {
    height: 61vw;
    margin-top: 90px;
  }

  .un_exKv_body {
    align-items: flex-end;
    padding: 0 0 8vw;
  }

  .un_exKv_text {
    margin-left: 0;
    width: 100%;
  }

  .un_exKv_en {
    font-size: 6vw;
    padding-bottom: 2vw;
    margin-bottom: 2vw;
  }

  .un_exKv_ttl {
    font-size: 3.65vw;
    margin-bottom: 3vw;
  }

  .un_exKv_desc {
    font-size: clamp(13px, 2.09vw, 16px);
    line-height: 2.25;
  }

  /* 共通タイポ */
  .un_exSection_en {
    font-size: 5.47vw;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4.43vw;
  }

  .un_exSection_ja {
    /*font-size: 3.65vw;*/
    font-size: 6.13333vw;
    margin-bottom: 3.9vw;
  }

  .un_exSection_desc {
    /*font-size: clamp(13px, 2.09vw, 16px);*/
    font-size: 3.73333vw;
    line-height: 2.5;
  }

  /* 共通: 全 upper を縦積み・絶対配置解除 */
  .un_exSection--headlight .un_exSection_upper,
  .un_exSection--screen .un_exSection_upper,
  .un_exSection--fuel .un_exSection_upper,
  .un_exSection--rear .un_exSection_upper,
  .un_exSection--side .un_exSection_upper {
    display: block;
    position: static;
    padding: 0;
    grid-template-columns: 1fr;
  }

  /* HEADLIGHT/SCREEN/REAR: HTMLは画像→テキスト順だがSPデザインはテキスト→画像
     column-reverse で表示順を反転 */
  .un_exSection--headlight .un_exSection_upper,
  .un_exSection--screen .un_exSection_upper,
  .un_exSection--rear .un_exSection_upper {
    display: flex;
    flex-direction: column-reverse;
  }

  /* HEADLIGHT */
  .un_exSection--headlight .un_exSection_upper {
    min-height: 0;
  }

  .un_exSection--headlight .un_exSection_imgWrap {
    width: 100%;
    margin-left: 0;
    height: auto;
    min-height: 60vw;
  }

  .un_exSection--headlight .un_exSection_imgWrap img {
    width: 100%;
    margin-left: 0;
  }

  .un_exSection--headlight .un_exSection_txt {
    padding: 8vw 0;
    margin-top: 12%;
  }

  /* SCREEN */
  .un_exSection--screen .un_exSection_imgGroup {
    gap: 10vw;
  }


  .un_exSection--screen .un_exSection_imgGroup>div:nth-child(1),
  .un_exSection--screen .un_exSection_imgGroup>div:nth-child(2) {
    width: 100%;
    margin-left: 0;
  }

  .un_exSection--screen .un_exSection_imgGroup>div img {
    min-height: 50vw;
  }

  .un_exSection--screen .un_exSection_txt {
    position: static;
    width: 100%;
    padding: 8vw 0;
  }

  /* TANK */
  .un_exSection--tank .un_exSection_header {
    flex-direction: column;
    gap: 0;
    padding: 8vw 0;
  }

  .un_exSection--tank .un_exSection_duo {
    flex-direction: column;
    margin-top: 40px;
    max-width: 100%;
  }

  .un_exSection--tank .un_exSection_duoItem {
    flex: none;
    width: calc(486 / 767 * 100vw);
  }

  .un_exSection--tank .un_exSection_duoItem:nth-child(1) {
    align-self: flex-start;
    margin-top: 0;
  }

  .un_exSection--tank .un_exSection_duoItem:nth-child(2) {
    align-self: flex-end;
    margin-top: 0;
  }

  .un_exSection--tank .un_exSection_duoItem img {
    min-height: 56vw;
  }


  /* FUEL */
  .un_exSection--fuel .un_exSection_txt {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
    padding: 8vw 0;
  }

  .un_exSection--fuel .un_exSection_imgWrap {
    flex: 0 0 auto;
    width: calc(535 / 767 * 100%);
    min-height: 70vw;
    margin-left: auto;
    margin-right: 0;
  }

  .un_exSection--fuel .un_exSection_duo {
    flex-direction: column;
    margin-top: 4vw;
  }

  .un_exSection--fuel .un_exSection_duoItem {
    flex: 0 0 auto;
  }

  .un_exSection--fuel .un_exSection_duoItem:nth-child(1) {
    width: calc(469 / 767 * 100%);
    align-self: flex-start;
  }

  .un_exSection--fuel .un_exSection_duoItem:nth-child(2) {
    width: calc(473 / 767 * 100%);
    align-self: flex-end;
  }

  .un_exSection--fuel .un_exSection_duoItem img {
    min-height: 40vw;
  }

  /* REAR */
  .un_exSection--rear .un_exSection_imgGroup {
    width: 100%;
    gap: 2vw;
  }

  .un_exSection--rear .un_exSection_imgGroup>div:nth-child(1),
  .un_exSection--rear .un_exSection_imgGroup>div:nth-child(2) {
    width: 100%;
    margin-left: 0;
  }

  .un_exSection--rear .un_exSection_imgGroup>div img {
    min-height: 52vw;
  }

  .un_exSection--rear .un_exSection_txt {
    position: static;
    width: 100%;
    padding: 8vw 0;
  }

  /* SPEED */
  .un_exSection--speed .un_exSection_header {
    flex-direction: column;
    gap: 0;
    padding: 8vw 0;
  }

  .un_exSection--speed .un_exSection_header_en,
  .un_exSection--speed .un_exSection_header_info {
    flex: 0 0 100%;
    width: 100%;
    padding-left: 0;
  }

  /* SIDE */
  .un_exSection--side .un_exSection_imgStack {
    margin-left: -5.33333vw;
    margin-right: -5.33333vw;
  }

  .un_exSection--side .un_exSection_imgStack>div:nth-child(1) {
    width: calc(600 / 767 * 100vw);
    margin-left: auto;
    margin-right: 0;
  }

  .un_exSection--side .un_exSection_imgStack>div:nth-child(2) {
    width: calc(600 / 767 * 100vw);
    margin-left: 5.33333vw;
    margin-right: auto;
  }

  .un_exSection--side .un_exSection_imgStack>div:nth-child(3) {
    width: calc(600 / 767 * 100vw);
    margin-left: 0;
    margin-right: auto;
  }

  .un_exSection--side .un_exSection_txt {
    position: static;
    width: 100%;
    padding: 8vw 0;
  }

  .un_exSection_imgStackItem img {
    min-height: 56vw;
  }

  /* full 画像 */
  .un_exSection_full img {
    max-height: none;
  }

  .un_exSection--headlight .un_exSection_full {
    width: 100%;
    max-width: none;
  }

  /* セクション間余白 (SP) */

  #ex-screen,
  #ex-tank,
  #ex-fuel,
  #ex-rear,
  #ex-speed,
  #ex-side {
    margin-top: 150px;
  }

  #ex-side {
    margin-bottom: 100px;
  }
}

@media screen and (max-width: 767px) {
  .un_exSection--side .un_exSection_imgStack>div:nth-child(2) {
    margin-top: 40px;
  }

  .un_exSection--side .un_exSection_imgStack>div:nth-child(3) {
    margin-top: 75px;
  }
}