﻿@charset "UTF-8";
/* 2015-08-22 */
/* document type CSS 3 */
/* /mya2015/d5omega.css */


/* print */
@media print {
body {
	background-color: #FFFFFF;
}
#wrapperouter #footermain p:after{content: ", print.";}
#wrapperouter {
	width: 98%;
	max-width: 800px;
}
#printwrap {
	display: block;
	max-width: 800px;
	width: 98%;
}
#menu1wrap {
	display: none;
}
#menu2wrap {
	display: none;
}
#menu3wrap {
	display: none;
}
iframe {
    max-height: 800px;
}
}


/* PORTRAIT */

/* P769+ (computer half screen) */
@media screen and (min-width: 769px) and (orientation: portrait) {
#wrapperouter #footermain p:after{content: ", P769+.";}
#wrapperouter {
	width: 98%;
	max-width: 769px;
}
iframe {
    max-height: 769px;
}
}


/* P768 (iPad 1-4, Air 1-2, Mini 1-3 portrait) (Air 2 portrait) */
@media screen and (min-width: 701px) and (max-width: 768px) and (orientation: portrait) {
#wrapperouter #footermain p:after{content: ", P768.";}
#wrapperouter {
	width: 96%;
	max-width: 701px;
}
iframe {
    max-height: 701px;
}
}


/* P700 gap */
@media screen and (min-width: 619px) and (max-width: 700px) and (orientation: portrait) {
#wrapperouter #footermain p:after{content: ", P700.";}
#wrapperouter {
	width: 96%;
	max-width: 619px;
}
iframe {
    max-height: 619px;
}
}


/* P618 (Samsung Galaxy Tab 2 portrait) */
@media screen and (min-width: 516px) and (max-width: 618px) and (orientation: portrait) {
#wrapperouter #footermain p:after{content: ", P618.";}
#wrapperouter {
	width: 96%;
	max-width: 516px;
}
iframe {
    max-height: 516px;
}
}


/* P515 gap */
@media screen and (min-width: 415px) and (max-width: 515px) and (orientation: portrait) {
#wrapperouter #footermain p:after{content: ", P515.";}
#wrapperouter {
	width: 96%;
	max-width: 415px;
}
iframe {
    max-height: 415px;
}
#headermain .name1 {
	font-size: 1.625em;
	letter-spacing: normal;
}
#headermain .name2 {
	font-size: 1.1875em;
	letter-spacing: normal;
}
}


/* P414 (iPhone 6 Plus portrait, smallest on chrome) */
@media screen and (min-width: 376px) and (max-width: 414px) and (orientation: portrait) {
#wrapperouter #footermain p:after{content: ", P414.";}
#wrapperouter {
	width: 96%;
	max-width: 376px;
}
#headermain .name1 {
	font-size: 1.5625em;
	letter-spacing: normal;
}
#headermain .name2 {
	font-size: 1.125em;
	letter-spacing: normal;
}
h1 {
	font-size: 1.375em;
}
h2 {
	font-size: 1.25em;
}
h3 {
	font-size: 1.1875em;
}
h4 {
	font-size: 1.125em;
}
h5 {
	font-size: 1.0625em;
}
h6 {
	font-size: 1.0em;
}
iframe {
    max-height: 376px;
}
}


/* P375 (iPhone 6 portrait) */
@media screen and (min-width: 321px) and (max-width: 375px) and (orientation: portrait) {
#wrapperouter #footermain p:after{content: ", P375.";}
#wrapperouter {
	width: 96%;
	max-width: 321px;
}
#headermain .name1 {
	font-size: 1.5625em;
	letter-spacing: normal;
}
#headermain .name2 {
	font-size: 1.125em;
	letter-spacing: normal;
}
h1 {
	font-size: 1.375em;
}
h2 {
	font-size: 1.25em;
}
h3 {
	font-size: 1.1875em;
}
h4 {
	font-size: 1.125em;
}
h5 {
	font-size: 1.0625em;
}
h6 {
	font-size: 1.0em;
}
iframe {
    max-height: 321px;
}
}


/* P320 (iPhone 2G, 3GS, 4, 4S, 5, 5C, 5S portrait, iPod Touch 4-5 portrait) (white Samsung or ZTE portrait) (smallest on Firefox) */
@media screen and (max-width: 320px) and (orientation: portrait) {
#wrapperouter #footermain p:after{content: ", P320.";}
#wrapperouter {
	width: 96%;
	max-width: 320px;
}
#headermain .name1 {
	font-size: 1.375em;
	letter-spacing: normal;
}
#headermain .name2 {
	font-size: 1.0625em;
	letter-spacing: normal;
}
h1 {
	font-size: 1.3125em;
}
h2 {
	font-size: 1.25em;
}
h3 {
	font-size: 1.1875em;
}
h4 {
	font-size: 1.125em;
}
h5 {
	font-size: 1.0625em;
}
h6 {
	font-size: 1.0em;
}
iframe {
    max-height: 250px;
}
}




/* LANDSCAPE */

/* L1081+ (10" android landscape) */
@media screen and (min-width: 1081px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L1081+.";}
#wrapperouter {
	width: 98%;
	max-width: 800px;
}
iframe {
    max-height: 450px;
}
}


/* L1080 (10" android landscape) */
@media screen and (min-width: 1025px) and (max-width: 1080px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L1080.";}
#wrapperouter {
	width: 98%;
	max-width: 800px;
}
iframe {
    max-height: 400px;
}
}


/* L1024 (iPad 1-4, Air 1-2, Mini 1-3 landscape) (Air 2 landscape, Samsung Galaxy Tab 2 landscape) */
@media screen and (min-width: 963px) and (max-width: 1024px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L1024.";}
#wrapperouter {
	width: 98%;
	max-width: 800px;
}
iframe {
    max-height: 400px;
}
}


/* L962 (Samsung Galaxy Note 8 landscape) */
@media screen and (min-width: 851px) and (max-width: 962px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L962.";}
#wrapperouter {
	width: 98%;
	max-width: 800px;
}
iframe {
    max-height: 350px;
}
}


/* L850 gap */
@media screen and (min-width: 737px) and (max-width: 850px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L850.";}
#wrapperouter {
	width: 98%;
	max-width: 737px;
}
iframe {
    max-height: 350px;
}
}


/* L736 (iPhone 6 Plus landscape) */
@media screen and (min-width: 668px) and (max-width: 736px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L736.";}
#wrapperouter {
	width: 96%;
	max-width: 668px;
}
iframe {
    max-height: 300px;
}
}


/* L667 (iPhone 6 landscape) */
@media screen and (min-width: 569px) and (max-width: 667px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L667.";}
#wrapperouter {
	width: 96%;
	max-width: 569px;
}
iframe {
    max-height: 250px;
}
}


/* L568 (iPhone 5, 5C, 5S landscape, iPod Touch 5 landscape) (ZTE landscape) */
@media screen and (min-width: 481px) and (max-width: 568px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L568.";}
#wrapperouter {
	width: 96%;
	max-width: 481px;
}
#headermain .name1 {
	font-size: 2em;
	letter-spacing: normal;
}
iframe {
    max-height: 200px;
}
}


/* L480 (iPhone 2G, 3GS, 4, 4S landscape, iPod Touch 4 landscape) (white Samsung landscape) */
@media screen and (max-width: 480px) and (orientation: landscape) {
#wrapperouter #footermain p:after{content: ", L480.";}
#wrapperouter {
	width: 96%;
	max-width: 415px;
}
#headermain .name1 {
	font-size: 1.5em;
	letter-spacing: normal;
}
#headermain .name2 {
	font-size: 1.125em;
	letter-spacing: normal;
}
h1 {
	font-size: 1.3125em;
}
h2 {
	font-size: 1.25em;
}
h3 {
	font-size: 1.1875em;
}
h4 {
	font-size: 1.125em;
}
h5 {
	font-size: 1.0625em;
}
h6 {
	font-size: 1.0em;
}
iframe {
    max-height: 200px;
}
}
