.sbox {
  width: 100%;                /* 横幅を200pxに指定 */
  height: 200px;               /* 横幅を200pxに指定 */
  border: 3px solid  #55acee;     /* わかりやすくボーダーを引く */
  overflow-y: scroll;          /* 縦方向にスクロール可能にする */
  margin-bottom:50px;

}


/* 桜を表示するコンテナのスタイル */
.cherry-blossom-container {
  position: relative;
  //height: 100vh; /* コンテナの高さ */
  width: 100%; /* コンテナの横幅 */
  overflow: hidden; /* コンテナからはみ出した要素を隠す */
}

/* 桜の花びらのスタイル */
.petal {
  position: absolute;
  background-color: #ffc0cb; /* 花びらの色 */
  border-radius: 150% 0 150% 0;
  animation: animate-petal 10s linear;
}

.petal::after {
  content: "";
  position: absolute;
  top: -14%;
  left: -10%;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #ffc0cb;
  border-radius: 150% 0 150% 0;
  transform: rotate(15deg);
}

/* 花びらが降るアニメーション */
@keyframes animate-petal {
  0% {
    top: 0;
    opacity: 0;
    transform: rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 100vh;
    transform: rotate(3000deg);
  }
}


/*

CSS

*/

body
    {
        background: #f9f9f9;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 400;
        overflow-x: hidden;

    }
.bi
{
   background-image:url('../images/9485.jpg');
      background-size: cover;

}

.backim
{
 background: url('../images/9485.jpg') ;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.backim3
{
 background: url('../images/road2.jpg') ;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}




/* start hr */
hr
    {
        border: 1px solid #55acee;
        width: 100px;
        margin-top: 20px;
    }
/* end hr */

/* start h2 */
h2
    {
        font-size: 60px;
        text-align: center;
    }
/* end h2 */

/* start h4 */
h4
    {
        text-align: center;
        padding-bottom: 50px;
    }
/* end h4 */
.btn {
    background: transparent;
    border-radius: 10px;
    color: #ffffff;
    margin-top: 40px;
	padding: 12px 22px;
    transition: all 0.4s ease-in-out;  
}
.btn:hover {
    background: #55acee;
    border-color: transparent;
}

.bw
{
background-color: #ffffff;
}


/* start overlay */
.overlay 
    {
       width: 100%;
       height: 100%;
       background: rgba(0, 0, 0, 0.7);
    } 
/* end overlay */
#toppage dl{ margin:0px 0 30px 0px; }
#toppage dt{ padding:6px 0; float:left; clear:left; width:100px; }
#toppage dd{ padding:6px 0; float:left;}

/* start preloader */
.preloader
    {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99999;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: row nowrap;
            -ms-flex-flow: row nowrap;
                flex-flow: row nowrap;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        background: none repeat scroll 0 0 #fff;
    }
.sk-spinner-rotating-plane.sk-spinner 
    {
         width: 30px;
        height: 30px;
        background-color: #55acee;         
        -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;
                animation: sk-rotatePlane 1.2s infinite ease-in-out;
     }

@-webkit-keyframes sk-rotatePlane {
  0% {
         -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
                 transform: perspective(120px) rotateX(0deg) rotateY(0deg); }

  50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
                transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }

  100% {
            -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
                    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }

@keyframes sk-rotatePlane {
  0% {
         -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
                 transform: perspective(120px) rotateX(0deg) rotateY(0deg); }

  50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
                transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }

  100% {
            -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
                    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }
/* end preloader */

/* start navigation */
.custom-navbar 
    {
        margin-bottom: 0;
        background-color: #fff;
        text-align: right;
    }
.custom-navbar .navbar-brand 
    {
        color: #55acee;
        font-weight: bold;
        font-size: 28px;
    }
.custom-navbar .nav li a
     {
         color: #6495ED;
         font-weight: 300;
         font-size: 20px;
         text-transform: uppercase;
    }
.custom-navbar .nav li a:hover
    {
        background: transparent;
        color: #55acee;
    }
.custom-navbar .nav li.active > a
    {
         background-color: transparent;
         color: #55acee;
    }
.custom-navbar .navbar-toggle
    {
        border: none;
        padding-top: 10px;
    }
.custom-navbar .navbar-toggle .icon-bar
    {
        background: #55acee;
        border-color: transparent;
    }
@media(min-width:768px){
    .custom-navbar
         {
             padding: 20px 0;
            border-bottom: 0;
             background: 0 0;
             transition: all 0.3s ease;
         }
    .custom-navbar.top-nav-collapse
         {
            padding: 0;
            box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
            background: #fff;
        }
}
/* end navigation */

/* start home */        
#home h1
    {
        font-size: 80px;
        font-weight: bold;
        line-height: 1em;
        letter-spacing: 2px;
        padding-top: 10px;
    }
#home span
    {
        color: #55acee;
        font-weight: bold;
    }
#home .btn {
    background: rgba(0,0,0,0.6);
    border: none;
}
#home .btn:hover {
    background: rgba(255,255,255,0.6);
}
.homewrapper {
    padding-left: 15px;
    padding-right: 15px;
}
.flexslider {
    margin: 0 0 60px;
    background: #fff;
    padding: 0;
    position: relative;
    zoom: 1;
    background-color: #371604;
    overflow: hidden;
    margin: 0;
    text-align: center;
}
.flexslider .slides {
    padding: 0;
    zoom: 1;
}
.flexslider .slides .bimg {
    width: 100%;
    min-width: 648px;
    min-height: 270px;
    display: block;
}
.flexslider .slides > li {
    display: none;  
    padding: 0;
    position: relative;
    -webkit-backface-visibility: hidden;
}
.flexslider img {
    position: relative;
    width: 100%;
}
.slider-caption {
    color:white;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    text-transform: uppercase;
    z-index: 7;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
/* end home */
.midashi08 {
 background:#ebf6f7;

  //border: solid 1px #38b3f2;
  border-radius: 10px;
  margin: 0 auto 15px;
  padding: 5px 10px 5px 10px;
}

.midashi09 {
 background:#ffffe6;

  //border: solid 1px #38b3f2;
  border-radius: 10px;
  margin: 0 auto 15px;
  padding: 5px 10px 5px 10px;
}
.midashi17 {
  position: relative;
  display: inline-block;
  font-weight:bold;
  border-bottom: solid 3px #d5d5d5;
  margin: 0 auto 15px;
  padding: 5px 0 5px 0;
}
.midashi17::after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #77bcff;
  bottom: -3px;
  width: 30%;
}

.midashi18 {
  position: relative;
  display: inline-block;
  font-weight:bold;
  border-bottom: solid 3px #d5d5d5;
  margin: 20px auto 15px;
  padding: 5px 0 5px 0;
  width:100%;
}
.midashi18::after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #77bcff;
  bottom: -3px;
  width: 30%;
}



/* start service */
#news 
    {
        padding-top: 80px;
        padding-bottom: 80px;
    }
#news .media
    {
        padding: 10px;
    }
#news .media .fa
    {
        color: #55acee;
        font-size: 60px;
        margin-right: 20px;
        width: 65px;
        height: 65px;
    }
#news .media .media-heading
    {
        font-weight: 600;
        font-size: 20px;
        padding-bottom: 5px;
    }
/* end service */

/* start divider */
.divider
    {
        background: url('../images/divider-bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        color: #ffffff;
        text-align: center;
    }
.divider .divider-des
    {
        padding: 100px 15px;
    }
/* end divider */

/* start about */
h3.course -title {
    margin-top: 0;
}
#course 
    {
        padding-top: 80px;
        padding-bottom: 80px;

    }
#course .progress
    {
        //background: #f9f9f9;
        box-shadow: none;
        border-radius: 0px;
    }
#course .progress .progress-bar-danger
    {
        //background: #55acee;
    }
#course span
    {
        display: block;
        margin-top: 12px;
        margin-bottom: 6px;
    }
#course .about-wrapper
    {
        //background: #ffffff;
        box-shadow: 0px 8px 2px 2px rgba(50,50,50, 0.08);
        margin-top: 60px;
        margin-bottom: 20px;
        max-width: 500px;
        padding: 20px;
    }
#course .about-wrapper h3
    {
        color: #55acee;
        font-size: 20px;
        font-weight: bold;        
    }
/* end about */

.midashi06 {
  display: inline-block;
  font-weight:bold;
  border-left: solid 5px #38b3f2;
  border-bottom: solid 1px #38b3f2;
  margin: 0 auto 5px;
  padding: 5px 5px 5px 5px;
}

/* start sns */
#sns 
    {
        //background: #fff;
        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #eeeeee;
        padding-top: 80px;
        padding-bottom: 80px;
    }
#sns .portfolio-thumb
    {
        overflow: hidden;
        margin: 0;
        position: relative;
    }
#sns .portfolio-thumb .portfolio-overlay
    {
        //background: #333;
        color: #ffffff;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        position: absolute;
        opacity: 0;
        transition: all 0.4s ease-in-out;
    }
#sns .portfolio-thumb:hover .portfolio-overlay
    {
        opacity: 0.9;
    }
#sns .portfolio-thumb .portfolio-overlay .fa
    {
        border: 1px solid #ffffff;
        border-radius: 50%;
        color: #ffffff;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        text-decoration: none;
        margin-right: 6px;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
#sns .portfolio-thumb .portfolio-overlay .fa:hover {
    background: #55acee;
    border-color: #55acee;
}
#sns .portfolio-thumb .portfolio-overlay h4
    {
        padding-bottom: 10px;
    }
    .portfolio-description {
        padding-left: 15px;
        padding-right: 15px;
    }
/*filter css*/
.filter-wrapper {
    width: 100%;
    margin: 0 0 24px 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
}
.filter-wrapper li {
    display: inline-block;
    margin: 4px;
    transition: all 0.3s ease;
}
.filter-wrapper li:hover {
    background: #55acee;
}
.filter-wrapper li:hover a {
    color: #fff;
}
.filter-wrapper li a {
    border: 1px solid #f2f2f2;
    color: #999;
    padding: 8px 17px;
    display: block;
    text-decoration: none;
}
/*isotope box css*/
.iso-box-section {
    width: 100%;
    margin: 0 0 24px 0;
}
.iso-box-wrapper {
    width: 100%;
    padding: 0;
    clear: both;
    position: relative;
}
.iso-box {
    position: relative;
    min-height: 50px;
    float: left;
    overflow: hidden;
    margin-bottom: 20px;
}
.fluid-img {
    width: 100%;
    display: block;
    height: auto;
}
/* end portfolio */

/* start contact */
#qa
    {
        background: #ffffff;
        padding-top: 80px;
        padding-bottom: 80px;
    }
#qa.form-control
    {
        background: transparent;
        border-radius: 0px;
        box-shadow: none;
        border: 1px solid #CCC;
        margin-bottom: 20px;
        transition: all 0.4s ease-in-out;
    }
#qa input
    {
        height: 50px;
    }
#qa input[type="submit"]
    {
        border: 2px solid #55acee;
        font-weight: bold;
		color: #55acee;
    }
#qa input[type="submit"]:hover
    {
        background: #55acee;
		color: #fff;
    }
/* end contact */

/* start footer */
footer
    {
        background: #55acee;
        color: #ffffff;
        padding-top: 60px;
        padding-bottom: 60px;
        text-align: center;
    }
footer p
    {
        display: block;
        padding-top: 40px;
    }
footer span
    {
        color: #55acee;
        font-weight: bold;
    }
/* end footer */

/* start social icon */

.social-icon
    {
        display: block;
        position: relative;
        //padding: 0;
        //margin: 0;
        top: 20px;
    }

.social-icon li
    {
        display: inline-block;
        list-style: none;
        transition: all 0.4s ease-in-out;
        //width: 40px;
        //height: 40px;
    }

.social-icon li a
    {
        color: #fff;
        font-size: 30px;
        text-decoration: none;
        line-height: 40px;
        text-align: center;
    }

.social-icon li:hover
    {
        background: #55acee;
    }

/* end social icon */
/* start media 980 */
@media screen and ( max-width: 980px ){
    #home h1
        {
            font-size: 40px;
        }
    h2
        {
            font-size: 30px;
        }
    
}
/* end media 980 */


/* start media 768 */
@media screen and ( max-width: 767px ){
    h4 {
        padding-bottom: 20px;
    }
   #home h1
    {
        font-size: 40px;
    }
    #home {
        margin-top: 50px;
    }
    .about-left {
        margin-bottom: 30px;
    }
    #about .about-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}
/* end media 768 */

@media screen and (max-width: 440px) {
    h4 {
        padding-bottom: 15px;
        line-height: 1.5em;
    }
    .filter-wrapper li {
        margin: 2px;
    }
    .filter-wrapper li a {
        padding: 6px 10px;
    }
}

@media screen and (max-width: 380px) {
    #service .media .fa {
        margin-right: 5px;
    }
}

/* start media 360 */
@media screen and ( max-width: 360px ){
    #home h1
        {
            font-size: 30px;
            line-height: 1.5em;
        }
}
/* end media 360 */
a.btn_12 {
  display: block;
  background: #ec6aac;
  width: 100%;
    max-width:500px;
  padding: 1rem;
  border-radius: .6rem;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  letter-spacing: .1rem;
  box-shadow: 0px 8px 0px 0px #d03b86;
    margin-bottom:20px;
}

.midashi01{
  background: #ec6aac;
  padding: 5px;
    margin-top:50px;
  margin-bottom:20px;
}

.midashi02 {
  position: relative;
  padding: 1em 1em 1em 2em;
  border-radius: 10px;
  background: #f8e2f2;
}
.midashi02::before {
  position: absolute;
  left: 0.5em;
  color: #ffffff;
}

.arrow-bottom {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-bottom:30px;
  border-bottom: 4px solid  #ec6aac;
  border-right: 4px solid #ec6aac;
  transform: rotate(45deg);

}

//吹き出し
.balloon5 {
  width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
}

.balloon5 .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.balloon5 .faceicon img{
  width: 100%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}

.balloon5 .chatting {
  width: 100%;
}

.says {
  display: inline-block;
  position: relative; 
  margin: 5px 0 0 105px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #d7ebfe;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #d7ebfe;
}

.says p {
  margin: 0;
  padding: 0;
}

/*==============================================================*/
/*popup template design*/
.popup-background{
  /*position size*/
  position: fixed;
  z-index : 100;
  top : 0;
  left : 0;
  height : 100vh;
  width : 100vw;

  /*design*/
  background-color: gray;
  opacity : 0.5
}
.popup{
  /*position size*/
  --height : 60vh;
  --width : 70vw;
  z-index : 101;
  position: fixed;
  top : calc(50vh - calc(var(--height) / 2));
  left : calc(50vw - calc(var(--width) / 2));
  height : var(--height);
  width : var(--width);

  /*design*/
  overflow : hidden;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 1px gray;
}
.popup > .close-button{
  /*position size*/
  --size : 20px;
  position:absolute;
  top : calc(var(--size)/4);
  left : calc(var(--width) - var(--size) * 5/4);/*css variables are available in children*/
  height : var(--size);
  width : var(--size);

  /*design*/
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color : gray;
  font-size: var(--size);
  border-radius: calc(var(--size)/5);
}
.popup > .close-button:hover{
  /*design*/
  background-color: red;
  color : white;
}
.popup > .content{
  padding: 10px;
  text-align: center;
}


/*hide popup*/
.popup-flag{
  display: none;
}
.popup-flag:not(:checked) + .popup-background{
  display:none;
}
.popup-flag:not(:checked) + * + .popup{
  display:none;
}



/*==============================================================*/
/*custom design*/
#popupFlag2 + * +.popup{
  /*position size*/
  --height : 150px;
  --width : 150px;
}
#popupFlag3 + * +.popup{
  /*position size*/
  --height : 150px;
  --width : 350px;

  /*design*/
  display:block;
  transform: rotate(30deg);
  box-shadow: 0px 0px 3px 1px gray;
  transition: 0.5s;
}
#popupFlag3:not(:checked) + * + .popup{
  /*position size*/
  --height : 0px;

  /*design*/
  transform: rotate(0deg);
  box-shadow: 0px 0px 0px gray;
}



/*==============================================================*/
/*button-container*/
.button-container{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
.button-container > *{
  margin : 15px;
}

/*button1*/
.button-sample1{
  color: blue;
  background-color: white;
  border : 1px solid blue;
  padding: 5px 10px;
  border-radius: 8px;
  transition: 0.2s;
}
.button-sample1:hover{
  color: white;
  background-color: blue;
}
.button-sample1:active{
  color: white;
  background-color: rgb(0, 0, 168);
  transition: 0.05s;
}
.awd-img{
width:100%;max-width:800px;
margin-top:30px;
}

.mb-10{
margin-bottom:10px;
}


.mb-30{
margin-bottom:30px;
}

.l-div{
text-align:center;
margin-top:20px;
}

.dflex{
display:flex;
  justify-content: center;
  align-items: center;
flex-wrap:wrap;
}

.kdiv{
width:300px;
max-width:100%;
margin-top:20px;
}

.rsbox {
  padding:3rem;
  background-color: #ffffe6;
  margin-top:50px;
}

.btbox {
  padding:3rem;
  background-color: white;
}

.ttl {
  display: inline-block;
  line-height: 1;
  padding: 1rem;
  margin: 0;
  border-left: 8px solid #8bd3dd;
}
.rsbox .txt {
  padding: 2rem;
  margin: 0;
}


.btbox .ttl {
  display: inline-block;
  line-height: 1;
  padding: 1rem;
  margin: 0;
  border-left: 8px solid #8bd3dd;
}

.btbox .txt {
  padding: 2rem;
  margin: 0;
}


  .wrapper {
    max-width:100%; 
    width:800px;
    margin: 0 auto;
    text-align: center;

  }
  .stxt {
    text-align: left;
  }

a.btn_13 {
  display: block;
  background: #4c6cb3;
  width: 100%;
    max-width:500px;
  padding: 1rem;
  border-radius: .6rem;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  letter-spacing: .1rem;
  box-shadow: 0px 8px 0px 0px #274a78;
    margin-bottom:20px;
}

.midashi03{
  background: #4c6cb3;
  padding: 5px;
    margin-top:50px;
  margin-bottom:20px;
}
.midashi04 {
  position: relative;
  padding: 1em 1em 1em 2em;
  border-radius: 10px;
  background: #e0f3f8;
}
.midashi04::before {
  position: absolute;
  left: 0.5em;
  color: #ffffff;
}
.arrow-bottom2 {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-bottom:30px;
  border-bottom: 4px solid  #4c6cb3;
  border-right: 4px solid #4c6cb3;
  transform: rotate(45deg);

}

