/* -------------------------------------------------CSS */
/* 冒頭でimport */
@font-face {
  font-display: swap;
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 100;
  src: url(./fonts/ZgNOjORWPa_DWpyxyUCMwBCdF7nsoCs3GVKT.ttf) format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 300;
  src: url(./fonts/ZgNPjORWPa_DWpyxyUCMwBCdF7nsoOMlDnWzYg.ttf) format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 400;
  src: url(./fonts/ZgNIjORWPa_DWpyxyUCMwBCdF7nsqEgHHg.ttf) format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 500;
  src: url(./fonts/ZgNPjORWPa_DWpyxyUCMwBCdF7nsoLskDnWzYg.ttf) format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 700;
  src: url(./fonts/ZgNPjORWPa_DWpyxyUCMwBCdF7nsoPMiDnWzYg.ttf) format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 800;
  src: url(./fonts/ZgNPjORWPa_DWpyxyUCMwBCdF7nsoO8hDnWzYg.ttf) format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 900;
  src: url(./fonts/ZgNPjORWPa_DWpyxyUCMwBCdF7nsoMsgDnWzYg.ttf) format('truetype');
}

/*
 * Nico Moji (Japanese) https://fonts.google.com/earlyaccess
 */
@font-face {
  font-display: swap;
  font-family: 'Nico Moji';
  font-style: normal;
  font-weight: 400;
  src: url(./fonts/NicoMoji-Regular.eot);
  src: url(./fonts/NicoMoji-Regular.eot?#iefix) format('embedded-opentype'),
       url(./fonts/NicoMoji-Regular.woff2) format('woff2'),
       url(./fonts/NicoMoji-Regular.woff) format('woff'),
       url(./fonts/NicoMoji-Regular.ttf) format('truetype');
}

/* */
/* @import url('https://fonts.googleapis.com/earlyaccess/roundedmplus1c.css'); */
/* @import url('https://fonts.googleapis.com/earlyaccess/nicomoji.css'); */

/* -------------------------------------------------FlexBox */
body {
  /*font-family: 'Nico Moji','Rounded Mplus 1c';*/
  /*font-family: 'Rounded Mplus 1c';*/
  /*font-family: 'Nico Moji';*/
  
  /* 斜線背景 */
  /*background: repeating-linear-gradient(-45deg, #ffffff, #ffffff 10px, #dcf8f8 0, #dcf8f8 20px);*/
  /* 水玉背景 */
  background: #ffffff;
  background-image: radial-gradient(#dcf8f8 20%, transparent 0), radial-gradient(#dcf8f8 20%, transparent 0);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
}

/* -------------------------------------------------FlexBox */
.flexbox {
  display: flex;
  flex-wrap: wrap;
  border: none;
  padding: 0.4em;
  margin: 0 0 2em;
}

.flexbox > div {
  background: #f8dcdc;
  padding: 1em;
  flex: 0 0 220px;
  margin: 0.4em;
  border-radius: 10px;
}

.flexbox div p {
  margin-top: 1px;
  margin-bottom: 1px;
  font-size: 16px;
}

/* -------------------------------------------------Basic */
h1,h2 {
  font-family: 'Nico Moji','Rounded Mplus 1c';
}

h2 {
  background-color: #ff5555;
  border-radius: 7px;
  padding-left:10px;
  padding-top:5px;
  padding-bottom:5px;
}

h2 a:hover{
  text-decoration: none;
  color: #000000;
}

h3 {
  font-family: 'Rounded Mplus 1c';
  margin-top: 3px;
  margin-bottom: 3px;
  max-height: 200px;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #000000;
}

a:hover{
  text-decoration: none;
  color: #ff5555;
}

img {
  width:100%;
  object-fit: contain;
  overflow: hidden;
}

img.item_image {
    height: 180px;
    object-fit: cover;
    object-position: left top;
}

img.sns {
  width: 36px;
}

div.item_page {
  position:relative;
}

div.item_up {
  margin-bottom : 30px;
}

div.sns {
  position:absolute;
  bottom:0;
}

p.rss {
  background:url(../img/rss.png) no-repeat;
  background-position:left center;
  padding-left:20px;
  margin-left:16px;
}

p.categorylist {
  margin-left:16px;
}

p.img {
  height:180px;
  overflow: hidden;
}


/* -------------------------------------------------TOPへ戻る */
#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#pageTop i {
  padding-top: 6px
}

#pageTop a {
  display: block;
  z-index: 999;
  border-radius: 30px;
  width: 35px;
  height: 35px;
  background-color: #9FD6D2;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* -------------------------------------------------Dropmenu */
.dropmenu{
  font-family: 'Nico Moji','Rounded Mplus 1c';
  *zoom: 1;
  list-style-type: none;
  padding: 0;
}
.dropmenu:before, .dropmenu:after{
  content: "";
  display: table;
}
.dropmenu:after{
  clear: both;
}

ul.dropmenu {
  border: 3px dotted #ff5555;
  border-radius: 15px;
  background-color: #ffffff;

}
.dropmenu li{
  font-size: 16px;
  position: relative;
  width: 140px;
  float: left;
  margin: 0;
  padding: 4px 0;
  text-align: center;
}

.dropmenu li ul{
  border: 3px dotted #ff5555;
  border-radius: 15px;
  background-color: #ffffff;
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
}
.dropmenu li ul li{
  width: 100%;
}
.dropmenu li ul li a{
  padding: 13px 15px;
  text-align: left;
}

#flip2 li ul {
  visibility: hidden;
  perspective: 400px;
}
#flip2 li:hover ul{
  visibility: visible;
}
#flip2 ul li{
  transform: rotateY(90deg);
  transform-origin: 50% 0;
  transition: .3s;
}
#flip2 li:hover li{
  transform: rotateY(0);
}
#flip2 ul li:nth-child(2) {
  transition-delay: .1s;
}
#flip2 ul li:nth-child(3) {
  transition-delay: .2s;
}
#flip2 ul li:nth-child(4) {
  transition-delay: .3s;
}
#flip2 ul li:nth-child(5) {
  transition-delay: .4s;
}
