@charset "utf-8";

/* ----------------------------------------------- */
/* 画像サイズについて                                 */
/* 各ページのキービジュアル：1920x440 px                */
/* 作品のアイコン：440x440 px                         */
/* ----------------------------------------------- */

/* ------------------------------------ */
/* 全体？　　                             */
/* ------------------------------------ */
.wrap {

  /* ヘッダで使った回り込みの解除 */
  clear: both;

  background-color: #ffffff;
  margin-top:135px;
  padding: 20px 0;

}
/* 見出しと段落のマージンをなくす */
p,h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
}

/* ブラウザによっては画像の下に意図しない余白が入るため */
img {
  vertical-align: bottom;
}

/* リスト項目の余白をなくす */
ul {
  margin: 0;
  padding: 0;
}

/* リンクの色や下線、ホバー、クリック済みの色などを調整 */
a {
  color: #3583aa;
  text-decoration: none;
}
a:visited {
  color: #788d98;
}
a:hover {
  text-decoration: underline;
}
.btn a {
  background-color: #888888;
  color: #ffffff;
  font-size: 20px;
  font-family: 'Sawarabi Mincho', sans-serif;
  width: 185px;
  display: block;
  text-align: center;
  line-height: 50px;
  margin-top:20px;
  border-radius: 5px;
  border: 3px solid #888888;
}
.btn a:hover {
  text-decoration: none;
  background-color: #ffffff;
  color: #888888;
}
.icon:before {
  content: "";
  padding-right: 10px;
  border-left: 7px solid #999999;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
span.bold {
  font-weight: bold;
}
.center {
  display: block;
  margin: auto;
}
/* ------------------------------------ */
/* body 　　                             */
/* ------------------------------------ */

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}
/* ------------------------------------ */
/* ヘッダ周り                             */
/* ------------------------------------ */
header {
  width: 960px;
  height: 100px;
  margin: 0 auto;
  font-family: 'Sawarabi Mincho', sans-serif;
  background-color: #cccccc;
}
.logo {
  float: left;
  margin-top: 20px;
  font-size: 30px;
  font-family: 'Playball', 'Sawarabi Mincho', sans-serif;
}
.logo a {
  color: #ffffff;
}
.logo a:hover {
  text-decoration: none;
}
.logo img {
  margin-right: 20px;
  margin-left: 10px;
  width: 65px;
}
.gnav {
  float: right;
  margin-top: 60px;
}
.gnav ul {
  text-align: center;
}
.gnav li {
  display: inline-block;
  width:25%
  float: left;
  margin: 0 20px;
  font-size: 20px;
  list-style: none;
}
.gnav li a {
  color: #ffffff;
}
/* ------------------------------------ */
/* フッタ周り                             */
/* ------------------------------------ */
footer{
  text-align: center;
  color: #ffffff;
  padding: 20px 0;
  font-family: 'Sawarabi Mincho', sans-serif;
  background-color: #cccccc;
  width: 960px;
  margin: 0 auto;

}
footer small {
  font-size: 12px;
}

/* ------------------------------------ */
/* パンくず                              */
/* ------------------------------------ */
.breadcrumbs {
  width: 940px;
  margin: 10px auto 0;
}
.breadcrumbs ul {
  display: table;
  font-size: 13px;
}
.breadcrumbs ul li {
  list-style: none;
  margin: 0 10px 0 0;
  font-size: 13px;
  font-family: 'Sawarabi Mincho', sans-serif;
  float: left;
}
.breadcrumbs ul li:first-child::before {
  padding: 0 3px 0 0;
  content: "";
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 14px;
}
.breadcrumbs ul li::before {
  padding: 0 10px 0 0;
  content: ">";
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 14px;
}

/* ------------------------------------ */
/* コンテンツ領域                         */
/* ------------------------------------ */
.content {
  width: 960px;
  margin: 0 auto;
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 18px;
}


/* ------------------------------------ */
/* indexページ                           */
/* ------------------------------------ */
.index {
  background-image: url(../images/bg-index.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}
.index .wrap {
  margin-top: 0px;
  background-color: transparent;
}

.index header {
  background-color: transparent;
}
.index footer {
  position: fixed;
  background-color: transparent;
  text-align: left;
  left: 50%;
  bottom: 0%;
  transform: translate(-50%, -50%);  
}
.index h1 {
  font-size: 60px;
  line-height: 1;
  color: #ffffff;
  font-family: 'Playball', 'Sawarabi Mincho', sans-serif;
  margin-bottom: 30px;
}
.index .content {
  margin-top: 30px;
}
.index p {
  font-size: 16px;
  color: #ffffff;
}
/* ------------------------------------ */
/* aboutページ                           */
/* ------------------------------------ */
.about {
  /* 960px x 220px */
  background-image: url(../images/bg-about.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}
.about header {
  background-color: transparent;
}
.about .about-main {
  width: 940px;
  margin: 0 auto;
}
.about h1 {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 48px;
  color: #000000;
  border-bottom: 1px solid #cccccc;
}
.about h2 {
  font-family: 'Playball', 'Sawarabi Mincho', sans-serif;
  font-size: 32px;
  margin-top: 20px
}
.about .profile-text {
  width: 540px;
  float: left;
  line-height: 1.7
}
.about .profile-image {
  float: right;
  width: 400px;
  margin-top: 30px;
}
.about section {
  margin-bottom: 35px;
}
/* aboutページのテーブル */
.about table {
  border-spacing: 0;
  border-collapse: collapse;
}
.about .career th {
  width: 240px;
  background-color: #f0f0f0;
  padding: 12px 0;
  border: 1px solid #cccccc
}
.about .career td {
  width: 670px;
  padding: 12px 0 12px 40px;
  border: 1px solid #cccccc;
}
/* ------------------------------------ */
/* portfolioページ                       */
/* ------------------------------------ */
.portfolio {
  /* 1920 x 440px */
  background-image: url(../images/bg-portfolio.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}
.portfolio header {
  background-color: transparent;
}
.portfolio h1 {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 48px;
  color: #000000;
  border-bottom: 1px solid #cccccc;
}
.portfolio h2 {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 32px;
  margin-top: 20px
}
/* メニューを横並びで出す設定→全体にするか？ */
.portfolio .portfolio-main {
  width: 700px;
  margin: 0 auto;
  float: left;
}
/* サイドバー設定：これも全体にする？ */
.portfolio .portfolio-sidebar {
  width: 220px;
  margin: 0 10px 0 30px;
  float: right;  
}
.portfolio .portfolio-sidebar h2 {
  font-size: 24px;
  margin-left: 35px;
}
.portfolio .portfolio-sidebar li{
    list-style: none;
}
.portfolio .portfolio-sidebar ul a {
  color: #333333
}
/* ここからportfolioの設定 */
.portfolio .photograph-list {
}
.portfolio .photograph-list li{
  position: relative;
  width: 210px;
  height: 210px;
  border: 1px solid #bbb;
  border-radius: 5px;
  float: left;
  list-style: none;
  margin: 0 20px 15px 0;
}
/* 3つの後のスペースをなくす */
.portfolio .photograph-list li:nth-child(3n){
  margin-right:0;
}
.portfolio .thumbnail-img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  height: auto;
  width: auto;
  max-width: 80%;
  max-height: 80%;
  margin: auto;
  border: 1px solid #bbb;
  border-radius: 5px;

/*
     -webkit-filter: invert(100%);
     -moz-filter: invert(100%);
     -o-filter: invert(100%);
     -ms-filter: invert(100%);
     filter: invert(100%);
*/
  
}
.portfolio .thumbnail-img:hover {
  filter: initial;
  opacity: 0.8;
}
/* ------------------------------------ */
/* photographページ                       */
/* ------------------------------------ */
.photograph {
  /* 960px x 220px */
}
.photograph .wrap {  
  margin-top: 0px;
}
.photograph-main {
  position: relative;
  width: 960px;
  height: 960px;
  border: 1px solid #bbb;
  border-radius: 5px;
  margin: 10px auto;
}
.photograph-img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  height: auto;
  width: auto;
  max-width: 75%;
  max-height: 75%;
  margin: auto;
  border: 1px solid #bbb;
  border-radius: 5px;

}
.photograph-text {
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 9px;
  margin-bottom: -5px;
  margin-right: 10px;
  line-height: 1.2;
}
.photograph-back {
  position: absolute;
  bottom: -35px;
  left: 20px;
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 16px;
  margin-bottom: -5px;
  margin-right: 10px;
  line-height: 1.2;
}
.photograph-before {
  position: absolute;
  bottom: -35px;
  left: 80px;
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 16px;
  margin-bottom: -5px;
  margin-right: 10px;
  line-height: 1.2;
}
.photograph-next {
  position: absolute;
  bottom: -35px;
  left: 140px;
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 16px;
  margin-bottom: -5px;
  margin-right: 10px;
  line-height: 1.2;
}

/* --------------------------------------------------- */
/* スマホ対応：ブレークポイント600px                        */
/* スマホでメニューを２段にする時の幅                        */
/*   画像を750 x 150 pxを用意する                         */
/*   header.height=150に変更する                         */
/* --------------------------------------------------- */
@media screen and (max-width:600px){
  
  body {
    font-size: 3.5vw;
  }
  .logo {
    text-align: center;
    float: none;
    margin-top: 0px;
    margin-bottom:20px;
    font-size: 6vw;
  }
  .logo img {
    margin: 10px 10px 10px 10px;
    width: 30px;
  }

  .gnav {
    display: inline;
    float: none;
    margin-left: 20px;
  }
  .wrap {
    margin-top: 0px;
    padding: 0px 0 0;
  }
  .content {
    width: 100%;
  }
  header {
    width: auto;
    /* スマホ用ヘッダ画像サイズ(750 x 220px)*/
    height: 110px;
    margin: 0;
  }
  footer{
    width: auto;
    margin: 0 auto;
  }
  .sp_erase {
    display: none;
  }
  .breadcrumbs ul li {
  font-size: 2vw;
  }
  .breadcrumbs {
    width: auto;
  }

  /* ------------------------- */
  /* portfolioスマホ            */
  /* ------------------------- */
  .portfolio {
    /* 750 x 220px */
    background-image: url(../images/bg-portfolio-sp.jpg);
  }
  .portfolio h1 {
    font-size: 7.2vw;
  }
  .portfolio h2 {
    font-size: 6vw;
  }
  .portfolio .portfolio-main {
    float: none;
    width: auto;
    margin: 0 5vw;
  }
  .portfolio .photograph-list li{
    display: inline-block;
    width: 103px;
    height: 103px;
    margin: 0px 0px 5px 5px;    
  }
  
  /* サイドバー設定 */
  .portfolio .portfolio-sidebar {
    width: auto;
    float: none;
    margin: 0 0 30px 30px;
    text-align: left;
  }
  .portfolio .portfolio-sidebar h2 {
    font-size: 24px;
    margin-left: 0;
  }
  /* ------------------------- */
  /* photographスマホ           */
  /* ------------------------- */
  .photograph .photograph-main {
    float: none;
    width: 90vw;
    height: 90vw;
    margin: 5%;
    margin-bottom: 110px;
  }
  .photograph-img {
    max-width: 90%;
    max-height: 90%;
  }
  .photograph-text {
    margin-bottom: -100px;
    margin-right: 10px;
  }
  .portfolio .thumbnail-img {
    filter: initial;
  }

  /* ------------------------- */
  /* aboutスマホ                */
  /* ------------------------- */
  .about {
    /* 750 x 300px */
    background-image: url(../images/bg-about-sp.jpg);
  }
  .about .about-main {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  .about .profile-text {
    width: auto;
    float: none;
    line-height: 1.7;
    margin: 10px;
  }
  .about .profile-image {
    display: block;
    float: none;
    max-width: 90%;
    height: auto;
    margin: auto;
  }
  .about .profile-career {
    width: auto;
    float: none;
    line-height: 1.7;
    margin: 10px;
  }
  .about h1 {
    font-size: 7.2vw;
  }
  .about h2 {
    font-size: 6vw;
  }

  /* ------------------------- */
  /* indexスマホ                */
  /* ------------------------- */
  .index h1 {
    text-align: center;
    font-size: 12vw;
    line-height: 1.3;
    margin-bottom: 15px
  }
  .index .content {
    margin-top: 20px;
  }
  .btn a {
    margin: auto;
  }
  .index footer {
    left: 55px;
    transform: initial;
    text-align: center;
  }

}
