html {
  overflow: auto;
} 

body {
  font-family: "Source Sans Pro", "Hiragino Kaku Gothic ProN", Meiryo, Arial,
    sans-serif;
}

body {
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  justify-content: center;
  width: 100%;
  background-color: #3aa94c;
} 

a {
  text-decoration: none;
}

ul {
  padding: 0;
}

li {
  list-style: none;
}

.wrapper {
  font-size: 0.8rem;
  position: relative;
  width: 100%;
  /* line-height: 1.7em */
  /* margin-bottom: 50px; */
}

.sec-title {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.05em;
  font-size: 4rem;
  padding: 40px;
  margin-top: 50px;
  margin-bottom: 0;
}

.sentence {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.05em;
  position: relative;
  /* display: inline-block; */
  margin: 1.5em 0;
  margin-right: auto;
  margin-left: auto;
  max-width: 600px;
  padding: 7px 10px;
  border: solid 3px #000000;
  background-color: #ffffff;
  border-radius: 15px;
}

.sentence:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}

.sentence:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #000000;
  z-index: 1;
}

.sentence p {
  font-size: 1rem;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  background-color: #000000;
}

.site-title {
  margin: 0.67rem 0 0.67rem 20px;
}

/* グロナビ */
.menu {
  margin-right: 40px;
}

.menu ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
}

.menu ul li a {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height:100px;
  color: #ffffff;
}

#header li {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-left: 30px;
}

#header li img.icon {
  width: 24px;
  margin-top: 42px;
}

/* メインビジュアル */
#mainvisual {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  position: relative;
  /* margin-bottom: 100px ; */
}

#mainvisual img{
	width:100%;
	height:100%;
	object-fit:contain;

}

/* バナー */
#mainvisual a  {
  position: absolute;
  z-index: 20;
  width: 60%;                                 
  left:  0;                  
  right:  0;  
  bottom:5%;             
  margin:  auto; 
  animation: fuwafuwa4 2s linear infinite;
  scale: 1;
}

@keyframes fuwafuwa4{
  0%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
  100%{transform:translateY(0)}
}

/* ギャラリー */
#gallery.wrapper {
  background-color: #3aa94c;
}

.gallery-box {
  display: flex;
  justify-content: center ;
  position: relative;
  flex-wrap: wrap;
  max-width: 980px;
  margin: auto auto auto auto;
  align-items: center;
  flex-direction: row;
  margin-bottom: 50px;
}

.zoom {
  width: 250px;
  margin: 10px 10px 10px 10px;
}

/* fadeUp */
.gallery-box {
  opacity: 0;
}

.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  
  
  /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
  .fadeUpTrigger{
      opacity: 0;
  }

/* プロフィール */
#profile.wrapper {
  background-color: #ffa7d5;
  padding: 10px 0 50px 0 ;
}

.profile-box {
  display: flex; 
  justify-content: center ;
  position: relative;
  max-width: 80%;
}

.prof-img  {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  align-self:center
  
}

.profile-box.fuwafuwa {
  z-index: 40;
  position: absolute;
}


.prof-sentence {
  display: flex;
  z-index: 50;
  margin-top: 0px;
}

.prof-sentence span {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
}

.break-keep {
  font-family: "M PLUS 1","Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 24px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  /* margin-right: 20rem;
  margin-left: 20rem; */
  padding: 40px 40px;
  min-width: 250px;
  /* max-width: 100%; */
  border: solid 3px #000000;
  background-color: #ffffff;
  border-radius: 15px;
  }
  
.break-keep:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-right: 12px solid #ffffff;
  z-index: 2;
  }
  
.break-keep:after {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: -14px;
  border: 14px solid transparent;
  border-right: 14px solid #000000;
  z-index: 1;
  }

/* ワークス */

.works-box {
  position: relative;
  display: flex;
  margin: auto; 
  padding: 0 0 40px 0;
  justify-content: center;
}

.works-box p {
  font-family: "M PLUS 1","Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 24px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  text-align: center;
  /* margin-right: 20rem;
  margin-left: 20rem; */
  padding: 30px 30px;
  min-width: 250px;
  /* max-width: 100%; */
  border: solid 3px #000000;
  background-color: #ffffff;
  border-radius: 15px;

}

.works-box p::first-line {
	font-size: 120%;
}

.works-box img {
  width: 80%;
  margin: auto;
  }

.works-box .fuwafuwa2 {
  position: absolute;
  width: 140px;
  padding-left: 10%;
}

/* お問い合わせ */
#contact.wrapper {
  background-color: #ffffff;
  padding: 0 0 50px 0;
}
#contact dl {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  max-width: 100%; 
  letter-spacing: 0.05em ;
  display:flex ;
	margin: 0 auto;
	flex-flow: column;
  width: 60%;
}

#contact dd {
  justify-content: center; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 0px;
  margin-bottom: 20px;
}

#contact dd input,
#contact dd textarea {
  border: solid 3px #000000;
  border-radius: 15px;
  padding: 16px;
}

#contact dd textarea {
  height: 8rem;
}

#contact dt {
  width: 100%;
  margin-bottom: 10px;
  margin-left: 0;
}

/* ボタン1 */
.button {
  margin: auto auto 5% auto;
  text-align: center;
}

/* ボタン2 */
.button {
  margin-top: 30px ;
}

.button input{
  width: 50%;
  background-color: #000000;
  color: #fff;
  padding: 15px 0;
  border: solid 3px #000000;
  border-radius: 36px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.05em;
  font-size: 1rem;
}
.button input:hover {
  background: #fff;
  color: #000000;
}

/* ロボット */
.g-recaptcha {
  margin-right:auto;
  margin-left:auto;
  text-align: center;
  width:300px;
}


/* 送信ボタン送れないよ */
/* input[name="button2"]:disabled{
  width: 250px;
  color: #505050;
  padding: 15px 0;
  border: solid 2px #000000;
  border-radius: 36px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
	background-color: #000000;
	cursor:not-allowed;
} */

/* topへ戻る */
.page_top_btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 0.7em;
  transition: 0.3s0;
  z-index: 50;
}
  
/* マウスオーバー時 */
.page_top_btn:hover {
  filter: brightness(0.5);
}

/* フッター */
#footer {
  display: flex;
  flex: none;
  flex-direction: column;
  height: auto;
  background-color: #000000;
  color: #fff;
  padding: 60px 80px 20px 80px;
  line-height: 0%;
  z-index: 20;
  justify-content:center;
  align-items:center;
}



#footer-logo {
  margin-bottom: 30px;
}

#sns-footer img{
  flex: none;
  height: 35px;
  margin: 0px 10px 0px 10px;
  width: 35px;
  max-width: calc(100% - 20px);
  padding-bottom: 50px;
}

#footer-link {
  justify-content: space-between;
  justify-content: center;
  margin-bottom: 80px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
}

#footer-link a {
  text-align: center;
  padding-left: 25px;
  font-size: 18px;
  color: #fff;
}

/* スクロールフェードイン */
.fadein {
	opacity: 0.1;
	transform: translate(0, 50px);
	transition: all 1s;
}

.fadein.scrollin {
	opacity: 1;
	transform: translate(0, 0);
}

/* アニメーション */
.fuwafuwa {
  animation: fuwafuwa 3s ease-in-out infinite alternate;
  display: inline-block;
  transition: 1.5s ease-in-out;
}

@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}

@keyframes fuwafuwa2{
	0%, 100% {
		transform: translateY(-10px);
	}
	50% {
		transform: translateY(10px);
	}
}

.fuwafuwa2 {
  animation:fuwafuwa2 3s infinite linear alternate;
	transition: .7s;
}

/* .break-keep {
  word-break: keep-all;
} */

/* フッターアニメ */
@keyframes fuwafuwa3{
	0%, 100% {
		transform: rotate(10deg);
	}
	50% {
		transform: rotate(-3deg);
	}
}

.animation_left ,.animation_right {
	animation:fuwafuwa 3s infinite linear alternate;
	transition: .7s;
	z-index: 1;
}

/* アニメーション4.5 */
.animation_left {
  left: calc(20% - 100px);
  position: absolute;
  margin-top: -300px;
}

.animation_right {
  right: calc(20% - 100px);
  position: absolute;
  margin-top: -400px;
}

/*====================
  PC
  =====================*/
  @media screen and (min-width: 768px) {
    #nav-sp, #menu-sp{
      display:none;
  }

  /* ヘッダーホバー */
#header nav li:first-child:hover {
  background: url(../img/chara01.png) no-repeat center top 16px;
  /* background-size: contain; */
  background-size: 60px 33px;
}

#header nav li:nth-child(2):hover {
  background: url(../img/chara02.png) no-repeat center top 16px;
  background-size: 60px 33px;
}

#header nav li:nth-child(3):hover {
  background: url(../img/chara03.png) no-repeat center top 16px;
  background-size: 60px 33px;
}

#header nav li:nth-child(4):hover {
  background: url(../img/chara04.png) no-repeat center top 16px;
  background-size: 60px 33px;
}
  }

/*====================
  SP
  =====================*/
@media screen and (max-width: 767px) {
body {
  min-width: 375px;
  margin: 0;
}

.br-sp {
  display: none; 
}

.site-title {
  margin: 0;
}

.wrapper {
  line-height: 1.5rem;
}

.sec-title {
  font-size: 3rem;
  padding: 40px;
  margin-top: 30px;
}

#header {
  max-width: 100%;
  height: auto;
  flex-direction: column;
}
#header li {
  font-size: 0.8rem;
  margin-left: 20px;
}
#header li:first-child {
  margin-left: 0px;
}

.menu {
  display: flex;
  height: 60px;
  margin-right: 0;
}

.site-title {
  margin-top: 20px;
}

.sentence {
  margin-right: 40px;
  margin-left: 40px;
  /* margin-bottom: 30px; */
  margin-top: 0;
  padding: 7px 30px
}

.sentence p {
  font-size: 0.8rem;
}

/* バナー */
#mainvisual a {
  bottom: 0;
  width: 100%;
}

/* ギャラリー */
.zoom {
  width: 150px;
  margin: 8px 8px 8px 8px;
}

/* プロフィール */
.profile-box {
  position: relative;
  margin: 0 40px 0 40px;
  /* align-items: center; */
}

.prof-img {
  align-items: center;
  margin-left: 8%;
  justify-content:center;
  margin-bottom: -50px;
  margin-top: -10px;
  width: 120%;
  z-index: 50;
}

.break-keep {
  font-size: 0.7rem;
  padding: 50px 20px;
  line-height: 20px;
}

.break-keep:before {
  opacity: 0;
}

.break-keep:after {
  opacity: 0;
}

.profile-box .prof-sentence {
  margin-left: 0px;
  /* text-align: center; */
  flex-direction: column;
}

.profile-box .fuwafuwa {
  width: 40%;
  margin-left: 0px;
  margin-top: 0px;
}

/* ワークス */
.works-box img {
  width: 100%;
  margin: auto;
}

.works-box p {
  margin-top: 0px;
  padding-top: 20px;
  font-size: smaller;
  line-height: 1rem;
  margin: 0 40px 0 40px;
}

/* コンタクト */
#contact.wrapper {
  padding: 8px 0 50px 0;
}

#contact dl {
  width: 80%;
}

/* フッター */
#footer {
  display: flex;
  flex: none;
  flex-direction: column;
  height: auto;
  background-color: #000000;
  color: #fff;
  padding: 60px 20px 20px 20px;
  line-height: 0%;
  z-index: 20;
  justify-content: center;
  align-items: center;
}

#footer-link {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
}

#footer-link a {
  text-align: center;
  padding: 10px;
  font-size: 16px;
  color: #fff;
}

#copyright {
  font-size: 12px;
  display: block;
  margin-top: 30px;
  color: #ffffff;
}

.animation_left ,.animation_right {
  display: none;
}

.works-box .fuwafuwa2 {
display: none;
}
}