:root {
  --font_size_flex: 2.5vw;

}

.haikei {
    padding: 0.5em 0.5em;
    margin: 2em 3em;
    color: #2c2c2f;
    background:	#ffffff;/*背景色*/
    position: relative;
}

.haikei2{
    padding: 0.5em 0.5em;
    margin: 2em 1em;
    color: #2c2c2f;
    background:	#ffffff;/*背景色*/
    position: relative;
}

body{
    margin: 3% 1% 0 3%;
}

.body1{
    font-family:'Trebuchet';
    /* background:#8684e7; */
    /* 背景色 */
    color: #332f26;
    /* position: relative; */
    /* display: flex;  */
    /* margin: 0 auto;  */

}


.body2{
    font-family:'Trebuchet';
    background:#87cefa;/*背景色*/
}

.mokuji
,.mokuji li{
	padding:0px;
	margin:0px;
}
 
.mokuji li{
	list-style-type:none !important;
	list-style-image:none !important;
    margin: 5px 5px 5px 0px !important;
    font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;

}
 
.mokuji li{
	position:relative;
    padding-left:20px;
}
 
.mokuji li {
    color: black;
    background: whitesmoke;/*背景色*/
    margin-bottom: 5px;/*下のバーとの余白*/
    line-height: 1.5;
    padding: 0.5em;
    list-style-type: none!important;
    font-weight: bold;
  }

.mokuji li:hover{
    background: #ece4f4;
}

.mokuji li
/* .mokuji li:after{
	content:'';
	display:block; 
	position:absolute; 
	background:#aaa;
	width:8px;
	height:8px; 
	top:4px; 
	left:7px; 
	transform:rotate(-45deg);
	-webkit-transform:rotate(-45deg);
	-o-transform:rotate(-45deg);
} */
/*ヘッダーまわりはサイトに合わせて調整してください*/
header {
  padding:10px;
  background: skyblue;
}

.title{
    position: relative;  /* 触らない */
    width: 95%;  /* 見出しの横幅 */
    font-size: 20px;
    color: white;  /*文字色*/
    padding: 0.5em;  /*文字周りの余白*/
    display: inline-block;  /*おまじない*/
    line-height: 1.3;  /*行高*/
    background: #5f2c71 ;  /*背景色*/
    vertical-align: middle;
    border-radius: 12px 0px 0px 12px;  /*左側の角を丸く*/
    font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    
  }
.headerdetail{
  font-size: 12px; /*var(--font_size_flex);*/
}
.midashi_center{
    font-size: 20px;
}
h2{
    margin-top: -10px;
    font-size: 16px;
    font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;

}

.midashi{
    position: relative;
    padding:0.5em 0.5em 0.5em 1.4em;
    border: 1px solid #CCC;
    border-radius: 5px;
    width: 75%;
}
.midashi::after{
    position: absolute;
    top: 50%;
    left:0.7em;
    transform:translateY(-50%);
    content: '';
    width: 5px;
    height:25px;
    background-color:  #5f2c71;
}
.important{
    color: red;
    font-weight: bold;
}
.small_size{
    font-size: small;
}
.hutozi{
    font-weight: bold;
}

.midashi2{
    position: relative;
    padding:0.5em 0.5em 0.5em 1.4em;
    border: 1px solid #CCC;
    border-radius: 5px;
    font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;

}
.midashi2::after{
    position: absolute;
    top: 50%;
    left:0.7em;
    transform:translateY(-50%);
    content: '';
    width: 5px;
    height:25px;
    background-color: #87cefa;
}
.sankou {
    position: relative;
    padding:0.5em 3em;
    width:75%;
}
.sankou:before,.sankou:after{ 
    content:'';
    width: 30px;
    height: 30px;
    position: absolute;
    display: inline-block;
}
.sankou:before{
    border-left: solid 1px #5767bf;
    border-top: solid 1px #5767bf;
    top:0;
    left: 0;
}
.sankou:after{
    border-right: solid 1px #5767bf;
    border-bottom: solid 1px #5767bf;
    bottom:0;
    right: 0;
}

.komidashi {
    padding: .25em 0 .5em .75em;
    border-left: 6px solid #4169e1 ;
    border-bottom: 1px solid #ccc;
    font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;

  }

  .komidashi2 {
    padding: .5em .75em;
    border: 1px solid #000000;
    border-radius: 4px;
    font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;

  }

  .tyumoku {
    border-bottom: solid 3px #cce4ff;
    position: relative;
  }
  
  .tyumoku:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #5472cd;
    bottom: -3px;
    width: 20%;
  }

  .hosoku {
    margin: 2em 0em 2em 1em; /* 枠外との間隔（上、右、下、左） */
    padding: 5px 10px;
    font-size: 0.9em; /* 文字サイズ */
    color: #555555; /* 文字色 */
    border-left: 3px solid #999999; /* 線の太さ・線種・色 */
    border-radius: 5px;
   }
   .toiawase {
    margin: 2em auto;  
    padding: 1em;
    width: 90%; /*幅の調節*/
    color: #1a1a1a; /*文字色*/
    background-color: #e1e5fa; /*背景色*/
     border: 1px solid #b3b3b3; /*線の太さ・色*/
    border-radius: 8px; /*角の丸み */
    font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    /* font-weight: bold; */
    font-size: 14px;
   }

   .kowake_box {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}
.kowake_box .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #000000;
    font-weight: bold;
}
.koeake_box p {
    margin: 0; 
    padding: 0;
}

details {
    height: 50px;
    overflow: hidden;
    transition: all 0.2s;
  }
  details:not(:last-child) {
    margin-bottom: 20px;
  }
  
  /**
   * list-style: none; ←デフォルト三角削除（Chrome非対応）
   * cursor: pointer; ←カーソルをポインターに
  **/
  details summary {
    list-style: none;
    cursor: pointer;
    padding: 10px;
    background: #e4e4e4;
    color: #242323;
    font-size: 1rem;
    font-weight: bold;
  }
  /**
   * Chrome用のデフォルト三角削除
  **/
  details summary::-webkit-details-marker {
    display: none;
  }
  /**
プラスアイコン使用
  **/
  details summary::before {
    content: '+';
    margin-right: 10px;
  }
  /**
   * アコーディオンがオープン時はマイナスアイコンに変更
  **/
  details[open] summary::before {
    content: '-';
  }
  
  details p {
    margin: 0;
    padding: 10px;
  }
/* anime */
  details[open] {
      /* 開く高さの変更 */
    max-height: auto;
    height: auto;
    transition: all 0.4s;
  }

  .default_news{
    height:20%;
    width:80%;
    display:block;
    margin: 0 auto;

  
  }
  /* ----------hamburger----------- */

  #header {
    background: #fff;
    display: flex;
    flex-flow: row wrap;
    padding: 10px 30px;
  }
  #header h1 {
    margin-right: auto;
  }
  #header #navi {
    margin-top: 0px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    list-style: none;
  }
  #header #navi li {
    margin: 0 15px;
    line-height: 100%;
  }
  #header #navi li a {
    color: #000;
    text-decoration: none;
  }
  /*PCメニュー*/
  /*SPメニュー*/
  @media screen and (max-width: 768px) {
    /* bager menu */
    #header #navi {
      transition: all 0.6s;
      overflow-y: auto;
      padding-top: 40px;
      width: 300px;
      height: 100vh;
      z-index: 200;
      top: 0;
      right: -320px;
      background-color: #fff;
      position: fixed;
      flex-direction: column;
      align-items: baseline;
    }
    #header #navi li {
      padding: 10px;
    }
    #header .nav_btn {
      width: 44px;
      height: 44px;
      z-index: 300;
      top: 7px;
      right: 7px;
      cursor: pointer;
      position: absolute;
    }
    .hamburger_line {
      transition: all 0.6s;
      width: 34px;
      height: 2px;
      left: 5px;
      background-color: #000;
      position: absolute;
    }
    .hamburger_line1 {
      top: 10px;
    }
    .hamburger_line2 {
      top: 21px;
    }
    .hamburger_line3 {
      top: 32px;
    }
    .nav_bg {
      opacity: 0;
      transition: all 0.6s;
      width: 100vw;
      height: 100vh;
      z-index: 100;
      top: 0;
      left: 0;
      visibility: hidden;
      background-color: #000;
      cursor: pointer;
      position: fixed;
    }
    /* 表示された時用のCSS */
    .nav_open #header #navi {
      right: 0;
    }
    .nav_open .nav_bg {
      opacity: 0.8;
      visibility: visible;
    }
    .nav_open .hamburger_line1 {
      transform: rotate(45deg);
      top: 20px;
    }
    .nav_open .hamburger_line2 {
      width: 0;
      left: 50%;
    }
    .nav_open .hamburger_line3 {
      transform: rotate(-45deg);
      top: 20px;
    }

    .mokuji li {
        color: black;
        border-left: none;/*左側の線*/
        background: white;/*背景色*/
        list-style-type: none!important;
    font-family: YuGothic,'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;

      }


      h2{
        margin-top: 24px;
    
    }


    
    }

/* ---------------------------------- */
/* ---------------戻るボタン-------------- */
/* #page-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 15px;
  
}
#page-top a {
  display: block;
  background-color: #ccc;
  text-align: center;
  color: #222;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 10px;
filter:alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}
#page-top a:hover {
  display: block;
  background-color: #b2d1fb;
  text-align: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  padding:5px 10px;
filter:alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
} */

 
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background:  #5f2c71;
  opacity: 1;
  border-radius: 50%;
  margin: 0 2% 3% 0;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


.square-container {
    display: flex;
    flex-wrap: wrap;
    font-size:13px;
    align-items: center;
    justify-content: center; 
  }
  

  .square {
    position: relative;
    flex-basis: calc(45% - 10px);
    width: 50% auto; 
    margin: 5px;
    border: 1px solid #5f2c71;
    box-sizing: border-box;
    border-radius: 10px;/*角の丸み*/
    
   } 
  
  .square::before {
    content: '';
    display: block;
    padding-top: 100%;
  }
  
  .square .content {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
  }


  .midashi_hako{
    position: relative;
    padding:0.5em 0.5em 0.5em 1.4em;
    /* border: 1px solid #CCC; */
    border-radius: 5px;
    width: 75%;
    font-size: var(--font_size_flex);
    font-family: YuGothic,'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;

}
.midashi_hako::after{
    position: absolute;
    top: 50%;
    left:0.7em;
    transform:translateY(-50%);
    content: '';
    width: 5px;
    height:25px;
    background-color:  #5f2c71;
}
  
.hakomoji{
    position: relative;
    margin-top: -40px;
    margin-left: 8%;
    font-size: var(--font_size_flex);
    font-family: YuGothic,'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    font-weight:bold;
}

.hakomokuji li {
    margin-left: 4%;
    margin-right: 4%;
    font-size: var(--font_size_flex);
    /* list-style-type: none!important; */
    padding: 0em 0;
    font-family: YuGothic,'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    font-weight: bold;
}


.hakomoji a{
    text-decoration: none;
    color: #2c2c2f;
}

.hakomokuji p{
    font-family: YuGothic,'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    font-weight: bold;
}
.jump {
    text-decoration: none;
    color: black;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    z-index: 2; /* リンク要素の重なりのベース順序指定 */

}


/* 色が変わるボタン */
.btn-flat-simple {
    position: relative;
    display: inline-block;
    margin: 4% 2% 0 0;
    font-weight: bold;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color:  #5f2c71 ;
    background: #E6E6E6;
    transition: .4s;
  }
  
  .btn-flat-simple:hover {
    background:  #5f2c71 ;
    color: #f6f5f5;
  }

  .contact{
      font-size: 16px;
      margin: 20px 2% 40px 2%;
  }

  .menu{
    margin: 0 5% ;
 }
/* ボタンここまで */


@media screen and (min-width: 900px) {
    .square-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center; 
        font-size:9px;
      }

      .headerdetail{
        font-size: 2.0vw;
      }

      .title{
        font-size: 2.0vw;
      }

      

      .square{
        /* max-width: 500px; */
        flex-basis: calc(30% - 10px);
        /* display: -webkit-flex; */
        /* -webkit-flex: 3; */
        /* flex: 3; */

    }

    .hakomokuji li {
      margin-left: 4%;
      margin-right: 4%;
      font-size: 1.5vw;
      /* list-style-type: none!important; */
      padding: 0em 0;
      font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
      font-weight: bold;
  }

    .midashi_hako{
      position: relative;
      padding:0.5em 0.5em 0.5em 1.4em;
      /* border: 1px solid #CCC; */
      border-radius: 5px;
      width: 75%;
      font-size: 2.0vw;
      font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  
  }

  .hakomoji{
    position: relative;
    margin-top: -40px;
    margin-left: 8%;
    font-size: 1.5vw;
    font-family: 'Yu Gothic','klee','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    font-weight:bold;
}


}
.midashi_center{

    text-align: center;
}



/* {
    width:80%;
    justify-content: center;

} */