/*popup*/
.popup-link{
  display:flex;
  flex-wrap:wrap;
}

.popup-link a{
    background: #333;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-size:17px;
    cursor:pointer;
    margin:20px;
    text-decoration:none;
}

.popup-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
}
.popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}
.popup-content p{
    font-size: 17px;
    padding: 10px;
    line-height: 20px;
}
.popup-content a.close{
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: none;
    padding: 0;
    margin: 0;
    text-decoration:none;
}

.popup-content a.close:hover{
  color:#333;
}

.popup-content span:hover,
.popup-content span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-container:target{
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.popup-container h3{
  margin:10px;
}
/*End popup styles*/

/* Additional styles */
.popup-style-2{
  transform: scale(0.3);
  
}

.popup-style-2:target{
  transform: scale(1);
}

.popup-style-3{
  left:100%;
  
}

.popup-style-3:target{
  left:0;
}

.popup-style-4{
  transform: rotate(180deg);
}

.popup-style-4:target{
  transform: rotate(0deg);
}

.popup-style-5{
  top:100%;
  
}

.popup-style-5:target{
  top:0;
}

.popup-style-6{
  transform: scale(15.3);
  
}

.popup-style-6:target{
 transform: scale(1);
 }

.popup-style-7{
  transform: skewY(180deg);
   transition: all 0.7s ease-in-out;
}

.popup-style-7:target{
 transform: skewY(0deg);

 }

/*popup*/
.popup-link{
  display:flex;
  flex-wrap:wrap;
}

.popup-link a{
    background: #333;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-size:17px;
    cursor:pointer;
    margin:20px;
    text-decoration:none;
}

.popup-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
}
.popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}
.popup-content p{
    font-size: 17px;
    padding: 10px;
    line-height: 20px;
}
.popup-content a.close{
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: none;
    padding: 0;
    margin: 0;
    text-decoration:none;
}

.popup-content a.close:hover{
  color:#333;
}

.popup-content span:hover,
.popup-content span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-container:target{
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.popup-container h3{
  margin:10px;
}
/*End popup styles*/

/* Additional styles */
.popup-style-2{
  transform: scale(0.3);
  
}

.popup-style-2:target{
  transform: scale(1);
}

.popup-style-3{
  left:100%;
  
}

.popup-style-3:target{
  left:0;
}

.popup-style-4{
  transform: rotate(180deg);
}

.popup-style-4:target{
  transform: rotate(0deg);
}

.popup-style-5{
  top:100%;
  
}

.popup-style-5:target{
  top:0;
}

.popup-style-6{
  transform: scale(15.3);
  
}

.popup-style-6:target{
 transform: scale(1);
 }

.popup-style-7{
  transform: skewY(180deg);
   transition: all 0.7s ease-in-out;
}

.popup-style-7:target{
 transform: skewY(0deg);

 }/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }


.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }




/*modal1*/
dialog {
  width: 100%;
  max-width: 600px;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #dedede;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  animation: scale-in 0.4s ease-out;
}

dialog::backdrop {
  background: radial-gradient(
    circle,
    rgba(59, 188, 215, 0.5) 0%,
    rgba(59, 188, 215, 0.5) 100%
	/*rgba(216, 209, 116, 0.5) 0%,
    rgba(182, 196, 84, 0.7) 100%*/
  );
}

/* Styling inside of the modal */

dialog header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  background: #fff;
  border-bottom: 1px solid rgba(216, 209, 116, 1);
}

dialog footer {
  border-top: 1px solid rgba(216, 209, 116, 1);
}

dialog > * {
  padding: 24px;
}

dialog p:last-of-type {
  margin-bottom: 0;
}

/* bouncy animation because i can */
@keyframes scale-in {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* quick and dirty button styling, forgive me ;) */
.btn1 {
  display: inline-block;
  font-family: "Merriweather", sans-serif;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
}


.btn1-primary {
  padding: 20px 50px;
  font-size: 1.6rem;
  line-height: 1.6rem;
  letter-spacing: 2px;
  font-weight: 700;
  background: #91972a;
  border-color: #91972a;
  color: #fff;
  transition: all 0.24s;
}

.btn1-primary:hover,
.btn1-primary:active {
  background-color: #797d25;
  border-color: #797d25;
}

.btn1-primary-outline {
  padding: 10px 25px;
  font-size: 1.2rem;
  letter-spacing: 0;
  color: #91972a;
  background: #fff;
  border-width: 2px;
  border-color: #91972a;
  border-radius: 6px;
  transition: all 0.24s;
}





.btn1-primary-outline:hover,
.btn1-primary-outline:active {
  border-color: #797d25;
}

.btn1-icon {
  padding: 0;
  background: transparent;
  width: 24px;
  height: 24px;
  color: #91972a;
}



/*modal2*/

/*#modal {
  position: fixed;
  left: 15%;
  top: 20%;
  height: 500px;
  width: 70%;
  background-color: #fff;
  display: none;
  border-radius: 50px;
}


.close {
  position: absolute;
  right: -15px;
  top: -15px;
  font-size: 50px;
  background-color: white;
  border-radius: 20%;
  border: 2px solid black;
  text-align: center;
 cursor: pointer;
}

iframe {
  width: 100%;
  height: 100%;
  border-radius: 50px;
}*/





/*topic*/
.infobox{width:90%; margin:auto;}

.info{background:/*rgba( 219, 220, 188, 0.8 ); */rgba(255, 255, 255, 0.95 );   padding:15px; margin:0 auto; font-size:13px;border-radius: 10px;/* CSS3草案 */  -webkit-border-radius: 10px;/* Safari,Google Chrome用 */  -moz-border-radius: 10px;/* Firefox用 */}
.info dl{line-height:22px;}

.info dt{
    border-bottom: 1px solid orange;
    border-right: 1px solid orange;
    color: orange;
    padding-left : 6px;
    width : 100px;
    margin-bottom: 2px;
    margin-top: 1px;
    padding-top : 0;
    padding-bottom : 2px;
    float : left;
    clear : both;
    text-align: left;
}
 
.info dd{ padding-left : 10px;  padding-right : 10px; margin-left : 115px; margin-bottom:3px; margin-top:3px; padding-top : 3px;   padding-bottom : 2px;  
text-align: left;}




/*日付用*/
.date{margin-left:15px;}
.date dt{ font-size:86%; border-bottom: 1px solid gray;border-right: 1px solid gray;color: gray;  padding-top : 3px;   padding-bottom : 3px;  padding-left : 6px;  width : 90px; font-weight:bold;/* 左寄せ */  float : left;/* float解除 */  clear : both;}	
.date dd{padding-top : 3px;  padding-left : 15px;  padding-right : 10px;  padding-bottom : 14px; margin-left : 100px;line-height:18px; font-size:96%;}	




/*UPDATE情報のタブメニュー*/
#tabmenu{    padding:0px;    margin:0px;    color:#333;    font-size: 11px;    width:auto;   height:40px;}

#tabmenu div#tab{  }

#tabmenu div#tab a{float: left;height: 40px;line-height: 40px;text-align: center;width: 80px;display: block;text-decoration:none;color:#333; border-top:#999 1px solid; border-left:#999 1px solid; border-bottom:1px #999 solid;}

#tabmenu div#tab a.righttab{border-right:#999 1px solid;}

#tabmenu div#tab a:hover{    background:#66b0d3;    color:#fff;}

#tabmenu div#tab a.now{    background:#66b0d3;    color:#fff;}


/*ボタン*/
.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: #eb6100;
}
.btn--orange:hover,
a.btn--orange:hover {
  color: #fff;
  background: #f56500;
}

.fa-position-left {
  position: absolute;
  top: calc(50% - .5em);
  left: 1rem;
}

/*cards*/
.content-cards {
  display: flex;
  padding: 1em;
  gap: 2em;
  height: 100%;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}

.card_eg {
  background-color: rgba(255, 255, 255, 1.5);
  border-radius: 18px;
  box-shadow: 2px 4px 12px rgb(0 0 0 / 8%);
  padding: 1em;
  position: relative;
  color: #000;
  width: 15em;
  height: 22em;
  overflow: auto;
}

.card_eg:hover {
  cursor: pointer;
  transition-duration: 0.5s;
 /* background-color: #91F4FC;*/
  opacity: 0.9;
}

.card_eg > .head {
  /*border-bottom: 1.5px solid gray;*/
}

.card_eg > .head > .title {
  margin: 0;
}

.card_eg > .head > .subtitle {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.card_eg > .head > .title {
  margin: 0;
}

.card_eg  .body  .content {
	color: black;
	font-size: 20px;
}



.card_eg .card_image {
  width: inherit;
  height: inherit;
  border-radius: 40px;
}

.card_eg .card_image img {
  width: inherit;
  height: inherit;
  border-radius: 40px;
  object-fit: cover;
}




/* CARDS */



/* CARD BACKGROUNDS */

.card-1 {
  /*background: radial-gradient(#1fe4f5, #3fbafe);*/
	background:#fff url("../images/mitsu.png") no-repeat center;
	background-size: contain;
}

.card-2 {
  background:#fff url("../images/benzs.png") no-repeat center;
	background-size: contain;
}

.card-3 {
  background:#fff url("../images/cummins.png") no-repeat center;
	background-size: contain;
}

.card-4 {
  background:#fff url("../images/hino.png") no-repeat center;
	background-size: contain;
}

.card-5 {
  background: radial-gradient(#f588d8, #c0a3e5);
}

.card-6 {
  background:#fff url("../images/isuzu.png") no-repeat center;
	background-size: contain;
}

.card-7 {
  background:#fff url("../images/yanmar.png") no-repeat center;
	background-size: contain;
}

.card-8 {
  background:#fff url("../images/kubota.png") no-repeat center;
	background-size: contain;
}


