@charset"utf-8";



/* 画面サイズが768px以下の場合に適用 */
  html,body {
    overflow: hidden;
  }
  body {
    font-size: 3.5vw;
    margin: auto
  }
  
  #warp {
  max-width: 100%;
　}
  
.box1       {float: center;
            text-align:center;
            width: 100%;
            margin: auto auto;}

.box2       {text-align: center;
            vertical-align:middle;
            object-fit: contain;
            width: 350px;
            height: auto;
            margin: 0 auto;
            display:table-cell;}

.box3       {float: center;
            text-align:center;
            width: 100%;
            margin: auto auto;}
     
  
.box2 img {
width: 100%;
height: auto;
text-align: center
object-fit: contain;
vertical-align:middle;
}


  #index footer {
  width: auto;
  margin: auto;
  text-align: center;
  }
 
  #index {
  background-image: url(../images/bg-index-sp.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  }

  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;
  padding: 0;
}



ul {
  margin: 0;
  padding: 0;
}

a {
  color: #3583aa;
  text-decoration: none;
}

a:visited {
  color: #788d98;
}

a:hover {
  text-decoration: underline;
}

header {
  width: auto;
  height: 110px;
  margin: 0 auto;
}

.logo {
  float: center;
  margin-top: 50px; 
}

.global-nav {
  float: right;
  margin-top: 60px;
}

.global-nav li {
  float: left;
  margin: 0 0;
  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;
}

#warp {
  clear: both;
}


footer {
  color: #cccccc;
  text-align: center;
  line-height: auto;
}

footer small {
  font-size: 12px;
  text-align: center;
}

#index h1 {
  font-size: 70px;
  line-height: 1;
  color: #ffffff;
  font-family: 'Bitter', serif;
  margin-bottom: 50px;
}

#index .content {
  margin-top: 0px;
}

#index p {
  font-size: 14px;
  color: #ffffff;
}

.btn a {
  background-color: #009cd3;
  color: #ffffff;
  font-size: 20px;
  font-family: 'Bitter', serif;
  width: 185px;
  display: block;
  text-align: center;
  line-height: 50px;
  margin-top: 20px;
  border-radius: 5px;
  border: 3px solid #009cd3;
}

.btn a:hover {
  text-decoration: none;
  background-color: #ffffff;
  color: #009cd3;
}

#index footer {
  margin: 0 auto 0 auto;
  text-align: center;
}


img {
  vertical-align: bottom;
  max-width: 100%;
  }

body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
  
img{
 transition: 1.0s;
}

img:hover{
 opacity: 0.5;
}


  
  @media screen and (min-width:768px) {
/* 画面サイズが768px以上の場合に適用 */
  
html,body {
  overflow: hidden;
}  

#index {
  background-image: url(../images/bg-index.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

    
    
    

.content :hover img {
			transition: 1.5s ;
}

.content :hover img:hover {
			opacity: 0.5 ;
}

.content {
  min-height: calc(50vh - 10px);
}
    
    
    
.footer {
  height: 50px;
}

.flex{
  margin-top: 0px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  );
}
.flex > *{
  font-size: 64px;
  text-align: center;
}
    
header {
  width: 960px;
  height: 300px;
  margin: 0 auto;
}


.boxA:after {content: "";
            height: 250px;
            display: block;
            clear: both}

.box1       {float: left;
            width: 33.3333%}

.box2       {float: center;
            width: 33.3333%}

.box3       {float: left;
            width: 33.3333%}