body {
	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%;
    background: rgb(255 255 255 / 0.9);
    min-width: 166px;
	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: 6px 13px;
}
#title_content {
  display: flex;
  width: 800px;
  margin: auto;
}
#item3 {
  position: absolute;
  top: 200px;
}

#item2 {
  position: relative;
  top: 134px;
  right: 95px;

}

#item4 img,
#item3 img,
#item2 img,
#item1 img {
  height: 100px;
  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;
}
 
#main {
  /*
  display: flex;
  */
  margin: 0 auto;
  width: 1200px;
}

.main_contents {
	display: block;
	width: 55%;
	text-align: center;
	background-color: rgb(255 255 255 / 0.3);
	box-shadow: 0px 0px 8px 8px rgb(255 255 255 / 0.3);
	margin: 15px auto;
}

#introduse {
	font-size: x-large;
	padding: 0 0 15px;
	text-align: center;
}

#memo {
   width: 466px;
   padding: 15px;
   margin: 10px 0 0 20%;
   color: #fff;/* 文字色 */
   box-shadow: 4px 4px 4px rgba(0,0,0,0.03);transform:rotate(2deg);
   word-break: break-all;
	background: #FFD1B8;
}

#memo p {
    margin: 0; 
    padding: 0;
    color: #454545;
    font-size: 0.9em;
}

#tape {
    width: 45%;
    height: 35px;
    margin: -40px auto 10px;
    background: #B8FFF4;
	background-image: radial-gradient(#fff 25%, transparent 20%), radial-gradient(#fff 25%, transparent 20%);
	background-size: 20px 20px;
	background-position: 0 0, 10px 10px;
    transform: rotate(-7deg);
    opacity: 0.8;
}

.inputForm {
	display: flex;
	align-items: center;
	justify-content: center;
}

form {
	font-size: x-large;
	width: 100%;
	height: 210px;
	border: 5px dashed #FFB6C1;
	border-radius: 20px;
}

#inputForm {
	position: relative;
	text-align: center;
	padding: 14px 80px;
}

input#name, input#year{
	font-size: x-large;
	text-align: center;
	width: 140px;
	border: none;
    background: #f7f7f7;
    color: #333;
    line-height: 1.5;
}
input#month, input#day {
	font-size: x-large;
	text-align: center;
	width: 50px;
	border: none;
    background: #f7f7f7;
    color: #333;
    line-height: 1.5;
}

input#name::placeholder {
    color: #999;
}
.btn_box{
  position: absolute;
  top: 116%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

#btn_animation .btn{
  display: block;
  width: 170px;
  height: 62px;
  line-height: 62px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  background-color: #FFB6C1;
  color: #fff;
  text-align: center;
  cursor: pointer;
  border-radius: 78px;
  border: none;
  animation: btn_animation 3s infinite;
}

@keyframes btn_animation {
    0% {
        transform: scale(1, 0.8);
    }
    20% {
        transform: scale(0.8, 1.1);
    }
    95% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(1, 0.8);
    }
}

.profile {
	position: absolute;
  top: 550px;
  right: 0%;
	width: 18%;
	font-size: 13px;
  margin: 0px 20px;
    background: #FFF4B8;
    box-shadow: 0px 0px 0px 5px #FFF4B8;
    border: dashed 5px white;
    padding: 0.2em 0.5em;
    color: #454545;
}

.profile:after {
    position: absolute;
    content: '';
    right: -10px;
    top: -10px;
    border-width: 0 40px 40px 0;
    border-style: solid;
    border-color: #FFD1B8 #fff #FFD1B8;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}

.profile_img {
	display: block;
	margin: 15px auto;
	width: 150px;
}
.profile span {
	color: coral;
	background: linear-gradient(transparent 50%, rgb(255 255 255 / 0.7) 50%);
}

.profile p {
	color: #fff;
	font-size: xx-large;
	font-weight: bold;
	margin: 0 auto;
}

.go_form {
	width: 90px;
	animation: swing 3s ease-in-out infinite;
}

footer {
  display: flex;
  position: relative;
  height: 10dvh;
}

footer div {
  margin: auto;
  color: #999;
  background-color: #ffff;
  border-radius: 30px;
  cursor: pointer;
}

@keyframes swing {
    20% {
        transform: rotate(15deg)
    }
    40% {
        transform: rotate(-10deg)
    }
    60% {
        transform: rotate(5deg)
    }
    80% {
        transform: rotate(-5deg)
    }
    100% {
        transform: rotate(0deg)
    }
}

/*以下小さい画面用*/
@media (min-width: 851px) and (max-width:1280px) {
  #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%;
  }
  .logo_spase img {
    width: 42px;
    padding: 6px 5px;
    margin: 4px auto 0;
  }
  #title_image {
    height: 230px;
  }
  #menu {
	height: 40px;
  }
  #menu::before {
    left: -2%;
  }
  .home, .blog {
    width: 133px;
  }
  .character {
    width: 210px;
  }
  #introduse {
    font-size: 19px;
    padding: 0 0 5px;
  }
  #main {
    width: 90%;
  }
  .main_contents {
    width: 60%;
  }
  form {
    height: 190px;
    font-size: large;
  }
  #inputForm {
    padding: 14px 20px;
  }
  input#name, input#year, input#month, input#day {
    font-size: large;
  }
  .btn_box {
    top: 120%;
  }
  #btn_animation .btn {
    width: 165px;
    height: 55px;
  }
  #memo {
    position: relative;
    left: 9%;
    width: 358px;
    padding: 10px;
    margin: 10px auto;
  }
}
/*各種sns表示切替*/
.logo_for_phone {
	display: none;
}

/*以下スマホ用css*/

@media(max-width:620px){
  #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 8px;
  }
  .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_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;
  }
  #main {
    display: block;
    width: 100%;
  }
  .main_contents {
	width: 90%;
  margin: 0 auto;
  }
  #introduse {
	font-size: 18px;
  }
  .inputForm {
	background: #fff;
  }
  #inputForm {
	padding: 7px;
	font-size: 20px;
  }
  #inputForm input {
	height: 25px;
	font-size: 20px;
  }
  .btn_box {
	top: 120%;
  }
  #memo {
    width: 85%;
    padding: 5px;
	margin: 0 auto;
  }
  #tape {
	margin: -22px auto 5px;
  }
  .profile {
	position: relative;
  top: unset;
	width: 80%;
	margin: 25px auto;
  }
}

/*以下タブレット用*/
@media (min-width: 621px) and (max-width:850px) {
#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 -10px 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: 70px;
  }
  #title_character_image img {
    height: 200px;
  }
  #title_fukidashi_image img {
	height: 200px;
	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;
  }
  #main {
    display: block;
    width: 100%;
  }
  .main_contents {
	width: 90%;
  margin: auto;
  }
  #introduse {
	font-size: 18px;
  }
  .inputForm {
	background: #fff;
  }
  #inputForm {
	padding: 7px;
	font-size: 20px;
  }
  #inputForm input {
	height: 25px;
	font-size: 20px;
  }
  .btn_box {
	top: 120%;
  }
  #memo {
    width: 85%;
    padding: 5px;
	margin: 0 auto;
  }
  #tape {
	margin: -22px auto 5px;
  }
  .profile {
	position: relative;
  top: unset;
	width: 82%;
	margin: 25px auto;
  }

  /*デバイスが横向きの場合*/
  @media (orientation: landscape) {
  .logo_for_phone {
    height: 45dvh;
  }
}
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}
