body {
  width: 100%;
  max-width: 30rem; /* 480px */
  min-width: 20rem; /* 320px */
  color: #545454;
  font-size: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: #ccff99;
  font-family: 'BIZ UDゴシック';
  line-height: 2;
}

a {
  color: blue;
}

h1, h2, h3 {
  font-size: 1rem; /* 16px */
}

h1 {
  margin: 0;
}

h2 {
  margin-top: 0;
  border-top: solid 0.1875rem #993300; /* 3px */
  border-bottom: solid 0.1875rem #993300; /* 3px */
}

h3 {
  border-top: solid 0.1875rem #993300; /* 3px */
  border-bottom: solid 0.1875rem #993300; /* 3px */
}

h4 {
  margin: 0;
  white-space: normal;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
  display: block;
  margin: 0.625rem 1% 0 0; /* 10px */
  white-space: pre;
}

aside {
  display: none;
}

.con-row {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.con-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  width: 100%;
}

.con2 {
  padding: 2% 2%;
  border: solid 1px #FF6666;
}

.con2-ue {
  padding: 2% 2%;
  border: solid 1px #FF6666;
  border-bottom: none;
}

.con2-naka {
  padding: 2% 2%;
  border-left: solid 1px #FF6666;
  border-right: solid 1px #FF6666;
}

.con2-sita {
  padding: 2% 2%;
  border: solid 1px #FF6666;
  border-top: none;
}

.con2-2 {
  padding: 0 2%;
}

.con2-3, .con2-4 {
  padding: 0 2%;
}

.con2-4 iframe {
  width: 15.75rem; /* 252px */
  height: 11.8125rem; /* 189px */
}

.con3 {
  padding: 0.3125rem 0 0.3125rem 5%; /* 5px */
  border: solid 1px #FF6666;
}

#bg {
  background-color: #ffffff;
}

#hed {
  padding: 1%;
  background-color: #993300;
  color: #ffffff;
}

#hed2 {
  padding: 1%;
  border: solid 1px #FF6666;
}

.hnkgzu {
  float: right;
  width: 7.5rem; /* 120px */
  height: 7.5rem; /* 120px */
}

.hnkgzu2 {
  width: 7.5rem; /* 120px */
  height: 6.625rem; /* 106px */
}

.ngrgzu {
  width: 9.75rem; /* 156px */
  height: 13rem; /* 208px */
}

.mokuji {
  border: solid 1px #FF6666;
  margin-bottom: 0.625rem; /* 10px */
}

.mokuji li {
  display: list-item;
  list-style: decimal;
  margin: 0;
  white-space: normal;
}

nav {
  line-height: 1.5;
}

.adslot {
  max-width: 21rem; /* 336px */
}

.adslot3 {
  max-width: 18.75rem; /* 300px */
}

.adslot4 {
  max-width: 18.75rem; /* 300px */
}

.c {
  text-align: center;
}

@media (min-width: 481px) {
  body {
    max-width: 48rem; /* 768px */
    min-width: 30rem; /* 480px */
  }

  aside {
    display: block;
    flex: 0 0 19rem; /* 302px */
  }

  .con2 {
    flex: 1; 
    min-width: 0; 
  }

  .con3 {
    padding: 0.0625rem 5%; /* 1px */
  }
  
  .sid {
    width: calc(100% - 2px);
    line-height: 1;
    border: solid 1px #FF6666;
  }
  
  .sid2, .sid3 {
    width: 100%;
  }

  .sid3 {
    position: sticky;
    position: -webkit-sticky; 
    top: 10px; 
  }

  h1, h3 {
    font-size: 120%;
  }
  h2 {
    font-size: 140%;
  }

  .hnkgzu {
    width: 11.25rem; /* 180px */
    height: 11.25rem; /* 180px */
  }

  .hnkgzu2 {
    width: 10rem; /* 160px */
    height: 8.75rem; /* 140px */
  }
  
  .con2-4 iframe {
     width: 100%;
     height: auto;
  }

  .adsmh {
    display: none;
  }

  .adslot {
    width: 90%;
  }
}

@media (min-width: 829px) {
  .con2-4 {
    padding: 0;
  }
  
  .con4 {
    border: none;
  }

  .ngrgzu {
    width: 13.5rem; /* 216px */
    height: 18rem; /* 288px */
  }
}

@media (min-width: 961px) {
  body {
    max-width: 65.5rem; /* 1048px */
  }
  
  li {
    display: inline-block;
  }

  .ngrgzu {
    width: 18rem; /* 288px */
    height: 24rem; /* 384px */
  }

  .adslot {
    width: 37.5rem; /* 600px */
  }
}

@media (min-width: 1048px) {
  .adslot {
    width: 45.5rem; /* 728px */
  }
}