@charset "utf-8";

/*1000以下*/

body {
    background-color: #fff;
}

#container {
    display: unset;
}
#container img {
    max-width: 100%;
    height: auto;
}
.flex50 {
    display: block;
}

.flex50 .left,
.flex50 .right {
    width: 100%;
    margin: 0;
}

.box600 {
    float: none;
    width: 100%;
}

.box1200 {
    width: 90%;
}

.flex-ns {
    display: block;
}

.obi-title-right,
.obi-title-left {
    width: 95%;
}

#aboutus h2,
#works h2,
#forclient h2,
#education h2,
#translation h2,
#donation h2,
#member h2
{   
	text-align: center;
	margin: 0 auto 30px;
	padding-left: 10px;
	font-size: 28px;
	border-bottom: 3px solid #ff6666;
	color: #333;
    letter-spacing: -2px;
    
}

#aboutus h3
{
	padding-left: 50px;
	font-size: 25px;
}
#works h3,
#forclient h3,
#education h3,
#translation h3,
#donation h3,
#member h3 {
    font-size: 25px;
}


.works-box a p {
    opacity: 1;
}

#education p {
    width: 100%;
}

.obi-title-left::before,
.obi-title-right::after {
    width: 60%;
}

footer p {
    margin-left: 0;
}

footer address {
    margin: 40px 0;
}

.footer-nav {
    margin: 40px 0;
}

.pad20 {
    display: block;
    margin: 20px auto;
}


/*ヘッダー*/

#header {
    position: relative;
}
#header img {
    max-width: 280px;
    margin: 0 5px 0 10px;
}

.header-logo-pc {
    display: none;
}

.header-logo-sp {
    display: block;	
}

.news-banner {
    display :none;
  }

.main-image img {
    width: 100%;
    margin: auto;
}

.main-image-pc {
    display: none;
}

.main-image-sp {
    display: block;	
}

.main-image .catch {
    position: absolute;
    top: 43%;
    right: 25%;
    z-index: 100;
    width: 25vw;

}

.main-image p {
    display: none;
}

.hand {
    padding-top: 0px;
	padding-bottom: 10px;
}
.sns{
	width: 100%;
}


/*========= ナビゲーション ===============*/

#g-nav {
    position: fixed;
    z-index: 999;
    top: -120%;
    left: 0;
    width: 100%;
    background: #fff;
    transition: all 0.6s;
}

#g-nav.panelactive {
    top: 70px;
}

#g-nav ul {
    display: block;
    background-color: #eee;
}

#g-nav ul li a {
    border-bottom: 2px solid #666;
    color: #333333;
}

.g-nav-openbtn {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.g-nav-openbtn .openbtn-area {
    transition: all .4s;
}

.g-nav-openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #7ad5be;
    width: 45%;
}

.g-nav-openbtn span:nth-of-type(1) {
    top: 15px;
}

.g-nav-openbtn span:nth-of-type(2) {
    top: 23px;
}

.g-nav-openbtn span:nth-of-type(3) {
    top: 31px;
}

.g-nav-openbtn.active .openbtn-area {
    transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
    background: #fff;
}

.g-nav-openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
    background: #fff;
}

.footer-nav ul{
	display: block;
}

#header.UpMove {
    position: fixed;
    width: 100%;
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}


/*　下に下がる動き　*/

#header.DownMove {
    position: fixed;
    width: 100%;
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#header,
#header.UpMove,
#header.DownMove {
    animation: none;
    padding: 0;
}

/*movie_page*/
.movie_page {
  bbackground: #e4e0d9!important; /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #fff, #c1bdb7); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #fff, #c1bdb7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.movie_page main, .movie_page header {
  width: 95%;
  margin: 0 auto 80px auto;
  max-width: 1000px;
}
.movie_page h1 {
  font-size: 46px;
  margin: 0 0 30px 0;
  padding-top: 30px;
  font-weight: bold;
  color: #2a2a2a;
  text-align: center;
}
.movie_page h1 span {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
	padding-top:10px ;
}
.movie_page h2 {
  font-size: 55px;
  margin: 22px 0 0 0;
  font-weight: bold;
  color: #8f7e66;
}
.movie_page h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #3b3b3b;
  font-weight: bold;
	line-height: 1.3;
}
.movie_page h3 + p {
  color: #222;
  line-height: 1.8;
}
.video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 40px auto;
}
.video:hover {
  opacity: 0.9;
  cursor: pointer;
}