@charset "utf-8";

/* 全体 */
html{
	height: 100%;
    background-color: transparent;
    background-image: none;
}

body{
    /*font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;*/
    font-family:"メイリオ","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3","ＭＳ Ｐゴシック",Osaka, sans-serif;
	-webkit-text-size-adjust: 100%;
	font-size: 1.0em;
	font-weight:normal;
	font-style:normal;
	line-height:150%;
    /* position: relative; */
    height:auto !important; /*IE6対策*/
    height: 100%; /*IE6対策*/	
    min-height: 100%;
	padding:0px;
    color: #333333;
    margin: 0px;
/*    background-color:#f3f3f3;*/
    background-color:#FFF9E1;
	/* background-color: #ffffff; */
}

.main_parts{
    clear: both;
    margin: auto;
    width: 100%;
    max-width: 1180px;
    box-sizing: border-box;
}

.main_parts:after{
	content: "";
	clear: both;
	display: block;
}

/* ヘッダー */
header#main_header{
	margin-top: 0em;
	padding: 1em;
    background-color: #ffffff;
}

header#main_header > div#logo_div{
	float: left;
}

header#main_header > div#logo_div > img{
	max-width: 100%;
}

header#main_header > div#user_info_div{
	float: right;
}

header#main_header > div#user_info_div span.key{
}

header#main_header > div#user_info_div span.key:after{
	content: " : ";
}

header#main_header > div#user_info_div span.value{
    padding-left: 0.5em;
}

header#main_header > div#user_info_div > button{
	margin-left: 2em;
	padding: 0.2em 1em;
	border-radius: 0.5em;
	color: #fff;
	background-color: #f74040;
	border: 3px double #fff;
	
}

@media screen and (max-width: 700px) {
    header#main_header > div#logo_div{
        width: 30%;
    }
    header#main_header > div#user_info_div{
        width: 70%;
    }
    
    header#main_header > div#user_info_div span{
        font-size: 0.9em;
    }
}

@media screen and (max-width: 700px) {
    header#main_header > div#user_info_div span.value:after{
        content:"\A";
        white-space: pre;
    }

    header#main_header > div#user_info_div > button{
        float: right;
    }
    
}

@media screen and (max-width: 600px) {
    header#main_header > div#logo_div{
        width: 40%;
    }
    header#main_header > div#user_info_div{
        width: 60%;
    }
}

@media screen and (max-width: 500px) {
    header#main_header > div#logo_div, header#main_header > div#user_info_div{
        width: 100%;
    }
}


@media screen and (max-width: 330px) {
    header#main_header > div#user_info_div span.key:after{
        content:" : \A";
        white-space: pre;
    }
}


/* メニュー */
nav#main_nav{
    background-color: #fff; 
	/*
    color: #ffffff;
	border-left: 0.5em solid #fff;
	border-right: 0.5em solid #fff;
	*/
}

span#main_menu_link_span{
    visibility: hidden;
}

ul#main_menu_ul{
	float: left;
	width:80%;
	white-space:nowrap;
	overflow-x: hidden;
	overflow-y: hidden;
	margin-right: 1em;
    
}

ul#main_menu_ul > li{
	display:inline-block;
    width: 20%;
	min-width: 10em;
    
    box-sizing: border-box;
    text-align: center;
	border-top: 2px solid #65ace4;
	border-left: 2px solid #65ace4;
	border-right: 2px solid #65ace4;
	border-bottom: 2px solid #fff;

	padding:0.5em 0;
	position: relative;
	border-top-right-radius: 1em;
	
	background-color: #fff;
    color: #333;
}

ul#main_menu_ul > li.selected_menu{

	border-bottom: 2px solid #65ace4;
    background-color: #65ace4;
    color: #ffffff;
}

nav#main_nav > button{
	float: right;
	margin: 0 0.5em 0.5em 0.5em;
	padding:0.1em 1em;
}

@media screen and (max-width: 720px) {

    ul#main_menu_ul li, button#main_menu_scroll_right_button, button#main_menu_scroll_left_button{
        display: none;
    }

    ul#main_menu_ul li.selected_menu{
        display: inline-block;
    }
    
	nav#main_nav {
		border-left: none;
		border-right: none;
		text-align: right;
		padding: 0.2em 0.2em 0.1em 0.2em;
        background-color: #65ace4;
	}
	
    span#main_menu_link_span{
        visibility: visible;
        display: block;
        color:#fff;
        background-color: #65ace4;
        border: 3px double #fff;
        float: left;
        width: 25%;
        text-align: center;
        box-sizing: border-box;
        margin-top: 0.3em;
        font-size: 0.9em;
	}
    
    ul#main_menu_ul{
        display: block;
        box-sizing: border-box;
        width: 75%;
        margin-right: 0;
    }

    ul#main_menu_ul li{
        font-size: 0.9em;
        width: 100%;
		text-align: left;
        padding-left: 0.5em;
        color: #65ace4;
        background-color: rgba(255,255,255,0.8);
        border-radius: 0;
    }

    ul#main_menu_ul li.selected_menu{
        background-color: #65ace4;
    }
    
}

/* メイン */
article#main_article{
    box-sizing: border-box;
    background-color: #ffffff;
	border-top: 2em solid #65ace4;
	border-left: 2px solid #65ace4;
	border-right: 2px solid #65ace4;
	min-height: 35em;
	border-top-right-radius: 1em;
    padding: 2em 2em 1.5em 2em;
	font-size: 0.9em;
}

@media screen and (max-width: 720px) {
    article#main_article{
        border-top: none;
        border-top-right-radius: 0;
        padding: 1.5em 0.5em 1em 0.5em;
        font-size: 0.86em;
    }
}

@media screen and (max-width: 550px) {
    article#main_article{
        border-left: none;
        border-right: none;
        padding: 1.2em 0.2em 0.8em 0.2em;
        font-size: 0.82em;
    }
}

/* フッター */
footer#main_footer{
    background-color: #3e5665;
	background-color: #101986;
    color: #ffffff;
    padding: 1em;
    box-sizing: border-box;
}

footer#main_footer > section#copyright_section{
	clear: both;
	text-align: center;
	font-size: 0.85em;
}


footer#main_footer > section#copyright_section:after{
    content: "Copyright (C) LIFE LINE. All Rights Reserved."
}

@media screen and (max-width: 720px) {
    footer#main_footer > section#copyright_section{
        clear: both;
        text-align: center;
        font-size: 0.78em;
    }
}

@media screen and (max-width: 550px) {
    footer#main_footer > section#copyright_section{
        clear: both;
        text-align: center;
        font-size: 0.62em;
    }
}

