/* リセット用 */
*{
  box-sizing: border-box; /* padding分を含んで幅を100%にするため */
  }
a {
  text-decoration: none;
  color: black;
  }

/* 全画面共有設定ここから */
a.anchor{
  display: block;
  padding-top: 170px;
  margin-top: -170px;
  }
a.alink {
  color: blue;
  }
body {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  }
.center {
  text-align: center;
  }
.top {
  vertical-align: top;
  padding: 5px;
}
.img2{
  max-width: 50%;
}
span{
  display: inline-block;
  }

/* メイン部分の設定 */
main {
  align-items: center;    /* 中の要素を上下中央に並べる */
  }
/*お知らせ背景設定*/ 
.newtop {
  margin:10px;
  width: 80%; /* 幅いっぱいを指定 */
  background: #fddea571; /* 背景色を指定 */
  background-image:url("bkimg/sakura1.png"),url("bkimg/sakura2.png"),url("bkimg/sakura3.png"),url("bkimg/sakura4.png"); 
  background-repeat:  no-repeat; 
  background-position: left top,right top,right bottom,left bottom;
  padding: 10px 10px 10px 10px; /* ヘッダーに上下左右それぞれ余白を指定 */
  margin: 10px auto;
  border-radius: 0.75rem; /* 角を丸くする */
  }

.fuwafuwa {
  animation: fuwafuwa 3s ease-in-out infinite alternate;
  background: url(bkimg/sarubi.png) no-repeat center center / 70px auto;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 100px;
  height: 100px;
  margin-top: 15px;
  z-index: 20;  /*レイヤー順*/
  }
@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
    }
  50% {
    transform:translate(0, -7px) rotate(0deg);
    }
  100% {
    transform:translate(0, 0) rotate(7deg);
    }
  }

/* コンテンツの複数あるセクション */
.sec1 {
  display: flex; /* 中の要素を横並びにする */
  margin: 10px auto;
  position: relative;
  width: 90%;
}
.topimg {
  width: 80%;
}
.rimg {
  width: 95%;
}
/*各広場へのリンク画像指定*/
.hirobaimg { 
  max-width: 90%;
  margin: 0px;
  padding: 0px;
  height: auto;
 }
/* 広場へのリンク背景色指定 */
.transform-bg1 {
  margin:10px auto ; /*中央揃え*/
  width: 30%;  /*横幅*/
  max-width: 300px ;
  z-index: 0;  /*レイヤー順*/
  background: #fecf3f;  /*背景色*/
  padding: 10px 5px 10px 5px;  
  text-align: center;   /*文字の中央揃え*/
  background-image:url("bkimg/rotas1.png");  /*背景画像*/
  background-repeat: no-repeat;   /*画像の繰り返しなし*/
  background-position:left  bottom; /*左下に配置*/
  border-radius: 0.75rem; /* 角を丸くする */
}

/* 背景色(団体概要) */
.transform-bg2 {
  width: 80%;
  margin:10px auto ;
  z-index: 0;
  background: #fddea571;
  padding: 20px 100px;
  text-align: center;
  border-radius: 0.75rem; /* 角を丸くする */
}

/* 背景色(挨拶・クラウドファンディング) */
.transform-bg3 {
  width: 80%;
  margin:10px auto ;
  z-index: 0;
  background: #ffffff;  /*背景色*/
  padding: 20px 100px;
  border-radius: 0.75rem; /* 角を丸くする */
}
/* メール相談背景設定 */
.transform-mail {
  width: 80%;
  margin:10px auto ;
  z-index: 0;
  padding: 10px 10px 10px 10px;
  text-align: center;
  background: #fddea571;
  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: 1;  /*レイヤー順*/
  text-align: center; /*文字の中央揃え*/
  margin: 20px auto;  /*要素の中央揃え*/
  left: 50%;
  padding: 5px;
}

/* テーブル指定 */
.hyou1 {
  border-collapse:  collapse;     /* セルの線を重ねる */
  margin:10px auto ;
}

.hidari {
  text-align: left;
  padding: 5px;      /* 余白指定 */
}

.migi {
  text-align: right;
  padding: 5px;      /* 余白指定 */
  width: 90px;
}

.list1 {
  text-align: left;   /* リストの左寄せ */
}

header {
  width: 100%; /* 幅いっぱいを指定 */
  height: 100px;
  background: #fffae6; /* 背景色にグレーを指定 */
  padding:10px 0px; /* ヘッダーに上下左右それぞれ余白を指定 */
  position: fixed; /* ウィンドウを基準に画面に固定 */
  top: 0; /* 上下の固定位置を上から0pxにする */
  left: 0; /* 左右の固定位置を左から0pxにする */
  align-items: center; /* 中の要素を上下中央に並べる */
  z-index: 10;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}


/* 全画面共有設定ここまで */


/* ページ全体の指定　PCのみに適用(960px以上) */
@media print, screen and (min-width: 960px) {
  body {
    line-height: 30px;
    margin-bottom: 1.5rem;
    padding-top: 160px;   /* ヘッダーの後ろに要素が隠れないようにするため */
    background: #fffae6;
  }
  /*リンクのサイズ指定*/
  .mlink { 
    font-size: 1.5em;
    padding: 10px;
    margin: 0px ;
  }
  /* PCページでは非表示 */
  .br-sp{
    display: none;
  }
  
  /* ヘッダー設定ここから */ 
  .header_inner   {   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; /* メニューそれぞれに間隔をあけるため */
  }
  
  /* PCヘッダー下段メニューの設定 */
  header .pc-nav {
    width: 100%; /* 幅いっぱいを指定 */
    height: 40px; /* 高さを50pxに指定 */
    background: #FFCF96 ;  /* 背景色にグラデを指定 */
    margin:10px 0px 0px 0px;
    display: flex; /* 中の要素を横並びにする */
   }
   header .pc-nav .menu2 {
     margin:5px 0px;
    padding:10px 10px 10px 50px; /* ヘッダーに上下左右それぞれ余白を指定 */
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
  }
  header .pc-nav .menu2 li {
    list-style: none; /* リストの[・]を消す */
  }
  header .pc-nav .menu2 li + li {
    margin-left: 40px; /* メニューそれぞれに間隔をあけるため */
  } 
  /* PCヘッダー部分の設定終り */
  
  
 /* PCフッター設定 */
 footer {
   width: 100%; /* 幅いっぱいを指定 */
   height: 80px; /* 高さを50pxに指定 */
   background: linear-gradient(180deg, #FFCF96 5%, #fffae6 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; /* 中の要素を上下中央に並べる */
 }
 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;  /* 中の要素を上下中央に並べる */
  }
 /* PCフッター設定ここまで */
   
}


/* ページ全体の指定スマホのみに適用 */
@media only screen and (max-width: 959px) {
  body {
    line-height: 18px;
    font-size: 0.8rem;
    padding-top: 140px;   /* ヘッダーの後ろに要素が隠れないようにするため */
    background: #fffae6;
  }
 /*コンテンツ指定*/
  .contents {
    margin: 2px auto;  /*要素の中央揃え*/
    padding: 0px;
  }
  .img2{
  max-width: 100%;
  }
  .dis-flex1 {
    display: flex;
    }
.icon{
    width: 35px;
    margin: 5px auto;
    }
 /*リンクのサイズ指定*/
  .mlink { 
    font-size: 1.1em;
    padding: 0px;
    margin: 0px ;
  }
 /* 背景指定 */
  .newtop,.transform-mail {
    width: 97%; /* 幅いっぱいを指定 */
    padding: 20px 10px;
    background-size: 20%;
  }
  .transform-bg2,.transform-bg3 {
    width: 97%;
    padding: 20px 10px;
  }    
    
  /*固定ヘッダー設定*/
  header {
    height: 100px; /* 高さを100pxに指定 */
  }
  /*PC用メニュー非表示*/
   header .title  {   display: none; } 
   header .title-nav  {   display: none; }
   header .pc-nav {   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:  #fffae6;
    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%;
    height: 120px; /* 高さを指定 */
    background: linear-gradient(180deg, #FFCF96 5%, #fffae6 95%);  /* 背景色にグラデを指定 */
    padding: 15px 0px 20px 0px; /* ヘッダーに上下左右それぞれ余白を指定 */
    box-sizing: border-box;
    align-items: center;
  }  
  footer .bnav {
    text-align: center;   
    margin:10px auto;
  }
    footer .bnav .fmenu {
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
    padding: 10px;
  }
    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; 
  }
 
}