/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

.main_imgBox {
      height: 500px;
    overflow: hidden;
    position: relative; }

.main_img {
    z-index:10;
    opacity: 0;
    width: 100%;
	  height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 18s 0s infinite;
    animation: anime 18s 0s infinite; }

 .main_img:nth-of-type(2) {
      -webkit-animation-delay: 6s;
      animation-delay: 6s; }

    .main_img:nth-of-type(3) {
      -webkit-animation-delay: 12s;
      animation-delay: 12s; }

@keyframes anime {
  0% {
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    17% {
        opacity: 1;
    }
    25% {
        opacity: 0;
         z-index:9;
    }
    100% { opacity: 0 }
}


#css-slider {
	width: 100%;
	overflow: hidden;
}
 
.slide-item {
	width: 33.33%;
	float: left;
	position: relative;
}
 
 
.slider-wrapper {
	width: 300%;
	position: relative;
	left: 0;
	will-change: transform;
	animation: slider 60s infinite;
}
 
@keyframes slider {
  0% { transform: translateX(0); }
  33.33% { transform: translateX(-33.33%); }
  66.66% { transform: translateX(-66.66%); }
  100% { transform: translateX(0); }
}

div.images img {float: left;}
div.images {text-align: center}
div.images+* {clear: none;}

.cp_navi {
	background-color: #ffffff;
	border: 0px solid #dedede;
	border-radius: 4px;
	box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
	color: #00FFFF;
	display: block;
	margin: 1em 1%;
	overflow: hidden;
	width: 100%;
}
.cp_navi ul {
	margin: 0;
	padding: 0;
}
.cp_navi ul li {
	display: inline-block;
	list-style-type: none;
	-webkit-transition: all 0.2s;
	        transition: all 0.2s;
}
.cp_navi > ul > li > a > .caret {
	border-top: 4px solid #aaaaaa;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: '';
	display: inline-block;
	height: 0;
	width: 0;
	vertical-align: middle;
	-webkit-transition: color 0.1s linear;
	        transition: color 0.1s linear;
}
.cp_navi > ul > li > a {
	color: #aaaaaa;
	display: block;
	line-height: 56px;
	padding: 0 10px;
	text-decoration: none;
}
.cp_navi > ul > li:hover {
	background-color: rgb(255, 150, 0);
}
.cp_navi > ul > li:hover > a {
	color: rgb( 255, 255, 255 );
}
.cp_navi > ul > li:hover > a > .caret {
	border-top-color: rgb( 255, 255, 255 );
}
.cp_navi > ul > li > div {
	background-color: rgb(255, 150, 0);
	border-top: 0;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
	display: none;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 165px;
	visibility: hidden;
	-webkit-transiton: opacity 0.2s;
	       transition: opacity 0.2s;
}
.cp_navi > ul > li:hover > div {
	display: block;
	opacity: 1;
	visibility: visible;
}
.cp_navi > ul > li > div ul > li {
	display: block;
}
.cp_navi > ul > li > div ul > li > a {
	color: #ffffff;
	display: block;
	padding: 12px 24px;
	text-decoration: none;
}
.cp_navi > ul > li > div ul > li:hover > a {
	background-color: rgba( 255, 255, 255, 0.1);
}

.parent {
    text-align: center;         /* 子要素を左右中央揃えにする */
    border: solid 0px;          /* 枠線指定 */
    padding:  20px;             /* 余白指定 */
	width: 100%;
}

.inline-block_test {
    display: inline-block;      /* インラインブロック要素にする */
    padding:  0px;             /* 余白指定 */
    height: 130px;              /* 高さ指定 */
}

.flex-container {
  display: flex;
  justify-content: center;
}

*, *:before, *:after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.cp_cssslider {
width: 300px;
padding-top: 200px; /* 画像の高さ */
position: relative;
margin: 2em auto;
text-align: center;
}
.cp_cssslider > img {
position: absolute;
left: 0;
top: 0;
transition: all 0.5s;
border-radius: 3px;
box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
}
.cp_cssslider input[name='cp_switch'] {
display: none;
}
/* サムネイル */
.cp_cssslider label {
margin: 15px 5px 0 5px;
border: 2px solid #ffffff;
display: inline-block;
cursor: pointer;
transition: all 0.5s ease;
opacity: 0.6;
border-radius: 3px;
}
.cp_cssslider label:hover {
opacity: 0.9;
}
.cp_cssslider label img {
display: block;
width: 40px;
border-radius: 2px;
}
.cp_cssslider input[name='cp_switch']:checked + label {
border: 2px solid #FF7043;
opacity: 1;
}
.cp_cssslider input[name='cp_switch'] ~ img {
opacity: 0;
}
.cp_cssslider input[name='cp_switch']:checked + label + img {
opacity: 1;
}

.object-fit-img {
	width: 100%;
	height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;'
}

.img {
  object-fit: cover;
}

#container6 {
display: grid;
grid-template-columns: 49.5% 1% 49.5%;
}

#container {
display: grid;
grid-template-rows: 33% 3px 33% 3px 33%;
grid-template-columns: 33% 0.5% 33% 0.5% 33%;
}

#container2 {
display: grid;
grid-template-columns: 33% 0.5% 33% 0.5% 33%;
}


#container4 {
display: grid;
grid-template-columns: 10% 20% 13% 24% 20% 13%;
}


#container5 {
display: grid;
grid-template-rows: 218px 12px 218px 12px 218px;
grid-template-columns: 49% 2% 49%;
}

#item-a1 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

#item-a2 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

#item-a3 {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}

#item-a4 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

#item-a5 {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
}

#item-a6 {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
}

#container3 {
display: grid;
grid-template-columns: 16.66% 16.66% 16.66% 16.66% 16.66% 16.66%;
}

#itemA {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

#itemB {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

#itemC {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
}

#itemD {
    grid-row: 1 / 2;
    grid-column: 4 / 5;
}

#itemE {
    grid-row: 1 / 2;
    grid-column: 5 / 6;
}

#itemF {
    grid-row: 1 / 2;
    grid-column: 6 / 7;
}


#item1 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

#item1x2 {
    grid-row: 1 / 4;
    grid-column: 1 / 4;
}

#item2x2 {
    grid-row: 7 / 9;
    grid-column: 3 / 6;
}

#item2 {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
}

#item3 {
    grid-row: 1 / 2;
    grid-column: 5 / 6;
}

#item4 {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
}

#item5 {
    grid-row: 3 / 4;
    grid-column: 3 / 4;
}

#item6 {
    grid-row: 3 / 4;
    grid-column: 5 / 6;
}

#item7 {
    grid-row: 5 / 6;
    grid-column: 1 / 2;
}

#item8 {
    grid-row: 5 / 6;
    grid-column: 3 / 4;
}

#item9 {
    grid-row: 5 / 6;
    grid-column: 5 / 6;
}

#item10 {
    grid-row: 7 / 8;
    grid-column: 1 / 2;
}

#item11 {
    grid-row: 7 / 8;
    grid-column: 3 / 4;
}

#item12 {
    grid-row: 7 / 8;
    grid-column: 5 / 6;
}

.img_wrap{
	width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.img_wrap img{
  width: 100%;
  cursor: pointer;
  transition-duration: 0.5s;
}
.img_wrap img:hover{
	  box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
  transform: translateY(-10px);
  transform: scale(1.1) rotate(0deg);
  transition-duration: 0.5s;
}

.box {
  position:relative;
  overflow:hidden;
  margin: 0 auto;
}
.box img{
  width: 100%;
  cursor: pointer;
}
.box img:last-child{
  position:absolute;
  top: 0;
  transition: 0.5s;
  opacity: 0;
}
.box:hover img:last-child {
  opacity: 1;
}

#container7 {
display: flex;
		  justify-content: center;
	
}

#box3 {
	min-width: 45%;
		padding: 20px;
margin: 10px;
}

#box4 {
	display: flex;
	align-items: center;
	justify-content: left;
	background-color: #666;
	height: 30px;
	padding: 10px;
	margin-bottom: 10px;
	font-size: 15px;
	color: white;
			border-top-right-radius: 30px;
}

#container8 {
display: flex;
		  justify-content: center;
	align-items: center;
background-color: #666;
	height: 400px;
	background:linear-gradient(to top left, #333, #666)
}

#container8 span {
	color: #fff;
}

#box5 {
	width: 350px;
		height: 350px;
		padding: 20px;
margin: 10px;
}

#box6 {
	display: flex;
	align-items: center;
	justify-content: left;
	background-color: #fff;
	height: 30px;
	padding: 10px;
	margin-bottom: 10px;
	font-size: 15px;
		border-top-right-radius: 30px;
}

.boxA {
	display: flex;
	flex-direction: column;
	margin: 20px;
}

#sumakitacontainer1 {
display: grid;
grid-template-columns: 48% 4% 48%;
}

#sumakitaA {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

#sumakitaB {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
}

#studiosf2 {
	display: grid;
	grid-template-columns:25% 25% 25% 25%
}

#sfa {
	grid-row: 1 / 1;
		grid-column: 1 / 2;
}

#sfb {
	grid-row: 1 / 1;
		grid-column: 2 / 3;
}

#sfc {
	grid-row: 1 / 1;
		grid-column: 3 / 4;
}

#sfd {
	grid-row: 1 / 1;
		grid-column: 4 / 5;
}

p.margintop {
margin-top: 10px;
}
p.marginbottom {
margin-bottom: 10px;
}