/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1.2em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 10px/20px "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "ヒラギノ角ゴシックProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}


.menuitems {
background-color: transparent;
}


#wrapper {
	width: 100vw;
	position: relative;
	min-height: 100vh;
    margin: 0;
	padding: 0;
}

#topwrapper {
	width: 100vw;
	position: relative;
	min-height: 100vh;
    margin: 0;
	padding: 0;
    background-color: rgba(255,255,255,0.1);
}



 	#firstlogo{
        padding-left:20%;
        
	}
	#firstnav{
		width: 98%;
		margin-righ: 1%;
        margin-left: 30%;
        margin-top: 25vh;
		top: 50%;
		transform: translateY(-50%);
	
	}



	#topwrap {
        display:flex;
        flex-direction:column;
		width:100vw;
	}
	#topright {
	}

	#topleft {
	}
	#topcopyright {
		display: none;
		clear: both;
		bottom: 0;
		margin-bottom: 1em;
		right:1em;
		margin-left: 2em;
		font-weight: bold;
		font-size: 1.2em;
	}
	
		#topcopyleft {
		display: block;
		clear: both;
		bottom: 0;
		margin-bottom: 1em;
		right:1em;
		margin-left: 2em;
		font-weight: bold;
		font-size: 1.2em;
	}



.centerlogo {
		position: absolute;
		display: block;
		top: 50%;
		transform: translateY(-50%);
		width:70%;
		padding: 15%;
	}

.centerblock {
	display: block;
	color: black;
	float: none;
	margin-left:  auto;
	margin-right: auto;
	width: 695px;
	}
.widescreen {
	position: relative;
	width: 8000px;
	overflow-x: auto;
	margin-top: 150px;
	padding-bottom: 0;
	margin-left: 60px;
	
}

.yokoga {
	width: 300px;
	float: left;
	margin-left: 10px;
	margin-right: 10px;
    margin-bottom: 10px;
	}
.yokoga3 {
	width: 150px;
	float: left;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	}


#toppage {
    color: gray;
	clear: both;
	float: left;
	margin-top: 2em;	
	margin-left: 1em;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
	}
#shoplistpage {
	color: gray;
	clear: both;
	float: left;
	margin-top: 2em;	
	margin-left: 1em;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
	}

#returnto {
	position: absolute;
	color: gray;
	clear: both;
	left: 2em;
	bottom: 2em;
	font-weight: bold;
	}

#copyright {
	position: absolute;
	color: gray;
	clear: both;
	right: 1em;
	bottom: 0;
	margin-bottom: 1em;
	font-weight: bold;
	font-size: 1.2em;
	}


.credits1 {
	color: black;
	clear: both;
	float: none;
	overflow: hidden;
	margin-top: 0;
	margin-bottom: 0.2em; 
	margin-right: 2em;
	width: 700px;
	text-align: right;
	font-weight: bold;
	font-size: 1.2em;
	}

#boxtitle {
	display:block;
	clear: both;
	width: 700px;
	margin-top: 5%;	
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2%;
	padding-bottom: 20px;
	padding-left: 0;
	font-size: 1.2em;
	}
.logosize {
	height: 45px;
	}
/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 20px solid #e44d26;
}

.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
    background: #f16529;
}

.title {
    color: white;
}
/* ==============
    MOBILE: beams
   ============== */

#beams ul {
    margin-left: 10%;
    margin-top: 10%;
    float: left;
    padding: 0;
}
#beams ul li{
    margin-bottom: 1.6em;
    padding: 5px 0px;
    text-align: left;
    text-decoration: none;
    font-weight: normal;
    background-color: transparent;
    display: block;
}

#beams ul li a {
    margin-bottom: 10px;
    padding: 5px 0px;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
	font-size: 1.2em;
    color: #ff69b4;
    background: transparent;
}

#beams a:hover,
#beams a:visited {
    color: gray;
}

#beams a:hover {
    text-decoration: none;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin-left: 10%;
    margin-top: 10%;
	margin-bottom: 10%;
    float: left;
    padding: 0;
}
nav ul li{
    margin-bottom: 1.6em;
    padding: 5px 0px;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    color: black;
    display: block;
}

nav ul li a {
    margin-bottom: 10px;
    padding: 5px 0px;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    color: black;
}
#firstnav nav ul li a {
    color:black;
}

#firstnav nav ul li a:hover,
#firstnav nav ul li a:visited {
    color: black;
}

nav a:hover,
nav a:visited {
    color: gray;
}

nav a:hover {
    text-decoration: none;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 1.2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */















/* ==========================================================================
   Media Queries
   ========================================================================== */
   

   
   
   
    
   
   
@media only screen and (min-width: 380px) {
    	#topwrap {
        display:flex;
        flex-direction:row;
        flex-wrap:wrap-reverse;
        align-items:center;
		width:100vw;
	}
    
 	#firstlogo{
        padding-top:30%;
	}
    #firstnav{
        margin-top: 25%;
    }
	#topright{
        width: 50%;
	}
    	#topleft{
            
        alig-self: center;
        width: 50%;
	}
	
	#topcopyright{
        display: block;
	}
	 #topcopyleft{
	 display: none;
	 }
	
	
	
	
	
}

@media only screen and (max-height: 600px) {
 	#topcopyright{
        display: none;
	}
}






@media only screen and (min-width: 480px) {
 	#firstlogo{
		width:216px;
	}
	
#haikei1 {
background-size: 120%;
}
	
#haikeigreeting {
background-image: url("../img/greeting2015.png");
-moz-background-size: cover;
background-size: cover;
background-position: 70% center;
background-repeat: no-repeat;
background-attachment: fixed;
}

 	



	
	
/* ====================
    INTERMEDIATE: Menu
    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }
    #beams a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: block;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
    .logosize {
	height: 45px;
	}
}

@media only screen and (min-width: 600px) {


#firstlogo{
		width: 216px;
	}
/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }
	#headtitle {
	margin-right: 15%;
	}
/* ============
    WIDE: Menu
   ============ */



/* ============
    WIDE: Main
   ============ */

}





@media only screen and (min-width: 768px) {



	.centerlogo {
		width: 40%;
		padding: 0 30%;
	}

}


@media only screen and (min-width: 900px) {
	 	#firstlogo{
	}

}


@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}
#greeting {
	width: 80%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position:absolute;
	margin: auto
	}




.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}