/*PC*/
/* ページTOPに戻る */

.pagetop {
	z-index: 1;
	display: none;
	position: fixed;
	right: 10px;
	bottom: 20px;
}
.pagetop a {
	display: block;
	font-size: 0;
	width: 50px;
	height: 50px;
	text-align: center;
	background: #555;
	border-radius: 50%;
	line-height: 50px;
}
.pagetop a i {
	font-size: 20px;
	color: #fff;
	line-height: 50px;
}
.p16 {
	font-size: 16px;
}
.topimg {
	width: 100%;
	height: 600px;
	background-image: url(img/megans_banner.jpg);
	background-repeat: no-repeat;
	background-size: 100%;
}
.topimg h1 {
	text-align: center;
	margin-left: 10%;
	line-height: 500px;
	font-size: 3.5em;
	font-weight: bold;
	-webkit-text-stroke: 2px #FFF;
	text-stroke: 2px #FFF;
}
aside, main {
	width: 80%;
	margin: 0 auto;
}
h2 {
	font-weight: bold;
	background-color: #7FB24D;
	background: linear-gradient(to right, #7DC03C, #73A145);
	background-image: url("img/haiakei.jpg");
	background-size: cover;
	font-size: 40px;
	color: #FFF;
	text-align: center;
	height: 100px;
	line-height: 100px;
}
.btn {
	font-weight: bold;
	font-size: 25px;
	width: 60%;
	height: 80px;
	line-height: 80px;
	text-align: center;
	margin: 0px auto 50px auto;
	background: #fffaa9;
	border-radius: 20px 20px 20px 20px; /* 角を丸くする */
	transition-property: all;
	transition: 0.3s linear;
	margin-top: 10px;
}
.btn::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin: 0 0 5px 10px;
	border: 13px solid transparent;
	border-right: 0 solid transparent;
	border-left: 20px solid #000;
	vertical-align: middle;
}
.btn:hover {
	background: #fdf34a;
}
.brands {
	margin-top: 50px;
}
.heading {
	width: 900px;
	margin: 0px auto;
}
.heading {
	display: table;
	text-align: center;
	white-space: nowrap;
	color: #73A145;
}
.heading:after, .heading:before {
	content: '';
	display: table-cell;
	width: 28%;
	background: -webkit-linear-gradient(transparent 50%, currentColor 50%, currentColor -webkit-calc(50% + 1px), transparent -webkit-calc(50% + 1px));
	background: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(50%, currentColor), color-stop(currentColor calc(50% + 1px)), to(transparent calc(50% + 1px)));
	background: linear-gradient(transparent 50%, currentColor 50%, currentColor calc(50% + 1px), transparent calc(50% + 1px));
	-webkit-background-clip: padding;
	background-clip: padding;
}
.heading :after {
	border-left: 1em solid transparent;
}
.heading :before {
	border-right: 1em solid transparent;
}
.brands img {
	transition-property: all;
	transition: 0.3s linear;
}
.brands img:hover {
}
/*こんな方は老眼鏡が必要かも--------------------------------------------------*/
.konnna {
	margin: 50px 25%;
	width: 100%;
	height: 500px;
}
.konnna li {
	font-size: 2.2em;
	line-height: 80px;
	text-align: left;
}
/*元ボックス*/
input[type=radio], input[type=checkbox] {
	display: none;
	margin: 0;
}
input[type=radio] + label, input[type=checkbox] + label {
	position: relative;
	display: inline-block;
	line-height: 1.5px;
	cursor: pointer;
}
/*ボックス*/
input[type=radio] + label::before, input[type=checkbox] + label::before {
	content: "";
	position: absolute;
	top: -19px;
	left: -60px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	width: 1em;
	height: 1em;
	margin-top: 0px;
	background-color: white;
}
input[type=radio] + label::before {
	border: 2px solid #989682;
	border-radius: 30px;
}
input[type=checkbox] + label::before {
	border: 2px solid #989682;
}
/*チェック*/
input[type=radio]:checked + label::after, input[type=checkbox]:checked + label::after {
	content: "";
	position: absolute;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
}
input[type=checkbox]:checked + label::after {
	top: -19px;
	left: -50px;
	width: 1.2em;
	height: 0.5em;
	margin-top: 0px;
	border-left: 3px solid #7FB24D;
	border-bottom: 3px solid #7FB24D;
	transform: rotate(-45deg);
}
/*--老眼とは---------------------------------------------------------------*/
.rougantoha {
	width: 100%;
	line-height: 60px;
	font-size: 1.8em;
	text-align: center;
	margin: 60px auto 100px auto;
}
#img1 {
	display: block;
	width: 250px;
	text-align: center;
	margin: 0px auto 30px auto;
}
/*かっこ悪い『老眼鏡』は、掛けたくない！-----------------------------------------*/
.osyare {
	width: 100%;
	line-height: 70px;
	font-size: 1.8em;
	text-align: center;
	margin: 60px auto 100px auto;
}
/*マーカー*/
.marker.active {
	background-position: -100% .5em;
}
.marker {
	background-image: -webkit-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
	background-image: -moz-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
	background-image: -ms-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
	background-image: -o-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
	background-image: linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
	background-repeat: repeat-x;
	background-size: 200% .8em;
	background-position: 0 .5em;
	transition: all 4s ease;
	font-weight: bold;
}
/*--選べる度数--------------------------------------------------------------*/
.meyasu {
	width: 50%;
	margin: 50px auto;
}
.eraberudo {
	width: 100%;
	font-size: 2.5em;
	margin-bottom: 50px;
}
.eraberudo tr {
	text-align: center;
	width: 100%;
	height: 70px;
	line-height: 70px;
	border-bottom: 2px dotted #EEE;
}
.eraberudo td {
	width: 30%;
}
.dotai {
	display: flex;
	width: 100%;
	height: 90px;
	margin: 50px auto 0 auto;
	background: #EEE;
}
.dotai p {
	width: 50%;
	height: 90px;
	line-height: 95px;
	text-align: center;
	font-size: 2.5em;
}
.tai:nth-of-type(2) {
	padding-right: 25px;
}
.tai:first-of-type {
	padding-left: -20px;
}
.meyasu .p16 {
	text-align: center;
}
/*--レンズにについて--------------------------------------------------------------*/
.lens {
	font-size: 2em;
	text-align: center;
	margin: 50px auto;
}
.sdivec {
	width: 65%;
	margin-bottom: 50px;
	margin: 20px auto;
}
.sdivec p:nth-of-type(1) {
	font-weight: bold;
	position: relative;
	z-index: 1;
	top: 20px;
}
.sdivec p:nth-of-type(2) {
	background: #fffbde;
	height: auto;
	line-height: auto;
	padding: 30px;
	font-size: 0.7em;
}
.sdivec p:nth-of-type(2) span {
	font-size: 14px;
}
/*--オススメメガネ--------------------------------------------------------------*/
.frame {
	position: relative;
	width: 65%;
	display: block;
	text-align: center;
	margin: 100px auto;
}
.frame h3 {
	width: 100%;
	height: 70px;
	line-height: 70px;
	font-size: 2em;
	display: block;
	background: #ddd;
	text-align: center;
	position: relative;
	margin-top: -20px;
}
.frame h3::after {
	border: 20px solid transparent;
	border-top-color: #ddd;
	content: '';
	height: 0;
	left: 49%;
	position: absolute;
	top: 100%;
	width: 0;
}
.frameitem {
	margin-top: 50px;
}
footer {
	width: 100%;
	height: 500px;
	background: #eee;
	text-align: center;
	line-height: 30px;
	font-size: 18px;
	padding: 80px 0;
}
.footerbrands img {
	mix-blend-mode: multiply;
}
.footerbrands img {
	transition-property: all;
	transition: 0.3s linear;
}
.footerbrands img:hover {
}
#sitename {
	font-size: 2em;
}
.CONTACT {
	margin: 50px 0;
}
h4 {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 10px;
}
#otoiawase {
	width: 300px;
	height: 50px;
	line-height: 50px;
	margin: 20px auto;
	color: #fff;
	font-weight: bold;
	background: #73A145;
	border-radius: 20px 20px 20px 20px; /* 角を丸くする */
	transition-property: all;
	transition: 0.3s linear;
}
#otoiawase:hover {
	opacity: 0.5;
}

.pagetop{
	display: block;
	
}
@media screen and (max-width:1200px) {

.topimg {
	height: 0%;
	padding: 0%;
}
.topimg h1 {
	text-align: center;
	margin-left: 0%;
	line-height: 50px;
	padding-top: 30%;
	font-size: 1.5em;
	font-weight: bold;
    -webkit-text-stroke: 0px #FFF;
  text-stroke: 0px #FFF;
}
aside, main {
	width: 100%;
	margin: 0 auto;
}
h2 {
	width: 100%;
	font-size: 1em;
	height: auto;
	line-height: 22px;
	padding: 10px;
	display: inline-block;
}
.btn {
	display: block;
	width: 90%;
	margin-top: 10px;
	font-size: 18px;
}
.btn::after {
	width: 0;
	height: 0;
	margin: 0 0 5px 0;
	border: 10px solid transparent;
	border-right: 0 solid transparent;
	border-left: 15px solid #000;

}
.heading {
	width: 100%;
}
/*こんな方は老眼鏡が必要かも--------------------------------------------------*/
.konnakataha{
	 width: 100%;
	display: block;
	margin: 0 auto;
	text-align: center;
	padding: 50px 0;
}
.konnna {
	margin: 20px 15%;
	width: 100%;
	height: auto;
}
.konnna li {
	font-size: 1em;
	line-height: 1em;
	text-align: left;
	margin-top: 50px;
}
.konnna li p {
	line-height: 30px;
}
/*元ボックス*/
input[type=radio], input[type=checkbox] {
	display: none;
	margin: 0;
}
input[type=radio] + label, input[type=checkbox] + label {
	position: relative;
	display: inline-block;
	line-height: 1.5px;
	cursor: pointer;
}
/*ボックス*/
input[type=radio] + label::before, input[type=checkbox] + label::before {
	top: 0px;
	left: -45px;
	width: 2em;
	height: 2em;
}
input[type=checkbox]:checked + label::after {
	top: -2px;
	left: -45px;
	width: 1.5em;
	height: 1.5em;
}
/*--老眼とは---------------------------------------------------------------*/
.rougantoha {
	width: 100%;
	line-height:2em;
	font-size: 1em;
	text-align: center;
	margin: 60px auto 100px auto;
}
.rougantoha div{
	margin: 0 auto;
	width: 90%;
	text-align: left;
}
.rougantoha div p{
	display: inline;
}
#img1 {
	display: block;
	width: 250px;
	text-align: center;
	margin: 0px auto 30px auto;
}
/*かっこ悪い『老眼鏡』は、掛けたくない！-----------------------------------------*/
.osyare {
	width: 90%;
	line-height: 2em;
	font-size: 1em;
	text-align: left;
}
.osyare #setumei p{
	display: inline;
}
.marker{
	display: inline;
}
.heading {
	width: 100%;
	margin: 0px auto;
}
.brands{
	text-align: center;
}
.brands img {
	width: 40%;
	transition-property: all;
	transition: 0.3s linear;
	mix-blend-mode: multiply;
	margin-right: 10px;
}
.brands img:hover {
}

/*--選べる度数--------------------------------------------------------------*/
.meyasu {
	width: 95%;
}
.eraberudo {
	width: 100%;
	font-size: 1.5em;
}
.dotai p {
	font-size: 1em;
}
.meyasu .p16 {
	text-align: left;
}
/*--レンズにについて--------------------------------------------------------------*/
.sdivec {
	width: 100%;
}
.lens {
	font-size: 1.5em;
	word-break: keep-all;
}
.sdivec p:nth-of-type(1) {
	font-weight: bold;
	position: relative;
	z-index: 1;
	top: 15px;
}
.sdivec p:nth-of-type(2) {
	background: #fffbde;
	height: auto;
	line-height: 1.5em;
	padding: 20px;
	font-size: 0.7em;
}
.sdivec p:nth-of-type(2) span {
	font-size: 14px;
}
/*--オススメメガネ--------------------------------------------------------------*/
.frame {
	position: relative;
	width: 100%;
}
.frameitem img {
	width: 90%;
	border: 1px solid #000;
	margin: 20px;
}

footer {
	width: 100%;
	height: auto;
	line-height: 30px;
	font-size: 18px;
	padding: 50px 0;
}

#sitename {
	font-weight: bold;
	font-size: 0.9em;
}
.CONTACT {word-break: keep-all;
	font-size: 18px;
	margin: 50px 5%;
}

}
