* {
  padding: 0;
  margin: 0;
}

.pc {
  display: block;
}

.mobile {
  display: none;
}

.dfn {
  margin: 0 auto;
}

.dfn-container {
  width: 80%;
  position: relative;
  background-color: #f0f0f0;
}

.dfn-brief,
.dfn-ad-group {
  padding: 5% 10%;
}

.dfn-brief > img {
  width: 100%;
  object-fit: contain;
}

.dfn-brief-icon {
  padding: 5% 5% 5% 5%;
  width: 90%;
  background-color: #fff;
  border-radius: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  margin-top: 5%;
}

.dfn-brief-icon > img {
  width: 100%;
  object-fit: contain;
}

.dfn-ad-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 10%;
}

.dfn-ad-card {
  text-align: center;
}

.dfn-ad-card > p {
  margin: 3% 0;
}

.dfn-ad-card > img {
  border-radius: 20px;
  width: 100%;
  display: inline-block;
}

.dfn-item > .dfn-container:nth-child(1) {
  padding: 3% 10%;
}

.dfn-headline {
  position: relative;
  left: 40px;
  display: inline-block;
}

.dfn-headline::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: -40px;
  top: 20%;
  height: 70%;
  bottom: 10%;
  width: 20px;
  background-image: url("../../img2023/nissan/icon.jpg");
  background-repeat: no-repeat;
  background-size: contain;
}

.sunshade-film-series {
  padding: 20px 12%;
  width: 76%;
  background: #fff;
}

.sunshade-film-series > h2 {
  color: #cb2035;
  margin: 24px 0 20px 0;
  display: flex;
  align-items: center;
}

.dashed-fill {
  flex: 1;
  height: 0;
  margin-left: 40px;
  border: 2px #cb2035 dashed;
}

.sunshade-file-series-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.sunshade-film-series-l {
  font-size: 24px;
  line-height: 48px;
}

.dfn-install > img {
  display: block;
  object-fit: contain;
  width: 100%;
}

.dfn-warning-list {
  padding: 20px 2% 20px 12%;
  width: 86%;
  background: #fff;
  line-height: 50px;
}

.list-item-name {
  font-size: 30px;
}

.dfn-warning-list-item {
  margin: 40px 0;
}

.dfn-warning-list-item li {
  list-style-position: inside;
}

.dfn-warning-list-item li::marker {
  color: #cb2035;
}

.dfn-warranty {
  padding: 3% 10% 0 10%;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, #f0f0f0 30%, #fff 30%);
}

.dfn-warranty > img {
  height: 100%;
  object-fit: contain;
}

.dfn-warranty h1 {
  margin-top: 100px;
}

.dfn-warranty p {
  font-size: 24px;
  margin: 20px 0 20px 40px;
}

.dfn-warranty p,
li,
.list-item-name {
  color: #333;
}

.dfn-schedule {
  padding: 5% 10%;
  color: #fff;
  background-color: #919eb2;
  line-height: 40px;
}

.dfn-schedule-content {
  display: flex;
  margin: 40px 0;
  align-items: stretch;
  justify-content: space-between;
}

.dfn-schedule-content > p {
  width: 78%;
}

.dfn-schedule-content > div {
  width: 15%;
}

.dfn-schedule-content img {
  object-fit: contain;
  width: 100%;
}

@media screen and (min-width: 1921px) and (max-width: 2560px) {
  html {
    font-size: 22px;
  }
}

@media screen and (min-width: 1651px) and (max-width: 1920px) {
  html {
    font-size: 20px;
  }
}

@media screen and (min-width: 1441px) and (max-width: 1650px) {
  html {
    font-size: 18px;
  }
}

@media screen and (min-width: 1281px) and (max-width: 1440px) {
  html {
    font-size: 16px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  html {
    font-size: 14px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  html {
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  html {
    font-size: 8px;
  }

  .nissan{
    width: 100%;
    overflow-x: hidden;
  }

  .dfn-brief {
    padding: 5% 5%;
    padding-top: 15%;
  }

  .dfn-brief-icon {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dfn-ad-group {
    grid-template-columns: 1fr;
    padding: 5% 5%;
  }

  .dfn-headline::after {
    content: "";
    display: inline-block;
    position: absolute;
    right: -2rem;
    top: 20%;
    height: 70%;
    bottom: 10%;
    width: 1rem;
    background-image: url("/assets/icon.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(180deg);
  }

  .sunshade-file-series-info {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dfn-install > img {
    object-fit: cover;
    aspect-ratio: 3 / 2;
    object-position: 70% 50%;
  }

  .dfn-warranty {
    padding: 3% 10% 0 10%;
    height: auto;
  }

  .dfn-warranty img {
    width: 40%;
    margin-right: -30px;
  }
  .dfn-schedule-content > p {
    width: 60%;
    font-size:10px;
  }
  .dfn-schedule-content > div {
    width: 30%;
  }

  .dfn-container {
    width: 90%;
  }

  .sunshade-film-series {
    width: 88%;
    padding: 15px 6%;
  }

  .dfn-item > .dfn-container:nth-child(1) {
    padding: 3% 5%;
  }

  .dfn-warning-list {
    padding: 10px 2% 10px 8%;
  }

  .dfn-warranty {
    padding: 3% 5% 0 5%;
  }

  .dfn-schedule {
    padding: 5% 5%;
  }

  .dfn-ad-card > p {
      margin: 3% 0;
      font-size:14px;
  }
  
  .sunshade-file-series-info{
    font-size:10px;
  }

  .sunshade-film-series-l {
    font-size: 12px;
    line-height: 24px;
  }

  .dfn-headline {
    position: relative;
    left: 40px;
    display: inline-block;
    font-size:24px;
  }

  .dfn-warning-list {
    font-size:12px;
    line-height: 25px;
  }

  .list-item-name {
    font-size: 16px;
  }

  .dfn-warranty h1 {
    margin-top: 45px;
  }

  .dfn-warranty p {
      font-size: 12px;
      margin: 20px 0 20px 40px;
  }

  h2{
    font-size:16px;
  }

  .dfn-schedule-content {
      display: flex;
      margin: 10px 0;
      align-items: stretch;
      justify-content: space-between;
  }

  .dfn-schedule{
    line-height: 24px;
  }
}