@charset "utf-8";

/* top image */
.top-image {
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(8, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
width: 100%;
height: 90vh;
background: #000;
}

.top-image1 { grid-area: 3 / 1 / 9 / 2; 
background: #ffcc00
}
.top-image2 { grid-area: 1 / 2 / 9 / 9;
  position   : relative;
 width  : 100%;
  height     : 100%;
  margin     : auto;
  overflow   : hidden;
border-bottom: 5px solid #000;
}
.top-image2 .bgimage {
  position   : absolute;
  top        : 0;
  left       : 0;
  bottom     : 0;
  right      : 0;
  opacity    : 0;
  animation  : bgAnime 20s infinite; }

.top-image2 .src1 {
background-image : url(../image/bg1.png);  
background-attachment:fixed;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.top-image2 .src2 {
background-image : url(../image/bg2.png); 
background-attachment:fixed;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
animation-delay  : 5s;
}
.top-image2 .src3 {
background-image : url(../image/bg3.png); 
background-attachment:fixed;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
animation-delay  : 10s;
}
.top-image2 .src4 {
background-image : url(../image/bg4.png); 
background-attachment:fixed;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
animation-delay  : 15s;
}

@keyframes bgAnime {
   0% { opacity: 1; transform: scale(1, 1);z-index: 9 }
   5% { opacity: 1; transform: scale(1, 1);z-index: 9 }
  25% { opacity: 1; transform: scale(1, 1);z-index: 10 }
  30% { opacity: 1; transform: scale(0.1, 0.1);z-index: 10 }
  31% { opacity: 0; }
 100% { opacity: 0; }
}
.top-image3 { grid-area: 6 / 1 / 8 / 7;
text-align: left;
padding-left: 50px;
z-index: 100;
}
.top-image3 p{
font-size: 48px;
font-weight: bold;
color: #fff;
letter-spacing: 10px;
line-height: 1em;
}
.head-space{
width: auto;
height: 100px;
}
/* top image */

/* --- policy　はじまり ----- */
.about0 {
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: 0.5fr repeat(7, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
width: auto;
height: 1250px;
opacity: 0.99;
border-radius: 0px;
background: rgba(255,255,255);
border-left: 0px solid rgba(255,204,0);
}

.about1 { grid-area: 1 / 1 / 3 / 2; 
background: #000;
}
.about2 { grid-area: 1 / 2 / 3 / 9;
background: #fff;
color: #494544;
text-align: right;
padding: 10px;
}
.about2 p{
font-size: 24px;
font-weight: bold;
letter-spacing: 5px;
line-height: 0.5em;
}
.about2 h6{
font-size: 12px;
font-weight: bold;
letter-spacing: 2px;
line-height: 0.5em;
}
.about3 { grid-area: 3 / 1 / 9 / 9;
background: #ffcc00;
padding: 20px;
text-align: left;
line-height: 2em;
letter-spacing: 2px;
color: #494544;
font-size: 14px;
font-weight: 100;
}
.about3 h1{
line-height: 2em;
letter-spacing: 3px;
color: #494544;
font-size: 18px;
}
.about3 h5{
line-height: 2em;
letter-spacing: 3px;
color: #494544;
font-size: 14px;
font-weight: 300;
}
/* --- policy　おわり ----- */

/* --- レスポンシブはじまり ----- */  
@media (max-width: 768px){

/* --- policy　はじまり ----- */
.about0 {
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(2, 0.3fr) repeat(6, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
width: auto;
height: 1150px;
opacity: 0.99;
border-radius: 0px;
background: rgba(255,255,255);
border-left: 0px solid rgba(255,204,0);
}

.about1 { grid-area: 1 / 1 / 3 / 2; 
background: #000;
}
.about2 { grid-area: 1 / 2 / 3 / 9;
background: #fff;
color: #494544;
text-align: right;
padding: 10px;
}
.about2 p{
font-size: 18px;
font-weight: bold;
letter-spacing: 2px;
line-height: 0.5em;
}
.about2 h6{
font-size: 12px;
font-weight: bold;
letter-spacing: 2px;
line-height: 0.5em;
}
.about3 { grid-area: 3 / 1 / 9 / 9;
background: #ffcc00;
padding: 5px;
text-align: left;
line-height: 1.5em;
letter-spacing: 2px;
color: #494544;
font-size: 12px;
font-weight: 100;
}
.about3 h1{
line-height: 1.5em;
letter-spacing: 2px;
color: #494544;
font-size: 14px;
}
.about3 h5{
line-height: 1.5em;
letter-spacing: 2px;
color: #494544;
font-size: 12px;
font-weight: 300;
}
/* --- policy　おわり ----- */

    
/* --- レスポンシブおわり ----- */  
}
