/* リセット用 */
*{
  box-sizing: border-box; /* padding分を含んで幅を100%にするため */
  }
a {
  text-decoration: none;
  color: black;
  }
/* 全画面共有 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  }
body {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  }
main {      
  align-items: center;    /* 中の要素を上下中央に並べる */
  }    
a.anchor {
  display: block;
  padding-top: 170px;
  margin-top: -170px;
  }
a.alink {   /* リンク文字色指定 */
  color: blue;
  }
.fred{
  color: #FF3300;     /* 注意書き文字色指定 */
  }
.center {  /* 位置指定 */
  text-align: center;
  }
.list1 { 
  list-style: none;
  padding-left: 0;
  text-align: left; 
  }
.list2 {  /* イベントリスト1 */
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 20px auto;
  }
 .list2 li {
    position: relative;
    padding: 0 0 3px 20px;
    margin: 0;
    }
 .list2 li::before {
    content: '\f069';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 4px;
    left: 0;
    font-size: small;
    }
.list3 {  /* イベントリスト2 */
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 20px auto;
  }
  .list3 li {
    position: relative;
    padding: 0 0 3px 20px;
    margin: 0;
    }
  .list3 li::before {
    content: '\f005';
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    position: absolute;
    top: 4px;
    left: 0;
    font-size: small;
    }
.list4 {  /* 過去イベントリスト */
  list-style: none;
  padding-left: 0;
  text-align: center;
  margin-bottom: 0;
  }
.topimg {
  width: 80%;
  }
.rimg {
  width: 95%;
  }
.img{ /*コンテンツ画像指定*/
  max-width: 100%;
  margin: 0px ;
  padding: 0px ;
  height: auto;
  }
.img2{
  max-width: 50%;
}
/* テーブル指定 */
.hyou1 {
  background-color: #ffffff;  /* 背景色指定 */
  border-collapse:  collapse;     /* セルの線を重ねる */
  margin:15px auto ;
  }
  .hyou1 td {
    border: 1px solid ;
    padding: 3px;
    border-bottom: 1px solid ;
    }
.hidari {
  text-align: left;
  padding: 5px;      /* 余白指定 */
  }
.migi {
  text-align: right;
  width: 130px;
  }
.td-img {
  width: 200px;
  }
.border {
  border: 1px solid ;
  }
/* 見出し文字 */ 
h2 {
  position: relative;
  background: #fce5eb;
  box-shadow: 0px 0px 0px 5px #fce5eb;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
  color: #454545; 
  }
h2:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #f8c4d0;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  }
h3{
  border-bottom:dashed 3px #f8c4d0; /*線の種類（点線） 太さ 色*/
  }

/* ヘッダー設定 */
  header {
    width: 100%; /* 幅いっぱいを指定 */
    height: 100px; /* 高さを150pxに指定 */
    background: #fdeff2; /* 背景色指定 */
    padding:10px 0px; /* ヘッダーに上下左右それぞれ余白を指定 */
    position: fixed; /* ウィンドウを基準に画面に固定 */
    top: 0; /* 上下の固定位置を上から0pxにする */
    left: 0; /* 左右の固定位置を左から0pxにする */
    align-items: center; /* 中の要素を上下中央に並べる */
    z-index: 50;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    }
/* お知らせ背景 */
  .newtop {
    width: 80%; /* 幅いっぱいを指定 */
    background: #f9d2db; /* 背景色を指定 */
    padding: 10px 10px 10px 10px; /* ヘッダーに上下左右それぞれ余白を指定 */
    margin: 20px auto;
    text-align: center;
    background-image: url(bkimg/rotas1.png);
    background-repeat:  no-repeat; 
    background-position: left bottom;
    border-radius: 0.75rem; /* 角を丸くする */
    position: relative;
    }
/* メール背景色指定 コンテンツ */    
  .transform-mail {
    width: 80%;
    margin:10px auto ;
    z-index: 0;
    padding: 10px 10px 10px 10px;
    text-align: center;
    background: #f9d2db;
    background-image:url("bkimg/mailwaku1.png"),url("bkimg/mailwaku2.png"),url("bkimg/mailwaku3.png"),url("bkimg/mailwaku4.png"); 
    background-repeat:  no-repeat; 
    background-position: left top,right top,right bottom,left bottom;
    border-radius: 0.75rem; /* 角を丸くする */
    }
/*コンテンツ指定*/
  .contents {
    width: 95%; /*横幅は調整*/
    z-index: 10;  /*レイヤー順*/
    text-align: center; /*文字の中央揃え*/
    margin: 10px auto;  /*要素の中央揃え*/
    left: 50%;
    padding: 10px;
    }  
  
  /*PC表示用 PCのみに適用(960px以上) */
  @media print, screen and (min-width: 960px) {
  body {
   line-height: 30px;
   margin-bottom: 1.5rem;
   padding-top: 160px;   /* ヘッダーの後ろに要素が隠れないようにするため */
   background: #fdeff2;
    }
  
  /* 角を丸く背景色指定 コンテンツ1 */
  .transform-bg {
    margin:10px auto ; /*中央揃え*/
    width:80%;  /*横幅*/
    z-index: 0;  /*レイヤー順*/
    background: #fff ;  /*背景色*/
    padding: 10px 10px 10px 10px;  
    text-align: center;   /*文字の中央揃え*/
    border-radius: 0.75rem; /* 角を丸くする */
    }
  /* ノーマル背景色 2コンテンツ */
  .transform-bg2 {
    display: flex; /* 中の要素を横並びにする */
    margin:10px auto ;
    width: 45%;
    z-index: 0;
    background: #ffffff;
    padding: 10px 10px 10px 10px;
    text-align: center;
    border-radius: 0.75rem; /* 角を丸くする */
   }  
  /* ひろばマンガセクション */
   .sec2 {
    display: flex; /* 中の要素を横並びにする */
    margin: 10px auto;
    background: #f9d2db;
    position: relative;
    width: 80%;
    border-radius: 0.75rem; /* 角を丸くする */
    }
  .br-sp {
    display: none;
    }
  .dis-flex {
    display: flex;
  }
  .header_inner   {   display: none; } 
  header .title2 {  display: none; }
  header .title {
    height:60px;
    text-align:center;
    padding:0px 20px;
    line-height: 10px; /* 行の高さを指定する */
    }
  header .title-nav  {
    display: flex;   /* 中の要素を横並びにする */
    }
  header .title-nav .menu {
    display: flex;   /* 中の要素を横並びにする */
    margin: 10px 0px 0px auto; /* タイトル横のリストを右寄せにする */
    }
  header .title-nav .menu li {
    list-style: none; /* リストの[・]を消す */
    }
  header .title-nav .menu li + li {
    margin-right: 10px; /* メニューそれぞれに間隔をあけるため */
    }
  header .pc-nav {  /* 下段メニューの設定 */
    width: 100%; /* 幅いっぱいを指定 */
    height: 40px; /* 高さを50pxに指定 */
    background: #e5abbe ;  /* 背景色にグラデを指定 */
    margin:10px 0px 0px 0px;
    display: flex; /* 中の要素を横並びにする */
    }
  header .pc-nav .menu2 {
    margin:5px 0px;
    /*padding; 10px 10px 0px 0px; /* ヘッダーに上下左右それぞれ余白を指定 */
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
    }
  header .pc-nav .menu2 li {
    list-style: none; /* リストの[・]を消す */
    }
  header .pc-nav .menu2 li + li {
    margin-left: 40px; /* メニューそれぞれに間隔をあけるため */
    }
              
  footer {
   width: 100%; /* 幅いっぱいを指定 */
   height: 80px; /* 高さを50pxに指定 */
   background: linear-gradient(180deg, #e5abbe 5%, #fdeff2 95%);  /* 背景色にグラデを指定 */
   padding: 5px 20px 10px 20px; /* ヘッダーに上下左右それぞれ余白を指定 */
   box-sizing: border-box; /* padding分を含んで幅を100%にするため */
   /* position: fixed; /* ウィンドウを基準に画面に固定 */
   /* bottom: 0; 上下の固定位置を下から0pxにする */
   /* left: 0; 左右の固定位置を左から0pxにする  */
   display: flex; /* 中の要素を横並びにする */
   align-items: center; /* 中の要素を上下中央に並べる */
   z-index: 50;
  }
 footer .bnav {
    width: 100px; /* 幅いっぱいを指定 */
    margin:20px 20px;
 }
 footer .bnav .fmenu {
   display: flex; /* 中の要素を横並びにする */
   padding: 10px;      /* 余白指定 */
 }
 footer .bnav .fmenu li {
  list-style: none; /* リストの[・]を消す */
 }
 footer .bnav .fmenu li + li {
   margin-left: 10px; /* メニューそれぞれに間隔をあけるため */
 }
  footer .smoji {
    font-size: 0.9rem;
    line-height: 20px;
    text-align: center;
    align-items: center;  /* 中の要素を上下中央に並べる */
 }
 footer .bigmoji {
    font-size: 1.5rem;
  }
 footer .jusyo {
    font-size: 0.8rem;
    line-height: 15px;
    margin-left: 20px;
    align-items: left;  /* 中の要素を上下中央に並べる */
 }
         
}


/* ページ全体の指定　スマホのみに適用(959px以下) */
@media only screen and (max-width: 959px) {
  body {
    line-height: 18px;
    font-size: 0.8rem;
    padding-top: 140px;   /* ヘッダーの後ろに要素が隠れないようにするため */
    background: #fdeff2;
  }
  .migi {
    width:90px
    }
  .td-img {
    width: 110px;
    }
  .topimg {
    width: 97%;
  }
  /*インフレームのサイズ指定*/
    .iframe-wrp {
    position: relative;
    width: 100%;
    padding-top: 75%; /* = height ÷ width × 100 */
    }
    .iframe-wrp iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    }
  /* ひろばマンガセクション */
    .sec2 {
    margin: 10px auto;
    position: relative;
    width: 100%;
    padding: 10px 0px;
    }
  /* お知らせ背景 */
    .newtop {
    width: 97%; /* 幅いっぱいを指定 */
    padding: 2px 2px 2px 2px; /* ヘッダーに上下左右それぞれ余白を指定 */
    margin: 10px auto;
    background-size: 40%;
    }
  .list4 { /* 過去イベントリスト */
    list-style: disc;
    text-align: left;   /* リストの左寄せ */ 
    }   
  /* 角を丸く背景色指定 コンテンツ1 */
    .transform-bg, .transform-bg2 {
    margin: 10px auto ; /*中央揃え*/
    width: 97%;  /*横幅*/
    z-index: 0;  /*レイヤー順*/
    background: #fff ;  /*背景色*/
    padding: 10px 10px 10px 10px;  
    text-align: center;   /*文字の中央揃え*/
    border-radius: 0.75rem; /* 角を丸くする */
    }
  .transform-mail{
    width: 97%;  /*横幅*/
    background-size: 20%;
    }
  .contents {
    width: 100%;
    }
  .dis-flex1 {
    display: flex;
  }
  .img2{
  max-width: 100%;
  }
  .icon{
    width: 35px;
    margin: 5px auto;
    }

  /*固定ヘッダー設定*/
    header {
      height: 100px; /* 高さを150pxに指定 */
      }
    header .title  {   display: none; } 
    header .title-nav  {   display: none; }
    header .pc-nav {   display: none; }
    header .title-nav .menu { display: none; }
    /*メニュー表示設定*/
    header .title2 {
      font-size: 0.8rem;
      height: 45px;
      padding:0 0;
      line-height: 30px; /* 行の高さを指定する */
      margin: 0 auto;
      }
    .header_inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 1rem;
      } 
  header .bnav {
    width: 100px;
  }
  header .bnav .fmenu {
    display: flex; /* 中の要素を横並びにする */
    padding: 0;
    align-items: center; /* 中の要素を上下中央に並べる */
  }
  header .bnav .fmenu li {
    list-style: none; /* リストの[・]を消す */
    padding-left: 10px;
  }
  header .bnav .fmenu li+li {
    padding-left: 10px;
  }
   
    /*表示設定*/
    .drawer_btn {
      position: relative;
      top: -30px;
      width: 3rem;
      height: 3rem;
      background-color: transparent;
      border: none;
      cursor: pointer;
      z-index: 999;
    }
    .drawer_btn > span {
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 2rem;
      height: 2px;
      background-color: black;
      transform: translateX(-50%);
    }
    .drawer_btn > span:nth-of-type(1) {
      transform: translate(-50%, calc(-50% - 0.5rem));
    }
    .drawer_btn > span:nth-of-type(2) {
      transform: translate(-50%, -50%);
    }
    .drawer_btn > span:nth-of-type(3) {
      transform: translate(-50%, calc(-50% + 0.5rem));
    }
    .drawer_btn.js-active > span:nth-of-type(1) {
      transform: translate(-50%, -50%) rotate(-45deg);
    }
    .drawer_btn.js-active > span:nth-of-type(2) {
      opacity: 0;
    }
    .drawer_btn.js-active > span:nth-of-type(3) {
      transform: translate(-50%, -50%) rotate(45deg);
    }
    .drawer_nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
    }
    .drawer_nav.js-active {
      opacity: 1;
      visibility: visible;
    }
    .drawer_nav_inner {
      width: 100%;
      height: 100%;
      background-color:  #fdeff2;
      padding: 4rem 1.5rem 1rem;
      margin-left: auto;
      overflow: scroll;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
    .drawer_nav.js-active .drawer_nav_inner {
      transform: translateX(0);
    }
    .drawer_nav_list,
    .drawer_nav_panel {
      list-style: none;
      padding: 0;
    }
    .drawer_nav_link,
    .drawer_nav_sub-link {
      display: block;
      color: black;
      text-decoration: none;
      padding: 1rem;
      border-bottom: solid 1px lightgray;
      position: relative;
    }
    .drawer_nav_sub-link {
      padding: 0.2rem 1.2rem;
      margin-left: 2rem;
      background-color: rgba(250, 200, 200, 0.2);
      }
    .accordion-toggle {
      position: absolute;
      top: 50%;
      right: 10px;
      background: transparent;
      border: none;
      width: 2rem;
      height: 2rem;
      transform: translateY(-50%);
      cursor: pointer;
    }
    .accordion-toggle::before {
      content: "▶";
      display: block;
      text-align: center;
    }
    .drawer_nav_link.active + .accordion-toggle::before {
      content: "▼";
    }
    .drawer_nav_panel {
      display: none;
    }

  footer {
    width: 100%; /* 幅いっぱいを指定 */
    background: linear-gradient(180deg, #e5abbe 5%, #fdeff2 95%);  /* 背景色にグラデを指定 */
    padding: 15px 0px 20px 0px; /* ヘッダーに上下左右それぞれ余白を指定 */
    box-sizing: border-box; /* padding分を含んで幅を100%にするため */
    align-items: center; /* 中の要素を上下中央に並べる */
  }
  footer .bnav {
    text-align: center;   
    margin:10px auto;
  }
  footer .bnav .fmenu {
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
  }
  footer .bnav .fmenu li {
    list-style: none; /* リストの[・]を消す */
    width: 50px; 
    margin:10px auto;
  }
  footer .bnav .fmenu li + li {
    margin-left: 10px; /* メニューそれぞれに間隔をあけるため */
  }
  footer .smoji {
    font-size: 0.8rem;
    line-height: 20px;
    text-align: center;
    align-items: center;  /* 中の要素を上下中央に並べる */
  }  
  footer .bigmoji {
    font-size: 1.5rem;
   }
  footer .jusyo {
    font-size: 0.8rem;
    line-height: 15px;
    margin: 10px auto;
    text-align: center; 
  }
 
}