@charset "UTF-8";
/*全体設定*/
* {
    box-sizing: border-box;
}
body {
    background-color: #dddddd;
    background-image: none;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    color:#444444;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0;
}
img{
    max-width: 100%;
    height: auto;
}
a{
    text-decoration: none;
    color: olivedrab;
    word-break: break-all;
}
a:visited{
    color:olivedrab;
}
p{
    word-break: break-all;
}
h3{
    font-size: 18px;
}
.red{
    color: #ff0000;
}
div{
    margin-top: 10px;
    margin-bottom: 10px;
}
ul{
    list-style: none;
}
hr {
    margin: 20px auto;
    border-top: 2px dotted #8c8b8b;
}
iframe {
    max-width: 560px;
    height: 315px;
}
/*ヘッダー部分*/


/*
#abs1 {
  top: 0px;
  left: 0px;
}
*/
header {
position:static;
    background-color: #555555;

}
.intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top:0;
  padding: 0 0px;
  max-width: 260px;
    height: auto;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #ffffff;
    padding: 0 10px;
    margin-top:0;
}
.logo img{
    max-width: 260px;
    height: auto;
}




.gnav {
    border-top: solid 1px #ffffff;
    border-bottom:  solid 1px #ffffff;
    margin-bottom: 0;
}
.gnav ul{
    display: flex;
    justify-content: center;
}
.gnav ul li{
    padding: 10px 20px ;
    border-left: solid 1px #ffffff;
}
.gnav ul li:last-child{
    border-right: solid 1px #ffffff;
}
.gnav a{
    color: #ffffff;
    font-weight: 800;
}



/*メイン部分　トップページ*/

main {
    max-width: 1080px;
    background-color: #ffffff; 
    padding: 20px;
    margin: 0 auto;
    display: flex;
}




.side-r{
    width: 250px;
    text-align: center;
    margin: 0 auto;
}


.main-c {
    width: 100%;
    text-align: center;
    padding-left: 20px;
}




.anim-box.kiran {
  opacity: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.anim-box.kiran::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 40px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
}
.anim-box.kiran:hover::before {
  animation: kiran 0.5s linear 1;
}
 
@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

.hero{
    margin: 20px auto;
}
.hero ul{
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.hero li{
    padding-left:20px;
}

.li-1 img{
    max-width: 250px;
    height: auto;
}
.li-2 img{
    height: 200px;
}


.balloon5 {
    width: 100%;
    margin: 1.5em 0;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .balloon5 .faceicon {
    margin-right: -90px;
    width: 300px;
  }
  
  .balloon5 .faceicon img{
    width: 100%;
    height: auto;
  }
  .says {
    display: inline-block;
    position: relative; 
    margin: 5px 30px 0 105px;
    padding: 17px 13px;
    border-radius: 12px;
    background: #d7ebfe;
    text-align: left;
  }
  .says:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 50px; 
    left: -24px;
    border: 12px solid transparent;
    border-right: 12px solid #d7ebfe;
  }
  .media {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      font-size: 12px;
  }
  .wrap {
    width: 100%;
    height: 0;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
  }
  
  .wrap iframe {
    position: absolute;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100% !important;
    height: 100% !important;
  }





/* RSS記事 202107*/

#message {
display: flex;
flex-wrap:wrap;
justify-content: space-between
}
#message p img {
display: none;
}
#message iframe {
display: none;
}

#message a.btn {
display: block;
position: absolute;
top:0;
left:0;
right:0;
bottom: 0
}
#message .mu {
width: 30%;
position: relative
}
#message .mu img {
width: 90%;
height: auto
}
#message .mu h3 {
margin-bottom: 0.85em;
font-size: 0.9em;
text-align: left;
font-weight: normal
}
#message .mu small {
display: block
}



/* ============= */
/*フッター部分*/
footer {
    background-color: #555555;
    text-align: center;
    padding: 10px;
    color: #ffffff;
  position: static;

}
footer a{
    font-weight: 800;
}
footer p{
    font-size: 14px;
}

/*会社案内*/
.contents {
    display: block;
    padding: 20px 40px;
}
.contents p {
    margin-bottom: 20px;
}
/*執筆・講師*/
.table-l{
    width: 200px;
    vertical-align: top;
}
.table-r{
    vertical-align: top;
}

/*ペーパークラフト*/
.contents table{
    margin:0 auto;
}
/*パブリシティ情報*/
.date{
    display: flex;
    align-items: flex-start;
    border-top:  yellowgreen solid 2px;
    margin-bottom: 30px;
    
}
.date-img{
    max-width: 400px;
}
.date-box{
    background-color: yellowgreen;
    width: 100%;
    margin: 0;
    padding: 10px 20px;
}
.date:nth-child(even) {
    flex-direction: row-reverse;
  }
/*書籍*/
.books-title {
    background-color: yellowgreen;
}
.books-date ul{
    display: flex;
    flex-wrap: wrap;
}
.books-date li{
    width: 33%;
    text-align: center;
}
.books-date li:nth-child(even) {
    background-color: yellowgreen;
}
/*ぐるぐるアニメ*/
.baloon-anime{
    display: flex;
    max-width: 900px;
}
.anime2{
    display: none;
}
 /* WebKit and Opera browsers */
 @-webkit-keyframes spinner {
    from { -webkit-transform: rotateY(0deg);    }
    to   { -webkit-transform: rotateY(-360deg); }
  }

  /* all other browsers */
  @keyframes spinner {
    from {
      -moz-transform: rotateY(0deg);
      -ms-transform: rotateY(0deg);
      transform: rotateY(0deg);
    }
    to {
      -moz-transform: rotateY(-360deg);
      -ms-transform: rotateY(-360deg);
      transform: rotateY(-360deg);
    }
  }
  #stage {
      width: 320px;
    margin:1em auto;
    -webkit-perspective: 1200px;
    -moz-perspective: 1200px;
    -ms-perspective: 1200px;
    perspective: 1200px;
  }
  #spinner {
    -webkit-animation-name: spinner;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 6s;

    animation-name: spinner;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 6s;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }

  #spinner:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
  #spinner img {
    position: absolute;
    border: 1px solid #ccc;
    background: rgba(255,255,255,0.9);
    box-shadow: inset 0 0 0px rgba(0,0,0,0.1);
  }
  .soutai {
    position: relative;
    left: -80px;
  }

.iti {
  position: relative;
  right: -300px;
}
.ue {


    position: absolute;
    top: 50%;
    left:50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;padding:0;
  }
  .anime2 {
    display: none;
}
  /*ヘッダーへのリンク*/
  .toplink
    {
    position: fixed;
    bottom: 16px;
    right: 16px;
    }
 
.toplink a
    {
    display: block;
    text-decoration: none;
    }
 
.toplink:hover
{
    opacity: 0.85 ;
}

  /*ご挨拶*/
  .ojigi
    {
    position: fixed;
/*
    bottom: 16px;
    right: 16px;
*/
  left: 50%;
  top: 50%;
  transform: translateX(-50%)
             translateY(-50%);
    }
 
.ojigi a
    {
    display: block;
    text-decoration: none;
    }
 
.ojigi:hover
{
    opacity: 0.85 ;
}


/*レスポンシブデザイン*/
@media screen and (max-width: 980px) {
    main{
    display: block;
    }
.logo{
    display: block;
    text-align: center;
    padding-top: 10px;
}
    .gnav ul{
display: block;
    }
    .gnav li{
        width: 100%;
        border: 1px solid #ffffff;
    }
    .gdlin{
        width: 100%;
    }
    table{
        width: 100%;
        table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
    }
    table td{
        display: block;
    }
    .date {
    display: block;
    }
    .books-date ul{
        display: block;
    }
    .books-date li{
        width: 100%;
    }
}
@media screen and (max-width: 780px){
    .baloon-anime {
        display: block;
    }   
}