﻿@media screen and (max-width : 1023px){
/* ここにスマホの記述 */
@charset "utf-8";
body{
	font-size: 4.0vw;
	line-height: 175%;
    -webkit-text-size-adjust: 110%;
	font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
}

	.kuronuri {
		position: fixed;
		background: linear-gradient(rgba(255,255,255,0.1), rgba(0,0,0,0.9));
        height: 150px;
		width: 101%;
		bottom: 0px;
		left: -1px;
        z-index: 100;
	}			
	
p{text-align: justify;}

ul{text-align: justify;}

ol{text-align: justify;}
	
td.home{
	background-attachment: fixed;
    	background-position: center center;
	background: linear-gradient(-135deg, #20aae1, #80dccd);
	color: #ffffff;
}

	
a:link{color: #ffffff; text-decoration: underline;}
a:visited{color: #cccccc; text-decoration: underline;}
a:active{color: #c00000; text-decoration: none;}
a:hover{color: #c00000; text-decoration: none;}

a.normal:link{color:#4A0000; text-decoration: underline;}
a.normal:visited{color: #4A0000; text-decoration: underline;}
a.normal:active{color: #c00000; text-decoration: none;}
a.normal:hover{color: #c00000; text-decoration: none;}

a:hover img{
opacity: 0.6;
transition: 1.0;
filter: alpha(opacity=60);
-moz-opacity:0.6;
}

.box0 {
  float: left;
  width: 90%;  /** 箱 **/
  height: auto;
  display: inline-block;
  padding: 3.5%;
  margin: 1.5%;
  text-align: center;
  color: #ffffff;;
}

.box0_white, .box0_white_random {
  float: left;
  width: 90%;  /** 箱 **/
  height: auto;
  display: inline-block;
  padding: 3.5%;
  margin: 1.5%;
  text-align: center;
  color: #ffffff;;
}	
	
.boxA {
  border: none;
  &:after {
    content: "";
    display: block;
    clear: both;
    text-align: center;
  }
}
}
@media screen and (min-width : 1024px){
/* ここにタブレット・PCの記述 */
@charset "utf-8";
	
body{
	font-size: 110%; 
	font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
}

	.kuronuri {
		position: fixed;
		background: linear-gradient(rgba(0,0,0,0.8), rgba(255,255,255,0.4));
        height: 35px;
		width: 101%;
		top: -1px;
		left: -1px;
        z-index: 100;
	}		
	
p{text-align: justify;}

ul{text-align: justify;}

ol{text-align: justify;}

td.home{
	background-attachment: fixed;
    	background-position: center center;
	background: linear-gradient(-135deg, #20aae1, #80dccd);
	color: #ffffff;
}
	
a:link{color: #ffffff; text-decoration: underline;}
a:visited{color: #cccccc; text-decoration: underline;}
a:hover{color: #c00000; text-decoration: none;}
a:active{color: #c00000; text-decoration: none;}

a.normal:link{color: #4A0000; text-decoration: underline;}
a.normal:visited{color: #4A0000; text-decoration: underline;}
a.normal:active{color: #c00000; text-decoration: none;}
a.normal:hover{color: #c00000; text-decoration: none;}

a:hover img{
opacity: 0.6;
transition: 1.0;
filter: alpha(opacity=60);
-moz-opacity:0.6;
}

.img {
	text-align: center;
	margin 0 auto;
}

.box0 {
  float: left;
  width: 90%;  /** 箱 **/
  height: auto;
  display: inline-block;
  padding: 3.5%;
  margin: 1.5%;
  text-align: center;
  color: #ffffff;;
}

.box0_white, .box0_white_random {
  float: left;
  width: 48%;  /** 横幅50% **/
  height: auto;
  display: inline-block;
  padding: 0.5%;
  margin: 0.5%;
  text-align: center;
  color: #ffffff;
}


.boxA, .boxC {
  border: none;
  overflow: hidden;
  &:after {
    content: "";
    display: block;
    clear: both;
    text-align: center;
  }
}
	
input.form { width: auto;
        	font-size: 100%;
	}
input.button { width: auto;
        	font-size: 100%;
	}
textarea { width: 100%;
	font-size: 100%; }

}
}