/* =====================================================================
style.css
================================================================== */
@charset "utf-8";
/* CSS Document */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html,body{
	width: 100%;
	margin: 0;
	padding: 0;
}

body{
	background: #fff;
	color:#333;
	font-size: 13px;
	margin: 0 auto;
	font-family: "メイリオ", Meiryo, sans-serif;
}

img {
	border: 0;
}

a {
	text-decoration: none;
	cursor: pointer;
	color: #6495ed;
}

a:hover{
	color: #ccc !important;
}

a:visited{
	color: #6495ed;
}

li {
	list-style-position: inside;
	list-style-type: none;
}

.center {
	text-align: center !important;
}

.clear{
	clear:both;
}

.red {
	color: #ff333d;
}

.blue{
	color: blue;
}

.yellow{
	color: yellow;
}

.bold{
	font-weight: bold;
}

.fleft{
	float: left;
}

.fright{
	float: right;
}

h5 {
	font-size: 20px;
	font-weight: bold;
}

/* ==========================================================================
footer
========================================================================== */
footer{
	background-image: url('../images/footer-bg.jpg');
	background-repeat: no-repeat;
	background-position: bottom;
	width: 100%;
}

footer p{
	padding-top: 26px;
	padding-bottom: 26px;
	padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    color: #fff;
    font-size: 10px;
    line-height: 1.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* ==========================================================================
nav
========================================================================== */
nav{
	width: 100%;
	height: 45px;
	line-height: 45px;
	background: #F4ABC4;
}

.g-navi {
	display: flex;
	justify-content: space-evenly;
}

.g-navi span {
	font-size: 16px;
	font-weight: bold;
	font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	transition: .3s;
	color: #fff;
}
.g-navi a:hover {
	opacity: 0.5;
}

.g-navi > li {
	position: relative;
	margin: 0;
    font-size: 12px;
}

.g-navi > li > .submenu{
	background: rgba(221, 221, 221, 0.8);
	position: absolute;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
    margin-top: -2px;
    left: 50%;
    margin-left: -120px;
    width: 240px;
    z-index: 999999;
}

.g-navi .submenu > li {
	display: none;
	float: none;
}

.g-navi li:hover > .submenu > li {
	display: block;
	z-index: 999999999;
}

.g-navi .submenu > li > a {
	display: block;
	overflow: hidden;
	padding: 5px 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    color: #ED8DB3;
    font-weight: bold;
    opacity: 1;
}

/* ==========================================================================
ham
========================================================================== */
#ham {
	display: none;
}

#ham-menu {
    background-color: #F4ABC4;
    box-sizing: border-box;
    height: 100%;
    padding: 10px 40px;
    position: fixed;
    right: -300px;
    top: 0;
    transition: transform 0.3s linear 0s;
    width: 300px;
    z-index: 1000;
}

#ham-menu span {
	font-size: 16px;
	font-weight: bold;
	font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	transition: .3s;
	color: #fff;
}

#menu-icon {
    background-color: #F4ABC4;
    border-radius: 0 0 0 10px;
    color: #f1f1f1;
    cursor: pointer;
    display: block;
    font-size: 50px;
    height: 50px;
    line-height: 50px;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
    transition: all 0.3s linear 0s;
    z-index: 1000;
}

#menu-cb {
    display: none;
}

#menu-cb:checked ~ #ham-menu,
#menu-cb:checked ~ #menu-icon {
    transform: translate(-300px);
}

#menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
}

#ham-menu ul {
	margin-left: 10px;
}

#ham-menu ul li{
	padding: 5px 0;
}

#ham-menu ul li a{
	font-size: 15px;
	color: #fff;
}

#ham-menu ul li a:hover{
	opacity: 0.7;
}

/* ==========================================================================
pagetop
========================================================================== */
#pagetop {
    position: fixed;
    right: 0;
    bottom: 0;
    text-indent: -9999px;
    margin: 0;
}

#pagetop a {
    position: relative;
    display: block;
    width: 65px;
    height: 65px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity .6s ease;
}

#pagetop a::before {
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    content: '';
    transform: rotate(-45deg);
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
    box-sizing: border-box;
}

/* ==========================================================================
Adsense
========================================================================== */
.ads {
	width: 80%;
	margin: 20px auto;
	text-align: center;
	
}

/* ==========================================================================
sp
========================================================================== */
@media only screen and (max-width: 738px){

	nav{
		display: none;
	}
	
	#ham{
		display: block;
	}
	
	header .top-title {
		top: 50% !important;
	}
	
	header .top-title h2 {
		font-size: 18px !important;
	}

	header .top-title p {
		font-size: 15px !important;
	}

	#container #description,
	#container #lovelist,
	#container #love_article,
	#container #love_lesson {
		font-size: 15px !important;
	}

	#article_title h2,
	#list_title h2,
	#curriculum_title_m h2,
	#curriculum_title_w h2 {
		font-size: 18px !important;
	}

	#container #love_lesson .pager {
		width: 98% !important;
	}

	#lovelist ul li {
		width: 98% !important;
	}

	#container #description #osusume {
    	float: none;
    	width: 98%;
		margin: 0 auto;
	}
	
	#container #description #lesson-osusume {
		float: none;
		width: 98%;
		margin: 0 auto;
	}
}