/* 家庭のルールのスマホ画像用の帳票。幅を固定し、内容に合わせて縦に伸ばす。指定はすべて .rule-report-sp の中だけに効かせる。 */

.rule-report-sp {
  position: absolute;
  top: 0;
  left: -10000px;
  width: 390px;
  margin: 0;
  padding: 0;
  color: #172033;
  /* 端末によって見た目が変わらないよう、サイト内に置いたNoto Sans JPを使う。 */
  font-family: "Noto Sans JP Variable", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  /* 句読点とかっこの間を詰めると、画像にしたときにかっこが次の文字と重なるため詰めない。 */
  text-spacing-trim: space-all;
}

.rule-report-sp * {
  box-sizing: border-box;
}

.rule-report-sp .sheet {
  width: 390px;
  margin: 0;
  padding: 8px;
  background: #fff;
}

.rule-report-sp .paper {
  padding: 10px;
  /* 斜線は、画像にするライブラリでも描けるよう、同じ柄の正方形を敷き詰めて作る(線の間隔20px)。 */
  background-color: #fff8e8;
  background-image: linear-gradient(
    135deg,
    #fff8e8 0,
    #fff8e8 27.5%,
    #fde9c2 27.5%,
    #fde9c2 50%,
    #fff8e8 50%,
    #fff8e8 77.5%,
    #fde9c2 77.5%,
    #fde9c2 100%
  );
  background-size: 28.2843px 28.2843px;
}

.rule-report-sp .content-panel {
  padding: 18px 12px 22px;
  border-radius: 13px;
  background: #fff;
}

.rule-report-sp .rule-header {
  padding: 2px 0 20px;
}

.rule-report-sp .rule-header h1 {
  margin: 0 0 15px;
  text-align: center;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.rule-report-sp .report-logo {
  margin: 0 0 10px;
  text-align: center;
}

.rule-report-sp .report-logo img {
  display: inline-block;
  width: auto;
  height: 48px;
  vertical-align: top;
}

.rule-report-sp .meta-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rule-report-sp .audience {
  align-self: flex-start;
  margin: 0;
  padding: 7px 12px;
  border-radius: 30px;
  background: #fff0cf;
  font-size: 11px;
  font-weight: 600;
}

.rule-report-sp .dates {
  align-self: flex-end;
  margin: 0;
  color: #5d6570;
  font-size: 10px;
  line-height: 1.65;
}

.rule-report-sp .dates div {
  display: flex;
}

.rule-report-sp .dates dt,
.rule-report-sp .dates dd {
  margin: 0;
}

.rule-report-sp .rule-section {
  margin: 0 0 15px;
  padding: 13px 11px 12px;
  border: 2px solid #9bd4fb;
  border-radius: 14px;
  background: #fff;
}

.rule-report-sp .rule-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: #004e9b;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.rule-report-sp .heading-bar {
  width: 6px;
  height: 27px;
  flex: none;
  border-radius: 20px;
  background: #1679d5;
}

.rule-report-sp .rule-cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rule-report-sp .rule-card {
  overflow: hidden;
  border: 1px solid #b6dfff;
  border-radius: 9px;
  background: #fbfdff;
}

.rule-report-sp .rule-text {
  margin: 0;
  padding: 11px 11px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.rule-report-sp .agree-line {
  padding: 8px 10px 10px;
  border-top: 1px solid #d3e9fb;
  background: #f1f9ff;
}

.rule-report-sp .agree-label {
  display: block;
  margin-bottom: 7px;
  color: #526d80;
  font-size: 10px;
  font-weight: 700;
}

.rule-report-sp .member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rule-report-sp .member-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid #b1dedc;
  border-radius: 16px;
  background: #fff;
  color: #196a69;
  font-size: 11px;
  font-weight: 600;
}

.rule-report-sp .check-mini {
  display: inline-flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #008d89;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.rule-report-sp .consequence-box {
  margin: 0 0 15px;
  padding: 14px 13px 15px;
  border: 2px solid #9bd4fb;
  border-top: 9px solid #1679d5;
  border-radius: 14px;
  background: #fff;
}

.rule-report-sp .consequence-box h2 {
  margin: 0 0 10px;
  color: #004e9b;
  font-size: 15px;
  line-height: 1.5;
}

.rule-report-sp .consequence-box ul {
  margin: 0;
  padding-left: 4px;
  list-style: none;
  font-size: 12px;
  line-height: 1.7;
}

/* 行頭の記号は、画像にしたときに位置がずれないよう文字の「・」で出す。 */
.rule-report-sp .consequence-box li {
  padding-left: 1em;
  text-indent: -1em;
}

.rule-report-sp .consequence-box li::before {
  content: "・";
}

.rule-report-sp .consequence-box li + li {
  margin-top: 5px;
}

.rule-report-sp .bottom-grid {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.rule-report-sp .notice-card {
  padding: 13px 14px 15px;
  border: 2px solid currentColor;
  border-top-width: 9px;
  border-radius: 14px;
  background: #fff;
}

.rule-report-sp .notice-card--orange {
  color: #f18a00;
}

.rule-report-sp .notice-card--pink {
  color: #ee3d7a;
}

.rule-report-sp .notice-card h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.rule-report-sp .notice-card p {
  margin: 0;
  color: #333c47;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.rule-report-sp .notice-card .sample-url {
  margin-top: 9px;
  color: #d17800;
  font-weight: 600;
}

/* URLとそのQRコードを横に並べる。 */
.rule-report-sp .notice-card .site-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.rule-report-sp .notice-card .site-link .sample-url {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}

.rule-report-sp .notice-card .site-qr {
  flex: none;
  width: 80px;
  height: 80px;
}

.rule-report-sp .notice-card .note {
  margin-top: 8px;
  color: #838a94;
  font-size: 10px;
}
