h1,h2,h3,h4,p,ul,li,dl,dt,dd,nav,span{
  margin: 0;
  padding: 0;
  font-weight: normal;
}

nav:nth-of-type(1),span{
  margin: 5px 0 0 0 ;
  padding: 0px 0 0 0 ;
}

.main-page{
  background-color: #bdf2ff;
}

.contact-page{
  background-color: #F4C964;
}

.container{
  max-width: 1200px;
  min-width: 320px;
  margin: 0 auto;
  padding: 0 10px;
}

h2{
  font-family: "Montserrat-Bold";
  font-size: 45px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

h3{
  font-family: "Montserrat-Bold";
  font-size: 25px;
  margin-bottom: 10px;
}

hr{
  margin: 20px 0;
}

/*--------------------------------メニュー--------------------------------*/
.asdf{
  display: inline-block;
  height: 50px;
  width: 100px;
  padding: 1px;
}

img.logo{
  border:2px solid rgb(0, 0, 0);
  border-radius: 15px;
  width: 75px;
}

ul {
  list-style:none;
}

div {
  padding: 0 30px;
}

.header__flex {
  display: flex;
  height:60px;
  align-items: center;
  padding: 40px 10px 20px 0;
}
.header__flex nav {
  margin-left: auto;
}

.header__flex ul {
  display: flex;
}

.header__flex ul li {
  margin-left: 20px;
}

nav a{
  text-decoration: none;
}

.contact_button_row_back a:hover,.fab:hover,nav a:hover {
  opacity: 0.6;
  /*color: #B4CCE3;*/
}

/*--------------------------------メイン--------------------------------*/
.imgArea {
  padding   : 0;
  display   : inline-block;
  position  : relative;
  margin    : 20px 0;
}

div.img_title {
  position   : absolute;                   /* 親要素からの絶対位置 */
  white-space: nowrap;                     /* 折返しなし */
  color      : #4040ff;                  /* 文字色（透明度） */
  top        : 30%;                        /* 親要素からの上位置 */
  left       : 8%;                        /* 親要素からの左位置 */
  font-size  : 120px;                       /* 文字サイズ */
  padding    : 0;                               /* 太字 */
  font-weight: bold;
  font-family: "Ravi Prakash", cursive;
}

.main{
  border:5px solid rgb(0, 225, 255);
  border-radius: 30px;
  width: 100%;
  height: auto;
  z-index: 70;
}

dl{
  margin-bottom: 12px;
  width:100%;
}

dt{
  width: 6.5em;
  font-weight: 600;
  float: left;
  clear: left;
  padding: 0;
  padding-left: 0em;
}

dt.contact_confirmation_dt{
  width: 9.5em;
  font-weight: 500;
  float: left;
  clear: left;
  padding: 0;
  padding-left: 0em;
}

div.dt_div{
  padding: 0;
  position: relative;
  display: inline-block;
  right: 0px;
  float: right;
}

dd{
  word-wrap:break-word;
  padding: 0;
  padding-left: 7.0em;
}

dd.contact_confirmation_dd{
  word-break : keep-all;
  padding: 0;
  padding-left: 10.0em;
}


/*--------------------------------about--------------------------------*/
.about{
  margin: 20px 0 50px;
  padding: 0;
  width: auto;
  height: auto;
}

.about_img,
.about_text{
  display: inline-block;
  vertical-align:top; /*縦方向の揃え位置を指定*/
}

.about_img{
  width: 49%;
  margin: 0;
  text-align: center;
}

.about_img img{
  text-align: center;
  margin: 0;
  width: 90%;
  min-width: 190px;
}

#about_img_up,#about_img_mid,#about_img_dn,.about_img_mini{
  padding: 0;
  margin: 0;
}

.about_text{
  line-height: 1.8;
  width: 49%;
  text-align: left;
  padding: 0 10px 0 20px;
}



.about_text .about_text_web{
  text-align: left;
  margin-bottom: 10px;
  word-break:normal;
}

/* .about_text .about_text_web span{
  display: inline-block;
} */

.fa-instagram-square{
  margin-bottom: 10px;
}

.icon_size{
  font-size:1.1em;
  margin-top: 15px ;
  padding-left: 15px;
}



/*--------------------------------サービス--------------------------------*/
.service {
  margin: 20px 0;
  padding: 0;
  text-align: center;
}

.service_content {
  padding: 10px 20px;
  display: flex;
  text-align: center;
  justify-content: space-between;
}

.service_min {
  width: 33%;
  padding: 15px 2%;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.service_p{
  padding: 0 10px;
  margin-bottom: 55px;
  flex-grow: 1;
  line-height: 1.8;
  text-align: left;
}

.com{
  margin: 0;
  padding: 0;
}

.icon_size_a{
  font-size:2.5em;
  margin-bottom: 20px;
  margin-left: 10px;
}

.icon_size_b{
  font-size:2.5em;
  margin-bottom: 20px;
}




/*--------------------------------制作実績--------------------------------*/
.results {
  margin: 20px 0 0;
  padding: 0;
  text-align: center;
}

.results_content {
  padding: 10px 20px;
  display: flex;
  text-align: center;
  justify-content: space-between;
}

.results_min {
  width: 33%;
  padding: 15px 2%;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-grow: 1;
}

.results_p{
  padding: 0 10px;
  margin-bottom: 55px;
  flex-grow: 1;
  line-height: 1.8;
  text-align: left;
}


.results_min div{
  padding: 0;
  text-align: center;
}

.results_min_img{
  display: inline-flex;
  margin-bottom: 20px;
  width: 95%;
  border-radius: 10px;
}



/*--------------------------------ボタン--------------------------------*/
.btn {
  text-decoration: none;
  color: #fff;
  background: #3698f3;
  display: block;
  width: 120px;
  line-height: 42px;
  border-radius: 4px;
  margin: 2px auto 20px;
  font-size: 14px;
  font-weight: bold;
}

.btn:hover {
  opacity: 0.8;
}



/*--------------------------------コンタクト--------------------------------*/
.inner p{
  text-align: center;
  font-size: 16px;
}

span.kome{
  vertical-align: super;
  font-size: smaller;
}

.form_div{
  padding: 0;
  display: flex;
}

.form1,.form2,.form3{
  padding: 0 10px;
  position:relative;
  height: 35px;
  width: 33%;
  white-space: nowrap;
}

.ECM_CheckboxInput1 {
  padding: 0px 0px;
  display: flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}

.ECM_CheckboxInput-Input1 {
  margin: 0;
  width: 0;
  opacity: 0;
}

.ECM_CheckboxInput1:hover{
  background: rgba(19, 89, 218, 0.05) !important;
}

.ECM_CheckboxInput1:hover > .ECM_CheckboxInput-DummyInput1{
  transform: scale(1.1);
}

.ECM_CheckboxInput-Input1:focus + .ECM_CheckboxInput-DummyInput1{
  transform: scale(1.1);
}

.ECM_CheckboxInput-Input1:checked + .ECM_CheckboxInput-DummyInput1 {
  background: rgba(107, 26, 250, 1);
}

.ECM_CheckboxInput-Input1:checked + .ECM_CheckboxInput-DummyInput1::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35%;
  height: 4px;
  border-radius: 2px;
  transform: translate(-6px, 5px) rotateZ(-135deg);
  transform-origin: 2px 2px;
  background: #FFFFFF;
}

.ECM_CheckboxInput-Input1:checked + .ECM_CheckboxInput-DummyInput1::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 4px;
  border-radius: 2px;
  transform: translate(-6px, 5px) rotateZ(-45deg);
  transform-origin: 2px 2px;
  background: #FFFFFF;
}

.ECM_CheckboxInput-DummyInput1 {
  position: relative;
  top: 50%;
  left: 0;
  display: inline-block;
  width: 32px;
  height: 32px;
  border: solid 2px transparent;
  background: rgba(12, 104, 179, 0.274);
  border-radius: 50%;
  transition: all .15s linear;
}

.ECM_CheckboxInput-LabelText1 {
  /*margin-top: 7px;*/
  margin-left: 5%;
  display: block;
  font-size: 15px;
  font-weight: bold;
}

.ECM_CheckboxInput2 {
  padding: 0px 0px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.ECM_CheckboxInput-Input2 {
  margin: 0;
  width: 0;
  opacity: 0;
}

.ECM_CheckboxInput2:hover{
  background:  rgba(19, 89, 218, 0.05) !important;
}

.ECM_CheckboxInput2:hover > .ECM_CheckboxInput-DummyInput2{
  transform: scale(1.1);
}

.ECM_CheckboxInput-Input2:focus + .ECM_CheckboxInput-DummyInput2{
  transform: scale(1.1);
}

.ECM_CheckboxInput-Input2:checked + .ECM_CheckboxInput-DummyInput2 {
  background: rgba(107, 26, 250, 1);
}

.ECM_CheckboxInput-Input2:checked + .ECM_CheckboxInput-DummyInput2::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35%;
  height: 4px;
  border-radius: 2px;
  transform: translate(-6px, 5px) rotateZ(-135deg);
  transform-origin: 2px 2px;
  background: #FFFFFF;
}

.ECM_CheckboxInput-Input2:checked + .ECM_CheckboxInput-DummyInput2::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 4px;
  border-radius: 2px;
  transform: translate(-6px, 5px) rotateZ(-45deg);
  transform-origin: 2px 2px;
  background: #FFFFFF;
}

.ECM_CheckboxInput-DummyInput2 {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  width: 32px;
  height: 32px;
  border: solid 2px transparent;
  background: rgba(12, 104, 179, 0.274);
  border-radius: 50%;
  transition: all .15s linear;
}

.ECM_CheckboxInput-LabelText2 {
  /*margin-top: 7px;*/
  margin-left: 5%;
  display: block;
  font-size: 15px;
  font-weight: bold;
}

.ECM_CheckboxInput3 {
  padding: 0px 0px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.ECM_CheckboxInput-Input3 {
  margin: 0;
  width: 0;
  opacity: 0;
}

.ECM_CheckboxInput3:hover{
  background: rgba(19, 89, 218, 0.05) !important;
}

.ECM_CheckboxInput3:hover > .ECM_CheckboxInput-DummyInput3{
  transform: scale(1.1);
}

.ECM_CheckboxInput-Input3:focus + .ECM_CheckboxInput-DummyInput3{
  transform: scale(1.1);
}

.ECM_CheckboxInput-Input3:checked + .ECM_CheckboxInput-DummyInput3 {
  background: rgba(107, 26, 250, 1);
}

.ECM_CheckboxInput-Input3:checked + .ECM_CheckboxInput-DummyInput3::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35%;
  height: 4px;
  border-radius: 2px;
  transform: translate(-6px, 5px) rotateZ(-135deg);
  transform-origin: 2px 2px;
  background: #FFFFFF;
}

.ECM_CheckboxInput-Input3:checked + .ECM_CheckboxInput-DummyInput3::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 4px;
  border-radius: 2px;
  transform: translate(-6px, 5px) rotateZ(-45deg);
  transform-origin: 2px 2px;
  background: #FFFFFF;
}

.ECM_CheckboxInput-DummyInput3 {
  position: relative;
  top: 0px;
  left: 0px;
  display: block;
  width: 32px;
  height: 32px;
  border: solid 2px transparent;
  background: rgba(12, 104, 179, 0.274);
  border-radius: 50%;
  transition: all .15s linear;
}

.ECM_CheckboxInput-LabelText3 {
  margin-left: 5%;
  display: block;
  font-size: 15px;
  font-weight: bold;
}

input, textarea, select, button {
  font-family: "Montserrat-Regular";
  color: #fff;
  font-size: 15px;
}

a:hover {
  text-decoration: none;
}

:focus {
  outline: none;
}

.inner {
  max-width: 758px;
  margin: auto;
  padding: 50px 99px 87px;
}

textarea {
  resize: none;
}

.form_group {
  position: relative;
  display: block;
  margin: 40px 0;
}

.form_group_plus {
  padding: 0;
  position: relative;
  display: block;
  margin:  0 0 0;
}

.form_group span {
  font-size: 15px;
  color: #3698f3;
  position: absolute;
  top: 11px;
  transition: all .2s ease;
  transform-origin: 0 0;
  cursor: text;
}

.form_group_plus span.form_item {
  font-size: 15px;
  color: #3698f3;
}

.form_div{
  padding-top: 4px;
}

.form_group span.border {
  height: 2px;
  display: block;
  position: absolute;
  width: 100%;
  left: 0;
  top: 41px;
  transform: scaleX(0);
  transition: all .15s ease;
  background: #fff;
}



.form_control {
  color: black;
  border: none;
  border-bottom: 2px solid #3698f3;
  display: block;
  width: 100%;
  height: 43px;
  font-size: 15px;
  background: none;
  font-family: "Montserrat-SemiBold";}
  .form_control:focus, .form_control:valid {
    border-bottom: 2px solid #fff; }
    .form_control:focus + span, .form_control:valid + span {
      transform: translateY(-30px) scale(0.9); }
      .form_control:focus + span + .border, .form_control:valid + span + .border {
        transform: scaleX(1); }

input,textarea{
  border: none;
}

.error_msg{
  text-align: left;
  font-size: 12px;
  padding: 0;
  color: red;
}

.form_control_div {
  border: none;
  border-bottom: 2px solid #3698f3;
  display: block;
  width: 100%;
}

textarea.form_control {
  color:black;
  padding-top: 10px;
  padding-bottom: 10px;
}

button {
  border: none;
  width: 162px;
  height: 51px;
  border: 2px solid black;
  margin: auto;
  margin-top: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  color: black;
  text-transform: uppercase;
  font-family: "Montserrat-SemiBold";
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

button i {
  margin-left: 10px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

button:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #29b6f8;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;}
  button:hover {
  border-color: transparent; }
  button:hover:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1); }
  button:hover i {
    -webkit-transform: translateX(4px);
    transform: translateX(4px); }




/*--------------------------------フッター--------------------------------*/
@import url("https://fonts.googleapis.com/css?family=Lato:400,400i,700");

svg {
  width:100%;
  vertical-align:bottom;
}

.wave {
  animation: wave 3s linear;
  animation-iteration-count:infinite;
  fill: #4478e3;
}

.drop {
  fill: transparent;
  animation: drop 5s ease infinite normal;
  stroke: #4478e3;
  stroke-width:0.5;
  opacity:.6; 
  transform: translateY(80%);
}

.drop1 {
  transform-origin: 20px 3px;
}

.drop2 {
  animation-delay: 3s;
  animation-duration:3s;
  transform-origin: 25px 3px;
}

.drop3 {
  animation-delay: -2s;
  animation-duration:3.4s;
  transform-origin: 16px 3px;
}

.gooeff {
  filter: url(#goo);
  /*z-index: 100;*/    
}

#wave1{
  animation-duration:3s;
  animation-direction: reverse;
  opacity: 1;
}

#wave2 {
  animation-duration:5s;
  animation-direction: reverse;
  opacity: .6
}

#wave3 {
  animation-duration: 4s;
  animation-direction: reverse;
  opacity:.3;
}

@keyframes drop {
  0% {
    transform: translateY(80%); 
    opacity:.6; 
  }
  80% {
    transform: translateY(80%); 
    opacity:.6; 
  }
  90% { 
    transform: translateY(10%) ; 
    opacity:.6; 
  }
  100% { 
    transform: translateY(0%) scale(1.5);  
    stroke-width:0.2;
    opacity:0; 
  }
}

@keyframes wave {
  to {transform: translateX(-100%);}
}

.footer_last{
  background-color:  #4478e3;;
  font-size: 10px; 
  text-align: center;
  padding-bottom: 5px;
}

.fuwafuwa {
  animation: fuwafuwa 3s infinite ease-in-out 0s alternate;
  background: url(yoxtuto.png) no-repeat center center / 100px auto;
  display: inline-block;
  position: absolute;
  transition: 6.5s ease-in-out;
  width: 100px;
  height: 100px;
  padding: 0;
  margin-top: 0px;
  margin-right: 0px;
}


@media (min-width: 851px) {
@keyframes fuwafuwa {
  0% {
    transform:translate(-180px, 60px) rotate(-10deg);
  }
  50% {
    transform:translate(-180px, 90px) rotate(0deg);
  }
  100% {
    transform:translate(-180px, 60px) rotate(10deg);
  }
}
}

@media screen and (min-width:701px) and ( max-width:850px) {
  @keyframes fuwafuwa {
    0% {
      transform:translate(-130px, 0px) rotate(-10deg);
    }
    50% {
      transform:translate(-130px, 20px) rotate(0deg);
    }
    100% {
      transform:translate(-130px, 0px) rotate(10deg);
    }
  }
}

@media screen and (min-width:501px) and ( max-width:700px) {
  @keyframes fuwafuwa {
    0% {
      transform:translate(-130px, -10px) rotate(-10deg);
    }
    50% {
      transform:translate(-130px, 0px) rotate(0deg);
    }
    100% {
      transform:translate(-130px, -10px) rotate(10deg);
    }
  }
}

@media (max-width: 500px) {
  @keyframes fuwafuwa {
    0% {
      transform:translate(-110px, -35px) rotate(-10deg);
    }
    50% {
      transform:translate(-110px, -25px) rotate(0deg);
    }
    100% {
      transform:translate(-110px, -35px) rotate(10deg);
    }
  }
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



/*--------------------------------スマホ用--------------------------------*/
@media (min-width: 701px) {
  .header__flex__sp{
    display: none;
  }
}


@media (max-width: 700px) {
  .container{
    overflow: hidden;
  }
  .header__flex__sp{
    padding: 12px 0 0 0;
  }
  .imgArea {
    margin    : 0px 0 15px;
  }
  img{width:50%;}
  /*ロゴの大きさを調整*/
  #logo img {
    border:2px solid rgb(0, 0, 0);
    border-radius: 15px;
    width:75px;
  }
  #logo{
    padding: 0;
  }
  nav{
    width: 100%;
    height: 70px;
    position: relative;
    background: #F6F6F6;
  }
  .drawer{
    background-color: #bdf2ff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 70px;
    padding: 0;
  }
  /*ナビゲーション部分*/
  .menu ul li a {
  display:block;
  font-weight:bold;
  padding: 2em;
  border-bottom: 1px dotted #CCC;
  color:#333;
  text-decoration:none;
  }
  .menu ul li a:hover{
    color:orange;
    opacity: 1;

  }
  .menu{
    position: relative;
    z-index: 100;
    text-align:center;
    transition: 0.5s ease;/*滑らかに表示*/
    -webkit-transform: translateX(100%);/*画面より100%外へ押し出し非表示にさせる*/
    transform: translateX(100%);/*右から出す場合は、マイナス100%としてください*/
  }
  /*OPEN時の動き*/
  .menu.open {
    background-color:rgba(9, 192, 238, 0.85);
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*メニューを元の位置へ戻す*/
  }
  /*トグルボタンのスタイルを指定*/
  .Toggle {
    display: block;
    position: relative;    /* bodyに対しての絶対位置指定 */
    width: 42px;
    height: 44px;
    cursor: pointer;
    z-index: 100;
    right:22px;
  }
  .Toggle span {
    display: block;
    position: absolute;
    width: 40px;
    border-bottom: solid 4px #333;
    -webkit-transition: .35s ease-in-out;	/*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;		/*変化の速度を指定*/
    transition: .35s ease-in-out;			/*変化の速度を指定*/
  }
  /*各ボーダー少しずつずらす*/
  .Toggle span:nth-child(1) {
    top:-2px;
  }
  .Toggle span:nth-child(2) {
    top: 11px;
  }
  .Toggle span:nth-child(3) {
    top: 25px;
  }
  .Toggle.active span:nth-child(1) {
    top: 18px;
  /* 1番目のspanをマイナス45度に */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  /* 2番目と3番目のspanを45度に */
  .Toggle.active span:nth-child(2),
  .Toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .about{
    flex-direction: column-reverse;
  }
  .about_text{
    padding: 0 5px;
    width: 100%;
    bottom: 0;
  }
  .about_text_web{
    padding: 0 5px;
    width: 100%;
    bottom: 0;
  }
  .about_img{
    display: block;
    width: auto;
    top: 0;
  }
  .service_content {
    display: block;
  }
  .service_min {
    width: auto;
    padding: 15px 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  .service_p{
    margin-bottom: 20px;
  }
  .btn{
    margin-bottom: 30px;
  }
  .results_content {
    display: block;
  }
  .results_min {
  width: auto;
  padding: 15px 5%;
  text-align: center;
  display: flex;
  flex-direction: column;
  }
  .results_p{
  margin-bottom: 20px;
  }
  .form_div{
    display: block;
  }
  .form1, .form2, .form3 {
    font-size: 15px;
    width: auto;
  }
  .header__flex{
    display: none;
  }
  .form_group span {
    color: #3698f3;
    font-size: 14px;
  }
  .form_group_plus span.form_item {
    position:relative;
    padding-bottom: 4px;
    color: #3698f3;
    top: 0px;
    font-size: 14px;
  }
  h2{
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  h3{
    font-size: 25px;
    margin-bottom: 10px;
  }
  hr{
    margin: 10px 0;
  }
  dl dt{
    font-size: 14px;
  }
  dl dd{
    font-size: 14px;
    word-break: keep-all;
  }
  h2.contact-mozi {
    font-size: 38px;
  }
  p {
    font-size: 14px;
    padding: 0;
  }
  .icon_size{
    font-size:1em;
    margin-top: 8px ;
    padding-left: 10px;
  }
  .inner {
    padding: 27px 20px 37px;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
  }
  .inner p{
    font-size: 14px;
  }
  .wrapper {
    background: #39459b;
    border: 10px solid #0d99d7; }
}
/*--------------------------------スマホ用--------------------------------*/



/*--------------------------------mainワイ。族、動き・サイズ--------------------------------*/
.wai,.zoku {
  display: inline-block;
  transition: 0s ease-in-out;
  position: absolute;
}

.wai {
  animation: wai 3.0s infinite ease-in-out 0.8s alternate;
  width: 50px;
  height: 170px;
  top: 65px;
  left: 80px;
}

.zoku {
  animation: zoku 3.0s infinite ease-in-out 0.8s alternate;
  width: 100px;
  height: 170px;
  top: 50px;
  left: 500px;
}

@media screen and (max-width: 1200px) {
  .wai {
    width: calc(50 / 1200 * (100vw - 20px));
    height: calc(150 / 1200 * (100vw - 20px));
    top: calc(65 / 1200 * (100vw - 20px));
    left: calc(80 / 1200 * (100vw - 20px));
  }
  .zoku {
    width: calc(100 / 1200 * (100vw - 20px));
    height: calc(170 / 1200 * (100vw - 20px));
    top: calc(50 / 1200 * (100vw - 20px));
    left: calc(500 / 1200 * (100vw - 20px));
  }
  div.img_title{
    font-size: calc(120 / 1200 * (100vw - 20px));
  }
}

@keyframes wai {
  0% {
    transform:translate(0, 0) rotate(-10deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(10deg);
  }
}

@keyframes zoku {
  0% {
    transform:translate(0, 0) rotate(-10deg);
  }
  20% {
    transform:translate(0, -10px) rotate(10deg);
  }
  40% {
    transform:translate(0, 2px) rotate(-35deg);
  }
  60% {
    transform:translate(1px, -5px) rotate(45deg);
  }
  80% {
    transform:translate(0, 10px) rotate(-5deg);
  }
  100% {
    transform:translate(0, 0) rotate(10deg);
  }
}
/*--------------------------------mainワイ。族、動き・サイズ--------------------------------*/



/*--------------------------------mainプロフ、動き・サイズ--------------------------------*/
.box,.boxa,.boxb {
  display: inline-block;
  transition: 0s ease-in-out;
  position   : absolute;
  top: 50%;
  left: 140%;
  height     : 30%;
  width      : 30%;
  margin     : auto;
  overflow   : visible;
  padding: 0;
  z-index: 90;
}

.box {
  animation: profa 4.0s infinite ease-in-out 0.2s alternate;
}

.boxa {
  animation: profb 4.5s infinite ease-in-out 0.2s alternate;
}

.boxb {
  animation: profc 5.0s infinite ease-in-out 0.1s alternate;
}



/*-------------------------------------*/
.box .bgImg,.boxa .bgImg,.boxb .bgImg {
  position   : absolute;
  padding: 0;
  height     : 60px;
  width      : 60px;
  object-fit: cover;
  bottom     : 0;
  right      : 0;
  opacity    : 0;
  animation  : bgAnime 24s infinite;   /* 4画像 × 各6s = 24s */
}

.box .bgImg {
  top        : 143%;
  left       : 18%;
}

.boxa .bgImg {
  top        : 170%;
  left       : 90%;
}

.boxb .bgImg {
  top        : 50%;
  left       : 20%;
}
/*-------------------------------------*/



.imgArea .box .src1 {
  background : url(a1.png) no-repeat center center / 80px auto;   /* 背景の画像を指定 */
  background-size: cover;
}

.imgArea .box .src2 {
  background : url(a2.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 6s;
}

.imgArea .box .src3 {
  background : url(a3.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 12s;
}

.imgArea .box .src4 {
  background : url(a4.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 18s;
}

.imgArea .boxa .src5 {
  background : url(a5.png) no-repeat center center / 80px auto;   /* 背景の画像を指定 */
  background-size: cover;
}

.imgArea .boxa .src6 {
  background : url(a6.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 5s;
}

.imgArea .boxa .src7 {
  background : url(a7.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 11s;
}

.imgArea .boxa .src8 {
  background : url(a8.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 19s;
}

.imgArea .boxb .src9 {
  background : url(a9.png) no-repeat center center / 80px auto;   /* 背景の画像を指定 */
  background-size: cover;
}

.imgArea .boxb .src10 {
  background : url(a10.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 7s;
}

.imgArea .boxb .src11 {
  background : url(a11.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 13s;
}

.imgArea .boxb .src12 {
  background : url(a12.png) no-repeat center center / 80px auto;  /* 背景の画像を指定 */
  background-size: cover;
  animation-delay  : 18.5s;
}



/*-------------------------------------*/
@keyframes bgAnime {
  0% { opacity: 0; }
  2% { opacity: 1; }
  25% { opacity: 1; }
  27% { opacity: 0; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

/* @media screen and (max-width: 2000px) { */
  .box,.boxa,.boxb {
    top: calc(80 / 1200 * (100vw - 20px));
    left: calc(60 / 1200 * (100vw - 20px));
  }
  .box .bgImg,.boxa .bgImg,.boxb .bgImg {
    width: calc(60 / 700 * (100vw - 20px));
    height: calc(60 / 700 * (100vw - 20px));
  }
  @keyframes profa {
    0% {
      transform:translate(0, 0) rotate(-10deg);
    }
    50% {
      transform:translate(0, -7px) rotate(0deg);
    }
    100% {
      transform:translate(0, 0) rotate(10deg);
    }
  }
  @keyframes profb {
    0% {
      transform:translate(0, 0) rotate(15deg);
    }
    50% {
      transform:translate(0, -7px) rotate(0deg);
    }
    100% {
      transform:translate(0, 0) rotate(-15deg);
    }
  }
  @keyframes profc {
    0% {
      transform:translate(20px, 0) rotate(170deg);
    }
    50% {
      transform:translate(-20px, -10px) rotate(180deg);
    }
    100% {
      transform:translate(20px, 0) rotate(170deg);
    }
  }
/* } */



/*--------------------------------confirm.php--------------------------------*/
.container_contact{
  margin: 0 auto;
  padding: 1.5% 8%;
  max-width: 1200px;
  min-width: 320px;
  text-align: center;
}

.container_contact_form{
  padding: 0 0 0 8%;
}

.container_contact_text{
  line-height: 1.8;
  width: 70%;
  text-align: left;
  padding: 0 10px 0 20px;
  font-size: 19px;
}

form > p, .container_contact > p {
  text-align: center;
  font-size: 24px;
  padding-bottom: 20px;
}

p.confirmation{
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 30px;
  padding-top: 20px;
}

.contact_img{
  position: relative;
  width: 70%;
}

.form-group {
  font-size: 16px;
  text-align: left;
  margin:0px 30px 0px 50px;
}

.contact_2{
  white-space: nowrap;
}

.contact_button_row{
  text-align: center;
  margin:15px 0 30px 0;
}

.contact_button_row_back{
  margin: 30px 0 25px;
}
.contact_button_row_back a{
  text-decoration: none;
}

.contact_button_row_send{
  left: 0;
  right: 0;
  margin: auto;
}
/*--------------------------------confirm.php--------------------------------*/



/*--------------------------------thanks.html--------------------------------*/
.contact_last{
  text-align: center;
  padding:20px 0 0;
}

.last{
  font-size: 30px;
  padding: 20px 0 30px;
}

.contact_button_row_back{
  margin: 0 0 25px;
}

@media screen and (max-width: 1200px) {
  p.confirmation{
    font-size: calc(30 / 1200 * (100vw - 20px));
    padding-top: calc(20 / 1200 * (100vw - 20px));
  }
  .last{
    font-size: calc(30 / 1200 * (100vw - 20px));
    padding-top: calc(20 / 1200 * (100vw - 20px));
    padding-bottom: calc(30 / 1200 * (100vw - 20px));
  }
}
/*--------------------------------thanks.html--------------------------------*/