/*
 * Author: Carlos Alvarez
 * URL: http://Alvarez.is
 *
 * Project Name: NYC Design
 * Version: 1.0
 * Date: 04-20-2014
 * URL: 
 */


/* ==========================================================================
   Base Styles, Bootstrap Modifications & Fonts Import
   ========================================================================== */

@import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);
@import url(http://fonts.googleapis.com/css?family=Lato:400,700);

html,
button,
input,
select,
textarea {
    color: #222;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #16a085;
    color: #a4003a;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.centered {
	text-align: center
}


/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
}

body {
    font-family: "Lato" sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Oswald", sans-serif;
	font-weight: 300;
}

h2{
  position: relative;
    color: #FB4A45;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    margin: 0 0 20px;
    padding: 0.5em 0.5em 0.5em 1.7em;
    border-bottom: 3px solid #FB4A45;
}

/* ==========================================================================
   MENU CONFIGURATION
   ========================================================================== */
.menu {
  position: fixed;
  right: -200px;
  width: 260px;
  height: 100%;
  top: 0;
  z-index: 10;
  text-align: left;
}

.menu.menu-open {
  right: 0px;
}

.menu-wrap {
  position: absolute;
  top: 0;
  left: 60px;
  background: #1a1a1a;
  width: 200px;
  height: 100%;
}

.menu h1.logo a {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 40px;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 20px;
}

.menu h1.logo a:hover {
  color: #f85c37;
}

.menu img.logo {
  margin: 20px 0;
  max-width: 160px;
}

.menu a {
  margin-left: 20px;
  color: #808080;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu a:hover {
  color: #ffffff;
}

.menu a:active {
  color: #ffffff;
}

.menu a > i {
  float: left;
  display: inline-block;
  vertical-align: middle; 
  text-align: left;
  width: 25px;
  font-size: 14px;
  line-height: 40px;
  margin: 25px 2px;
}

.menu-close {
  cursor: pointer;
  display: block;
  position: absolute;
  font-size: 14px;
  color: #808080;
  width: 40px;
  height: 40px;
  line-height: 40px;
  top: 20px;
  right: 5px;
  -webkit-transition: all .1s ease-in-out;
     -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
     -o-transition: all .1s ease-in-out;
      transition: all .1s ease-in-out;
}

.menu-close:hover {
  color: #ffffff;
  -webkit-transition: all .1s ease-in-out;
     -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
     -o-transition: all .1s ease-in-out;
      transition: all .1s ease-in-out;
}

/* Push the body after clicking the menu button */
.body-push {
  overflow-x: hidden;
  position: relative;
  left: 0;
}

.body-push-toright {
  left: 200px;
}

.body-push-toleft {
  left: -200px;
}

.menu,
.body-push {
  -webkit-transition: all .3s ease;
     -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
     -o-transition: all .3s ease;
      transition: all .3s ease;
}

#menuToggle {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 11;
  display: block;
  text-align: center;
  font-size: 20px;
  color: #ffffff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  background: rgba(0,0,0,0.25);
  -webkit-transition: all .1s ease-in-out;
     -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
     -o-transition: all .1s ease-in-out;
      transition: all .1s ease-in-out;
}

#menuToggle:hover {
  color: #ffffff;
  background: rgba(0,0,0,0.2);
  -webkit-transition: all .1s ease-in-out;
     -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
     -o-transition: all .1s ease-in-out;
      transition: all .1s ease-in-out;
}


/* ==========================================================================
   Wrap Sections
   ========================================================================== */
.main {
    position: relative;
}

.img-responsive {
	margin: 0 auto;
}

.headline {
     position: absolute;
     top: 10px;
     left:30px;
     color: #fff;
     font-size: 20px;
     font-weight: bold;
}


/* About Wrap & Conf */
#aboutwrap {
	display: block;
	margin-top: 50px;
	margin-bottom: 20px;
}

#aboutwrap h1 {
    position: relative;
    color: #FB4A45;
    font-size: 1.6em;
    font-weight: bold;
    margin: 0 0 1.5em;
    padding: 0.5em 0.5em 0.5em 1.7em;
    border-bottom: 3px solid #FB4A45;
}
 
#aboutwrap h1:before{
    content: "";
    position: absolute;
    background: #d48789;
    top: 0;
    left: 0.4em;
    height: 12px;
    width: 12px;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}
 
#aboutwrap h1:after{
    content: "";
    position: absolute;
    background:#d26466;
    top: 1.0em;
    left: 0;
    height: 8px;
    width: 8px;
    transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
    -o-transform: rotate(15deg);
    -ms-transform: rotate(15deg);
}

.name h3{
  text-align: center;
  font-size: 40px;
  font-weight: lighter;
  margin-top: 10px;
  letter-spacing: 2px;
}

.name p{
	text-align: center;
  font-size: 20px;
	font-weight: lighter;
	margin-top: 10px;
	letter-spacing: 2px;
}

a .hover_img1{
	margin:10px 0px 10px 10px;
  transition:all 0.2s ease; /*0.5秒かけて要素を変化させる*/
}
a:hover .hover_img1{
	opacity: 0.4;/*要素の透明度を指定*/
	filter: alpha(opacity=70);
}

.name-desc h3 {
	font-family: 'Oswald', sans-serif;
	color: #FFF ;
  	background: #B92A2C;
  	font-size: 20pt ;
  	line-height: 1;
  	margin:0px 20px ;
  	padding: 10px 5px 10px 20px;
    box-shadow:1px 3px 7px 0px #6E6E6E ;
    border-top:4px solid #ff6347;
    border-bottom:4px solid #ff6347;
    border-radius: 5px ;
}

.speach{
	font-size: 16pt ;
	margin:20px 20px 50px 30px ;
}


table.profile {
    width: 100%;
    margin:20px 0px;
  	padding: 0px 10px 0px 10px;
    border-collapse: separate;
    border-spacing: 0px 5px;
    font-size: 14px;
}
 
table.profile th,
table.profile td {
    padding: 5px;
}
 
table.profile th {
    background: #FB4A45;
    vertical-align: middle;
    text-align: center;
    width: 100px;
    overflow: visible;
    position: relative;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
}
 
table.profile th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #FB4A45;
    border-width: 10px;
    margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
    table.company th::after {
        float: right;
        padding: 0;
        left: 30px;
        top: 10px;
        content: " ";
        height: 0;
        width: 0;
        position: relative;
        pointer-events: none;
        border: 10px solid transparent;
        border-left: #ff6347 10px solid;
        margin-top: -10px;
    }
}
 
table.profile td {
    background: #FDF8FD;
    width: 320px;
    padding-left: 20px;
}


/* Separator About - Parallax Section */
.sep {
	background-attachment: fixed;
	background-position: 50% 0;
	background-repeat: no-repeat;
	height: 450px;
	position: relative;
}
.about {
	background-image: url(http://www.masayo.gr.jp/wordpress/wp-content/uploads/back_002.jpg);
}

.sep p {
	text-align: center;
	font-size: 60px; 
	font-weight: lighter;
	padding-top: 160px;
	padding-bottom: 50px;
	letter-spacing: 2px;
	color: #fff
}

/* Portfolio Wrap Section */
#portfoliowrap {
	display: block;
	margin-top: 20px;
	margin-bottom: 50px;
}

.movie h3 {
	font-family: 'Oswald', sans-serif;
	text-align: center;
	color: #FE2E2E ;
 	font-size: 18pt ;
  	margin:0px 10px;
  	padding: 10px 5px 10px 5px;
}

.move{
	margin: 10px 0px 50px 0px;
}

.mt {
	margin-top: 50px;
}

.mb {
	margin-bottom: 20px;
}

.portfolio {
	background-image: url(http://www.masayo.gr.jp/wordpress/wp-content/uploads/back_003.jpg);
}


/* Policy Wrap */
#policywrap {
	display: block;
	margin-top: 20px;
	margin-bottom: 20px;
}

.seisaku h3{
    position: relative;
    text-align: center;
    color: #fff;
    background: #B92A2C;
    font-size: 30px;
    font-weight: bold;
    margin: 20px 0px 0px 0px;
    padding: 5px 0px 10px 0px;
    box-shadow: 0 1px 3px #777;
    -moz-box-shadow: 0 1px 3px #777;
    -webkit-box-shadow: 0 1px 3px #777;
    -o-box-shadow: 0 1px 3px #777;
    -ms-box-shadow: 0 1px 3px #777;
}
 
.seisaku h3:after,
.seisaku h3:before{
    content: "";
    position: absolute;
    top: 100%;
    height: 0;
    width: 0;
    border: 5px solid transparent;
    border-top: 5px solid #333;
}
 
.seisaku h3:before{
    right: 0;
    border-left: 5px solid #333;
}
 
.seisaku h3:after{
    left: 0;
    border-right: 5px solid #333;
}

.seisaku p{
    position: relative;
    font-size: 18px;
    background: #FAFAFA;
    margin: 0px 10px 10px;
    padding: 15px 20px 20px 20px;
}

.policy {
	background-image: url(http://www.masayo.gr.jp/wordpress/wp-content/uploads/back_005.jpg);
}


/* Infomation Wrap */
#infowrap {
	display: block;
	margin-top: 20px;
	margin-bottom: 30px;
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]{
  width: 100% !important;
}

/*.info h3{
	color: #3864A3 ;
  	font-size: 30px ;
  	font-weight: bold;	
  	line-height: 1;
  	padding: 10px 0;
}*/

.info h3{
	position: relative;
	margin: 0 0 .3em 0;
	padding: 1em 0 0.8em 1.2em;
	font-size: 30px;
	font-weight: bold;
	color: #3864A3 ;
}
 
.info h3:before{
    content: "";
    position: absolute;
    background: #B92A2C;
    top: 50%;
    left: 0.5em;
    margin-top :-15px;
    height: 40px;
    width: 8px;
}

.info h4{
    margin: 20px 0px 0px 10px;
    padding: 0.4em;
    border-left: 10px solid #B92A2C;
    border-bottom: 1px dashed #B92A2C;
    font-size: 20px;
    font-weight: bold;
}

.info-b{
	position: relative;
    font-size: 18px;
    margin: 0px 0px 60px 0px;
    padding: 5px 10px 10px 20px;
}

.scr {
  overflow: scroll;   /* スクロール表示 */ 
  width: 100%;
  height: 600px;
}

/* Contact Wrap */
#contactwrap {
	background-color: #FB4A45;
	margin-top: 0px;
	padding-top: 25px;
	padding-bottom: 25px;
}

#contactwrap p {
	color: #fff;
	font-size: 20px;
}

.contact {
	background-image: url(http://www.masayo.gr.jp/wordpress/wp-content/uploads/back_004.jpg);
}

#contactwrap label {
	color: #f2f2f2;
	margin-top: 10px;
}


/* Gallery Configuration */
.photo-wrapper {
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #2f2f2f;
  -webkit-transition: background-color 0.4s;
  -moz-transition: background-color 0.4s;
  -o-transition: background-color 0.4s;
  transition: background-color 0.4s;
}
.project .overlay {
  position: absolute;
  text-align: center;
  color: #fff;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
  
}

.project:hover .photo-wrapper {
  background-color: #2f2f2f;
	background-image:url(http://www.masayo.gr.jp/wordpress/wp-content/uploads/zoom.png);
	background-repeat:no-repeat;
	background-position:center;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: relative;
}
.project:hover .photo {
  opacity: 10;
  filter: alpha(opacity=4000);
  opacity: 0.1;
  filter: alpha(opacity=40);
}
.project:hover .overlay {
  opacity: 100;
  filter: alpha(opacity=10000);
  opacity: 1;
  filter: alpha(opacity=100);
}

.desc {
	margin-top: 25px;
}
.img {
  max-width: 100%;
}

.footer {
	text-align: center;
	padding:1em 0;
	color: #585858;
	background: #fff;
}

/*ipad */
@media (max-device-width: 1024px) and (orientation: landscape) {
  .sep {
       background-attachment: scroll!important;
  background-position: center top!important;
  }
}
/*Portrait（画面縦）*/
@media (max-device-width: 768px) and (orientation: portrait) {
  .sep {
      background-attachment: scroll!important;
  background-position: center top!important;
}
@media screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) {
  .sep {
       background-attachment: scroll!important;
  background-position: center top!important;
  }
} 
/*ipad mini*/
@media screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 1) {
  .sep {
	background-attachment: scroll!important;
  background-position: center top!important;
  }
} 

/* mobile */
@media (max-width: 480px){
  .sep {
    background-size: contain;
    height: 300px;
  }

  h2 {
    font-size: 160%;
  }

 .sep p {
    font-size: 140%;
    font-weight: bold;
    position: relative;
    top: -20px;
 }

 .speach{
    font-size: 100%;
 }

 #portfoliowrap {
	display: block;
	margin-top: -30px;
	margin-bottom: 20px;
 }

 #policywrap {
	display: block;
	margin-top: -30px;
	margin-bottom: 20px;
 }

 #infowrap {
	display: block;
	margin-top: -30px;
	margin-bottom: 20px;
 }

 #aboutwrap {
	display: block;
	margin-top: 30px;
	margin-bottom: 20px;
 }

 #contactwrap {
	background-color: #FB4A45;
	margin-top: -110px;
	padding-top: 25px;
	padding-bottom: 25px;
 } 

 .seisaku h3{
	font-size: 120%;
 }
 
}

/* iphone5 */
@media screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2){
  .sep {
    background-attachment: scroll!important;
    background-position: left top!important;
    background-size: contain;
    height: 300px;
  }

  .sep p{
    font-size: 150%;
  }

  .policy p{
    font-size: 140%
  }
}