/*
=====================================================================
*   Ceevee v1.0 Layout Stylesheet
*   url: styleshout.com
*   03-18-2014
=====================================================================

   TOC:
   a. General Styles
   b. Header Styles
   c. About Section
   d. Resume Section
   e. Portfolio Section
   f. Call To Action Section
   g. Testimonials Section
   h. Contact Section
   i. Footer

===================================================================== */

/* ------------------------------------------------------------------ */
/* a. General Styles
/* ------------------------------------------------------------------ */

body { background: #0f0f0f; }

/* ------------------------------------------------------------------ */
/* b. Header Styles
/* ------------------------------------------------------------------ */

header {
  position: relative;
  height: 800px;
  min-height: 500px;
  width: 100%;
  background: #161415 url(../images/mm_top.png) no-repeat top center;
  background-size: cover !important;
  -webkit-background-size: cover !important;
  text-align: center;
  overflow: hidden;
}

/* vertically center banner section */
header:before { content: ''; display: inline-block; vertical-align: middle; height: 100%; }

header .banner {
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  width: 85%;
  padding-bottom: 30px;
  text-align: center;
}

header .banner-text { width: 100%; }

header .banner-text h1 {
  font: 90px/1.1em 'opensans-bold', sans-serif;
  color: #fff;
  letter-spacing: -2px;
  margin: 0 auto 18px auto;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, .8);
}

header .banner-text h3 {
  font: 18px/1.9em 'librebaskerville-regular', serif;
  color: #A8A8A8;
  margin: 0 auto;
  width: 70%;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, .5);
}

header .banner-text h3 span,
header .banner-text h3 a { color: #fff; }

header .banner-text hr {
  width: 60%;
  margin: 18px auto 24px auto;
  border-color: rgba(150, 150, 150, .1);
}

/* header social links */
header .social { margin: 24px 0; padding: 0; font-size: 30px; text-shadow: 0px 1px 2px rgba(0, 0, 0, .8); }
header .social li { display: inline-block; margin: 0 15px; padding: 0; }
header .social li a { color: #fff; }
header .social li a:hover { color: #11ABB0; }

/* scrolldown link */
header .scrolldown a {
  position: absolute;
  bottom: 30px; left: 50%; margin-left: -29px;
  display: block; height: 42px; width: 42px; font-size: 42px; line-height: 42px; color: #fff; border-radius: 100%;
  -webkit-transition: all .3s ease-in-out; transition: all .3s ease-in-out;
}
header .scrolldown a:hover { color: #11ABB0; }

/* primary navigation
--------------------------------------------------------------------- */
#nav-wrap ul, #nav-wrap li, #nav-wrap a { margin: 0; padding: 0; border: none; outline: none; }

/* nav-wrap */
#nav-wrap {
  font: 12px 'opensans-bold', sans-serif;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin: 0 auto;
  z-index: 100;
  position: fixed;
  left: 0;
  top: 0;
  transition: background-color .2s ease; /* ← 不透明度ではなく色だけ切替 */
}

/* スクロールで背景色を切替 */
.opaque { background-color: #333; }

/* hide toggle button on desktop */
@media (min-width: 768px) {
  #nav-wrap > a.mobile-btn { display: none; }
}

ul#nav {
  min-height: 48px;
  width: auto;
  text-align: center; /* center align the menu */
}

ul#nav li {
  position: relative;
  list-style: none;
  height: 48px;
  display: inline-block;
}

/* Links */
ul#nav li a {
  display: inline-block;
  padding: 8px 13px; /* 8px + 8px + 32px = 48px */
  line-height: 32px;
  text-decoration: none;
  text-align: left;
  color: #fff;
  -webkit-transition: color .2s ease-in-out; transition: color .2s ease-in-out;
}
ul#nav li a:active { background-color: transparent !important; }
ul#nav li.current a { color: #F06000; }

/* ------------------------------------------------------------------ */
/* c. About Section
/* ------------------------------------------------------------------ */

#about { background: #2B2B2B; padding-top: 96px; padding-bottom: 66px; overflow: hidden; }
#about a, #about a:visited { color: #fff; }
#about a:hover, #about a:focus { color: #11ABB0; }
#about h2 { font: 22px/30px 'opensans-bold', sans-serif; color: #fff; margin-bottom: 12px; }
#about p { line-height: 30px; color: #7A7A7A; }
#about .profile-pic { position: relative; width: 120px; height: 120px; border-radius: 100%; }
#about .contact-details { width: 41.66667%; }
#about .download { width: 58.33333%; padding-top: 6px; }
#about .main-col { padding-right: 5%; }
#about .download .button { margin-top: 6px; background: #444; }
#about .download .button:hover { background: #fff; color: #2B2B2B; }
#about .download .button i { margin-right: 15px; font-size: 20px; }

/* ------------------------------------------------------------------ */
/* c. Bio Section
/* ------------------------------------------------------------------ */

#bio { background: #2B2B2B; padding-top: 96px; padding-bottom: 66px; overflow: hidden; }
#bio a, #bio a:visited { color: #fff; }
#bio a:hover, #bio a:focus { color: #11ABB0; }
#bio h2 { font: 22px/30px 'opensans-bold', sans-serif; color: #fff; margin-bottom: 12px; }
#bio p { line-height: 30px; color: #7A7A7A; }
#bio .profile-pic { position: relative; width: 120px; height: 120px; border-radius: 100%; }
#bio .contact-details { width: 41.66667%; }
#bio .download { width: 58.33333%; padding-top: 6px; }
#bio .main-col { padding-right: 5%; }
#bio .download .button { margin-top: 6px; background: #444; }
#bio .download .button:hover { background: #fff; color: #2B2B2B; }
#bio .download .button i { margin-right: 15px; font-size: 20px; }

/* ------------------------------------------------------------------ */
/* d. Resume Section
/* ------------------------------------------------------------------ */

#resume { background: #fff; padding-top: 90px; padding-bottom: 72px; overflow: hidden; }
#resume a, #resume a:visited { color: #11ABB0; }
#resume a:hover, #resume a:focus { color: #313131; }
#resume h1 { font: 18px/24px 'opensans-bold', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
#resume h1 span { border-bottom: 3px solid #11ABB0; padding-bottom: 6px; }
#resume h3 { font: 25px/30px 'opensans-bold', sans-serif; }
#resume .header-col { padding-top: 9px; }
#resume .main-col { padding-right: 10%; }
.education, .work { margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid #E8E8E8; }
#resume .info { font: 16px/24px 'librebaskerville-italic', serif; color: #6E7881; margin-bottom: 18px; margin-top: 9px; }
#resume .info span { margin: 0 5px; }
#resume .date { font: 15px/24px 'opensans-regular', sans-serif; margin-top: 6px; }

/* ------------------------------------------------------------------ */
/* d. Video Section
/* ------------------------------------------------------------------ */

#video { background: #fff; padding-top: 90px; padding-bottom: 72px; overflow: hidden; }
#video a, #video a:visited { color: #11ABB0; }
#video a:hover, #video a:focus { color: #313131; }
#video h1 { font: 18px/24px 'opensans-bold', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
#video h1 span { border-bottom: 3px solid #11ABB0; padding-bottom: 6px; }
#video h3 { font: 25px/30px 'opensans-bold', sans-serif; }
#video .header-col { padding-top: 9px; }
#video .main-col { padding-right: 10%; }
.education, .work { margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid #E8E8E8; }
#video .info { font: 16px/24px 'librebaskerville-italic', serif; color: #6E7881; margin-bottom: 18px; margin-top: 9px; }
#video .info span { margin: 0 5px; }
#video .date { font: 15px/24px 'opensans-regular', sans-serif; margin-top: 6px; }

/*----------------------------------------------*/
/*	Skill Bars
/*----------------------------------------------*/

.bars { width: 95%; float: left; padding: 0; text-align: left; }
.bars .skills { margin-top: 36px; list-style: none; }
.bars li { position: relative; margin-bottom: 60px; background: #ccc; height: 42px; border-radius: 3px; }
.bars li em { font: 15px 'opensans-bold', sans-serif; color: #313131; text-transform: uppercase; letter-spacing: 2px; font-weight: normal; position: relative; top: -36px; }
.bar-expand { position: absolute; left: 0; top: 0; margin: 0; padding-right: 24px; background: #313131; display: inline-block; height: 42px; line-height: 42px; border-radius: 3px 0 0 3px; }
.photoshop { width: 60%; -moz-animation: photoshop 2s ease; -webkit-animation: photoshop 2s ease; }
.illustrator { width: 55%; -moz-animation: illustrator 2s ease; -webkit-animation: illustrator 2s ease; }
.wordpress { width: 50%; -moz-animation: wordpress 2s ease; -webkit-animation: wordpress 2s ease; }
.css { width: 90%; -moz-animation: css 2s ease; -webkit-animation: css 2s ease; }
.html5 { width: 80%; -moz-animation: html5 2s ease; -webkit-animation: html5 2s ease; }
.jquery { width: 50%; -moz-animation: jquery 2s ease; -webkit-animation: jquery 2s ease; }

@-moz-keyframes photoshop { 0% { width: 0px; } 100% { width: 60%; } }
@-moz-keyframes illustrator { 0% { width: 0px; } 100% { width: 55%; } }
@-moz-keyframes wordpress { 0% { width: 0px; } 100% { width: 50%; } }
@-moz-keyframes css { 0% { width: 0px; } 100% { width: 90%; } }
@-moz-keyframes html5 { 0% { width: 0px; } 100% { width: 80%; } }
@-moz-keyframes jquery { 0% { width: 0px; } 100% { width: 50%; } }

@-webkit-keyframes photoshop { 0% { width: 0px; } 100% { width: 60%; } }
@-webkit-keyframes illustrator { 0% { width: 0px; } 100% { width: 55%; } }
@-webkit-keyframes wordpress { 0% { width: 0px; } 100% { width: 50%; } }
@-webkit-keyframes css { 0% { width: 0px; } 100% { width: 90%; } }
@-webkit-keyframes html5 { 0% { width: 0px; } 100% { width: 80%; } }
@-webkit-keyframes jquery { 0% { width: 0px; } 100% { width: 50%; } }

/* ------------------------------------------------------------------ */
/* e. Portfolio Section
/* ------------------------------------------------------------------ */

#portfolio { background: #ebeeee; padding-top: 90px; padding-bottom: 60px; }
#portfolio h1 { font: 15px/24px 'opensans-semibold', sans-serif; text-transform: uppercase; letter-spacing: 1px; text-align: center; margin-bottom: 48px; color: #95A3A3; }

/* Portfolio Content */
#portfolio-wrapper .columns { margin-bottom: 36px; }
.portfolio-item .item-wrap { background: #fff; overflow: hidden; position: relative; transition: all 0.3s ease-in-out; }
.portfolio-item .item-wrap a { display: block; cursor: pointer; }

/* overlay */
.portfolio-item .item-wrap .overlay {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.3s ease-in-out;
  background: url(../images/overlay-bg.png) repeat;
}
.portfolio-item .item-wrap .link-icon {
  display: block; color: #fff; height: 30px; width: 30px; font-size: 18px; line-height: 30px; text-align: center;
  opacity: 0; transition: opacity 0.3s ease-in-out;
  position: absolute; top: 50%; left: 50%; margin-left: -15px; margin-top: -15px;
}
.portfolio-item .item-wrap img { vertical-align: bottom; }
.portfolio-item .portfolio-item-meta { padding: 18px }
.portfolio-item .portfolio-item-meta h5 { font: 14px/21px 'opensans-bold', sans-serif; color: #fff; }
.portfolio-item .portfolio-item-meta p { font: 12px/18px 'opensans-light', sans-serif; color: #c6c7c7; margin-bottom: 0; }

/* on hover */
.portfolio-item:hover .overlay,
.portfolio-item:hover .link-icon { opacity: 1; }

/* popup modal */
.popup-modal { max-width: 550px; background: #fff; position: relative; margin: 0 auto; }
.popup-modal .description-box { padding: 12px 36px 18px 36px; }
.popup-modal .description-box h4 { font: 15px/24px 'opensans-bold', sans-serif; margin-bottom: 12px; color: #111; }
.popup-modal .description-box p { font: 14px/24px 'opensans-regular', sans-serif; color: #A1A1A1; margin-bottom: 12px; }
.popup-modal .description-box .categories { font: 11px/21px 'opensans-light', sans-serif; color: #A1A1A1; text-transform: uppercase; letter-spacing: 2px; display: block; text-align: left; }
.popup-modal .description-box .categories i { margin-right: 8px; }
.popup-modal .link-box { padding: 18px 36px; background: #111; text-align: left; }
.popup-modal .link-box a { color: #fff; font: 11px/21px 'opensans-bold', sans-serif; text-transform: uppercase; letter-spacing: 3px; cursor: pointer; }
.popup-modal a:hover { color: #00CCCC; }
.popup-modal a.popup-modal-dismiss { margin-left: 24px; }

/* fadein/fadeout for modal */
.mfp-fade.mfp-wrap .mfp-content .popup-modal { opacity: 0; transition: all 200ms ease-in-out; }
.mfp-fade.mfp-wrap.mfp-ready .mfp-content .popup-modal { opacity: 1; }
.mfp-fade.mfp-wrap.mfp-removing .mfp-content .popup-modal { opacity: 0; }

/* ------------------------------------------------------------------ */
/* f. Call To Action Section
/* ------------------------------------------------------------------ */

#call-to-action { background: #212121; padding-top: 66px; padding-bottom: 48px; }
#call-to-action h1 { font: 18px/24px 'opensans-bold', sans-serif; text-transform: uppercase; letter-spacing: 3px; color: #fff; }
#call-to-action h1 span { display: none; }
#call-to-action .header-col h1:before { font-family: 'FontAwesome'; content: "\f0ac"; padding-right: 10px; font-size: 72px; line-height: 72px; text-align: left; float: left; color: #fff; }
#call-to-action .action { margin-top: 12px; }
#call-to-action h2 { font: 28px/36px 'opensans-bold', sans-serif; color: #EBEEEE; margin-bottom: 6px; }
#call-to-action h2 a { color: inherit; }
#call-to-action p { color: #636363; font-size: 17px; }
#call-to-action .button:hover,
#call-to-action .button:active { background: #FFFFFF; color: #0D0D0D; }
#call-to-action p span { font-family: 'opensans-semibold', sans-serif; color: #D8D8D8; }

/* ------------------------------------------------------------------
/* g. Testimonials
/* ------------------------------------------------------------------ */

#testimonials {
  background: #1F1F1F url(../images/testimonials-bg.jpg) no-repeat center center;
  background-size: cover !important;
  -webkit-background-size: cover !important;
  background-attachment: fixed;
  position: relative;
  min-height: 200px;
  width: 100%;
  overflow: hidden;
}

#testimonials .text-container { padding-top: 96px; padding-bottom: 66px; }
#testimonials h1 { font: 18px/24px 'opensans-bold', sans-serif; text-transform: uppercase; letter-spacing: 3px; color: #fff; }
#testimonials h1 span { display: none; }
#testimonials .header-col { padding-top: 9px; }
#testimonials .header-col h1:before { font-family: 'FontAwesome'; content: "\f10d"; padding-right: 10px; font-size: 72px; line-height: 72px; text-align: left; float: left; color: #fff; }

/*	Blockquotes */
#testimonials blockquote { margin: 0 0px 30px 0px; padding-left: 0; position: relative; text-shadow: 0px 1px 3px rgba(0, 0, 0, 1); }
#testimonials blockquote:before { content: none; }
#testimonials blockquote p { font-family: 'librebaskerville-italic', serif; padding: 0; font-size: 24px; line-height: 48px; color: #fff }
#testimonials blockquote cite { display: block; font-size: 12px; font-style: normal; line-height: 18px; color: #fff; }
#testimonials blockquote cite:before { content: "\2014 \0020"; }
#testimonials blockquote cite a, #testimonials blockquote cite a:visited { color: #8B9798; border: none }

/* Flex Slider */
/* Reset */
.flexslider a:active, .flexslider a:focus { outline: none; }
.slides, .flex-control-nav, .flex-direction-nav { margin: 0; padding: 0; list-style: none; }
.slides li { margin: 0; padding: 0; }

/* Necessary Styles */
.flexslider { position: relative; zoom: 1; margin: 0; padding: 0; }
.flexslider .slides { zoom: 1; }
.flexslider .slides>li { position: relative; }

/* Hide before JS */
.flexslider .slides>li { display: none; -webkit-backface-visibility: hidden; }

/* Suggested container */
.flex-container { zoom: 1; position: relative; }

/* Clearfix for .slides */
.slides:before, .slides:after { content: " "; display: table; }
.slides:after { clear: both; }

/* No-JS Fallback */
.no-js .slides>li:first-child { display: block; }

/* Slider Styles */
.slides { zoom: 1; }
.slides>li { overflow: hidden; }

/* Control Nav */
.flex-control-nav { width: 100%; position: absolute; bottom: -20px; text-align: left; }
.flex-control-nav li { margin: 0 6px; display: inline-block; zoom: 1; *display: inline; }
.flex-control-paging li a {
  width: 12px; height: 12px; display: block; background: rgba(255, 255, 255, .3); cursor: pointer; text-indent: -9999px;
  border-radius: 20px; box-shadow: inset 0 0 3px rgba(255, 255, 255, .3);
}
.flex-control-paging li a:hover { background: rgba(255, 255, 255, .7); }
.flex-control-paging li a.flex-active { background: rgba(255, 255, 255, .9); cursor: default; }

/* ------------------------------------------------------------------ */
/* h. Contact Section
/* ------------------------------------------------------------------ */

#contact { background: #191919; padding-top: 96px; padding-bottom: 102px; color: #636363; }
#contact .section-head { margin-bottom: 42px; }
#contact a, #contact a:visited { color: #11ABB0; }
#contact a:hover, #contact a:focus { color: #fff; }
#contact h1 { font: 18px/24px 'opensans-bold', sans-serif; text-transform: uppercase; letter-spacing: 3px; color: #EBEEEE; margin-bottom: 6px; }
#contact h1 span { display: none; }
#contact h1:before { font-family: 'FontAwesome'; content: "\f0e0"; padding-right: 10px; font-size: 72px; line-height: 72px; text-align: left; float: left; color: #ebeeee; }
#contact h4 { font: 16px/24px 'opensans-bold', sans-serif; color: #EBEEEE; margin-bottom: 6px; }
#contact p.lead { font: 18px/36px 'opensans-light', sans-serif; padding-right: 3%; }
#contact .header-col { padding-top: 6px; }

/* contact form */
#contact form { margin-bottom: 30px; }
#contact label { font: 15px/24px 'opensans-bold', sans-serif; margin: 12px 0; color: #EBEEEE; display: inline-block; float: left; width: 26%; }
#contact input, #contact textarea, #contact select {
  padding: 18px 20px; color: #eee; background: #373233; margin-bottom: 42px; border: 0; outline: none; font-size: 15px; line-height: 24px; width: 65%;
}
#contact input:focus, #contact textarea:focus, #contact select:focus { color: #fff; background-color: #11ABB0; }
#contact button.submit {
  text-transform: uppercase; letter-spacing: 3px; color: #fff; background: #0D0D0D; border: none; cursor: pointer; height: auto; display: inline-block; border-radius: 3px; margin-left: 26%;
}
#contact button.submit:hover { color: #0D0D0D; background: #fff; }
#contact span.required { color: #11ABB0; font-size: 13px; }
#message-warning, #message-success { display: none; background: #0F0F0F; padding: 24px 24px; margin-bottom: 36px; width: 65%; margin-left: 26%; }
#message-warning { color: #D72828; }
#message-success { color: #11ABB0; }
#message-warning i, #message-success i { margin-right: 10px; }
#image-loader { display: none; position: relative; left: 18px; top: 17px; }

/* Twitter Feed */
#twitter { margin-top: 12px; padding: 0; }
#twitter li { margin: 6px 0px 12px 0; line-height: 30px; }
#twitter li span { display: block; }
#twitter li b a { font: 13px/36px 'opensans-regular', Sans-serif; color: #474747 !important; border: none; }

/* ------------------------------------------------------------------ */
/* i. Footer
/* ------------------------------------------------------------------ */

footer { padding-top: 48px; margin-bottom: 48px; color: #303030; font-size: 14px; text-align: center; position: relative; }
footer a, footer a:visited { color: #525252; }
footer a:hover, footer a:focus { color: #fff; }

/* copyright */
footer .copyright { margin: 0; padding: 0; }
footer .copyright li { display: inline-block; margin: 0; padding: 0; line-height: 24px; }
.ie footer .copyright li { display: inline; }
footer .copyright li:before { content: "\2022"; padding: 0 10px; color: #095153; }
footer .copyright li:first-child:before { display: none; }

/* social links */
footer .social-links { margin: 18px 0 30px 0; padding: 0; font-size: 30px; }
footer .social-links li { display: inline-block; margin: 0; padding: 0; margin-left: 42px; color: #F06000; }
footer .social-links li:first-child { margin-left: 0; }

/* Go To Top Button */
#go-top { position: absolute; top: -24px; left: 50%; margin-left: -30px; }
#go-top a {
  text-decoration: none; border: 0 none; display: block; width: 60px; height: 60px; background-color: #525252;
  -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
  color: #fff; font-size: 21px; line-height: 60px; border-radius: 100%;
}
#go-top a:hover { background-color: #0F9095; }

/* ====== NAV tweaks (overwrite) ====== */
/* デスクトップでのみモバイルボタンを非表示 */
@media (min-width: 768px) {
  #nav-wrap > a.mobile-btn { display: none !important; }
}
/* デスクトップで #nav は常に表示（JSの inline-style 残り対策） */
@media (min-width: 768px) {
  #nav-wrap ul#nav { display: inline-block !important; }
}
/* Testimonials slider 固定高さ */
/* ===== Testimonials slider 固定高さ ===== */
#testimonials .flexslider,
#testimonials .flexslider .flex-viewport {
  height: 415px !important;   /* PC想定の固定値。必要に応じて調整 */
}

#testimonials .flexslider .slides > li {
  height: 100%;
}

#testimonials blockquote {
  /* 高さ超過でレイアウトが伸びないように */
  max-height: 100%;
  overflow: hidden;
  margin: 0; /* 余白でズレないように */
  padding-right: 0;
}

/* スマホは文字の折返し分を少し大きめに */
@media (max-width: 767px) {
  #testimonials .flexslider,
  #testimonials .flexslider .flex-viewport {
    height: 600px !important; /* 調整用 */
  }
}

