/* SUB STYLE CSS */

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

body {
  background-color: transparent;
  color: #fff5f5;
  font-size: 20px;
  font-family: "Slackey","DotGothic16", sans-serif;

}

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

.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;
}

/* 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 */

iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"] {
  width: 300px;
  height: 200px; 
}


.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;
}


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

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

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

a {
text-decoration: none;
}


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);
}


#info {
    color: #fff5f5;
  font-size: 20px;
  font-family: "DotGothic16", sans-serif;
}

/*                         tab style                          */
/*                         tab style                          */
/*                         tab style                          */
    .tab-switch {
  --tab-color:#fff5f5;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin: auto;
  gap: 0px;
}

/* タブボタン */
.tab-switch label {
  padding: 0.2em 1em;
  background:#000000;
  color: #ff7b00; /*  非選択時タブ文字オレンジ */
  cursor: pointer;
  order: -1; /* 上に表示 */
  text-align: center;
  flex: 1 1 auto; /* 均等幅 */
}

/* ラジオ非表示 */
.tab-switch input {
  display: none;
}

/* コンテンツ非表示 */
.tab-content {
  display: none;
  width: 100%;
  padding: 5px 0;
}

/* 選択されたタブ＋コンテンツ表示 */
.tab-switch label:has(:checked) {
  background: var(--tab-color);
  color: #00ff00;
}
.tab-switch label:has(:checked) + .tab-content {
  display: block;
}

/* top modoru botan */ /* top modoru botan */ /* top modoru botan */ /* top modoru botan */ /* top modoru botan */

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