/* ページ専用：AI利用方針・プライバシーポリシー（ai-policy.html / privacy.html） */
p.jp-wrap {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.aip-stance {
  padding-top: clamp(72px,7vw,112px);
  padding-bottom: clamp(32px,3vw,48px);
}

.aip-stance__g {
  display: grid;
  grid-template-columns: minmax(0,4fr) minmax(0,8fr);
  gap: clamp(24px,4vw,64px);
  align-items: start;
}

@media (max-width:900px) {
  .aip-stance__g {
    grid-template-columns: 1fr;
  }
}

.aip-stance__k {
  margin: 0;
  font-family: var(--min);
  font-weight: 600;
  font-size: clamp(26px,2.8vw,40px);
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--ink);
}

.aip-stance__t {
  margin: clamp(20px,2vw,28px) 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: .04em;
  color: #1E1E1E;
}

.aip-rules {
  padding-bottom: clamp(72px,7vw,110px);
  padding-top: clamp(32px,3vw,48px);
}

.aip-art {
  display: grid;
  grid-template-columns: minmax(0,4fr) minmax(0,8fr);
  gap: clamp(20px,4vw,64px);
  padding: clamp(32px,3.4vw,48px) 0;
  border-bottom: 1px solid #E2E2E2;
}

@media (max-width:900px) {
  .aip-art {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.aip-rules .sec-head + .aip-art {
  margin-top: clamp(28px,3vw,40px);
  border-top: 1px solid #E2E2E2;
}

.aip-art__h {
  margin: 0;
  font-size: clamp(18px,1.6vw,21px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}

.aip-art__b > p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: .04em;
  color: #1E1E1E;
}

.aip-art__b > * + * {
  margin-top: 20px;
}

.aip-uses {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

@media (max-width:640px) {
  .aip-uses {
    grid-template-columns: 1fr;
  }
}

.aip-uses__c {
  padding: 22px 24px 24px;
  border-radius: var(--r);
  background: #F5F5F5;
}

.aip-uses__c--n {
  background: #fff;
  box-shadow: inset 0 0 0 1px #E0E0E0;
}

.aip-uses__lb {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--sub);
}

.aip-uses__c--y .aip-uses__lb {
  color: var(--red);
}

.aip-uses ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aip-uses li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}

.aip-uses li + li {
  border-top: 1px solid rgba(0,0,0,.07);
}

.aip-uses li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.aip-uses__c--n li::before {
  top: 20px;
  width: 10px;
  height: 2px;
  border-radius: 0;
  background: #9A9A9A;
}

.aip-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  list-style: none;
}

@media (max-width:640px) {
  .aip-steps {
    grid-template-columns: 1fr;
  }
}

.aip-steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: #F5F5F5;
}

.aip-steps b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
}

.aip-steps span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: #3A3A3A;
}

.aip-date {
  margin: clamp(28px,3vw,40px) 0 0;
  text-align: right;
  font-size: 13.5px;
  color: var(--sub);
  letter-spacing: .06em;
}

.aip-art__b > p.aip-key {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
}

.aip-key strong {
  font-weight: 700;
  background: linear-gradient(transparent 62%,rgba(228,0,25,.14) 62%);
}

.aip-art__b > .aip-uses + p.aip-note {
  margin-top: clamp(28px,2.6vw,36px);
}

.pp {
  padding-top: clamp(72px,7vw,112px);
}

.pp .sec-head {
  max-width: 860px;
}

.pp .sec-head .lead {
  font-size: 16px;
  line-height: 2.05;
}

.pp-ul {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  list-style: none;
}

.pp-ul li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.85;
  border-top: 1px solid #EDEDED;
}

.pp-ul li:last-child {
  border-bottom: 1px solid #EDEDED;
}

.pp-ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 21px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.pp-dl {
  margin-left: 0;
  margin-right: 0;
  border-radius: var(--r);
  background: #F5F5F5;
  padding: 6px 24px;
}

@media (max-width:640px) {
  .pp-dl {
    padding: 4px 18px;
  }
}

.pp-dl div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 16px 0;
}

.pp-dl div + div {
  border-top: 1px solid rgba(0,0,0,.07);
}

.pp-dl dt {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.8;
}

.pp-dl dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: #2A2A2A;
}

.pp-dl--co div {
  grid-template-columns: 120px 1fr;
}

@media (max-width:640px) {
  .pp-dl div,
  .pp-dl--co div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* 404：主なページへの入口 */
.nf {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nf__a {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--r);
  box-shadow: inset 0 0 0 1px #CFCFCF;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: box-shadow .3s, background .3s, color .3s;
}

.nf__a:first-child {
  background: var(--red);
  color: #fff;
  box-shadow: none;
}

.nf__a:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.nf__a:first-child:hover {
  background: #C70016;
}

/* 強調の一文は語の途中で折り返さない */
.aip-key strong {
  word-break: auto-phrase;
}

/* SP（2026-10 改修）：セクションの間は56px */
@media (max-width:768px) {
  .aip-stance,
  .pp {
    padding-top: 56px;
  }
  .aip-rules {
    padding-bottom: 56px;
  }
}

/* 2026-10 山下の直し：AI利用方針の一文は改行を固定しない（PCでは1行、スマホは言葉の区切りで） */
.aip-stance__k span {
  display: inline;
}

.aip-stance__k {
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 404：PCでは2文をバランスよく2行に */
@media (min-width:769px) {
  main:has(.nf) .hero__txt {
    text-wrap: balance;
  }
}

/* 共通の部品にそろえる（2026-10）：囲みは外のカード（灰色・角丸20px・縁と影なし） */
.aip-uses__c,
.aip-uses__c--n {
  background: var(--card);
  border-radius: var(--card-r);
  box-shadow: none;
}

.pp-dl,
.aip-steps li {
  border-radius: var(--card-r);
  background: var(--card);
}
