@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: #aaaaaa;
  font-size: 18px;
  line-height: 1.7;
  width: 1350px;
}

header {
  margin: 15px 0 5px 0px;
  padding: 0 0 0 30px;
  background-color: black;
}

p,h1,h2,h3,h4,h5,h6 {
  margin: 0;
}

img {
  vertical-align: bottom;
}

ul {
  margin: 0;
  padding: 0;
}

a　{
  text-decoration: none;
}

a:link {
  color: #ffffff;
}

a:visited{
  color: #188d98;
}

a:hover{
  text-decoration: underline;
}

.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;
  font-family: 'Bitter', serif;
}

.global-nav li a{ 
  color: #ffffff;
}

.global-nav li a:hover{
  border-bottom: 2px solid #ffffff;
  padding-bottom: 3px;
  text-decoration: none;
} 

#wrap {
  display: block; 
  background-color: black;
  width: 1350px;
  margin-top: 320px;
  padding: 10px 0;
}

.zenntai {
  position: relative;
}

#wrap-2 {
  clear: both;
  margin: 0 auto;
  padding: 15px 0;
  width: 920px;
  background-image: url(../images/back_img.jpg);
  background-repeat: repeat-y;
  background-position: center;

}

#wrap-3 {
  clear: both;
  margin: 0 auto;
  padding: 15px 0;
  width: 920px;
  background-image: url(../images/back_b_img.jpg);
  background-repeat: repeat-y;
  background-position: center;

}

.de-ta {
  position: absolute;
  display: block;
  left: 1000px;
  margin: 20px 0 0 0;
}

.table {
  color: black;
  background-color: #dddddd;
}

#main-2 {
  width: 800px;
  margin: 0 auto;
}

#gallery-2 {
  width: 790px;
  margin: 0 auto;;
}

.h1-1 {
  margin: 30px 0;
}

.p1-1 {
  display: block;
  margin: 10px 30px;
  font-size: 20px;
  line-height: 30px;
  text-align: left;
  text-shadow: 3px 1px 1px #000,
   -1px 1px 1px #000,
    1px -1px 1px #000,
   -1px -1px 1px #000;
  border-bottom: 1px solid white;
}

.cleaerfix:after {
  content: "";
 display: block;
  clear: both;
}


.hyaku-3 {
  margin: 15px 0 5px 0px;
  padding: 0 0 0 30px;
  background-color: black;
}

.p1-1 {
  margin: 0 0 35px 0;
}
.art-01 {
  display: block;
  color: black;
  background-color: white;
  margin: 45px auto;
  width: 565px;
  height: 320px; 
  border: 2px solid white;
}

.h2-01 {
  width: 240px;
  height: 320px;
  float: left;
}

.setumeibunn-01 {
  display: block;
  width: 270px;
  padding: 10px 20px;
  float: left;
}

.art-2 {
  display: block;
  color: black;
  font-size: 16px;
  line-height: 21px;
  background-color: darkgray;
  margin: 35px auto;
  width: 565px;
  height: 161px; 
  border: 2px solid White;
}

.tyuui {
  background-color: darkblue;
}

.art-3 {
  display: block;
  color: black;
  font-size: 16px;
  line-height: 21px;
  background-color: white;
  margin: 45px auto;
  border: 2px solid White;
}

.art-3 h2 {
  text-align: center;
}

.yazirusi {
  display: block;
  margin: 0 auto;
}

.h2-2 {
  width: 200px;
  height: 160px;
  float: left;
}

.h2-p {
  color: firebrick;
  margin: 0 0 10px 0;
  border-bottom: 1px solid black;
}

.setumeibunn {
  display: block;
  width: 320px;
  padding: 10px 20px;
  float: left;
}

.arrow::after{
  content: "";
  bottom: -14px;
  border-top: 20px solid #5bc0de;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  margin: 0 auto;
}

#tobira {
  display: bock;
  width: 565px;
  height: 330px;
  margin: 20px auto 20px auto;
}

#tobira-2 {
  display: bock;
  width: 874px;
  height: 300px;
  margin: 20px auto;
}

.ph {
  clear: both;
  display: block;
  float: none;
  padding-bottom: 25px;
}

.profile {
  display: block;
  background-color: black;
  width: 200px;
  height: 550px;
  margin: 1px 12px 0 0;
  float: right;
}

.content {
  background-color: black;
  width: 720px;
  margin: 0 auto;
}

#main {
  background-color: black;
  width: 700px;
  margin: 10px auto;
}

footer {
  text-align: center;
  color: #ffffff;
  padding: 3px 0;
  background-color: #767671;
}

footer small {
  font-size: 12px;
}

h1 {
  font-family: 'Bitter', serif;
  font-size: 22px;
  text-align: center;
}

h2 {
  font-size: 20px;
  line-height: 22px;
}

.profile img {
  margin-bottom: 10px;
  }

.icon:before {
  content: "";
  padding-right: 10px;
  border-left: 7px solid #9cd4a4;
}

#gallery {
  background-color: #ffffff;
  width: 800px;
  height: 420px;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.art {
  background-color: black;
  border: 1px solid black;
  width: 130px;
  height: 185px;
  margin: 10px 20px;
  float: left;
}

 .explanatory {
  font-size: 16px;
  line-height: 20px;
  margin-top: 8px;
  text-align: center;
}

#yamato {
  background-image: url(../images/desuku2.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

#yamato-1 {
  background-image: url(../images/desuku_gu.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

a img:hover {
  opacity: 0.4;
}

.gallery-ai {
  position: absolute;
  display: block;
  left: 230px;
  top: 25px;
  width: 163px;
  height: 120px;
}

.yamato-ai {
  position: absolute;
  display: block;
  left: 230px;
  top: 170px;
  width: 163px;
  height: 120px;
}

.tugi {
  display: block;
  width: 650px;
  height: 40px;
  margin: 0 auto;
}

.gallery-ai-2 {
  position: absolute;
  display: block;
  background-color: black;
  width: 163px;
  height: 120px;
  margin: 10px 0 0 0;
}

.setumei {
  color: darkgoldenrod;
  position: absolute;
  left: 1080px;
}

.ph-2 {
  padding: 0 0 20px 0;
}


@media screen and (max-width:600px) {
  /*画像サイズが600px以下の場合に適用*/

 #yamato {
   max-width: 100%;
   margin: 0 auto;
   text-align: center;
  }
  
  .p1-1 {
    margin: 0 auto;
  }

 
}


