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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body{
  background-image:url(img/bglogo4.gif);
  background-attachment:fixed;
}

img { display: block; }


a:link {
 color: #336699;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:visited { color: #5a6b7a; }
a:hover {
  color: #224466;
  text-decoration: underline;
}
a:active { color: #112233; }


/* visual header */
.image-container {
  position: relative;
  display: inline-block;
  width: 100%; /* 必要に応じて調整 */
  max-width: 1024px;
  margin: 0 auto;
margin-bottom: 20px;
}

.image-container img {
  width: 100%;
  max-height: 400px;
  object-fit: cover; /* 画像を拡大・トリミングして枠にフィットさせる */
  /* object-position: bottom; */
  aborder-radius: 8px;

  display: block;
}

.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  text-align: center;
  padding: 10px;
}
@media screen and (max-width: 600px) {
  .centered-text {
    font-size: 15px;
  }
}


.title {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  background-color: #FF9900;
  apadding-top: 5px;
  text-align: center;
}
.titles, .titlesg, .titlesb {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  apadding-top: 5px;
  color: #fff;
  max-width: 100vw;
}
.titles { background-color: #90CAF9; }
.titlesg { background-color: #008000; }
.titlesb { background-color: #211183; }

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

#contentsinbox {
  background-color: #eef3ef;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  padding-left: 2px;
  padding-right: 2px;
}

/* クラス説明ドロップダウン */
.classDescription {
  padding-top: 10px;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 10px;
  background-color: #f9f9f9;
  border-left: 4px solid #A5D6A7; /* 小学生ローの色(初期値) */
}

.dropdown-content.open {
  /* max-height は JS で動的に設定するので、ここでは指定しない */
  padding: 10px;
}

.dropdown-toggle {
  width: 100%;
  background-color: #A5D6A7;
  color: #000;
  font-size: 16px;
  padding: 10px;
  border: none;
  text-align: left;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.dropdown-toggle .arrow {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.dropdown-toggle.open .arrow {
  transform: rotate(180deg); /* ▼→▲ に回転 */
}

@media screen and (max-width: 600px) {
  .dropdown-toggle {
    font-size: 12px;
    padding: 10px;
  }
}

.white {
  color: white;
}
.class-cell:hover {
  transform: scale(0.90);
  transition: transform 0.3s ease;
  cursor: pointer; /* カーソルを指マークに */ 
}

/* kojin.html */
.times {
  width: 100%;
  max-width:100%;
  font-size: 14px;
  color: #ffffff;
  background-color: #000000;
  text-align: center;
  border-collapse: collapse;
  white-space: nowrap;
}
.times tr {
  background-color: black; /* #2E2E2E; */
}
.times td {
  padding: 5px;
}

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

.h {
  padding-top: 20px;
  font-size: 12px;
}
.fees{
  font-size: 18px;
  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-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
}
.calc a {
  font-size: 18px;
  color: #ffffff;
}
*/


.calc {
  margin-bottom: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
}

.calc a {
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
  text-decoration: underline;
}

/* iframe ラッパー（初期は非表示） */
.iframe-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.iframe-wrapper.active {
  opacity: 1;
  pointer-events: auto;
}

.iframe-inner {
  position: relative;
  width: 80%;
  max-width: 960px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.iframe-inner iframe {
  width: 100%;
  height: 80vh;
  border: none;
  display: block;
}

.iframe-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}
.iframe-close:hover {
  background-color: #3e5e5d;
}



.taiken {
  margin-bottom: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
}

.taiken a {
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
  text-decoration: underline;
}

/* taikenIframe ラッパー（初期は非表示） */
.taikenIframe-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.taikenIframe-wrapper.active {
  opacity: 1;
  pointer-events: auto;
}

.taikenIframe-inner {
  position: relative;
  width: 90%;
  max-width: 960px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.taikenIframe-inner iframe {
  width: 100%;
  height: 80vh;
  border: none;
  display: block;
}

.taikenIframe-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}
.taikenIframe-close:hover {
  background-color: #3e5e5d;
}






/* 学生onlyここまで */


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

/* お知らせonly */


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

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




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

  .contents {
    font-size: 12px;
    padding: 15px;
    line-height: 1.5
  }

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

  .times {
    font-size:7px;
  }
  .times td {
   padding: 0px;
  }

  #tdRight {
    font-size:8px;
  }
  .fee {
    font-size:9px;
  }
  .calc {
    color: #ffffff";
    margin-bottom: 0;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .calc a {
    font-size: 16px;
  }
  .taiken {
    color: #ffffff";
    margin-bottom: 0;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .taiken a {
    font-size: 16px;
  }

}

