/* MAIN STYLE CSS */

@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Slackey&display=swap');

body {
  background-color: #000000;
  color: #000000;
  font-size: 15px;
  font-family: "DotGothic16", sans-serif;
  background-image: url('sozaiimage/bgimg4.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.dotgothic16-regular {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
}


.mainbox {
  width: 80%; /*  */
  max-width: 500px; /* 最大500ｐｘまで */
  margin: 0 auto; /* 中央寄せ */
  background-color: transparent;
  border-left: transparent solid 10px;
  border: transparent solid 1px; 
  font-size: 25px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 50px;
  text-align: left;
}

.pagetop
    {
    position: fixed;
    bottom: 16px;
    right: 16px;
    }
 
.pagetop a
    {
    display: block;
    text-decoration: none;
    }
 
.pagetop:hover
{
    opacity: 0.85 ;
}



/* mobile */

@media (max-width: 500px) {
  .mainbox {
    width: 80%;
    height: auto;
    margin: 0 auto;
    background-color: transparent;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 30px;
    text-align: left;
  }
}

.example>div{
    border: 1px solid #999;
    background: #f2f2f2;
    padding: 10px;
    margin: 10px;
}
@media(min-width:751px){
    .sp{
        display: none !important;
    }
}
@media screen and (min-device-width: 481px) and (orientation:portrait){
    .pc{
        display: none !important;
    }
}


/* iPadポートレイト */
@media screen and (min-device-width: 481px) and (orientation:portrait) {
     .form {
       position: relative;
       left: -5px;
       top: -110px
  }
  .formkkm {
    width: 310px;
    height: 250px;
  }
}
 
/* iPadランドスケープ */
@media screen and (min-device-width: 481px) and (orientation:landscape) {
  .form {
       position: relative;
       left: -5px;
       top: -110px
  }
    .formkkm {
    width: 310px;
    height: 250px;
  }
}

/* blog */

.memobox {
  width: 100%; 
  max-width: 500px; 
  margin: 0 auto; 
  background-color: transparent;
  border-left: transparent solid 10px;
  border: transparent solid 1px; 
  font-size: 15px;
  letter-spacing: 0.1em;
  text-align: left;
  font-family: "DotGothic16", sans-serif;
  padding: 30px;
}



h1 {
color: #00ff00;
font-size:  40px;
margin: 0;
}
@media (max-width: 500px) {
  h1 {
    color: #00ff00;
    font-size:  30px;
    margin: 0;  
  }
}

h2 {
  display: inline;
  color: #000000;
  font-size: 30px;
}

h3 {
  color: #fff5f5;
  border-bottom: dashed 1px #fff5f5;
}

.link {
  color: #000000;
  text-decoration: none;
  font-size: 30px;
  padding: 3px;
}
.link:visited{
    color: #000000;
}
.link:hover{
   color: #cc99ff;
}

a {
text-decoration: #000000;
}


img {
  display: block;          /* 余白のズレ回避 */
  max-width: 100%;         /* 親の幅まで拡大/縮小 */
  height: auto;            /* 比率維持 */
}

.mainimage {
  display: inline-block;          /* 余白のズレ回避 */
  max-width: 100%;         /* 親の幅まで拡大/縮小 */
  height: auto;            /* 比率維持 */
}

.mainimage a{
   text-decoration: none;
   background: transparent;
}

.image-container img {
    display: inline-block;
    margin-right: 1px; /* 画像間の隙間を設定 */
}

.hoverlink {
	background-color: transparent;
	color: transparent;
	display: inline-block;
	padding: 0;
	margin: 0;
	cursor: pointer;
	transition: all 0.3s ease 0s;
}
.hoverlink:hover {
	transform: translateY(-0.1875em);
}
