/* プライバシーポリシーのページ */
/* PCファーストで作成する */
/* ※注意※画像の上に重ねている文字のサイズを大きくしすぎると。横スクロールがでます */

/* バグが出たときのために、要素ごとの外枠に線を引く記述をコメントアウトしておく */
* {
  /*outline: 1px solid magenta;*/
}

/* プライバシーポリシーの画像設定 */
.overlap-picture {
  width: 100%;
  margin-bottom: 2em;
}
.overlap-picture p {
  font-size: 3em;
  font-weight: bold;
  color: #2A5CAA;
  text-shadow: 0 0 10px #fefefe;
  text-align: center;
}
.overlap-picture img {
  height: 250px;
  opacity: 0.6;
  object-fit: cover;
}
@media print,screen and (max-width: 979px) {
  .overlap-picture {
    margin-bottom: auto;
  }
  .overlap-picture p {
    width: 50%;
    font-size: 0.9em;
  }
  .overlap-picture img {
    height: 150px;
  }
}

/* 項目タイトルの装飾(プライバシーポリシーのページはほとんど書式が違うため、ダブりがあるがそのまま記述) */
/* PC専用装飾 */
@media screen and (min-width: 980px) {
  .policy {
    width: 80%;
    margin: auto;
  }
  .policy h2 {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem 1rem 130px;
    border: 2px solid #2A5CAA;
    color: #333333;
  }
  .policy h2:before {
    position: absolute;
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    background-color: #2A5CAA;
  }
  .policy h2 span {
    font-size: 3.5rem;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    padding-top: 3px;
    padding-left: 16px;
    color: #ffffff;
    text-shadow: 0 0 10px #333333;
  }
  .policy p {
    width: 90%;
    margin: auto;
    padding: 1em;
    color: #333333;
    font-size: 1.2em;
  }
}
@media print,screen and (max-width: 979px) {
  .policy {
    position: relative;
    width: 90%;
    margin: 1em auto;
    padding: 25px 10px 7px;
    border: solid 2px #2A5CAA;
  }
  .policy h2 {
    padding: 0.2em;
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 20px;
    background-color: #2A5CAA;
    color: #ffffff;
    font-weight: bold;
  }
  .policy p {
    padding: 0.2em;
    color: #333333;
  }
}