@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  background-color: #cccccc;
  color: #333333;
  font-size: 15px;
  line-height:  2;
}

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;
}

header {
  width: 960px;
  height: 100px;
  margin: 0 auto;
}

.logo {
  float: left;
  margin-top: 50px;
}

.global-nav {
  float: right;
  margin-top: 60px
}

.global-nav li {
  float: left;
  margin 0 20px;
  font-size: 20px;
  list-style: none;
}

.global-nav li a {
  color: #ffffff;
}
  
.global-nav li a:hover { 
  border-bottom: 2px solid #ffffff;
  padding-bottom: 3px;
  text-decoration: none;
}
  
#wrap {
  clear: both;
  background-color: #fffaf0;
  margin-top: 220px;
  padding: 35px 0;
}

.content {
  width: 960px;
  margin: 0 auto;
}

/*  ループスライド*/

.loop_wrap {
  display: flex;
  width: 100vw;
  height: 100px;
  overflow: hidden;
}

.loop_wrap img {
  width: auto;
  height: 100%;
}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

.loop_wrap img:first-child {
  animation: loop 40s -20s linear infinite;
}

.loop_wrap img:last-child {
  animation: loop2 40s linear infinite;
}


footer {
  text-align: center;
  color: #ffffff;
  padding: 20px 0;
  background-color: #767671;
  }
  
  footer small {
    font-size: 12px;
  }

  #index h1 {
    font-size: 70px;
    line-height: 1;
    color: #ffffff;
   font-family: 'Bitter', serif;
    margin-bottom: 10px;
    border: none;
  }

/*  見出しの位置調整*/
  #index .content {
    margin-top: 100px;
  }
  
  
  #index p {
    font-size: 22px;
    color: #ffffff;
  }
  
  .btn a {
    background-color: #000080;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Bitter', serif;
    width: 250px;
    display: block;
    text-align: center;
    line-height: 50px;
    margin-top: 20px;
    border-radius: 5px;
    border:  4px solid #000080;
  }
  
  .btn a:hover {
    text-decoration: none;
    background-color: #00ffff;
    color: #000080;
  }
  
  #index footer {
    width: 960px;
    margin: 150px auto 0 auto;
    text-align: center;
    background-color: transparent;
  }

  #index {
    background-image: url(../images/cover9.JPG);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 80% auto;
  }

  #about {
    background-image: url(../images/all/about8.JPG);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
  }
#about .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#about .photograph-list li:nth-child(3n){
  margin-right: 0;
}

.main-center {
  width: 940px;
  margin: 0 auto;
}

h1 {
  font-family: 'Bitter', serif;
  font-size: 20px;
  border-bottom: 4px solid #cccccc;
}

h2 {
  font-family: 'Bitter', serif;
  font-size: 15px;
  border-bottom: 2px solid #e6e6fa;
}
h3 {
  font-family: 'Bitter', serif;
  font-size: 14px;
}
h4 {
  font-family: 'Bitter', serif;
  font-size: 12px;
  
}

.icon:before {
  content: "";
  padding-right: 10px;
  border-left: 18px solid #d9e367;
}

#about .profile-txt {
  width:500px;
  float: left;
}

#about .profile-txt span {
  font-weight: bold;
}

#about .profile-image {
  float: center;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

section {
  margin-bottom: 25px;
}



#index #wrap {
  background-color: transparent;
  margin-top: 0;
  padding: 0
}

#portfolio {
    background-image: url(../images/all/Hoian1.JPG);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
  }

.main {
  width: 700px;
  margin: 0 10px;
  float: left;
}

.sidebar {
  width: 200px;
  margin: 0 10px 0 30px;
  float: right;
  font-family: 'Bitter', serif;
}

a img:hover {
  opacity: 0.6;
}

.sidebar h2 {
  margin-bottom: 5px;
  margin-top: 80px;
}

.sidebar ul{
  font-size: 16px;
  margin: 20px;
}

.sidebar ul a {
  color: #008000
}
#photograph6 {
      background-image: url(../images/all/photog6.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}
#photograph6 .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph6 .photograph-list li:nth-child(6n){
  margin-right: 0;
}
#photograph5 {
      background-image: url(../images/all/photog5.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}
#photograph5 .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph5 .photograph-list li:nth-child(6n){
  margin-right: 0;
}

#photograph4 {
      background-image: url(../images/all/bcg3JPG.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}

#photograph4 .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph4 .photograph-list li:nth-child(6n){
  margin-right: 0;
}
#photograph3 {
      background-image: url(../images/all/hanoi2.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}

#photograph3 .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph3 .photograph-list li:nth-child(6n){
  margin-right: 0;
}

#photograph2 {
      background-image: url(../images/all/lotus4.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}

#photograph2 .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph2 .photograph-list li:nth-child(6n){
  margin-right: 0;
}


#photograph {
      background-image: url(../images/all/bg-portfolio1.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}

#photograph .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph .photograph-list li:nth-child(6n){
  margin-right: 0;
}

#photograph21 {
      background-image: url(../images/all/cup.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}

#photograph22 .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph22 .photograph-list li:nth-child(6n){
  margin-right: 0;
}
#photograph22 {
      background-image: url(../images/all/noz1.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}

#photograph21 .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph21 .photograph-list li:nth-child(6n){
  margin-right: 0;
}

#photograph2F {
      background-image: url(../images/all/fit3.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}

#photograph2F .photograph-list li {
  float: left;
  list-style: none;
  margin: 0 10px 10px 0;
}

#photograph2F .photograph-list li:nth-child(3n){
  margin-right: 0;
}

#video {
      background-image: url(../images/all/city2.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}

#contact {
      background-image: url(../images/all/con1.JPG);
      background-repeat: no-repeat;
      background-position: center top;
      background-attachment: fixed;
      background-size: 100% auto;
}


#contact .access iframe {
  width:350px;
  float: left;
}

/*  パンくずのCSS*/

.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline;
  list-style: none;
  font-weight: normal;
}

.breadcrumb li:after {
  content: '>';
  padding: 0 0.2em;
  color: #555;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #007b43;/*色*/
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.fa-youtube {color: red}
.fa-twitter {color: deepskyblue}
.fa-hand-paper {color: coral}

@media screen and (max-width:600px) {
/*  画面サイズが600px以下の場合に適用*/
 
  body {
    font-size:3.5vw;
  }
    
  h1 {
    font-size: 7.2vw;
  }

  h2 {
    font-size: 6vw;
   }
  
  header {
    width: auto;
    margin: 0 5%;
  }
  
  .logo {
    float: none;
    margin-top: 50px;
    text-align: center;
  }
  
  .global-nav {
    float: none;
    margin-top: 10px;
    text-align: center;
  }
  .global-nav li {
    display: inline;
    float: none;
    margin: 0 10px;
  }
 
  #wrap {
    margin-top: 80px;
    padding: 35px 0 0;
  }
  
  .content {
    width: 100%;
  }
  
  .main {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  h2 img {
    max-width: 90%;
  }
 
  #contact .access iframe  {
    max-width: 100%;
  }
  
  
  #index {
    background-image: url(../images/index-sp.JPG);
  }
  #portfolio {
    background-image: url(../images/all/Hoian-sp.JPG);
  }
  
  #about {
    background-image: url(../images/all/about8-sp.JPG);
    
  }
  
  #photograph6 {
    background-image: url(../images/all/photog6-sp.JPG);
  }
  #photograph5 {
    background-image: url(../images/all/photo5-sp.JPG);
  }
  #photograph4 {
    background-image: url(../images/all/bcg3-sp.JPG);
  }
  #photograph3 {
    background-image: url(../images/all/hanoi330.JPG);
  }
    #photograph2 {
    background-image: url(../images/all/lotus-sp.JPG);
  }
   #photograph {
    background-image: url(../images/all/bg-portfolio-sp1.JPG);
  }
  
   #photograph21 {
    background-image: url(../images/all/cup-sp.JPG);
  }
   #photograph22 {
    background-image: url(../images/all/noz-sp.JPG);
  }
   #photograph2F {
    background-image: url(../images/all/fit3-sp.JPG);
  }
  
  #contact {
    background-image: url(../images/all/con1-sp.JPG);
    min-width: inherit
  }
  
  #video {
    background-image: url(../images/all/city-sp.JPG);
  }
  .sidebar {
    width: auto;
    float: none;
    margin: 0;
    padding: 30px 10% 10px;
  }
 
}