.printitem-body {
  margin: 0;
  min-width: 320px;
  color: #102d81;
  background: #ffffff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-weight: 600;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.printitem-page,
.printitem-page * {
  box-sizing: border-box;
}
.printitem-page{
  padding-top: 170px
}
.printitem-page img {
  display: block;
  max-width: 100%;
}

.printitem-page a {
  color: inherit;
  text-decoration: none;
}

.printitem-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.printitem-mv {
  position: relative;
  width: 100%;
  overflow: visible;
  background: #f8f9fd;
}

.printitem-mv-image {
  width: 100%;
  height: auto;
}

.printitem-mv-balloon {
  position: absolute;
  right: clamp(14px, 3.1vw, 64px);
  bottom: clamp(-34px, -1.65vw, -15px);
  width: clamp(130px, 15.2vw, 315px);
  filter: drop-shadow(0 5px 14px rgba(18, 45, 127, 0.08));
}

.printitem-main {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 32px;
}

.printitem-section {
  margin: 0;
}

.printitem-heading-group {
  margin: 0 0 18px;
}

.printitem-section-title,
.printitem-panel-title,
.printitem-member-title,
.printitem-scene-title,
.printitem-reason-title,
.printitem-guide-title,
.printitem-footer-title,
.printitem-flow-title,
.printitem-flow-text,
.printitem-section-lead,
.printitem-scene-text,
.printitem-guide-text,
.printitem-reason-text {
  margin: 0;
}

.printitem-section-title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.printitem-section-lead {
  margin-top: 3px;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.printitem-product-grid {
  display: grid;
  grid-template-columns: repeat(42, minmax(0, 1fr));
  gap: 14px 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.printitem-product-card {
  grid-column: span 7;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d5d9e5;
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.printitem-product-card:nth-child(n + 7) {
  grid-column: span 6;
}

.printitem-product-card:hover {
  border-color: #7a8dcc;
  box-shadow: 0 8px 22px rgba(20, 48, 128, 0.12);
  transform: translateY(-2px);
}

.printitem-product-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  align-items: center;
}

.printitem-product-image {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 290 / 244;
  object-fit: cover;
  border-bottom: 1px solid #eceef4;
}

.printitem-product-name {
  min-width: 0;
  padding: 14px 5px 14px 15px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.printitem-product-arrow {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 9px;
  background-image: url(../img/printitem/ico_arr.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.printitem-product-detail {
  display: none;
  grid-column: 1 / -1;
  padding: 0 15px 15px;
  color: #536184;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
}

.printitem-products.printitem-is-details-open .printitem-product-detail {
  display: block;
}

.printitem-detail-toggle {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 6px 14px;
  margin: 14px auto 26px;
  color: #3154aa;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.printitem-detail-toggle:hover,
.printitem-detail-toggle:focus-visible {
  color: #e73379;
  background: #fff3f8;
  outline: none;
}

.printitem-detail-toggle-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid #e73379;
  border-bottom: 2px solid #e73379;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}

.printitem-detail-toggle[aria-expanded="true"] .printitem-detail-toggle-chevron {
  transform: translateY(3px) rotate(225deg);
}

.printitem-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(280px, 1.22fr);
  gap: 32px;
  align-items: stretch;
}

.printitem-flow-panel,
.printitem-member-panel {
  min-width: 0;
  border: 1px solid #d8dde9;
  border-radius: 14px;
}

.printitem-flow-panel {
  padding: 15px 16px 15px;
  background: linear-gradient(135deg, #f8f9fe, #ffffff 70%);
}

.printitem-panel-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.printitem-flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 0;
}

.printitem-flow-card {
  position: relative;
  min-width: 0;
  min-height: 155px;
  padding: 11px 7px 6px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dce1ec;
  border-radius: 7px;
}

.printitem-flow-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 2;
  width: 0;
  height: 0;
  content: "";
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 14px solid #2e4aa1;
  transform: translateY(-50%);
}

.printitem-flow-title {
  color: #e63678;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.printitem-flow-number {
    display: inline-block;
    color: #183781;
    border: 1px solid #183781;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

.printitem-flow-text {
  min-height: 43px;
  margin-top: 3px;
  color: #20284c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.printitem-flow-image {
  width: 80px;
  height: 50px;
  margin: 0 auto;
  object-fit: contain;
}

.printitem-member-panel {
  padding: 17px 18px 14px;
  background: linear-gradient(135deg, #fff7fa, #fffafb);
  border-color: #f0d8e1;
}

.printitem-member-title {
  margin: 0 0 14px;
  color: #e73578;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.printitem-member-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 11px;
  list-style: none;
}

.printitem-member-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 7px;
  align-items: center;
  color: #263e8c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.printitem-member-icon {
  display: grid;
  width: 29px;
  height: 29px;
  color: #3153a3;
  font-size: 20px;
  line-height: 1;
  place-items: center;
  border-radius: 50%;
}

.printitem-outline-button,
.printitem-guide-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  border: 1px solid #3857a0;
  border-radius: 5px;
  transition: color 0.2s ease, background 0.2s ease;
  background-color: rgb(255, 255, 255, 0.8);
}

.printitem-outline-button {
  gap: 25px;
  width: 82%;
  margin: 0 auto;
  font-size: 13px;
  font-weight: 800;
  background-color: rgb(255, 255, 255, 0.8);
}

.printitem-outline-button:hover,
.printitem-guide-button:hover {
  color: #ffffff;
  background: #294a9a;
}

.printitem-scenes-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(280px, 1.22fr);
  gap: 32px;
  align-items: end;
  margin-top: 27px;
}

.printitem-scenes .printitem-section-title {
  margin: 0 0 15px;
  font-size: 20px;
}

.printitem-scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.printitem-scene-card {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #fbfbfe, #ffffff);
  border: 1px solid #d7dce8;
  border-radius: 8px;
}

.printitem-scene-title {
  padding: 8px 5px 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.printitem-scene-text {
  min-height: 40px;
  padding: 1px 5px 3px;
  color: #232744;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.printitem-scene-image {
  width: 100%;
  aspect-ratio: 318 / 142;
  object-fit: cover;
}

.printitem-guide-panel {
  position: relative;
  min-height: 194px;
  overflow: hidden;
  background: linear-gradient(135deg, #edf9ff, #ffffff 70%);
  border: 1px solid #9db9dd;
  border-radius: 9px;
}

.printitem-guide-copy {
  position: relative;
  z-index: 2;
  width: 63%;
  padding: 20px 0 15px 18px;
}

.printitem-guide-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.printitem-guide-text {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.65;
}

.printitem-guide-button {
  width: 155px;
  max-width: 100%;
  min-height: 33px;
  margin-top: 15px;
  font-size: 11px;
  font-weight: 800;
}

.printitem-guide-image {
  position: absolute;
  right: -18px;
  bottom: -38px;
  width: 160px;
}

.printitem-reasons {
  margin-top: 30px;
}

.printitem-reasons .printitem-section-title {
  margin-bottom: 15px;
  font-size: 20px;
}

.printitem-reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.printitem-reason-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 93px;
  padding: 11px 15px;
  background: #ffffff;
  border: 1px solid #d5d9e3;
  border-radius: 9px;
}

.printitem-reason-image {
  width: 61px;
  height: 61px;
  object-fit: contain;
}

.printitem-reason-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.printitem-reason-text {
  margin-top: 3px;
  color: #222943;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.printitem-footer {
  position: relative;
  width: 100%;
  min-height: 170px;
  overflow:visible;
  color: #ffffff;
  background: #5746a9 url("../img/printitem/footer_bg.png") center / cover no-repeat;
}

.printitem-footer-inner {
  width: min(1220px, calc(100% - 40px));
  min-height: 170px;
  margin: 0 auto;
}

.printitem-footer-copy {
  position: relative;
  z-index: 2;
  width: 53%;
  padding: 20px 0 18px 42px;
}

.printitem-footer-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-shadow: 0 2px 5px rgba(23, 34, 105, 0.28);
}

.printitem-order-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 430px;
  max-width: 100%;
  min-height: 60px;
  margin-top: 11px;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ed397b, #dc2c70);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 9px;
  box-shadow: 0 6px 15px rgba(87, 16, 87, 0.22);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.printitem-order-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.printitem-order-icon {
  font-size: 25px;
}

.printitem-footer-ill {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 620px;
  max-width: none !important;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .printitem-main {
    width: min(100% - 32px, 1220px);
    padding-top: 32px;
  }

  .printitem-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .printitem-product-card,
  .printitem-product-card:nth-child(n + 7) {
    grid-column: auto;
  }

  .printitem-support-layout,
  .printitem-scenes-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .printitem-member-panel {
    display: grid;
    grid-template-columns: 190px 1fr 214px;
    gap: 16px;
    align-items: center;
  }

  .printitem-member-title,
  .printitem-member-list {
    margin: 0;
  }

  .printitem-outline-button {
    width: 100%;
  }

  .printitem-guide-panel {
    min-height: 180px;
  }

  .printitem-guide-copy {
    width: 72%;
  }

  .printitem-guide-image {
    right: 7%;
  }

  .printitem-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .printitem-footer-copy {
    padding-left: 14px;
  }

  .printitem-footer-ill {
    right: -190px;
  }
}

@media (max-width: 767px) {
  .printitem-page {
    padding-top: 0;
}
  .printitem-page .printitem-mv-image {
    width: 100%;
    max-width: none;
    min-height: 0;
  }

  .printitem-mv-balloon {
    right: 6px;
    bottom: -17px;
    width: 92px;
  }

  .printitem-main {
    width: min(100% - 24px, 1220px);
    padding: 25px 0 28px;
  }

  .printitem-section-title {
    font-size: 21px;
  }

  .printitem-section-lead {
    font-size: 15px;
  }

  .printitem-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .printitem-product-name {
    padding-left: 14px;
    font-size: 15px;
  }

  .printitem-product-arrow {
    width: 18px;
    height: 18px;
    margin-right: 7px;
    font-size: 17px;
  }

  .printitem-detail-toggle {
    margin-bottom: 21px;
  }

  .printitem-flow-panel {
    padding: 15px 15px 15px;
  }

  .printitem-flow-list {
    display: flex;
    gap: 14px;
    padding: 0 0 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .printitem-flow-card {
    flex: 0 0 142px;
    scroll-snap-align: start;
  }

  .printitem-flow-card:not(:last-child)::after {
    right: -11px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 8px;
  }

  .printitem-member-panel {
    display: block;
    padding: 18px 16px 15px;
  }

  .printitem-member-title {
    margin-bottom: 15px;
  }

  .printitem-member-list {
    margin-bottom: 15px;
  }

  .printitem-member-item {
    font-size: 11px;
  }

  .printitem-outline-button {
    width: 100%;
  }

  .printitem-scenes-layout {
    margin-top: 23px;
  }

  .printitem-scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .printitem-scene-title {
    font-size: 14px;
  }

  .printitem-guide-copy {
    width: 66%;
  }

  .printitem-guide-image {
    right: -14px;
    width: 150px;
  }

  .printitem-reason-grid {
    grid-template-columns: 1fr;
  }

  .printitem-footer {
    min-height: 230px;
  }

  .printitem-footer-inner {
    width: min(100% - 24px, 1220px);
    min-height: 230px;
  }

  .printitem-footer-copy {
    width: 100%;
    padding: 20px 0 0;
  }

  .printitem-footer-title {
    font-size: 17px;
  }

  .printitem-order-button {
    width: 100%;
    min-height: 52px;
    font-size: 17px;
  }

  .printitem-footer-ill {
    right: 0;
    bottom: 0;
    width: 320px;
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .printitem-product-card,
  .printitem-detail-toggle-chevron,
  .printitem-order-button {
    transition: none;
  }
}
