html {
  height: 100%;
}

body {
  height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Arial", "游ゴシック体", YuGothic, "Yu Gothic Medium", sans-serif;
	margin: 0;
	overflow-x: hidden;
	background-color: #fff; 
	background-image: linear-gradient(90deg, transparent 72px, #abced4 74px, #abced4 82px, transparent 84px),
	linear-gradient(#eee .1em, transparent .1em);
	background-size: 100% 2.2em;
}

header {
	display: flex;
	justify-content: space-between;
	position: sticky;
	top: 0px;
	z-index: 50;
    background: repeating-linear-gradient(-45deg, #FFB6C1, #FFB6C1 15px, #ffffff 15px, #ffffff 30px);/*ストライプ*/
}

.logo_spase {
  position: relative;
  right: 3%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: rgb(255 255 255 / 0.9);
  min-width: 260px;
  border-radius: 10px;
}

#img_logo {
	background: url(../img/logo.png) no-repeat center top;
    background-size: 840px auto;
    height: 60px;
    width: 915px;
    animation: bounce 2s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateY(0);
  }
  40% { 
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.logo_spase img {
	width: 48px;
	padding: 10px;
}
#title_content {
  position: relative;
  display: flex;
  width: 510px;
  margin: auto;
}
#title_content_head {
  position: relative;
  display: flex;
  width: 750px;
  margin: auto;
}
#item3 {
  position: absolute;
  top: 125px;
}

#item2 {
  position: relative;
  top: 134px;
  right: 55px;

}

#item4 #note img,
#item3 img,
#item2 img,
#item1 img {
  height: 80px;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.title_content 
#item4  img,
#item3 img,
#item2 img,
#item1 img {
  height: 80px;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}


#title_character_image img,
#title_fukidashi_image img {
  height: 225px;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

#title_fukidashi_image {
	text-align: center;
	height: 225px;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

#menu {
	display: flex;
	align-items: center;
	position: sticky;
	top: 65px;
	width: 95%;
	margin: 0 auto;
	height: 48px;
	justify-content: space-around;
	background-color: #D1B8FF;
	z-index: 50;
	opacity: 0.9;
}

#menu * {
	cursor: pointer;
}

#menu *:hover {
	animation: swing 1.5s ease-in-out;
}
@keyframes swing {
  20% {
    transform: rotate(1deg);
  }
  40% {
    transform: rotate(-2deg);
  }
  60% {
    transform: rotate(2deg);
  }
  80% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

#menu::before {
  background: linear-gradient(315deg, #D1B8FF 50%, transparent 52%),
    linear-gradient(45deg, transparent 50%, #D1B8FF 52%);
  background-size: 30px 17px;
  content: "";
  position: absolute;
  top: 0;
  left: -1%;
  height: 100%;
  width: 30px;
}

#menu::after {
  background: linear-gradient(45deg, #D1B8FF 50%, transparent 52%),
    linear-gradient(315deg, transparent 50%, #D1B8FF 52%);
  background-size: 30px 17px;
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  height: 100%;
  width: 30px;
}

.home, .blog {
	width: 147px;
}

.character {
	width: 230px;
}

footer {
  text-align: center;
  position: sticky;
  top: 100vh;
  /*background-color: rgb(255 255 255 / 0.9);
  border-top: .3px solid #cbcbcb;
  */background: linear-gradient(0deg, #B8FFF4, transparent);
}

footer div {
  margin: auto;
  color: #999;
  background-color: rgb(255 255 255 / 0.9);
  cursor: pointer;
}

footer > div:nth-of-type(2),
footer > div:nth-of-type(3) {
  padding: 2vh 0;
}

.copyright {
	text-align: center;
}

.links {
	text-align: center;
}

.links a {
  display: inline-block; /* 横並び */
  margin: 0 40px;         /* 左右に余白を追加 */
}


@keyframes swing {
    20% {
        transform: rotate(15deg)
    }
    40% {
        transform: rotate(-10deg)
    }
    60% {
        transform: rotate(5deg)
    }
    80% {
        transform: rotate(-5deg)
    }
    100% {
        transform: rotate(0deg)
    }
}

/*各種sns表示切替*/
.logo_for_phone {
	display: none;
}

/*以下小さい画面用*/
@media (min-width: 851px) and (max-width:1280px) {
  #title_content {
    width: 570px;
    margin: auto
  }


  #img_logo {
	background: url(../img/logo.png) no-repeat center top;
    background-size: 715px auto;
	height: 60px;
	width: 720px;
	margin: 5px 0 0;
  }
  .logo_spase {
    right: 1%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 230px;
  }
  .logo_spase img {
    width: 42px;
    padding: 0 8px;
  }
  #title_image {
    height: 230px;
  }
  #menu {
	height: 40px;
  }
  #menu::before {
    left: -2%;
  }
  .home, .blog {
    width: 133px;
  }
  .character {
    width: 210px;
  }
}

/*以下スマホ用css*/
@media(min-width: 545px) and (max-width:620px){
  #title_content {
    width: 313px;
    margin: auto
  }
  #item4 img {
    padding-top: 30px;
    height: 55px;
  }
  #item3 img {
    height: 52px;
    padding-top: 60px;
  }
  #item1 img {
    padding-top: 18px;
    padding-left: 30%;
  }
  #item2 img {
    height: 65px;
    padding-top: 26px;
    padding-left: 7%;
  }
  #title_character_image img {
    padding: 10px 0 0 30px;
  }

  #img_logo {
	background: url(../img/logo_1.png) no-repeat center top;
    background-size: 385px auto;
	height: 60px;
	width: 380px;
	margin: 15px auto;
    overflow: hidden;
  }
  header {
	display: block;
	top: 15px;
	height: 80px;
	margin: 15px -10px 0;
	transform: rotate(-10deg);
	overflow: hidden;
  }
  .logo_for_phone {
	display: flex;
	position: relative;
	overflow: hidden;
	/*height: 23dvh;*/
	background: #B8FFF4;
	--mask:
	radial-gradient(34.99px at 50% 48px,#000 99%,#0000 101%) calc(50% - 60px) 0/120px 100%,
    radial-gradient(34.99px at 50% -18px,#0000 99%,#000 101%) 50% 30px/120px 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
  }
  .logo_spase {
	display: none;
  }
  .logo_spase_for_phone {
	background: none;
	margin: 75px auto 0;
	z-index: 5;
  }
  .logo_spase_for_phone p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #999;
  }
  .logo_spase_for_phone img {
	width: 50px;
	padding: 6px 14px;
  }
  .logo_background_for_phone {
	position: absolute;
	top: 21px;
	margin: 0 auto;
	height: 100%;
	width: 100%;
	background: rgb(255 255 255 / 0.9);
	--mask:
	radial-gradient(34.99px at 50% 48px,#000 99%,#0000 101%) calc(50% - 60px) 0/120px 100%,
    radial-gradient(34.99px at 50% -18px,#0000 99%,#000 101%) 50% 30px/120px 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
  }
  #title_image {
	height: 240px;
	overflow: hidden;
  }
  #title_fukidashi_image  {
    display: none;
  }
  #menu {
	top: 115px;
	width: 90%;
	height: 45px;
	font-size: 24px;
	align-items: center;
	transform: rotate(2deg);
	opacity: 1;
  }
  #menu::before {
	left: -25px;
	overflow: hidden;
  }
  #menu::after {
	right: -17px;
	overflow: hidden;
  z-index: -10;
  }
  .home, .blog {
	width: 92px;
  }
  .character {
	width: 143px;
  }
  footer {
    border-top: none;
  }
}
@media(max-width:400px){
}

@media(max-width:540px){
  #title_content {
    width: 313px;
    margin: auto
  }
  #item4 img {
    padding-top: 30px;
    height: 55px;
  }
  #item3 img {
    height: 52px;
    padding-top: 60px;
  }
  #item1 img {
    padding-top: 18px;
    /*padding-left: 30%;*/
  }
  #item2 img {
    height: 65px;
    padding-top: 26px;
    padding-left: 7%;
  }
  #title_character_image img {
    padding: 10px 0 0 30px;
  }

  #img_logo {
	background: url(../img/logo_1.png) no-repeat center top;
    background-size: 385px auto;
	height: 60px;
	width: 380px;
	margin: 15px auto;
    overflow: hidden;
  }
  header {
	display: block;
	top: 15px;
	height: 80px;
	margin: 15px -10px 0;
	transform: rotate(-10deg);
	overflow: hidden;
  }
  .logo_for_phone {
	display: flex;
	position: relative;
	overflow: hidden;
	/*height: 23dvh;*/
	background: #B8FFF4;
	--mask:
	radial-gradient(34.99px at 50% 48px,#000 99%,#0000 101%) calc(50% - 60px) 0/120px 100%,
    radial-gradient(34.99px at 50% -18px,#0000 99%,#000 101%) 50% 30px/120px 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
  }
  .logo_spase {
	display: none;
  }
  .logo_spase_for_phone {
	background: none;
	margin: 75px auto 0;
	z-index: 5;
  }
  .logo_spase_for_phone p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #999;
  }
  .logo_spase_for_phone img {
	width: 50px;
	padding: 6px 14px;
  }
  .logo_background_for_phone {
	position: absolute;
	top: 21px;
	margin: 0 auto;
	height: 100%;
	width: 100%;
	background: rgb(255 255 255 / 0.9);
	--mask:
	radial-gradient(34.99px at 50% 48px,#000 99%,#0000 101%) calc(50% - 60px) 0/120px 100%,
    radial-gradient(34.99px at 50% -18px,#0000 99%,#000 101%) 50% 30px/120px 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
  }
  #title_image {
	height: 240px;
	overflow: hidden;
  }
  #title_fukidashi_image  {
    display: none;
  }
  #menu {
	top: 115px;
	width: 90%;
	height: 45px;
	font-size: 24px;
	align-items: center;
	transform: rotate(2deg);
	opacity: 1;
  }
  #menu::before {
	left: -25px;
	overflow: hidden;
  }
  #menu::after {
	right: -17px;
	overflow: hidden;
  z-index: -10;
  }
  .home, .blog {
	width: 92px;
  }
  .character {
	width: 143px;
  }
  footer {
    border-top: none;
  }
}



/*以下タブレット用*/
@media (min-width: 621px) and (max-width:850px) {
  #title_content {
    width: 100%;
    margin: auto
  }

#img_logo {
	background: url(../img/logo.png) no-repeat center top;
    background-size: 710px auto;
	height: 60px;
	width: 715px;
	margin: 15px auto;
    overflow: hidden;
  }
  header {
	display: block;
	top: 11px;
	height: 80px;
	margin: 20px 0 0;
	overflow: hidden;
  }
  .logo_for_phone {
	display: flex;
	position: relative;
	overflow: hidden;
	/*height: 23dvh;*/
	background: #B8FFF4;
	--mask:
	radial-gradient(34.99px at 50% 48px,#000 99%,#0000 101%) calc(50% - 60px) 0/120px 100%,
    radial-gradient(34.99px at 50% -18px,#0000 99%,#000 101%) 50% 30px/120px 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
  }
  .logo_spase {
	display: none;
  }
  .logo_spase_for_phone {
	background: none;
	margin: 75px auto 0;
	z-index: 5;
  }
  .logo_spase_for_phone p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #999;
  }
  .logo_spase_for_phone img {
	width: 50px;
	padding: 6px 31px;
  }
  .logo_spase_for_phone .note_logo {
	width: 45px;
  }
  .logo_background_for_phone {
	position: absolute;
	top: 21px;
	margin: 0 auto;
	height: 100%;
	width: 100%;
	background: rgb(255 255 255 / 0.9);
	--mask:
	radial-gradient(34.99px at 50% 48px,#000 99%,#0000 101%) calc(50% - 60px) 0/120px 100%,
    radial-gradient(34.99px at 50% -18px,#0000 99%,#000 101%) 50% 30px/120px 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
  }
  #item1 img,
  #item2 img,
  #item3 img,
  #item4 img {
    height: 70px;
  }
  #item3 {
    /*top: 237px;*/
  }
  #item2 {
    right: 45px;
  }
  #title_character_image img {
    height: 200px;
  }
  #title_fukidashi_image img {
	height: 200px;
	overflow: hidden;
  	overflow: hidden;
  }
  #menu {
	top: 115px;
	width: 90%;
	height: 45px;
	font-size: 24px;
	align-items: center;
	transform: rotate(2deg);
	opacity: 1;
  }
  #menu::before {
	left: -25px;
	overflow: hidden;
  }
  #menu::after {
	right: -25px;
	overflow: hidden;
  }
  .home, .blog {
	width: 92px;
  }
  .character {
	width: 143px;
  }
  footer {
    border-top: none;
  }
  
  /*デバイスが横向きの場合*/
  @media (orientation: landscape) {
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}