:root {
  --color-1: #00A44D;
  --color-2: #E9484D;
  --color-3: #B06394;
  --color-4: #F6AC2D;
  --color-5: #ED6D2B;
  --color-6: #EA6091;
  --color-7: #0083B6;
  --color-8: #00b2bc;
  --color-9: #E98E72;
  --color-10: #C78D4B;
}
html {
  color: #222;
  font-size: 1em;
  line-height: 1.5;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #101010;
  font-size: 1.1rem;
  line-height: 1.50;
  display: inline-block;
  background-image: url(../img/temiru_bg_3.jpg);
  background-attachment: fixed;
  background-size: 100vw;
  background-position: center;
  animation: fade 2s;
}
@keyframes fade {
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
}
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.pagetop__arrow {
  height: 20px;
  width: 20px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

#toppage {
  background-image: url(../img/temiru_bg_2.jpg);
  background-position: top;
  background-size: 100%;
  background-repeat: repeat;
  width: 100vw;
  margin-top: -20px;
}

/*==========================================
メニューの設定(JavaScript使用)
============================================*/
.nav_1 {
  color: var(--color-1);
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  padding-top: 20px;
  display: flex;
  height: 80px;
  width: 100vw;
  position: fixed;
  background-color: #D3E7E9;
  z-index: 100;
}
/*ナビゲーションを横並びに*/
.nav_1 ul{
  list-style: none;
  display: flex;
  justify-content:space-around;
  margin: 0 auto;
}

/*2階層目以降は横並びにしない*/
.nav_1 ul ul{
  display: block;
}
/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
.nav_1 ul li{
  position: relative;
}
/*ナビゲーションのリンク設定*/
.nav_1 ul li a{
  display: block;
  text-decoration: none;
  color: #00a44d;
  padding:20px 20px 0 10px;
  transition:all .3s;
}
.nav_1 ul li li a {
  padding:10px 20px;
}
.nav_1 ul li a:hover{
  color: var(--color-8);
}
/* ナビリンクの間の線 */
.nav_1 ul li+li{
  position: relative;
}

/*== 2・3階層目の共通設定 */
/*下の階層を持っているulの指定*/
.nav_1 li.has-child ul {
/*絶対配置で位置を指定*/
  position: absolute;
  left:0;
  top:50px;
  z-index: 4;
/*形状を指定*/
  background:#ffffff;
  width:100%;
/*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
/*アニメーション設定*/
  transition: all .3s;
  border-left: var(--color-1) solid 10px;
}
.nav_1 li.has-child ul li {
  width: ;
  left: 0px;
  font-size: 1rem;
  padding: 0;
  text-align: left;
}
.ul_2 {
  width: 100%!important;
  height: 74%;
}
.nav_1 li.has-child ul li.n4 {
  width: 110%;
  left: 0px;
}
/*hoverしたら表示*/
.nav_1 li.has-child ul li a {
  margin-left: -30px;
  width: 120%;
}
.nav_1 li.has-child:hover > ul,
.nav_1 li.has-child ul li:hover > ul,
.nav_1 li.has-child:active > ul,
.nav_1 li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}
/*ナビゲーションaタグの形状*/
.nav_1 li.has-child ul li.n1 a{
  color: var(--color-10);
}
.nav_1 li.has-child ul li.n2 a{
  color: var(--color-2);
  border-bottom:solid 1px rgba(11, 127, 19, 0.6);
}
.nav_1 li.has-child ul li.n3 a{
  color: var(--color-8);
  border-bottom:solid 1px rgba(11, 127, 19, 0.6);
}
.nav_1 li.has-child ul li.n4 a{
  color: var(--color-1);
}
.nav_1 li.has-child ul li:last-child > a{
 border-bottom:none;
}
.nav_1 li.has-child ul li.n1 a:hover,
 .nav_1 li.has-child ul li.n1 a:active{
  background: var(--color-10);
  color: #fff;
}
.nav_1 li.has-child ul li.n2 a:hover,
.nav_1 li.has-child ul li.n2 a:active{
  background: var(--color-2);
  color: #fff;
}
.nav_1 li.has-child ul li.n3 a:hover,
.nav_1 li.has-child ul li.n3 a:active{
  background: var(--color-8);
  color: #fff;
}
.nav_1 li.has-child ul li.n4 a:hover,
.nav_1 li.has-child ul li.n4 a:active{
  background: var(--color-1);
  color: #fff;
}

.nav_2 {
  display: block;
  position: fixed;
  width: 120px;
  left: 10px;
  top: 60px;
  z-index: 9999;
  text-align: left;
  padding: 10px;
  font-size: .9rem;
  line-height: .9rem;
  background-color: rgba(255, 255, 255, .8);
  border: var(--color-7) solid 1px;
  border-radius: 10px;
  }
.nav_2 a {
  text-decoration: none;
  color: var(--color-1);
}



/*スマホ対応768px以下の形状*/
@media screen and (min-width:769px){
  .nav_mb {
    display: none;
  }

}
@media screen and (max-width:768px){
  .nav_1{
    padding: 0;
    display:none;
  }
  .nav_1 ul{
    display: block;
  }
  .nav_2 {
    display: none;
  }

}
 /* =================================
ハンバーガーボタン
===================================== */

body {
  overflow-x: hidden;
}
.nav {
  display: flex;
  position: fixed;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
  right: 10px;
  z-index: 100;
}
.drawer_button {
  width: 30px;
  height: 20px;
  position: relative;
  top: 20px;
  border: none;
  background: none;
  opacity: 100%;
}
.drawer_button span {
  position: absolute;
  width: 100%;
  left: 0px;
  height: 3px;
  background-color: #000;
  transition: .5s;
}
.drawer_button span:first-of-type {/* ハンバーガーメニューの1番目の線 */
  top: 0;
}
.drawer_button span:nth-of-type(2) {/* ハンバーガーメニューの2番目の線 */
  top: 50%;
}
.drawer_button span:last-of-type {/* ハンバーガーメニューの3番目の線 */
  top: 100%;
}
.drawer_nav_menu {
  background-color: #D3E7E9; 
  position: fixed;
  top: 60px;
  width: 100%;
  height: 80%;
  right: 0;
  transform: translateX(100%);
  transition: .5s;
  z-index: 100;
  list-style: none;
  padding-top: 50px;
  font-size: 1.5rem;
}
.drawer_nav_item {
  /* color: #fff; */
  line-height: 250%;
  text-align: center;
  font-weight: bold;
}
.drawer_nav_link {
  color: var(--color-7);
  text-decoration: none;
}
.drawer_button.active span:first-of-type {/* ハンバーガーメニューの1番目の線 */
  top: 50%;
  transform: rotate(35deg);
}
.drawer_button.active span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
  opacity: 0;/* 透明にする */
}
.drawer_button.active span:last-of-type{/* ハンバーガーメニューの3番目の線 */
  top: 50%;
  transform: rotate(-35deg);
}
.drawer_nav_menu.active {
  transform: translateX(0); 
}


/*====スマホ対応終わり==================================*/

.temiru_u, .info_txt_u, .kaidan_u {
  display: block;
  padding-top: 50px;
  margin-top: -50px;
}
.kouhou_u {
  display: block;
  padding-top: 20px;
  margin-top: -20px;
}
.bunkatu_u {
  display: block;
  padding-top: 80px;
  margin-top: -80px;
}
.bunkatu_oubo_u {
  display: block;
  padding-top: 140px;
  margin-top: -140px;
}

/*=====================================================
ここまでメニューの設定
========================================================*/

/*======================================================
トップページの上部の設定（途中でメニューを移動）
========================================================*/
header {
  position: relative;
}
header .title {
  position: absolute;
  margin: 0 0 0 auto;
  right: 0;
  z-index: 2;
  width: 50%;
}
header .title img {
  max-width: 400px;
}

/*======================================================
ここまでトップページの上部の設定
========================================================*/
/*======================================================
トップページのイメージ及び説明
========================================================*/
#caption {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding-top: 50px;
}
.temiru_title {
  max-width: 600px;
  width: 100%;
  margin: 140px auto 90px;
  position: relative;
}
h3 {
  font-size: 1.3rem;
}
.caption_txt {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding-top: 5px;
  position: relative;
}
.jikan_img img {
  width: 220px;
  position: absolute;
  left: 30px;
  z-index: 5;
 }
.jikan_txt {
  position: relative;
  max-width: 1000px;
  width: 100%;
  margin: 50px auto 20px;
  padding: 20px;
  background-color: var(--color-4);
  border: #4a4a4a solid 1px;
  clip-path: polygon(10% 5%, 100% 10%, 95% 95%, 50% 100%, 15% 88%);
  -webkit-clip-path: polygon(10% 5%, 100% 10%, 95% 95%, 50% 100%, 15% 88%);
  }

@media screen and (max-width:768px) {
  header .title {
    width: 100%;
    top: -20px;
  }
  header .title img {
    width: 90%;
    }
}

/* ポリゴンで切り抜いた図形に枠線をつける */
  .border {
    position: relative;
    border: unset;
    z-index: 1;
    background-color: #4a4a4a;
  }
  .border::after {
    content: '';
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: calc(100% - 1px);
  width: calc(100% - 1px);
  background-color: white;
  clip-path: polygon(10% 5%, 100% 10%, 95% 95%, 50% 100%, 15% 88%);
  -webkit-clip-path: polygon(10% 5%, 100% 10%, 95% 95%, 50% 100%, 15% 88%);
  z-index: -1;
  }

.jikan_txt p {
  padding: 50px 30px 30px 150px;
 }

 @media screen and (max-width:768px) {
  .jikan_img img {
    width: 180px;
    top: 50px;
    left: 30px;
   }
  .jikan_txt p {
    padding: 50px 30px 20px 30px;
   }
  .jikan_txt {
    width: 95%;
    margin: 55px auto 10px;
    padding-left: 15%;
  }
  .temiru_title {
    margin: 70px auto 0px;
  }
 }
 @media screen and (max-width:560px) {
  .jikan_txt p {
    padding-top: 90px;
  }
 }

 /*----- お知らせ -----*/
.infotxt {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
}
.info_title h2 {
  position: relative;
  top: 20px;
  text-align: left;
  margin-bottom: -20px;
}
.infotxt .info_text {
  background-color: rgba(250, 250, 250, .8);
  max-width: 1000px;
  width: 100%;
  margin: 50px auto 30px;
  border: #B06394 dashed 1px ;
}

/*---- flex-box -----*/
.infotxt .info_box {
  padding: 20px 50px 20px 200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.info_item:nth-child(1) {
  flex-basis: 20%;
  text-align: right;
  padding: 20px 0 0 0;
}
.info_item:nth-child(2) {
  flex-basis: 70%;
  padding: 20px 0 0 0;
}
.info_item:nth-child(3) {
  flex-basis: 20%;
  text-align: right;
  padding: 20px 0 0 0;
}
.info_item:nth-child(4) {
  flex-basis: 70%;
  padding: 20px 0 0 0;
}
.info_item:nth-child(5) {
  flex-basis: 20%;
  text-align: right;
  padding: 20px 0 0 0;
}
.info_item:nth-child(6) {
  flex-basis: 70%;
  padding: 20px 0 0 0;
}
.info_item:nth-child(7) {
  flex-basis: 20%;
  text-align: right;
  padding: 20px 0 0 0;
}
.info_item:nth-child(8) {
  flex-basis: 70%;
  padding: 20px 0 0 0;
}
.info_item:nth-child(9) {
  flex-basis: 20%;
  text-align: right;
  padding: 20px 0 0 0;
}
.info_item:nth-child(10) {
  flex-basis: 70%;
  padding: 20px 0 0 0;
}
.infotxt p {
  padding-left: 250px;
}

@media screen and (max-width:768px) {
  .infotxt .info_box {
    display: block;
    padding: 40px;
  }
  .infotxt .info_title img {
    width: 160px;
    left: 3px;
  }
  .infotxt .info_text {
    /* width: 95%; */
    padding-top: ;
  }
  .infotxt p {
    padding-left: 150px;
  }
  .info_item:nth-child(1),
  .info_item:nth-child(3),
  .info_item:nth-child(5),
  .info_item:nth-child(7),
  .info_item:nth-child(9) {
    text-align: left;
  }
  .info_item:nth-child(2),
  .info_item:nth-child(4),
  .info_item:nth-child(6),
  .info_item:nth-child(8),
  .info_item:nth-child(10) {
    padding: 0;
  }
}

/*======================================================
ここまでトップページのイメージ及び説明
========================================================*/
/*======================================================
メイン
========================================================*/
#main {
  white-space: pre-line;
  width: 100vw;
  position: relative;
  margin: 0 auto;
}
.section {
  max-width: 1000px;
  width: 100%;
  margin: 20px auto 0;
  position: relative;
  background-color: #fff;
}

/*=====＃てみる広報室=====*/
.tutaete_section {
  position: relative;
  top: -40px;
}
.tutaete_title img {
  width: 220px;
  position: absolute;
  top: -40px;
  left: -4rem;
  z-index: 2;
}
.tutaete_top img {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 4rem;
  width: 40%;
  max-width: 450px;
  min-width: 300px;
}
.tutaete_txt {
  position: relative;
  margin: -90px auto 0;
  width: 80%;
  line-height: 1.5em;
  }
.tutaete_txt h3 {
  color: var(--color-2);
  font-weight: bold;
}
.tutaete_p {
  margin-bottom: -20px;
}

/* レスポンシブ対応 */
@media screen and (max-width:1040px) {
  .tutaete_title img {
    left: 0;
  }
  .tutaete_top img {
    left: 15%;
  }
}
@media screen and (max-width:768px) {
  .tutaete_title img {
    top: -30px;
    width: 23%;
    min-width: 150px;
  }
  .tutaete_p {
    margin-left: 0;
  }
 }


/* 開催日程レイアウト1 */
.tutaete_nittei {
  display: flex;
  flex-direction: column;
  margin: -40px 0 30px 30px;
}
.card {
  border: none;
  border-radius: 0;
  padding: 20px 0 10px 0;
}
.n1_pic2 img, .n2_pic2 img, .n4_pic2 img{
  width: 150px;
}
.ni1, .ni2, .ni3,.ni4 {
   border-bottom: var(--color-2) dotted 5px;
}
.ni_credit {
  font-size: small;
  line-height: 1;
  margin-top: 5px;
  width: 150px;
  margin-bottom: 0;
}
.mark {
  margin-left: 1rem;
  background: none;
  width: 30px;
}
.nittei_t {
  font-weight: 600;
}
.nittei_d {
  padding-left: 1rem;
}
.nittei_c {
  border: solid 1px ;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 0 5px 5px;
  line-height: 1.3;
}

@media screen and (max-width:768px) {
  .tutaete_nittei {
    margin-left: 0;
  }
}
@media screen and (max-width:575px) {
  .n2_pic2 img {
    position: relative;
    top: -25px;
    margin-bottom: -20px;
  }
}

/*ぶんかつギャラリー*/
.bunkatu_section {
  position: relative;
  top: -60px;
}
.bunkatu_title {
  position: relative;
}
.bunkatu_title img{
  width: 220px;
  position: absolute;
  top: -75px;
  left: -30px;
  z-index: 2;
}
.bunkatu_top img {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 5rem;
  width: 40%;
  max-width: 450px;
  min-width: 300px;
}
.bunkatu_p {
  margin-left: ;
}
.bunkatu_txt img {
  width: 80%;
  max-width: 300px;
  display: block;
  margin: 20px auto 0;
}
.bunkatu_txt {
  position: relative;
  margin: -50px auto 0px;
  width: 80%;
  line-height: 1.5em;
  }
.bunkatu_txt h3 {
  color: var(--color-8);
  font-weight: bold;
}
.bunkatu_txt .sml {
  margin-left: 2rem;
}
/* ul.space {
  margin-top: -50px;
}
ul.space li {
  margin-bottom: -20px;
  margin-left: -20px;
} */
.bunkatu_txt ul.oubo {
  border-left:10px solid var(--color-8);
  background-color: rgba(0, 178,188, .1);
  padding: 10px 10px 10px 30px;
  margin: -20px 0;
  font-size: 1rem;
  line-height: 1.3em;
}
.bunkatu_txt ul.button {
  display: flex;
  list-style: none;
  justify-content: space-around;
}
.bunkatu_txt ul.button li {
  font-size: 16px;
  text-align: center;
  padding: 4px 0;
  margin: 5px;
  max-width: 200px;
  width: 25%;
  background-color: var(--color-8);
  border: none;
  border-radius: 10px;
}
.bunkatu_txt ul.button li a {
  text-decoration: none;
  color: #fff;
  display: block;
  font-weight: bold;
  margin: 0 5px;
}
.bunkatu_btn {
  margin-bottom: 40px;
}


/* レスポンシブ対応 */
@media screen and (max-width: 1140px) {
  .bunkatu_title img {
    left: 0;
  }
  .bunkatu_top img {
    left: 12%;
  }
  .bunkatu_p {
    margin-left: 10px;
  }
}
@media screen and (max-width: 768px) {
  .bunkatu_txt span {
    margin-top: 35px;
  }
  .bunkatu_txt .sml {
    margin-left: 2em;
  }
  .bunkatu_title img {
    width: 30%;
    min-width: 200px;
  }
  .bunkatu_top img {
    left: 14%;
  }
  .bunkatu_p {
    margin-left: 30px;
  }
  .bunkatu_txt img{
    top: -30px;
    right: 0px;
    width: 300px;
  }
  .bunkatu_txt span {
    padding-left: 0;
  }
  .bunkatu_txt ul.oubo {
    margin: -20px 0 -20px -20px;
    width: 100%;
  }
  .bunkatu_txt ul.button, .tutaete_txt ul.button {
    flex-wrap: wrap;
    flex-direction: column;
    margin-bottom: -20px;
  }
  .bunkatu_txt ul.button li, .tutaete_txt ul.button li {
    width: 80%;
    margin-bottom: 30px;
  }
  .bunkatu_txt .sml {
    margin-left: 2em;
  }
}
@media screen and (max-width: 560px) {
  .bunkatu_top img {
    margin-left: 7%;
  }
  .bunkatu_p {
    margin-left: 50px;
  }
  .bunkatu_txt {
    margin-top: -80px;
  }
 }

/* table */


/* .tbl-r05 {
  margin-left: 30px;
  margin-top: -20px;
  width: 95%;
}
th {
  background: var(--color-1);
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
}
td {
  border: solid 1px #ccc;
  padding: 10px;
}
.tbl-r05 td:first-child {
  background: #ffffff;
  text-align: center;
}
.art {
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .tbl-r05 {
    width: 95%;
    margin-left: 10px;
  }
  .tbl-r05 .thead {
    display: none;
  }
  .tbl-r05 tr {
    width: 100%;
  }
  .tbl-r05 td {
    display: block;
    text-align: center;
    width: 100%;
  }
  .tbl-r05 td:first-child {
    background: #00A44D;
    color: #fff;
      text-align: center;
  }
  .tbl-r05 td:before {
    content: attr(data-label);
    float: left;
    font-size: .9rem;
    margin-right: 15px;
    font-weight: normal;
  }
  
} */

/* table ここまで */


/*== 階段ジャックワークショップ ==*/
.kaidan_section {
  position: relative;
  top: -80px;
}
.kaidan_title {
  position: relative;
}
.kaidan_title img{
  width: 220px;
  position: absolute;
  top: -100px;
  right: -4rem;
  z-index: 2;
}
.kaidan_top img {
  position: absolute;
  margin-left: 5rem;
  width: 40%;
  max-width: 450px;
  min-width: 300px;
  top: 0;
}
.kaidan_txt {
  position: relative;
  margin: -20px auto 0;
  width: 80%;
  line-height: 1.5em;
}
.kaidan_txt img{
  width: 80%;
  max-width: 300px;
  display: block;
  margin: 0 auto ;
}
.kaidan2_txt h3 {
  color: var(--color-5);
  font-weight: bold;
}
.jack_chirashi {
  width: 300px;
  position: relative;
  margin: 0 auto;
}
.jack_chirashi span {
  font-size: .8rem;
  margin-left: 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1140px) {
  .kaidan_title img {
    right: 0;
  }
}
@media screen and (max-width:768px) {
  .kaidan_title img {
    width: 25%;
    min-width: 160px;
  }
  .kaidan_top img {
    left: -45px;
  }
  .kaidan_txt img {
    top: -30px;
    right: 0px;
    width: 300px;
  }
  .kaidan_txt {
    top: -50px;
    }
  }
@media screen and (max-width: 560px) {
  .kaidan_title img {
    top: -100px;
  }
  .kaidan_top img {
    left: -45px;
  }
 }


/*======================================================
ここまでプレ事業の内容
========================================================*/

/*======================================================
フッター
========================================================*/
#footer {
  background-image: url(../img/temiru_bg_2.jpg);
  background-size: contain;
  background-repeat: repeat;
  background-position: bottom;
  width: 100vw;
  margin-bottom: -80px;
  margin-top: -100px;
   }
.footer_txt {
  position: relative;
  margin: -20px auto;
  max-width: 1000px;
  width: 80%;
  line-height: 1.5em;
}
.footer_txt h3 {
  color: var(--color-1);
  font-weight: bold;
}
.footer_txt p, ul {
margin-left: 30px;
}
.footer_txt ul.annai_pc {
  display: flex;
  list-style: none;
  margin-top: -30px;
}
.footer_txt ul.annai_pc li {
  margin: 0 40px 0 0;
  width: 500px;
 }
.footer_txt .annai_sp {
  display: none;
 }

@media screen and (max-width:768px) {
  .footer_txt ul.annai_pc {
    display: none;
  }
  .footer_txt .annai_sp {
    display: inline-block;  
    margin: -70px 0 20px 40px;
     }
 }

/*======================================================
ここまでフッター
========================================================*/
 


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

