body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

li {
  list-style: none;
}

a {
  border: none;
  text-decoration: none;
  color: inherit;
}

header nav ul {
  display: flex;
  width: 100%;
  height: 50px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  width: 100%;
  max-width: 1024px;
  height: 44px;
  margin: 0 auto;

}

header {
  background: #F5F5F7CC;

}

li {
  padding: 8px;
  margin: 8px;
}

.header_trade_in {
  text-align: center;
}

.header_trade_in a {
  color: #0071e3;
}

.header_trade_in a:hover {
  text-decoration: underline;
}

.header_bottom ul {
  max-height: 67.17px;
  height: 100%;
  max-width: auto;
  background: #f5f5f7;
}

/* オーバーレイ用ラッパー */
.figure-overlay,
.header_trade_in_figure {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  overflow: hidden;
  display: block;
  padding: 0;
}

/* オーバーレイテキスト */
.overlay-text {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 8px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.overlay-text2 {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

/* 画像をレスポンシブに */
.figure-overlay img,
.header_trade_in_figure img {
  width: auto;
  height: 692px;
  position: relative;
  left: -30%;
  /* max-width: 100%; */
  margin: 0;
  padding-bottom: 8px;
  /* 画像を中央揃え */
}

.text1 {
  position: absolute;
  top: 27%;
  left: 47%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.text1-btn {
  padding: 10px 18px;
  background-color: #0071e3;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.text1-btn:hover {
  background: #1087ff;
}

.text2 {
  position: absolute;
  top: 27%;
  left: 53%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.text2-btn {
  padding: 10px 18px;
  background-color: #fff;
  color: #0071e3;
  border: solid 1px #0071e3;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.text2-btn:hover {
  background: #1087ff;
}

.text3 {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #636368;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
  background: linear-gradient(90deg, #1100ff, #ff2200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* 一部ブラウザ用 */
  color: transparent;
}

.text4 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #75757c;
  font-size: 13px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

/* Apple Watch */
.watch-overlay,
.header_trade_in_watch {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  overflow: hidden;
  display: block;
  padding: 0;
  margin-bottom: 8px;
}

.watch-overlay img,
.header_trade_in_watch img {
  width: auto;
  height: 692px;
  position: relative;
  left: -30%;
  /* max-width: 100%; */
  margin: 0 auto;
  /* 画像を中央揃え */
}

.Watch {
  padding: 0px;
  font-size: 20px;
  font-weight: 100;
  line-height: 12px;
  padding-bottom: 12px;
}

.noto-sans-jp-400 {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.watch_size {
  font-size: 20px;
  padding: 0;
}

.watch-text1 {
  position: absolute;
  top: 30%;
  left: 47%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.watch-text1-btn {
  padding: 10px 18px;
  background-color: #0071e3;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.watch-text1-btn:hover {
  background: #1087ff;
}

.watch-text2 {
  position: absolute;
  top: 30%;
  left: 53%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.watch-text2-btn {
  padding: 10px 18px;
  background-color: #fff;
  color: #0071e3;
  border: solid 1px #0071e3;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.watch-text2-btn:hover {
  background: #1087ff;
}

/* MacBook Air */

.mac_text1 {
  position: absolute;
  top: 32%;
  left: 47%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.mac_text1-btn {
  padding: 10px 18px;
  background-color: #0071e3;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.mac_text1-btn:hover {
  background: #1087ff;
}

.mac_text2 {
  position: absolute;
  top: 32%;
  left: 53%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.mac_text2-btn {
  padding: 10px 18px;
  background-color: #fff;
  color: #0071e3;
  border: solid 1px #0071e3;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.mac_text2-btn:hover {
  background: #1087ff;
}

.mac_text3 {
  position: absolute;
  top: 87%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #636368;
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
  background: linear-gradient(90deg, #1100ff, #ff2200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* 一部ブラウザ用 */
  color: transparent;
}

.mac_text4 {
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #75757c;
  font-size: 13px;
  font-weight: 400;
  text-shadow: 0 1px 4px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.macbookair {
  font-size: 20px;
  font-weight: 100;
  line-height: 20px;
  padding-bottom: 12px;
}

.macair_text {
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: 36px;
  font-weight: 700;
  text-shadow: 0 2px 8px #fff, 0 1px 2px #0001;
  pointer-events: none;
  white-space: nowrap;
}

.mac_air_size {
  font-size: 25px;
  padding: 0;
}

.mac_air_center {
  position: absolute;
  top: 67%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main_footer_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2列 */
  justify-items: stretch;
  grid-gap: 8px;
  /* グリッド間の隙間 */
}

.main_footer_grid div {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* 画像をレスポンシブに */

.six_pictures img {
  height: 580px;
  width: 100%;
}

.pictures-figure-overlay,
.six_pictures {
  position: relative;
  margin: 0;
  overflow: hidden;
}