* {
  padding: 0px;
  margin: 0px;
} 

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: #ffffe0;
  font-family: "メイリオ";
max-width: 1024px;
margin: 0 auto;
}

img { display: block; }

a:link {
 color: #ffffff; 
  text-decoration: none;
}
a:visited { color: #ffff00; }
a:hover {
 color: #ff0000; 
  text-decoration: underline;
}
a:active { color: #ffff00; }

/* header */
header #lastUpdate {
  font-size: 8px;
}
header img {
  display: block;
  min-width: 170px;
  width: 170px;
}
header table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}
header td {
  text-align: center;
  color: #ffffff;
}
header a {
  font-size: 14px;
  color: #ffffff;
  position: relative;
  top: 3px; /* 下に3px移動 */
}


/* パンくずリスト */
.breadcrumb {
  font-size: 14px;
  color: #666;
  padding-top: 20px;
  padding-left: 20px;
}
.breadcrumb a {
  color: black; /*#5a7d7c;*/
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.title {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  background-color: #FF9900;
  padding-top: 5px;
  text-align: center;
}
.titles, .titlesg, .titlesb {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding-top: 5px;
  color: #fff;
}
.titles { background-color: #FF6600; }
.titlesg { background-color: #008000; }
.titlesb { background-color: #211183; }

.contents {
  font-size: 15px;
  color: #000000;
  padding: 25px;
  line-height: 1.5
}

/* kojin.html */
.times {
  width: 100%;
  max-width:100%;
  font-size: 16px;
  color: #ffffff;
  background-color: #000000;
  text-align: center;
  border-collapse: collapse;
  white-space: nowrap;
}

#tdRight {
  text-align: right;
  font-size: 18px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 0px;
  padding-right: 5px;
}

.h {
  padding-top: 20px;
  font-size: 12px;
}
.fees{
  font-size: 24px;
  color: #ffffff;
  background-color: #000000;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 57px;
  padding-right: 57px;
  text-align: center;
}

.calc {
  margin-bottom: 30px;
  padding: 30px;
  width: 100%
  afont-size: 28px;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
}
.calc a {
  font-size: 24px;
}

/* 学生onlyここまで */


/* お知らせonly */
.topmenu {
  margin: 10px;
  width: calc(100% - 20px);
  font-size: 26px;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
}

/* お知らせonly */


/* footer */
.fixed-box {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;

  amax-width: 1024px;
  height: 80px;
  background-color: #000000;
  bottom: 0;
  text-align: center;
  z-index: 1000;
}


@media screen and (orientation: landscape) and (max-width: 933px) {
  .fixed-box {
    display: none;
  }
}

.footer-iframe {
  width: 100%;
  height: 80px;
  border-collapse: collapse; 
  border: none;
}

.footer-space {
  height: 80px; /* フッターと同じ高さの余白 */
}



/* スクロールトップボタン */
#scrollTopBtn {
  position: absolute;

  bottom: 10px;
  right: 10px;
  z-index: 1000;
  background-color: #3e5e5d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: block;
  line-height: 1.2;
}
#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}
#scrollTopBtn:hover {
  background-color: #3e5e5d;
}

/* テニス上達のヒント集 */
#list {
  padding-top: 10px;
  padding-left: 25px;
  padding-bottom: 10px;
}
#list li {
  padding: 3px;
}

#footer1 {
  color: white; 
  background-color: #000000; 
  padding: 0; 
  margin: 0;
  text-align: center;
  line-height: 180%;
}





/* スマホ用レイアウト */
@media screen and (max-width: 600px) {
  .title {
    font-size: 15px;
  }
  .titles, .titlesg, .titlesb {
    font-size: 14px;
  }

  .breadcrumb {
    font-size: 11px;
    padding: 2px;
    padding-left: 10px;
    padding-top: 10px;
  }
  .contents {
    font-size: 12px;
    padding: 15px;
    line-height: 1.5
  }

  /* kojin_m.html */
  .times {
    font-size: 10px;
    padding: 5px;
  }

  .fixed-box {
    height: 80px;
  }
  .footer-iframe {
    height: 80px;
  }
  .footer-space {
    height: 80px; /* フッターと同じ高さの余白 */
  }

  #scrollTopBtn {
    abottom: 57px;
    aright: 10px;
    width: 43px;
    height: 43px;
    font-size: 15px;
    line-height: 1.2;
  }
}
