@charset "UTF-8";
/*各ページ独自のcss設定*/


/*以下に指定を記述する*/

/*↓これは書き方の例だから消してね*/
  body {
    background-color: var(--beige);
   
  }

  

.gaiyo{
   background-color: var(--white);
    border: 1px solid var(--emeraldgreen);
    margin: auto 20px;
    margin-top: 50px;
    position: relative;
    color: #3e3a39;
    font-size: 14px;
    padding: 10px;
}


.gaiyo::before{
    position: absolute;
    content: "";
    background-color: var(--skyblue);
    height: 20px;
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
}



.orime1{
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: var(--skyblue) transparent transparent transparent;
}

.orime2{
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 15px 15px;
    border-color: transparent transparent var(--beige) transparent;
}

  /* タブ切り替えコンテナ */
  .tabwrap{
    display:flex;
}

.gakubu_intro_tab{
    width: auto;
    height: 54px;
    border:2px solid var(--navy);
    margin-top:20px;
    margin-bottom: 30px;
    
}

.tab-button {
    cursor: pointer;
    flex:1;
    height: 50px;
    background-color: #e6e6e6;
    border: none;
    color: var(--black);
    border-right: 2px solid var(--navy);
    font-family: "Zen Kaku Gothic New", sans-serif;
   
}

.tab-button.active {
    background-color: var(--emeraldgreen);
    color: var(--white);
}

.tab-button:last-child{
    border-right: none;
}


/*エリアの表示非表示と形状*/
.tab-content {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
  position:relative;
}

/*areaにis-activeというクラスがついた時の形状*/
.tab-content.active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards; 
    opacity: 1;   
}

  
  

  .timetable {
  width: 95%;
  max-width: 700px;
  margin-top: 10px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  text-align: center;
  background-color: var(--white);
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;

}

.timetable th,
.timetable td {
  border: 0.75px solid var(--white);
  padding: 1px;
  vertical-align: middle;
  word-wrap: break-word;
  font-size: 10px;
}

.timetable thead th {
  background-color: var(--emeraldgreen);
  color: var(--white);
  font-weight: 500;
  
}

.timetable tbody th 
{
  background-color: var(--emeraldgreen);
  color: var(--white);
  font-weight: 500;
}

.timetable tr > :first-child {
  width: 14%;
}


.subject {
  background-color: var(--skyblue); /* 薄いオレンジ */
}

.lunch-break {
  background-color: var(--white);
  font-style: italic;
  color: #666;
}



.on_demand {
  border-collapse: collapse;
  margin-left:2.5%;
  margin-bottom: 40px;
  width: 80%;
}

.on_demand td {
  border: 1px solid var(--emeraldgreen);
  padding: 10px;
  vertical-align: middle;
  font-size: 11px;
 

}

.on_demand .col1 {
  width: 110px;
  background-color:var(--emeraldgreen) ;
  font-weight: 500;
  color: var(--white);
}

.on_demand .col2 {
  width: 190px;
  background-color: var(--skyblue); /* 薄いオレンジ */
  color: var(--black);

}



  /* boxスタイル */
  .box {
    background-color: var(--white);
    width: 335px;
    border: 1px solid var(--emeraldgreen);
    margin: 20px auto;
    margin-bottom: 30px;
    font-size: 14px;
    padding: 15px;
    color: var(--black);
    box-sizing: border-box;
    text-align: justify;
    word-break: break-word;   /* 長い語や日本語の改行対応 */
  overflow-y: auto;         /* 内容が縦にあふれたときにスクロール */
  }






/*
css概説（復習用　要らなければ消してください）

vol.1 用語の解説

セレクタ…装飾をつけたい対象の要素のこと
属性…セレクタに施したい装飾の種類
値…セレクタに施したい装飾の具体的内容

例：h1{color:red;}
h1がセレクタ　colorが属性　redが値

vol.2 セレクタの指定
①要素名で指定
h1{color:red;}

②class名で指定
.class{color:red;}

③id名で指定
#id{color:red;}

④要素名プラスclass名で指定
div.class{color:red;}

⑤要素名プラスid名で指定
div#id{color:red;}

⑥要素の位置から指定
header div{color:red;}   
↑スペースを入れる（ここではheader内のdiv要素を指定）

vol.3 属性・値の指定

①{属性:値;}の形で記述
{color:red;}

②１つのセレクタに対する指定はまとめて記述できる
h1{
   color:red;
   width:90%;
}

③指定が重複したら後の行にあるものが優先
h1{
   color:red;
   width:90%;
   color:blue;
}
↑ここではh1はblueになる

④指定が重複したらより特定が強いものが優先
h1{
   color:red;
   width:90%;
}
header h1{
   color:blue;
}
↑ここではheader内のh1はcolorがblue、widthが90%になる
*/

@media screen and (min-width:1024px) {
    /*レスポンシブ用*/


}
    