/* リセット用 */
*{
  box-sizing: border-box; /* padding分を含んで幅を100%にするため */
  }
a {
  text-decoration: none;
  color: #33272a;
  }
/* 全画面共有 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  }
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 {
  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;
  }
.topimg {
  width: 80%;
  }
.rimg {
  width: 95%;
  }
.img{ /*コンテンツ画像指定*/
  max-width: 100%;
  margin: 0px ;
  padding: 0px ;
  height: auto;
  }
  
/* テーブル指定 */
.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: #cdecde;
  box-shadow: 0px 0px 0px 5px #cdecde;
  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 #aff1d3;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  }
h3{
  border-bottom:dashed 3px #aff1d3; /*線の種類（点線） 太さ 色*/
  }
/* ヘッダー */
header {
  width: 100%; /* 幅いっぱいを指定 */
  height: 100px; /* 高さを150pxに指定 */
  background: #E7F1BF; /* 背景色にグレーを指定 */
  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: #f8fce7; /* 背景色を指定 */
  padding: 10px 10px 10px 10px; /* ヘッダーに上下左右それぞれ余白を指定 */
  margin: 20px auto;
  text-align: center;
  background-image:url("bkimg/leaf.png"); 
  background-repeat:  no-repeat; 
  background-position: right 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: #f8fce7;
  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;
  }
/* 背景色指定 コンテンツ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; /* 角を丸くする */
 }
/*コンテンツ指定*/
.contents {
  width: 95%; /*横幅は調整*/
  z-index: 10;  /*レイヤー順*/
  text-align: center; /*文字の中央揃え*/
  margin: 10px auto;  /*要素の中央揃え*/
  left: 50%;
  padding: 10px;
  }

/* ページ全体の指定　PCのみに適用(960px以上) */
@media print, screen and (min-width: 960px) {
  body {
    line-height: 30px;
    margin-bottom: 1.5rem;
    padding-top: 160px;   /* ヘッダーの後ろに要素が隠れないようにするため */
    /* padding-bottom: 160px;   フッターの後ろに要素が隠れないようにするため */
    background: #E7F1BF;
    }
  /*リンクの文字色サイズ指定*/
  .mlink { 
    font-size: 1.5em;
    padding: 10px;
    margin: 0px ;
    }
  .br-sp {
    display: none;
    }
  .dis-flex {
    display: flex;
    }

  .header_inner   {   display: none; } 
  header .title2 {  display: none; }
  header .title {
    width:300px;
    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 .pc-nav {  /* 下段メニューの設定 */
    width: 100%; /* 幅いっぱいを指定 */
    height: 45px; /* 高さを50pxに指定 */
    background: linear-gradient(180deg, #ffffff 5%, #ABE4CA 95%);  /* 背景色にグラデを指定 */
    padding:10px 15px 0px 0px; /* ヘッダーに上下左右それぞれ余白を指定 */
    margin:15px 15px 0px 0px;
    display: flex; /* 中の要素を横並びにする */
   }
  header .pc-nav .menu2 {
    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, #ABE4CA 5%, #E7F1BF 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 {
    align-items: center; /* 中の要素を上下中央に並べる */
    width: 150px; /* 幅いっぱいを指定 */
  }
 footer .bnav .fmenu {
   display: flex; /* 中の要素を横並びにする */
   padding: 0px;      /* 余白指定 */
  }
 footer .bnav .fmenu li {
  list-style: none; /* リストの[・]を消す */
  }
 footer .bnav .fmenu li + li {
   margin-left: 10px; /* メニューそれぞれに間隔をあけるため */
  }
  footer .smoji {
    font-size: 0.9rem;
    line-height: 30px;
    text-align: center;
    align-items: center;  /* 中の要素を上下中央に並べる */
  }
 footer .bigmoji {
    font-size: 3rem;
  }
 footer .jusyo {
    font-size: 0.8rem;
    line-height: 15px;
    margin-left: 20px;
    align-items: left;  /* 中の要素を上下中央に並べる */
  }
 
}   /*PC用ここまで*/

/* ページ全体の指定　スマホのみに適用(959px以下) */
@media only screen and (max-width: 959px) {
  body {
    line-height: 18px;
    font-size: 0.8rem;
    padding-top: 140px;   /* ヘッダーの後ろに要素が隠れないようにするため */
    background: #E7F1BF;
    }
  /*リンクの文字色サイズ指定*/
  .mlink { 
    font-size: 1.1em;
    padding: 0px;
    margin: 0px ;
   }
  .migi {
    width:90px
    }
  .td-img {
    width: 110px;
    }
  .topimg {
    width: 97%;
    }
  /* お知らせ背景 */
 .newtop {
  width: 97%; /* 幅いっぱいを指定 */
  padding: 2px 2px 2px 2px; /* ヘッダーに上下左右それぞれ余白を指定 */
  margin: 10px auto;
  background-size: 30%;
 }   
/* 背景色指定  */
.transform-bg {
 width: 97%;  /*横幅*/
 }
/* メール背景色指定  */
.transform-mail {
 width: 97%;  /*横幅*/
 background-size: 20%;
}
/*コンテンツ指定*/
.contents {
 width: 100%;
}
.dis-flex1 {
    display: flex;
    }
.icon{
    width: 35px;
    margin: 5px auto;
    }
 /*インフレームのサイズ指定*/
.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%;
}

  /*固定ヘッダー設定*/
  header {
    height: 100px; /* 高さを150pxに指定 */
    padding:10px 20px 10px 0px; /* ヘッダーに上下左右それぞれ余白を指定 */
    }
  /*PC用メニュー非表示*/
   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: -15px;
    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:  #E7F1BF;
    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: 200px; /* 高さを50pxに指定 */
    background: linear-gradient(180deg, #ffffff 5%, #ABE4CA 95%);  /* 背景色にグラデを指定 */
    padding: 5px 20px 10px 20px; /* ヘッダーに上下左右それぞれ余白を指定 */
    box-sizing: border-box; /* padding分を含んで幅を100%にするため */
    align-items: center; /* 中の要素を上下中央に並べる */
    text-align: 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 .bigmoji {
     font-size: 1.5rem;
   }
}
