.table-border{
  width: 900px;
  margin: 0 auto;
  border: 2px solid #f56270;
  border-radius: 10px;
}

.day-table {
  border-collapse: collapse;
  border-spacing: 0;
  padding: 0;
  border-radius: 8px;
  table-layout: fixed;
  overflow: hidden;
}

.day-table-tr{
  background-color: #c1ed8cc4;
}
.day-table tr {
  padding: .35em;
}
.day-table-tr-body{
  height: 50px;
  border-top: 1px solid #999;
}
.day-table th,
.day-table td {
  text-align: center;
  padding: 10px;
  position: relative;
}
.day-table th {
  font-size: 1em;
  position: relative;
}
.day-table thead tr{
  background-color: #eee;
}
.day-table-name{
  border-right: 1px solid #bbb;
  width: 250px;
  position: relative;
}
.day-table-td-name-div{
  height: 45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-table-th-name{
  background-color: #fff;
  border-right: 1px solid #bbb;
  height: 50px;
  cursor: pointer;
}
.day-table-th-name:hover{
  background-color: #eafffe;
}
.day-table-th-name:active{
  background-color: #d5fbf9;
}
.day-table-th{
  width: 130px;
}
.day-table-td-click{
  cursor: pointer;
  position: relative;
}
.day-table-td-click:hover::before{
  background-color: #f6ffeb;
  content: "";
  height: 100%;
  left: -5000px;
  position: absolute;
  top: 0;
  width: 10000px;
  z-index: -2;
}
.day-table-td-click:active::before{
  background-color: #e3f9c9;
  content: "";
  height: 100%;
  left: -5000px;
  position: absolute;
  top: 0;
  width: 10000px;
  z-index: -2;
}
.table-scroll{
  margin-bottom: 30px;
  height: calc(100vh - 280px);
  overflow: auto;
}
.day-table-td-status-div{
  font-size: 1.2em;
  cursor: help;
  color: #d77171;
}
.day-table-td-status-div:hover{
  color: #dc5d5d;
}

/* eidthが1000px以下になったら */
@media screen and (max-width: 1000px) {
  .table-scroll{
    width: 90%;
    margin: 0 auto 30px auto;
    overflow: auto;
  }
}


.month-table-scroll{
  overflow: auto;
  margin-bottom: 30px;
  max-height: calc(100vh - 280px);
  overflow-x: scroll;
  width: 90%;
  margin: auto;
}
.month-table-scroll{
  border-radius: 10px;
  border: 2px solid #f56270;
}
.month-table-scroll table {
  white-space: nowrap;
  border-collapse: collapse;
  border-radius: 8px;
}

.month-table-tr {
  background-color: #c1ed8cc4;
}

.month-table-scroll th,
.month-table-scroll td {
  padding: 5px 15px;
  text-align: center;
}
.month-table-attendance-space{
  rotate: 90deg;
}
.month-table-attendance{
  cursor: pointer;
}
.month-table-attendance:hover{
  background-color: #f6ffeb;
}
.month-table-attendance:active{
  background-color: #e3f9c9;
}
.month-table-th-click{
  cursor: pointer;
}
.month-table-th-click:hover{
  background-color: #f6ffeb;
}
.attendance-from{
  width: 800px;
  margin: 0 auto 50px auto;
  border: 2px solid #f56270;
  border-radius: 10px;
  text-align: center;
  padding: 30px;
  box-sizing: border-box;
}
.attendance-from-date{
  display: flex;
  justify-content: center;
  align-items: center;
}
.attendance-from-date-text{
  font-size: 2em;
  font-weight: 600;
}
.attendance-from-body{
  width: 500px;
  margin: 50px auto 0 auto;
}
.attendance-from-input{
  width: 100%;
}
.attendance-from-input .input{
  width: 100% !important;
  box-sizing: border-box;
}
.attendance-from-down-icon{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2em;
  color: #f56270;
}

.attendance-from-new-break{
  border: 1px solid #f56270;
  border-radius: 5px;
  width: 80%;
  margin: 0 auto 40px auto;
  padding: 5px;
  box-sizing: border-box;
  cursor: pointer;
  color: #f56270;
}
.attendance-from-new-break:hover{
  background-color: #f56270;
  color: #fff;
}
.attendance-from-new-break:active{
  background-color: #66A41B;
}

.attendance-from-break{
  border: 1px solid #f56270;
  border-radius: 5px;
  width: 80%;
  margin: 0 auto 50px auto;
  position: relative;
  padding: 10px;
}
.attendance-from-break-title{
  font-size: 1.3em;
}

/* widthが850pxより小さくなったら */
@media screen and (max-width: 850px) {
  .attendance-from{
    width: 90%;
    margin: 0 auto 50px auto;
  }
  .attendance-from-body{
    width: 90%;
    margin: 50px auto 0 auto;
  }
}
.attendance-card{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  width: 650px;
  height: auto;
  padding: 20px;
  box-sizing: border-box;
  border: 3px solid #f56270;
  border-radius: 10px;
}
.attendance-card-date{
  display: flex;
}
.attendance-card-date-text{
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 30px;
}
.attendance-card-date-icon{
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: #f56270;
  text-decoration: none;
  border-radius: 50%;
}
.attendance-card-date-icon:hover{
  color: #fff;
  background-color: #f56270;
}
.attendance-card-date-icon:active{
  background-color: #66A41B;
}

.attendance-card-time{
  display: flex;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.attendance-card-time-frame{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% / 3);
  height: 100%;
  padding: 10px;
  margin: 0 10px;
  box-sizing: border-box;
  border: 1px solid #f56270;
  border-radius: 5px;
}
.attendance-card-time-frame p{
  font-weight: bold;
}
.attendance-card-time-frame-text{
  margin-top: 10px;
  font-size: 1.3rem; 
}

.attendance-card-button{
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.attendance-card-button div{
  margin: 0 15px;
  width: 100px;
}

.attendance-area{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 600px;
  height: auto;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
}
.attendance-area-presence,
.attendance-area-clocking-out{
  width: 100%;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  padding: 10px 0;
}
.attendance-area-presence{
  border: 2px solid #81C3D8;
}
.attendance-area-clocking-out{
  border: 2px solid #819fd8;
}
.attendance-area-presence::after{
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #81C3D8 transparent transparent transparent;
  position: absolute;
  bottom: -10px;
  left: 25%;
  transform: translateX(-50%);
}

.attendance-area-presence-title,
.attendance-area-clocking-out-title{
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  width: 50%;
}
.attendance-area-presence-time,
.attendance-area-clocking-out-time{
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  width: 50%;
}

.attendance-area-break{
  width: 90%;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  border: 2px solid #f56270;
  padding: 10px 0;
}
.attendance-area-break::after{
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #f56270 transparent transparent transparent;
  position: absolute;
  bottom: -10px;
  left: 22.5%;
  transform: translateX(-50%);
}
.attendance-area-break-title{
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  width: 45%;
}
.attendance-area-break-time{
  text-align: center;
  margin-top: 20px;
  width: 55%;
}
.attendance-area-break-time-text{
  font-size: 1.3rem;
  font-weight: bold;
}

/* month */
.attendance-area-month{
  width: 100%;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  padding: 10px 0;
  text-decoration: none;
  color: #202124;
}
.attendance-area-month-title{
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  width: 20%;
}
.attendance-area-month-time{
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.attendance-area-month-sum{
  text-align: center;
  width: 20%;
}
.attendance-area-month-sum-text{
  font-size: 1.3rem;
  font-weight: bold;
}
.attendance-area-month.gray{
  border: 2px solid rgb(183, 183, 183);
}
.attendance-area-month:hover{
  background-color: rgb(241, 241, 241);
}
.attendance-area-month.blue{
  border: 2px solid #81C3D8;
}
.attendance-area-month.red{
  border: 2px solid #D88181;
}

/* widthが670pxより小さくなったら */
@media screen and (max-width: 670px) {
  .attendance-card,
  .attendance-area{
    width: 90%;
  }
  .attendance-card-date-text{
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .attendance-card-time{
    display: block;
  }
  .attendance-card-time-frame{
    width: 90%;
    margin-bottom: 10px;
  }
  .attendance-area-break{
    display: block;
  }
  .attendance-area-break-title,
  .attendance-area-break-time{
    width: 90%;
    margin: auto;
  }
  .attendance-area-break::after,
  .attendance-area-presence::after{
    left: 50%;
  }
}
.error-list{
  border: 2px solid #f06060;
  border-radius: 5px;
  padding: 1em;
  margin-bottom: 2em;
  text-align: left;
}
.alert-card{
  position: relative;
}
.alert {
  z-index: 90;
  max-width: 450px;
  position: fixed;
  bottom: 25px;
  right: 20px;
  display: flex;
  grid-gap: 0 .7em;
  margin: 0 auto;
  padding: 1em;
  border-radius: 5px;
  color: #333333;
}
.alert p {
  margin: 0;
  padding: 0 0 0 .7em;
}

.alert-success{
  background-color: #ecffe9dc;
}
.alert-success .alert-icon{
  margin-top: 3px;
  color: #86d67c;
}
.alert-success p{
  border-left: 1px solid #86d67c;
}

.alert-error{
  background-color: #ffebeeda;
}
.alert-error .alert-icon{
  margin-top: 3px;
  color: #f06060;
}
.alert-error p{
  border-left: 1px solid #f06060;
}
.header-box{
}
.footer{
  z-index: 98;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 25px;
  text-align: center;
  background-color: #ffffff77;
}
.header-box-background{
  width: 100%;
  height: 80px;
}
.header-text{
  z-index: 100;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #B1D881;
  width: 300px;
  height: 55px;
  display: grid;
  place-items: center;
}
.header-text a{
  text-decoration: none;
  font-size: 1.6em;
  font-weight: 600;
  color: #fff;
}

.header-left{
  z-index: 100;
  position: absolute;
  top: 0;
  left: calc(50% - 200px);
  transform: translateX(-50%);
  border-radius: 0 0 0 80px;
  width: 100px;
  height: 55px;
  background-color: #B1D881;
}
.header-left:hover,
.header-right:hover{
  background-color: #92C752;
}
.header-left:active,
.header-right:active{
  background-color: #66A41B;
}

.header-right{
  z-index: 100;
  position: absolute;
  top: 0;
  left: calc(50% + 200px);
  transform: translateX(-50%);
  border-radius: 0 0 80px 0;
  width: 100px;
  height: 55px;
  background-color: #B1D881;
  cursor: pointer;
}

.header-button-area{
  cursor: pointer;
  margin-top: 5px;
  text-align: center;
  text-decoration: none;
}
.header-home-icon,
.header-bars-cion{
  font-size: 1.5em;
  color: #fff;
}
.header-home-text,
.header-bars-text{
  font-size: 0.7em;
  color: #fff;
}
.icon-right{
  float: right;
  margin-right: 20px;
}
.icon-left{
  float: left;
  margin-left: 20px;
}

.header-background{
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); 
}
.header-menu{
  top: 100px;
  left: 50%;
  width: 1100px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  transform: translateX(-50%);
  position: fixed;
  z-index: 101;
  justify-content: space-around;
}
/* widthが1200pxよりも小さくなったとき */
@media screen and (max-width: 1100px){
  .header-menu{
    top: 80px;
    max-height: calc(100vh - 80px);
    display: block;
    width: 100%;
    display: grid;
    place-items: center;
  }
}
@media screen and (max-width: 500px){
  .header-menu{
    top: 60px;
  }
  .header-text{
    width: calc(100% - 120px);
    height: 45px;
  }
  .header-text a{
    font-size: 1.2em;
  }
  .header-box-background{
    height: 60px;
  }
  .header-left,.header-right{
    height: 45px;
    z-index: 101;
    width: 60px;
    transform: translateX(0);
    border-radius: 0;
  }
  .header-left{
    left: 0;
  }
  .header-right{
    left: calc(100% - 60px);
  }
  .icon-right{
    float: none;
    margin-right: 0;
  }
  .icon-left{
    float: none;
    margin-left: 0;
  }
  .header-home-icon,
  .header-bars-cion{
    font-size: 1.2em;
  }
}
.header-menu-card{
  margin: 0 0 30px 0;
  width: 70%;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 120px 20px 20px;
  color: #000;
  text-align: center;
  overflow: auto;
}
.header-menu-card-text{
  font-size: 1.6em;
  font-weight: 600;
}
.header-menu-contents-card{
  border: 1px solid #000;
  border-radius: 10px;
  margin-top: 20px;
}
.header-menu-contents-card-icon-area{
  margin: 10px;
}
.header-menu-contents-card-icon{
  font-size: 3em;
  margin-bottom: 10px;
}
.header-menu-contents-card-text{
  font-size: 1.2em;
}
.header-menu-contents-card-button-area{
  margin: 10px;
  flex-wrap: wrap;
  justify-content: space-around;
}
.header-menu-contents-card-button{
  width: 130px;
  height: 40px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: 600;
  border: 1px solid #000;
  cursor: pointer;
  margin: 5px;
  text-decoration: none;
  color: #000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header-menu-contents-card-button:hover{
  background-color: #fff;
}
.header-menu-contents-card-button:active{
  background-color: #fff;
}
.header-menu-contents-card-button button{
  width: 100%;
  height: 100%;
  background-color: transparent;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0;
  color: #fff;
  appearance: none;
  font-size: 1em;
  font-weight: 600;
}

.header-menu-not-allowed{
  cursor: not-allowed;
}

.buttondes{
  /* 背景色を無色に */
  background: transparent;
  /* 枠線を消す */
  border: none;
  /* クリックした際に枠線をnone消す */
  outline: none;
  /* 影を消す */
  box-shadow: none;
  font-size: 1.0em;
}

summary {
  display: block;
  list-style: none;
}

/* 一部ブラウザで消えなかった場合は以下も追記 */
summary::-webkit-details-marker {
  display:none;
}
.login-card{
  left: 50%;
  width: 448px;
  height: 500px;
  border: 1px solid #C0C0C0;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
  padding: 50px 20px;
  margin: 0 auto;
}
.login-card-subtitle{
  font-size: 0.7rem;
  opacity: 0.7;
}
.login-card-input-area{
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wave-group {
  position: relative;
  margin-bottom: 60px;
}
.wave-group .input {
  font-size: 18px;
  padding: 15px 10px 5px 5px;
  display: block;
  width: 320px;
  border: none;
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid #C0C0C0;
  background: transparent;
}
.wave-group .input:focus {
  outline: none;
}
.wave-group .label {
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  display: flex;
  transform: translateY(-20px);
  font-size: 14px;
  color: #f56270;
}
.wave-group .bar {
  position: relative;
  display: block;
  width: 100%;
}
.wave-group .bar:before,.wave-group .bar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #f56270;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}
.wave-group .bar:before {
  left: 50%;
}
.wave-group .bar:after {
  right: 50%;
}
.wave-group .input:focus ~ .bar:before,
.wave-group .input:focus ~ .bar:after {
  width: 50%;
}

.login-card-submit-area input{
  display: inline-block;
	vertical-align: middle;
	margin: 0 10px;
	padding: 6px 25px;
	color: #f56270;
	font-weight: bold;
	letter-spacing: 0.5pt;
	text-decoration: none;
  color: #ffffff;
  background-color: #f56270;
  border: 1px solid #f56270;
  border-radius: 5px;
	cursor: pointer;
  font-size: 1.2rem;
	transition-duration:0.3s;
    -webkit-transition-duration:0.3s;
    -moz-transition-duration:0.3s;
    -o-transition-duration:0.3s;
    -ms-transition-duration:0.3s;
}

.login-card-submit-area input:hover{
  background-color: #b22222;
  border: 1px solid #b22222;
}

/* widthが500pxより小さくなったら */
@media screen and (max-width: 500px) {
  .login-card{
    top: 65%;
    width: 78%;
    height: 450px;
  }
  .wave-group .input{
    width: 100%;
    box-sizing: border-box;
  }
  .login-card-input-area{
    display: block;
  }
}






/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 18px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #faf9f1;	/*背景色*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}
video,audio {max-width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;		/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #f56270;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*container（footer以外を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	max-width: 1500px;	/*サイトの最大幅*/
	margin: 0 auto;
	position: relative;
	padding: 0 10%;		/*上下、左右へのボックス内の余白*/
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
#kaka {
	float: left;	/*左に回り込み*/
	width: 20%;		/*幅*/
}
/*ロゴ画像ブロック*/
#kaka, #logo {
	margin-bottom: 50px;	/*画像ブロックの下に空けるスペース*/
	background: #f56270;	/*背景色*/
	border-radius: 0px 0px 10px 10px;	/*角丸のサイズ。左上、右上、右下、左下の順番の指定。*/
}

/*メニューブロック
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
.submenu {
	overflow: hidden;
	border-radius: 10px;	/*角丸のサイズ*/
	border: 5px solid #f56270;	/*枠線の幅、線種、色*/
	margin-bottom: 20px;	/*ブロックの下に空けるスペース*/
}
/*メニュー１個あたりの設定*/
.submenu li {
	text-align: center;			/*文字をセンタリング*/
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
	font-size: 18px;			/*文字サイズ*/
}
.submenu li a {
	display: block;text-decoration: none;
	padding: 15px 5px;	/*上下、左右へのメニュー内の余白*/
	background: #fff;	/*背景色*/
}
/*マウスオン時*/
.submenu li a:hover {
	background: #fbf6cc;	/*背景色*/
}
/*１つ目のメニューへの追加指定*/
.submenu li:first-child {
	border: none;	/*上の線を消す*/
}
/*飾り文字*/
.submenu li span {
	display: block;
	font-size: 11px;		/*文字サイズ*/
	font-weight: normal;	/*文字を太字でなく標準に戻す設定*/
	letter-spacing: 0.2em;	/*文字間隔を少しあける設定*/
	color: #f56270;			/*文字色*/
}

/*contents
---------------------------------------------------------------------------*/
#contents {
	clear: both;overflow: hidden;
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*mainブロック全体の設定*/
#main {
	float: right;	/*右に回り込み*/
	width: 75%;		/*ブロックの幅*/
}



/*トップページでのmainコンテンツへの追加設定*/
.home #main {
	margin-top: 22%;	/*上に空けるスペース。スライドショーとのバランスをとって設定して下さい。*/
}
/*mainコンテンツのh2タグ設定*/
#main h2 {
	clear: both;
	font-size: 24px;
	margin-bottom: 20px;
	padding: 20px 20px 20px 60px;	/*上、右、下、左への見出し内の余白*/
	color: #fff;		/*文字色*/
	background: #f56270;	/*背景色（古いブラウザ用）*/
	background: #f56270 url(/../images/arrow2.png) no-repeat 20px center / 25px;	/*背景色、背景画像の読み込み。左から20pxの場所に配置。画像の幅を25pxに。*/
	border-radius: 10px;	/*角丸のサイズ*/
}
/*mainコンテンツのh3タグ設定*/
#main h3 {
	clear: both;
	margin-bottom: 20px;
	padding: 4px 20px;		/*上下、左右への見出し内の余白*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-radius: 10px;	/*角丸のサイズ*/
	background: #fff;	/*背景色*/
}
#main h3::first-letter {
	border-left: 3px solid #f56270;
	padding-left: 15px;
}
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0px 20px 20px;	/*上、左右、下への余白*/
}
/*他。微調整。*/
#main p + p {
	margin-top: -5px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}
#main section + section {
	margin-top: 30px;
}

/*subコンテンツ
---------------------------------------------------------------------------*/
/*subブロック全体の設定*/
#sub {
	float: left;		/*左に回り込み*/
	font-size: 14px;	/*文字サイズ*/
	line-height: 1.5;
	width: 20%;			/*ブロックの幅*/
}
#sub h2 {
	font-size: 18px;	/*文字サイズ*/
}
#sub h2::first-letter {
	border-left: 3px solid #f56270;
	padding-left: 10px;
}
#sub .box h2::first-letter {
	border-left: 3px solid #fff;
}

/*subコンテンツ内のbox
---------------------------------------------------------------------------*/
#sub .box {
	background: #f56270;	/*背景色*/
	color: #fff;			/*文字色*/
	padding: 20px;			/*ボックス内の余白*/
	border-radius: 10px;	/*角丸の指定*/
	margin-bottom: 20px;	/*ボックスの下(外側)に空けるスペース*/
}
/*リンクテキストの文字色*/
#sub .box a {
	color: #fff;
}

/*subコンテンツ内のaddress
---------------------------------------------------------------------------*/
#sub address {
	font-style: normal;	/*デフォルトで斜体になるのでノーマルに*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	padding-top: 40px;
	text-align: center;
	font-size: 85%;
}
footer .pr {display: block;font-size: 80%;}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	padding: 10px;
}
/*メニュー１個あたり*/
#footermenu li {
	display: inline-block;	/*横並びにさせる*/
	padding: 2px 10px;	/*上下、左右への余白*/
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	background: #333;	/*背景色*/
	color: #fff;		/*文字色*/
}
#copyright a {
	text-decoration: none;
	color: #fff;		/*文字色*/
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
	padding: 0px 20px;		/*上下、左右へのブロック内の余白*/
	margin-bottom: 20px;	/*ブロックの下(外側)に空ける余白*/
}
/*日付設定*/
#new dt {
	float: left;
	width: 9em;
	letter-spacing: 0.1em;
}
/*記事設定*/
#new dd {
	padding-left: 9em;
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
}

/*listブロック
---------------------------------------------------------------------------*/
/*ブロック１個あたりの設定*/
.list {
	overflow: hidden;
	width: 26.4%;	/*幅*/
	float: left;	/*左に回り込み*/
	margin: 0 0 20px 2%;	/*上、右、下、左へのボックスの外側に空けるスペース*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	box-shadow: 3px 4px 2px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、色。0,0,0は黒の事で、0.1は色が10%出た状態。*/
	padding: 2%;	/*ボックス内の余白*/
	border-radius: 3px;	/*角丸のサイズ。ほんの少し角が丸くなってます。*/
	background: #fff;	/*背景色*/
}
.list a {
	display: block;text-decoration: none;overflow: hidden;
	margin: -2%;	/*ボックスのマージン。リンク設定する場合に、上の.listのpaddingを相殺するため。*/
	padding: 2%;	/*ボックス内の余白*/
	background: #fff url(/../images/arrow1.png) no-repeat right bottom / 40px;	/*リンク設定した際の右下の矢印マークの読み込み。right（右）、bottom（下）、40pxは画像の幅。*/
}
/*マウスオン時の設定*/
.list a:hover {
	position: relative;
	left: 1px;	/*マウスオン時に右に1px移動する*/
	top: 1px;	/*マウスオン時に下に1px移動する*/
}
/*h4（見出し）タグの設定*/
.list h4 {
	color: #f56270;		/*文字色*/
	font-size: 120%;	/*文字サイズ*/
	text-align: center;	/*文字をセンタリング*/
	height: 2em;		/*高さ*/
	overflow: hidden;	/*高さを超えた場合に非表示にする*/
}
/*p（段落）タグの設定*/
.list p {
	padding: 0 !important;
	line-height: 1.5;	/*行間を少し狭くする。デフォルトは最上部のbodyにあります。*/
	font-size: 90%;		/*文字サイズを少し小さく*/
	color: #333;		/*文字色*/
	height: 6em;		/*高さ。1.5emを１行分とカウントして下さい。6emなら４行です。*/
	overflow: hidden;	/*高さを超えた場合に非表示にする*/
}

/*サムネイル画像の設定
---------------------------------------------------------------------------*/
.thumbnail {
	width: 70px;	/*サムネ�����ル画像の幅*/
	margin: 5px;	/*画像同士に空けるスペース*/
	opacity: 0.7;	/*透明度。色が70%出た状態。*/
}
/*マウスオン時*/
.thumbnail:hover {
	opacity: 1;	/*透明度。色が100%出た状態。*/
}

/*よく頂く質問
---------------------------------------------------------------------------*/
/*外側ブロック*/
.faq {
	padding: 0px 20px;	/*上下、左右への余白*/
}
/*質問*/
.faq dt {
	color: #f56270;		/*文字色*/
	font-weight: bold;	/*太字にする設定*/
	padding-left: 30px;	/*背景アイコンに重ならないよう左に余白を作る*/
	background: url(/../images/faq_q.png) no-repeat left top / 30px;	/*「Q」アイコン*/
}
/*回答*/
.faq dd {
	padding-left: 30px;		/*背景アイコンに重ならないよう左に余白を作る*/
	margin-bottom: 20px;	/*ボックスの下側（外側）に空けるスペース*/
	padding-bottom: 20px;	/*ボックス内の下側に空けるスペース*/
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	background: url(/../images/faq_a.png) no-repeat left top / 30px;	/*「A」アイコン*/
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: left;		/*文字を左寄せ*/
	background: #eee;		/*背景色*/
	color: #666;			/*文字色*/
	font-weight: bold;		/*太字に*/
	padding: 10px;			/*ボックス内の余白*/
}
/*ta1設定*/
.ta1 {
	table-layout: fixed;
	width: 100%;
	margin: 0 auto 20px;
	background: #fff;	/*背景色*/
	color: #666;		/*文字色*/
}
.ta1, .ta1 td, .ta1 th {
	word-break: break-all;
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px;	/*ボックス内の余白*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 140px;		/*幅*/
	text-align: center;	/*センタリング*/
}

/*テーブル（ta2）サブブロックの受付テーブルに使用。
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2 caption {
	border: 1px solid #b7b7b7;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: center;
	background: #fff;		/*背景色*/
	color: #333;
	font-weight: bold;		/*太字に*/
	padding: 10px;			/*ボックス内の余白*/
}
/*ta2設定*/
.ta2 {
	table-layout: fixed;
	width: 100%;
	margin-bottom: 20px;
	text-align: center;	/*センタリング*/
	background: #fff;	/*背景色*/
	color: #333;
}
.ta2, .ta2 td, .ta2 th {
	word-break: break-all;
	border: 1px solid #b7b7b7;	/*テーブルの枠線の幅、線種、色*/
}
/*曜日*/
.ta2 th {
	background: #fffbe3;
}

/*inputボタン
---------------------------------------------------------------------------*/
#main input[type="submit"].btn,
#main input[type="button"].btn,
#main input[type="reset"].btn {
	padding: 5px 10px;
	border: 1px solid #ccc;
	font-size: 18px;
	border-radius: 3px;
	background: #eee;
}
/*マウスオン時の設定*/
#main input[type="submit"].btn:hover,
#main input[type="button"].btn:hover,
#main input[type="reset"].btn:hover {
	border: 1px solid #999;
	background: #fff;
}

/*box（info1.htmlやstaff.htmlで使っている枠色がついたタイプのボックス）
---------------------------------------------------------------------------*/
/*box*/
#main .box {
	overflow: hidden;
	border: 3px solid #f56270;	/*枠線の幅、線種、色*/
	padding: 20px;				/*ボックス内の余白*/
	border-radius: 10px;		/*角丸のサイズ。この１行を削除すれば角のとれた長方形になります。*/
	margin-bottom: 20px;		/*ボックスの下に空けるスペース*/
	background: #fff;			/*背景色*/
}
/*box内のh4タグ*/
#main .box h4 {
	color: #f56270;		/*文字色*/
	font-size: 130%;	/*文字サイズ*/
}
/*box内のpタグ*/
#main .box p {
	padding: 0 !important;
}
/*box内のfrとflスタイルのリセット*/
#main .box .fr,#main .box .fl {margin-bottom: 0;}

/*ページ内メニュー（info.htmlで使用）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.menu {
	overflow: hidden;
	margin-bottom: 20px;	/*下に空けるスペース*/
	text-align: center;		/*内容をセンタリング*/
}
/*メニュー１個あたりの指定*/
.menu li {
	display: inline;	/*横並びになる指定*/
	border-right: 1px solid #999;	/*右側の線の幅、線種、色*/
}
.menu li a {
	padding: 10px;	/*メニュー内余白*/
}
/*最初のメニューへの追加指定*/
.menu li:first-child {
	border-left: 1px solid #999;	/*左側の線の幅、線種、色*/
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
/*アニメーションのキーグレーム設定（変更不要）*/
@keyframes scroll {
0% {opacity: 0;}
100% {opacity: 1;}
}
/*デフォルトでは非表示に*/
body .nav-fix-pos-pagetop a {display: none;}
/*ボタンの設定*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;z-index: 100;position: fixed;
	width: 100px;		/*幅*/
	bottom: 55px;		/*下からの配置場所指定*/
	right: 3%;			/*右からの配置場所指定*/
	animation-name: scroll;	/*上のアニメーションで指定しているkeyframesの名前（scroll）*/
	animation-duration: 0.5S;	/*アニメーションの実行時間*/
	animation-fill-mode: forwards;	/*アニメーションの完了後、最後のキーフレームを維持する*/
	border-radius: 50%;
	border: 3px solid #f56270;	/*枠線の幅、線種、色*/
	background: #fff;	/*背景色（古いブラウザ用）*/
	background: rgba(255,255,255,0.5);	/*背景色。255,255,255は白のことで0.3は色が30%出た状態のこと。*/
}
/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #fff;
}

/*pdfアイコン
---------------------------------------------------------------------------*/
a[href$=".pdf"]{
	display: inline-block;
	background: url(/../images/PDF_32.png) no-repeat right center;
	padding: 5px 40px 5px 0px;
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*checkブロック。赤い注意書きブロックです。
---------------------------------------------------------------------------*/
p.check {
	background: #ff0000;
	color:#fff;
	padding: 10px 25px !important;
	margin-bottom: 20px;
}
#sub p.check {
	padding: 5px !important;
}
p.check a {color: #fff;}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 20px 20px 40px;
}
ol {
	padding: 0 20px 20px 45px;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #eee;border: 1px solid #ccc;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px;}
.mb10 {margin-bottom: 10px;}
.mb30 {margin-bottom: 30px;}
.clear {clear: both;}
.color1, .color1 a {color: #f56270;}
.bgcolor1 {background: #f2f2f2 !important;}
.bgcolor2 {background: #dbebf7 !important;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.w40p {width: 40%;}
.w20p {width: 20%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
.fr {float: right;margin-left: 2%;margin-bottom: 20px;}
.fl {float: left;margin-right: 2%;margin-bottom: 20px;}
.big1 {font-size: 24px;letter-spacing: 0.2em;}
#sub .big1 {font-size: 20px;letter-spacing: normal;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}
.dn {display: none;}



/*画面幅1100px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1100px){

/*container（footer以外を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	padding: 0 3%;		/*上下、左右へのボックス内の余白*/
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*トップページでのmainコンテンツへの追加設定*/
.home #main {
	margin-top: 23%;	/*上に空けるスペース。スライドショーとのバランスをとって設定して下さい。*/
}

}



/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px){

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
#kaka {
	position: absolute;
	left: 3%;	/*画面の左からの配置場所指定*/
	top: 0px;	/*画面の上からの配置場所指定*/
}
/*ロゴ画像ブロック*/
#kaka, #logo {
	width: 170px;	/*ロゴ画像の幅*/
}

/*contents
---------------------------------------------------------------------------*/
/*トップページのcontentsブロック*/
.home #contents {
	padding-top: 25%;	/*上のスライドショーとのバランスをとって下さい*/
}
/*トップページ以外のcontentsブロック*/
#contents {
	padding-top: 200px;
}

/*メインメニュー
---------------------------------------------------------------------------*/

/*PC用メニューを非表示にする*/
#menubar1 {display: none;}

/*header,main,sub
---------------------------------------------------------------------------*/
#kaka, #main, #sub {
	float: none;
	width: auto;
	overflow: hidden;
}

/*その他
---------------------------------------------------------------------------*/
body.s-n #sub,body.s-n #side {display: none;}

}



/*画面幅600px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:600px){

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*mainコンテンツのh2タグ設定*/
#main h2 {
	font-size: 18px;	/*文字サイズ*/
	padding: 10px 20px 10px 60px;	/*上、右、下、左への見出し内の余白*/
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
/*ボタンの設定*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	width: 60px;	/*幅*/
}

}



/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 12px;
	font-size: 2.93vw;
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像ブロック*/
#kaka, #logo {
	width: 120px;	/*ロゴ画像の幅*/
}
/*contents
---------------------------------------------------------------------------*/
/*トップページのcontentsブロック*/
.home #contents {
	padding-top: 60%;	/*上のスライドショーとのバランスをとって下さい*/
}
/*トップページ以外のcontentsブロック*/
#contents {
	padding-top: 140px;
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*mainコンテンツのh2タグ設定*/
#main h2 {
	font-size: 16px;
	padding: 10px 20px;	/*上下、左右への見出し内の余白*/
	background-image: none;
}
/*mainコンテンツのh3タグ設定*/
#main h3::first-letter {
	border-left: none;
	padding-left: 0;
}
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0px 0px 20px;	/*上、左右、下への余白*/
}

/*listブロック
---------------------------------------------------------------------------*/
/*ブロック１個あたりの設定*/

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
	padding-left: 10px;
	padding-right: 10px;
}

/*よく頂く質問
---------------------------------------------------------------------------*/
.faq {
	padding: 0px;
}
.faq dt,.faq dd {
	background-size: 25px;
}

/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	padding: 5px;	/*ボックス内の余白*/
}
/*ta1設定*/
.ta1, .ta1 td, .ta1 th {
	padding: 5px;	/*ボックス内の余白*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 100px;
}

/*その他
---------------------------------------------------------------------------*/
.ws,.wl {width: 94%;}
.big1 {font-size: 18px;letter-spacing: normal;}
.sh {display:block;}
.pc {display:none;}

}




/*CSSスライドショー設定
---------------------------------------------------------------------------*/
/*１枚目*/
@keyframes slide1 {
	0% {opacity: 0;}
	10% {opacity: 1;}
	30% {opacity: 1;}
	40% {opacity: 0;}
	100% {opacity: 0;}
}
/*２枚目*/
@keyframes slide2 {
	0% {opacity: 0;}
	20% {opacity: 0;}
	30% {opacity: 1;}
	60% {opacity: 1;}
	70% {opacity: 0;}
	100% {opacity: 0;}
}
/*３枚目*/
@keyframes slide3 {
	0% {opacity: 0;}
	50% {opacity: 0;}
	60% {opacity: 1;}
	85% {opacity: 1;}
	95% {opacity: 0;}
	100% {opacity: 0;}
}

/*mainimg
---------------------------------------------------------------------------*/
/*画像ブロック*/
.mainimg {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
}
.mainimg .inner {
	padding: 0;width: 100%;height:auto;position: relative;
}
/*３枚画像の共通設定*/
.home .slide1,.home .slide2,.home .slide3 {
	position: absolute;left:0px;top:0px;
	animation-fill-mode: both;
	animation-duration: 20s;				/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	animation-delay: 1s;					/*アニメーションを１秒だけ遅れてスタートさせる。少しでも初動のガタつきを防ぐためです。*/
}
/*土台画像*/
.slide0 {
	position: relative;width: 100%;height: auto;
}
/*１枚目*/
.slide1 {
	animation-name: slide1;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	animation-name: slide2;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*３枚目*/
.slide3 {
	animation-name: slide3;	/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*imgタグ設定*/
.mainimg img {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: -1;
	width: 100%;
}
.mainimg img.kazari {
	z-index: -1;
}

.imageawa {
	border:1.5px solid #bbb;
	width: 98%;
}
.imageawa1 {
	width: 40%;
	float: right;margin-left: 2%;margin-bottom: 20px;
}

.box13 {
  position: relative;
  margin: 2em auto;
  padding: 2em 1em 1em;
  width: 90%;
  background: #fffff9; /* ボックス背景色 */
  border: 5px solid #f7cc88; /* 枠の色 */
  border-radius: 3px;
  box-shadow: 0 0 8px #333, 0 0 2px #555 inset; /* 影の色 */
}

.box13::before,
.box13::after {
  position: absolute;
  content: '';
  width: 25px; 
  bottom: 3px;
  border-radius: 2px;
  box-shadow: 1px 1px 3px #666; /* 影の色 */
}

.box13::before {
  right: 55px;
  border: solid 3px #8c8c8c; /*飾ペン黒 */
}

.box13::after {
  right: 20px;
  border: solid 3px #ffa3ce; /*飾ペンピンク */
  transform: rotate(8deg); /*飾ペン角度 */
}
.box_20 {
	border: 1px solid #f56270;
	background: #fde4e6;
	padding: 1.5em;
	}

.box_20_txt {
	background: #fff;
	border-radius: 10px;
	padding: 1em;
	margin-top: 10px;
	box-shadow: 0 2px 3px #ccc;
}
.home-admin-attendance{
  position: relative;
  width: 90%;
  margin: 0 auto;
  display: flex;
}
.home-admin-attendance-date{
  width: 450px;
  top: 40%;
  left: 10%;
  transform: translateY(-50%);
  position: fixed;
  align-self: center;
  background-color: #fff;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 4px 3px;
  border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
  border-style: solid;
  border-width: 2px;
  box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
  box-sizing: border-box;
  color: #41403e;
  display: inline-block;
  font-size: 1rem;
  line-height: 23px;
  outline: none;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px;
  text-align: center;
}
.home-admin-left-card-area{
  width: 45%;
}
.home-admin-right-card-area{
  width: 55%;
  box-sizing: border-box;
  padding: 0 20px 30px 20px;
  margin-bottom: 30px;
}
.home-admin-right-card{
  border-radius: 10px;
  box-sizing: border-box;
  padding: 10px 20px 20px 20px;
  margin-top: 20px;
  position: relative;
  box-shadow: 0 0 1px 1px #f56270, 0 0 3px 2px #f56270 inset;
}
.home-admin-right-card-flex{
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-admin-right-card h3{
  cursor: pointer;
  text-align: center;
  font-size: 1.5rem;
  margin: 10px 0;
  display: inline-block;
  position: relative;
  padding: .1em 1em;
  border-right: 27px solid #f56270;
  background-color: #f5f5f5;
}
.home-admin-right-card h3::before{
  position: absolute;
  bottom: 2px;
  right: -20px;
  z-index: -1;
  transform: rotate(5deg);
  width: 100%;
  height: 50%;
  background-color: #d0d0d0;
  content: "";
  filter: blur(4px);
}
.home-admin-right-card h4{
  text-align: center;
  font-size: 1.2rem;
  margin: 10px 0;
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
  border-bottom: 2px solid #f56270;
}
.home-admin-today{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #f56270;
  position: relative;
}
.home-admin-today::after,
.home-admin-right-card h4::after{
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #f56270 transparent transparent transparent;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}
.home-admin-today p{
  font-size: 1.4rem;
  margin: 0 20px;
}
.home-admin-today-card{
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  display: flex;
}
.gray-color{
  border: 2px solid gray;
}
.yellow-color{
  border: 2px solid #CB912F;
}
.work-color{
  border: 2px solid #81C3D8;
}
.break-color{
  border: 2px solid #f56270;
}
.red-color{
  border: 2px solid #D88181;
}
.home-admin-today-card-time{
  width: 30%;
}
.home-admin-today-card-text{
  width: 70%;
  box-sizing: border-box;
  padding: 0 10px;
}
.home-admin-today-card-time-work{
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  box-sizing: border-box;
  padding: 2px 0;
  border-radius: 5px;
  margin: 10px;
}
.home-admin-today-card-text-name{
  font-size: 1.6rem;
  font-weight: bold;
  margin: 10px;
  border-bottom: 1px solid #000;
}
.home-admin-today-card-plain-text{
  font-size: 1.2rem;
  margin: 10px;
}

.home-admin-top3-card,
.home-admin-all-card{
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  display: flex;
  box-sizing: border-box;
  padding: 10px;
}
.home-admin-all-card:hover,
.home-admin-top3-card:hover{
  background-color: #f5f5f5;
}
.home-admin-top3-card p,
.home-admin-all-card p{
  font-size: 1.2rem;
  margin: 0;
  width: 50%;
  text-align: center;
}
.home-admin-top3-card-a,
.home-admin-all-card-a{
  text-decoration: none;
  color: #000;
}
.home-admin-reload{
  position: absolute;
  top: 25px;
  right: 20px;
  width: 120px;
  text-align: center;
  border: 1px solid #f56270;
  border-radius: 5px;
  cursor: pointer;
}
.home-admin-reload:hover{
  box-shadow: 0 0 1px 1px #f56270, 0 0 3px 2px #f56270;
}
.start-rotate{
  animation: start-rotate .75s linear;
}
@keyframes start-rotate{
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
  }
}

/* widthが1300px以下になったら */
@media screen and (max-width: 1300px) {
  .home-admin-attendance{
    display: block;
    max-width: 800px;
  }
  .home-admin-attendance-date{
    position: relative;
    display: block;
    left: auto;
    margin: auto;
    transform: none;
  }
  .home-admin-left-card-area{
    display: none;
  }
  .home-admin-right-card-area{
    width: 100%;
  }
}

/* widthが700px以下になったら */
@media screen and (max-width: 700px) {
  .home-admin-attendance-date{
    width: 100%;
    margin-bottom: 30px;
  }
  #clock-date{
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
  }
  #clock-time{
    font-size: 3rem;
    font-weight: bold;
  }
  .home-attendance-button-in-text{
    font-size: 1.1rem;
    width: 150px;
  }
  .home-admin-reload{
    display: none;
  }
  .home-admin-today{
    display: block;
    text-align: center;
  }
  .home-admin-today-card{
    display: block;
  }
  .home-admin-today-card-time,
  .home-admin-today-card-text{
    width: 100%;
  }
  .home-admin-today-card-text-name{
    font-size: 1.2rem;
  }
  .home-admin-today-card-plain-text{
    font-size: 1rem;
  }
  .home-admin-top3-card,
  .home-admin-all-card{
    display: block;
  }
  .home-admin-top3-card p,
  .home-admin-all-card p{
    width: 100%;
  }
}
.home-attendance{
  position: relative;
  width: 500px;
  margin: 0 auto;
}
.home-attendance-date{
  width: 100%;
  max-width: 900px;
  top: 0;
  align-self: center;
  background-color: #fff;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 4px 3px;
  border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
  border-style: solid;
  border-width: 2px;
  box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
  box-sizing: border-box;
  color: #41403e;
  display: inline-block;
  font-size: 1rem;
  line-height: 23px;
  outline: none;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px;
  text-align: center;
}
#clock-date{
  height: 60px;
  font-size: 1.8rem;
  font-weight: bold;
}
#clock-time{
  font-size: 4rem;
  font-weight: bold;
  height: 40px;
}
.home-attendance-card{
  width: 100%;
  margin-top: 20px;
}
.home-attendance-card p{
  font-size: 1.2rem;
}

.home-attendance-button{
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.home-attendance-button-in-text {
  font-size: 1.2rem;
  width: 170px;
  margin: 0 20px;
  font-weight: bold;
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 50%;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}


.home-attendance-button-in-text.rainbow-color:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-home-attendance-button-in-text 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}
.home-attendance-button-in-text.green-color:before {
  content: "";
  background: linear-gradient(
    45deg,
    #99ff00,
    #84ff00,
    #48ff00,
    #00ff1a,
    #3cd300,
    #34b600,
    #00d019,
    #48ff00,
    #c7fc81
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-home-attendance-button-in-text 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-home-attendance-button-in-text {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.home-attendance-button-in-text:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}

/* widthが510px以下になったら */
@media screen and (max-width: 510px) {
  .home-attendance{
    width: 90%;
  }
  #clock-date{
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
  }
  #clock-time{
    font-size: 3rem;
    font-weight: bold;
  }
  .home-attendance-button-in-text{
    font-size: 1rem;
    width: 130px;
  }
}
.user-from{
  width: 800px;
  margin: 0 auto 50px auto;
  border: 2px solid #f56270;
  border-radius: 10px;
  text-align: center;
  padding: 30px;
  box-sizing: border-box;
}
.user-from-title{
  display: flex;
  justify-content: center;
  align-items: center;
}
.user-from-icon{
  font-size: 2em;
  margin-right: 10px;
}
.user-from-body{
  margin-top: 50px;
  width: 500px;
  margin: 50px auto 0 auto;
}
.user-from-input{
  margin-bottom: 30px;
}
.user-from-input .input{
  width: 100%;
  box-sizing: border-box;
}


.checkbox-wrapper-16 *,
.checkbox-wrapper-16 *:after,
.checkbox-wrapper-16 *:before {
  box-sizing: border-box;
}

.checkbox-wrapper-16 .checkbox-input {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile {
  border-color: #f56270;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #f56270;
}
.checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile:before {
  transform: scale(1);
  opacity: 1;
  background-color: #f56270;
  border-color: #f56270;
}
.checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile .checkbox-icon,
.checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile .checkbox-label {
  color: #f56270;
}
.checkbox-wrapper-16 .checkbox-input:focus + .checkbox-tile {
  border-color: #f56270;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #f56270;
}
.checkbox-wrapper-16 .checkbox-input:focus + .checkbox-tile:before {
  transform: scale(1);
  opacity: 1;
}

.checkbox-wrapper-16 .checkbox-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
  margin: auto;
  min-height: 3rem;
  border-radius: 0.5rem;
  border: 2px solid #f56270;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0.15s ease;
  cursor: pointer;
  position: relative;
}
.checkbox-wrapper-16 .checkbox-tile:before {
  content: "";
  position: absolute;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #f56270;
  background-color: #fff;
  border-radius: 50%;
  top: 0.25rem;
  left: 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: 0.25s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.checkbox-wrapper-16 .checkbox-tile:hover {
  border-color: #f56270;
}
.checkbox-wrapper-16 .checkbox-tile:hover:before {
  transform: scale(1);
  opacity: 1;
}

.checkbox-wrapper-16 .checkbox-icon {
  transition: 0.375s ease;
  color: #494949;
}
.checkbox-wrapper-16 .checkbox-icon svg {
  width: 3rem;
  height: 3rem;
}

.checkbox-wrapper-16 .checkbox-label {
  color: #707070;
  transition: 0.375s ease;
  text-align: center;
}

.user-from-submit-area{
  margin-top: 40px;
}

.user-show-area{
  display: flex;
  height: 60px;
  align-items: center;
  text-align: center;
  width: 100%;
  font-weight: 600;
}
.user-show-area-title{
  width: 40%;
}

/* widthが850pxより小さくなったら */
@media screen and (max-width: 850px) {
  .user-from{
    width: 90%;
    margin: 0 auto 50px auto;
  }
  .user-from-body{
    width: 90%;
    margin: 50px auto 0 auto;
  }
}
/* ボタンのスタイル */
.user_link{
  display: inline-block;             /* インラインブロックで中央寄せ可能 */
  font-size: 16px;                   /* 文字サイズ */
  padding: 30px 15px;                /* 上下左右の余白 */
  color: #f56270;                        /* 文字色 */
  background: #fff url(/../images/arrow2.png) no-repeat 30px center / 30px;
  border: 2px solid #f56270; 
  border-radius: 12px;                /* 角丸 */                    /* デフォルト枠線を消す */
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
  width: 90%;
  margin: 50px auto;                  /* 上下左右に余白 + 中央寄せ */
  display: block;                     /* margin auto を効かせるため block に変更 */
  text-align: center;                 /* 中の文字を中央に */
}

/* ホバー時 */
.custom-button:hover {
  background-color: #e04f60;
}

/* フォーカス時 */
.custom-button:focus {
  outline: none;
}








.excel-table {
  border-collapse: collapse;
  width: 100%;
  font-family: "Arial", "メイリオ", sans-serif;
  font-size: 14px;
  text-align: left;
}

.excel-table th,
.excel-table td {
  border: 1px solid #999;
  padding: 8px 12px;
}

.excel-table th {
  background-color: #e6f0ff; /* エクセルっぽい水色 */
  font-weight: bold;
}

.excel-table tr:nth-child(even) {
  background-color: #f9f9f9; /* 交互の背景色 */
}

.excel-table tr:hover {
  background-color: #dceefc; /* ホバー時の色 */
}


.users-title-area{
  z-index: 10;
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'HGS明朝E', 'ＭＳ Ｐ明朝', serif;
  padding: 0.8rem;
  text-align: center;
  -webkit-box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
  border-top: 3px solid #f56270;
  border-bottom: 3px solid #f56270;
}

.users-body-area{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

/* index 従業員一覧画面 */
.index-user-card{
  width: 760px;
  border: 2px solid #f56270;
  border-radius: 10px;
  margin-top: 20px;
  padding: 10px 20px;
  box-sizing: border-box;
}
.index-user-card-flex{
  width: 100%;
  display: flex;
}
.index-user-card-name{
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
.index-user-card-button-area{
  width: 80%;
}
.index-user-card-delete{
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.index-user-card-button-top,
.index-user-card-button-bottom{
  width: 100%;
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.index-user-card-button-top-text,
.index-user-card-button-bottom-text{
  width: 120px;
  text-align: center;
}
.index-user-card-button{
  width: 100px;
  text-align: center;
  padding: 3px 10px;
  border: 1px solid #f56270;
  border-radius: 5px;
  margin: 0 10px;
  min-height: 25px;
  text-decoration: none;
  color: #f56270;
  font-weight: bold;
  white-space: nowrap;
}
.index-user-card-button:hover{
  background-color: #f56270;
  color: #fff;
}
.index-user-card-button:active{
  background-color: #f56270;
}
.index-user-card-delete button{
  width: 75px;
  height: 30px;
  border: 1px solid #D88181;
  border-radius: 5px;
  background-color: #fff;
  font-weight: bold;
  color: #d77171;
  cursor: pointer;
  font-size: 1.1rem;
}
.index-user-card-delete button:hover{
  background-color: #D88181;
  color: #fff;
}
.user-show-attendance{
  width: 100%;
  display: flex;
  margin: 10px 0;
}
.user-show-attendance-button{
  width: 100px;
  margin: 20px auto;
}

/* widthが800px以下 */
@media screen and (max-width: 800px) {
  .index-user-card{
    width: 90%;
    margin: 20px auto 0 auto;
  }
  .index-user-card-flex{
    display: block;
  }
  .index-user-card-button-area{
    width: 100%;
  }
  .index-user-card-button-top,
  .index-user-card-button-bottom{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .index-user-card-button-top-text,
  .index-user-card-button-bottom-text{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .index-user-card-button{
    min-width: 100px;
    margin-bottom: 10px;
  }
  .index-user-card-delete{
    float: right;
  }
  .user-show-attendance{
    display: block;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */



/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}

/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

/*up1のキーフレーム設定（ヘッダーのメニューのアイコンアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes up1 {
	0% {}
	20% {transform: translateY(-2px);}
	50% {transform: translateY(7px);}
	70% {transform: translateY(-2px);}
	100% {transform: translateY(0px);}
}

/*ヘッダー下のメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#header-menu ul {
	padding: 0;
	margin: 0 10px;	/*上下、左右へのブロックの外にとるスペース*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	font-size: 0.8em;	/*文字サイズ。親要素の80%に。*/
}

/*メニュー１個あたりの設定*/
#header-menu ul li a {
	display: block;text-decoration: none;
	padding: 20px 0;	/*上下、左右へのメニュー内の余白*/
}
#header-menu ul li {
	flex: 1;
	text-align: center;	/*中身をセンタリング*/
	margin-right: 10px;	/*メニュー同士の左右間の余白*/
}

/*最後のメニューへの追加指定*/
#header-menu ul li:last-child {
	margin-right: 0;	/*右側のマージンをなくす*/
}

/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;		/*ブロックの幅。100%にすれば画面いっぱいに広がります。*/
	height: 100%;	/*ブロックの高さ*/
	padding: 120px 20px 20px ;	/*上、左右、下へのブロック内の余白*/
	background: #fff;			/*背景色*/
	text-align: center;			/*テキストを中央に*/
	animation: animation1 0.2s both;	/*animation.cssの、animation1を実行する。0.2sは0.2秒の事。*/
	box-shadow: 0px 0px 20px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅の順番。0,0,0は黒の事で0.2は色が20%出た状態。*/
}

/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
	text-align: center;		/*テキストを中央に*/
	padding: 20px;			/*メニュー内の余白*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*開閉用のスタイル*/
#menubar_hdr.db {display: flex;}
#menubar_hdr.dn {display: none;}

/*３本バーとMENUテキストを囲むブロック*/
#menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: -10px;			/*左からの配置場所指定*/
	top: 10px;			/*上からの配置場所指定*/
	background: #f56270;	/*背景色*/
	padding: 20px 0px;		/*上下、左右へのブロック内の余白*/
	width: 80px;			/*幅*/
	text-align: center;		/*中身をセンタリング*/
	color: #fff;			/*文字色*/
	transform: scale(0.6);	/*作ったサイズの60%のサイズにする*/
	transform-origin: left top;	/*上のtransformの起点*/
	transition: 0.3s;
	border-radius: 10px 10px 10px 10px;
}

/*マウスオン時*/
#menubar_hdr:hover {
	filter: brightness(1.1);	/*少し明るくする*/
}

/*３本バーを囲むブロック*/
#menubar_hdr div {
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	width: 30px;		/*幅（３本バーが出ている場合の幅になります）*/
	height: 30px;		/*高さ*/
	margin: 0 auto;
}

/*「MENU」の文字*/
#menubar_hdr p {
	display: none;	/*場所をとるので小さい端末では非表示にしておく*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 3px solid #fff;	/*線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 40px;						/*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(6px, 13px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(6px, -13px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {	
	padding: 50px 0px;	/*上下、左右へのブロック内の余白*/
}

/*mainブロック内のh2タグ*/
main h2 {
	position: relative;
	margin: 0;
	margin: 0 0 30px;		/*上、左右、下に空けるスペース*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる設定*/
	text-align: center;		/*中身をセンタリング*/
	font-size: 2.2em;		/*文字サイズ。親要素の220%に。*/
}

/*h2タグ内のspaタグ。飾り文字用。*/
main h2 span {
	display: block;
	font-size: 0.5em;	/*文字サイズ。親要素の50%に。*/
	color: #4D9C08;		/*文字色*/
}

/*mainブロック内のh3タグ*/
main h3 {
	padding: 5px 20px;		/*上下、左右への余白*/
	margin: 0 0 20px;		/*上、左右、下に空けるスペース*/
	background: #f7f7f7;	/*背景色*/
	border-radius: 5px;		/*角を丸くする指定*/
	border: 1px solid #ddd;	/*枠線の幅、線種、色*/
}

/*mainブロックのpタグ*/
main p {
	margin: 0 20px 30px;	/*上、左右、下へ空けるスペース*/
}

main p + p {margin-top: -10px;}

/*2カラムの場合
---------------------------------------------------------------------------*/
/*2カラム（.mainと.sub）を囲むブロック*/
.c2 {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
}

/*.mainのsectionのpaddingを一旦リセット*/
.main section {
	padding: 0;
}

/*１つ目以外のsectionの上部に空ける余白。section同士の上下間にとる余白です。*/
.main section:not(:nth-of-type(1)) {
	padding-top: 3%;
}

/*main（※頭にドット「.」のない「main」とは全く異なります。）*/
.main {
	order: 2;	/*表示させる順番。数字が小さい方が最初に表示されます。*/
}

/*sub*/
.sub {
	order: 1;	/*表示させる順番。数字が小さい方が最初に表示されます。*/
}

/*sub内のh3タグ*/
.sub h3 {
	font-weight: normal;
	font-size: 1em;
	margin: 0;
	background: #4d9c08;	/*背景色*/
	color: #fff;			/*文字色*/
	text-align: center;		/*テキストをセンタリング*/
}





/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 20px;	/*上下、左右へのボックス内の余白*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	padding: 5px 0;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
	width: 8em;	/*幅。8文字(em)分。※下の「900px以上」の端末用の設定に再設定があります。*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 8em);	/*「8em」は上の「#new dt」のwidthの値です。※下の「900px以上」の端末用の設定に再設定があります。*/
}


/*listブロック
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック（※.list-squareでも使用しています）*/
.list-container {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*１個あたりのボックス設定*/
.list {
	display: flex;				/*flexボックスを使う指定*/
	flex-direction: column;		/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	width: 48%;				/*幅*/
	margin-right: 4%;	/*右側に空けるスペース*/
}

/*２の倍数のlistブロックへの追加設定*/
.list:nth-of-type(2n) {
	margin-right: 0;	/*右側の余白をなくす*/
}

/*ボックス内のfigure画像*/
.list figure {
	margin: -20px -20px 0;	/*上の.listで設定しているpadding分を相殺して画像をブロックいっぱいに出す*/
}

/*ボックス内のh4タグ*/
.list h4 {
	margin: 1em 0 0.5em;	/*上、左右、下への余白*/
}

/*ボックス内のtextブロック*/
.list .text {
	flex: 1;
}

/*ボックス内のpタグ*/
.list p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを80%に*/
}


/*list2ブロック
---------------------------------------------------------------------------*/
.list2 {
	display: flex;			/*flexボックスを使う指定*/
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 10px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list2 figure {
	width: 30%;	/*幅*/
	margin: -10px 10px -10px -10px;	/*上の.list2で設定しているpadding分を相殺して画像をブロックいっぱいに出す*/
}

/*ボックス内のtextブロック*/
.list2 .text {
	flex: 1;
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}

/*ボックス内のh4タグ*/
.list2 h4 {
	margin: 0 0 0.5em;	/*上、左右、下への余白*/
}

/*ボックス内のpタグ*/
.list2 p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを80%に*/
}

/*list2内でのbtn*/
.list2 p:not(.btn) {flex: 1;}


/*list-squareブロック
---------------------------------------------------------------------------*/
/*１個あたりのボックス設定*/
.list-square {
	width: 33.3%;	/*幅*/
}

/*ボックス内のtextブロック*/
.list-square .text {
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	background: rgba(0,0,0,0.5);	/*背景色。0,0,0は黒の事で0.5は色が50%出た状態*/
	color: #fff;					/*文字色*/
	padding: 10px 20px;				/*上下、左右へのボックス内の余白*/
}

/*ボックス内のh4タグとpタグ*/
.list-square h4,
.list-square p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを親要素の80%に*/
}

/*小さな端末では説明文は非表示に。表示させてしまうと画像がかなり隠れてしまう可能性があります。*/
.list-square p {
	display: none;
}


/*list,list2,list-squareの共通設定
---------------------------------------------------------------------------*/
.list, .list2, .list-square {
	position: relative;		/*子要素でabsolute(絶対配置)を使うための指定*/
}

/*左上の丸いアイコン*/
.list .icon,
.list2 .icon,
.list-square .icon {
	display: flex;				/*flexボックスを使う指定*/
	justify-content: center;	/*並びかたの種類の指定*/
	align-items: center;		/*垂直揃えの指定。上下中央に配置されるように。*/
	font-size: 0.6em;		/*文字サイズ*/
	background: #ff0000;	/*背景色*/
	color: #fff;			/*文字色*/
	width: 60px;			/*幅*/
	height: 60px;			/*高さ*/
	line-height: 1.5;		/*行間*/
	border-radius: 50%;		/*角丸のサイズ。円形になります。*/
	text-align: center;		/*テキストをセンタリング*/
	position: absolute;		/*親のrelativeに対して絶対配置させる指示*/
	left: -10px;			/*listブロックに対して左からの配置場所の指定*/
	top: -10px;				/*listブロックに対して上からの配置場所の指定*/
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.3は色が30%出た状態。*/
}


/*btnの設定
---------------------------------------------------------------------------*/
p.btn {margin: 0;}

/*ボタンを囲むブロック*/
.btn {
	text-align: center;	/*内容をセンタリング*/
}

/*ボタン*/
.btn a,
.btn input {
	text-decoration: none;border: none;
	display: block;
	font-size: 1em;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅の順。0,0,0は黒の事で0.2は色が20%出た状態。*/
	background: #f56270;	/*背景色*/
	letter-spacing: 0.1em;	/*文字間隔を少し広くする指定*/
	color: #fff;			/*文字色*/
	transition: 0.3s;		/*hoverまでにかける時間。0.3秒。*/
	padding: 0.7em 1em;		/*上下、左右へのボタン内の余白*/
	margin-top: 2em;		/*ボタンの上に１文字分のスペースを空ける*/
}

/*ボタンのマウスオン時*/
.btn a:hover,
.btn input:hover {
	cursor: pointer;			/*inputタグを使う場合に「手」のマークになるように。リンクと同じ表示になるようにという事です。*/
	opacity: 1;					/*一番上のリンク設定でhoverにopacityを指定しているので、適用されないようにする。*/
	filter: brightness(1.2);	/*少しだけ明るくする。*/
	transform: scale(1.02);		/*実寸の102%に拡大*/
}

/*ボタン内にiタグを使った場合*/
.btn i {
	margin-left: 15px;		/*テキストとの間に空ける余白*/
	opacity: 0.5;			/*透明度。色が50%でた状態。*/
	transform: scale(1.4);	/*サイズを1.4倍にする*/
}


/*テーブル
---------------------------------------------------------------------------*/
/*テー��ル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 10px 5px;		/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	border: 3px solid #4d9c08;	/*枠線の幅、線種、色*/
	color: #4d9c08;			/*文字色*/
	background: #fff8d5;	/*背景色*/
	font-size: 1.2em;		/*文字サイズ。親要素の1.2倍。*/
	margin-bottom: 15px;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid #ccc;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;
	margin: 0 auto 30px;		/*最後の「30px」がテーブルの下に空けるスペースです*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #ccc;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 10px 5px;		/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5em;	/*文字サイズ*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1（背景に色がついたタイプ）
---------------------------------------------------------------------------*/
.bg1 {
	background: #fff5e1 url(/../images/bg_dot.png);	/*背景色、背景画像の読み込み*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #4d9c08 !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.mt30 {margin-top: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #666; color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.look .color-check {color: #f56270 !important;}
.small {font-size: 0.6em;}
.large {font-size: 2.5em; letter-spacing: 0.1em;}
.pt50 {padding-top: 50px;}





/*---------------------------------------------------------------------------
ここから下は画面幅400px以下の追加指定
ハンバーガーメニューがコンテンツが少し重なってしまいますが、画面が狭いのでコンテンツが見える範囲を優先しました。
---------------------------------------------------------------------------*/
@media screen and (max-width:400px) {


/*sectionタグ、詳細ページ、２カラム利用時、フッターメニューブロックの共通設定
---------------------------------------------------------------------------*/
section,
main > article,
.c2,
#footermenu {
	padding: 3% 10px;		/*上下、左右へのボックス内の余白*/
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}





/*---------------------------------------------------------------------------
ここから下は画面幅600px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:600px) {


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/


/*ヘッダー下のメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#header-menu ul {
	font-size: 1em;
}

/*トップページのみ。２つ目メニューの右側に余白を作る。ロゴとの横並びのバランスをここで調整して下さい。*/
.home #header-menu ul li:nth-of-type(2) {
	margin-right: 20%;
}


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {	
	padding: 80px 0px;	/*上下、左右へのブロック内の余白*/
}

/*h2タグの装飾（kazari1）*/
main h2.flag::before,
main h2.flag::after {
	content: "";display: block;position: absolute;z-index: -1;
	bottom: 0px;
	width: 100px;	/*画像の幅*/
	height: 100px;	/*画像の高さ*/
	background: url(/../images/bg_flag.png) no-repeat left center / contain;	/*読み込む画像*/
}
main h2.flag::before {left: 0px;}
main h2.flag::after {right: 0px;transform: scale(-1, 1);}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}





/*---------------------------------------------------------------------------
ここから下は画面幅900px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:900px) {


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
	font-size: 16px;	/*基準となるフォントサイズの上書き*/
}


/*sectionタグ、詳細ページ、２カラム利用時、フッターメニューブロックの共通設定
---------------------------------------------------------------------------*/
section,
main > article,
.c2,
#footermenu {
	padding: 3% 80px;/*上下、左右へのボックス内の余白*/
    bottom: 0; /*下に固定*/
}


/*ヘッダー下のメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#header-menu ul {
	font-size: 1.2em;	/*文字サイズ。親要素の120%に。*/
}


/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar {
	width: 40%;		/*ブロックの幅。*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーとMENUテキストを囲むブロック*/
#menubar_hdr {
	transform: scale(1);	/*小さな端末用で60%にしているのを原寸大に戻す*/
}

/*「MENU」の文字*/
#menubar_hdr p {
	display: block;		/*表示させる*/
	margin: 10px 0 0;	/*上、左右、下へのマージン*/
	font-size: 0.7em;	/*文字サイズ。親要素の70%に。*/
}

/*「MENU」の文字をトップページ以外は非表示にする*/
body:not(.home) #menubar_hdr p {
	display: none;
}
