@charset "utf-8";

/*--全体共通のスタイル--*/

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}
body {
    font-family: 'Noto Serif JP', serif;
    color: #000000;
    margin: 0;
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    min-height: 100vh;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
.sp2 {
    display: none;
}

p {
    margin: 0;
    word-wrap: break-word;
}
a {
    text-decoration: none;
    color: #333333;
}
a:hover {
    opacity: 0.8;
}
.wrap {
    overflow: hidden;
    width: 900px;
    margin: 0 auto;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
dd {
    margin: 0;
}
figure {
    margin: 0;
    padding: 0;
}
form strong {
    display:block;
    color: #C83956;
    font-size:13px;
}
.left {
    float: left;
}
.right {
    float: right;
}
.flexbox {
    display:-webkit-box;
  	display:-ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
	-ms-flex-pack: justify;
    justify-content: space-between;
    align-items: flex-start;
}
article {
    margin: 0;
    padding: 0;
}
section {
    margin: 0;
    padding: 0;
}
.active {
    display: block;
}
.passive {
    display: none;
}
.red {
    color: #C83956 !important;
}
.blue {
    color: #3179A7 !important;
}

/*--全体共通のスタイルここまで--*/

/*--header--*/

header {
    width:100%;
    height: 100px;
    z-index: 100;
    background-color: #ffffff;
    position: relative;
}
header h1 {
    margin: 20px auto auto 20px;
    width: 220px;
    height: auto;
    float: left;
}
header h1 img {
    width: 220px;
    height: auto;
}
header .login {
    display:-webkit-box;
  	display:-ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
	-ms-flex-pack: justify;
    justify-content: space-between;
    align-items: flex-start;
    
    margin: 0 32px auto auto;
    width: 414px;
    height: 36px;
    position: absolute;
    top: 0;
    right: 0;
}
header .login p {
    display: inline-block;
}
header .login p a {
    display: inline-block;
    width: 200px;
    height: 36px;
    border-radius: 0 0 10px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    padding-top: 8px;
    padding-left: 54px;
    letter-spacing: 0.2em;
}
header .login p a.parents {
    background-color: #C83956;
    background-image: url(../images/common/parents_w.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: left 12px bottom;
    margin-right: 10px;
}
header .login p a.business {
    background-color: #3179A7;
    background-image: url(../images/common/business_w.png);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: left 12px bottom;
}
header nav { 
    margin: 20px 32px auto auto;
    position: absolute;
    right: 0;
    bottom: 20px;
}
header nav ul.flexbox {
    align-items: center;
}
header nav ul li {
    line-height: 1.2;
    border-right: 1px solid #C83956;
    padding-right: 18px;
    padding-left: 18px;
}
header nav ul li:first-of-type {
    padding-left: 0;
}
header nav ul li:last-of-type {
    border-right: none;
    padding-right: 0;
}
header nav ul li a {
    font-size: 14px;
    font-weight: bold;
}

/*--headerここまで--*/

/*--main--*/

main h2 {
    width: 100%;
    height: 160px;
    margin: 0;
    text-align: center;
    color: #000000;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.2em;
    padding: 67px 0;
    background-color: #FCF5F7; 
}
main.business h2 {
    background-color: #F5F8FB; 
}
main.admin h2 {
    background-color: #f3f3f3; 
}
main .inner {
    width: 590px;
    max-width: 92%;
    margin: 0 auto;
}

/*--パンくずリスト--*/

nav.bread {
    display: block;
    margin: 14px 0px 10px;
}
nav.bread li {
    display:inline-block;
    margin-right: 2px;
    font-size:13px;
}
nav.bread li::after {
    content: " 　>";
}
nav.bread li:last-of-type::after {
    content: "";
}
nav.bread li a {
    font-size:14px;
}

/*--パンくずリストここまで--*/

/*--ログイン--*/

.login .inner {
    padding-bottom: 100px;
}
.login h2 {
    color: #C83956;
}
.login form {
    width: 100%;
    margin: 60px 0 73px;
}
.login form dl {
    width: 100%;
}
.login form dt {
    display: inline-block;
    width: 25%;
    height: 35px;
    margin-bottom: 30px;
    padding-top: 4px;
    font-size: 15px;
}
.login form dt:first-of-type {
    padding-left: 40px;
    background-image: url(../images/common/icon_mail.png);
    background-size: 44px;
    background-repeat: no-repeat;
    background-position: left top;
}
.login form dt:nth-of-type(2) {
    padding-left: 40px;
    background-image: url(../images/common/icon_key.png);
    background-size: 44px;
    background-repeat: no-repeat;
    background-position: left center;
}
.login form dl.business dt:first-of-type {
    background-image: url(../images/common/icon_mail_blue.png);
}
.login form dl.business dt:nth-of-type(2) {
    background-image: url(../images/common/icon_key_blue.png);
}
.login form dd {
    display: inline-block;
    width: 74%;
    margin-bottom: 30px;
}
.login form dd input {
    width: 100%;
    height: 35px;
    border: 1px solid #999999;
    border-radius: 6px;
    padding: 10px;
    font-size: 15px;
}
.login form .loginbtn {
    display: block;
    width: 220px;
    height: 38px;
    margin: 49px auto 0;
    padding: 9px 30px;
    color: #C83956;
    background-image: url(../images/common/arrow.png);
    background-size: 17px;
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-color: #ffffff;
    border: 1px solid #C83956;
    border-radius: 8px;
}
.login form .loginbtn:hover {
    background-color: #c83956;
    color: #ffffff;
    background-image: none;
    cursor: pointer;
}

main.business form .loginbtn,
main.admin form .loginbtn {
    color: #3179A7;
    background-image: url(../images/common/arrow_blue.png);
    background-size: 17px;
    border: 1px solid #3179A7;
}
main.business form .loginbtn:hover,
main.admin form .loginbtn:hover {
    background-color: #3179A7;
}
/*--ログインここまで--*/

/*--利用規約--*/

.terms .inner {
    width: 700px;
    max-width: 100%;
    padding-bottom: 100px;
    margin: 60px auto;
    font-size: 13px;
}
.terms h3 {
    font-size: 14px;
}
.terms p {
    margin-bottom: 30px;
}

/*--利用規約ここまで--*/

/*--プライバシーポリシー--*/

.privacy .inner {
    width: 700px;
    max-width: 100%;
    margin: 60px auto;
    padding-bottom: 100px;
    font-size: 13px;
}
.privacy h3 {
    font-size: 18px;
    text-align: center;
}
.privacy p {
    margin-bottom: 30px;
}
.privacy ul {
    list-style-type: decimal;
    padding-left: 2em;
    margin-bottom: 30px;
}
.privacy h4 {
    font-size: 15px;
    background-color: #F9EBEE;
    padding: 5px 0 2px 10px;
}
.privacy h5, .privacy h6 {
    font-size: 13px;
    margin-bottom: 0;
}



/*--プライバシーポリシーここまで--*/

/*--mainここまで--*/

/*--footer--*/

footer {
    position: absolute;
    bottom: 0;
    width: 100vw;
    min-height: 80px;
    background-color: #ffffff;
    border-top: 2px solid #cccccc;
    padding: 24px 0 30px 0;
}
footer ul {
    float: right;
}
footer ul li {
    display:inline-block;
    margin-left: 50px;
}
footer ul li a {
    text-decoration: underline;
    color: #000000;
    font-size:13px;
}
footer small {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
}

/*--footerここまで--*/

#errorMessage{
    text-align:center;
    margin-bottom:20px;
    background-color:#C83956;
    color:#fff;
    padding:6px 0;
}
#successMessage{
    text-align:center;
    margin-bottom:20px;
    background-color:#3179A7;
    color:#fff;
    padding:6px 0;
}

/*-- スマートフォン用ここから --*/

@media screen and (max-width:987px) { 
    
    /*--sp 全体共通のスタイル--*/
    
    .wrap {
        width:92%;
    }
    .pc {
        display: none !important;
    }
    .sp {
        display: block;
    }
    .sp2 {
        display: none;
    }
    
    /*--sp 全体共通のスタイルここまで--*/
    
    /*--sp header--*/
    
    header h1 {
        margin: 20px auto auto 10px;
        width: 36%;
        max-width: 220px;
        height: auto;
        float: left;
    }
    header h1 img {
        width: 100%;
        height: auto;
    }
    header nav{
	margin-right:0;
    }

    nav.NavMenu{
        position: fixed;
        z-index: 500;
        top: -30px;
        left: 0;
        background: #ffffff;
        color: #000;
        text-align: center;
        width: 100%;
        transform: translateY(-100%);
        transition: all 0.6s;
    }
    nav.NavMenu ul{
        width: 90%;
        margin: 0 auto;
        padding-top:65px;
        padding-bottom: 60px;
        color:#666666;
    }
    nav.NavMenu ul li{
        font-size: 1.1em;
        list-style-type: none;
        padding:3% 10%;
        width: 100%;
        background: #ffffff;
        margin-bottom: 10px;
        border-radius: 5px;
    }
    nav.NavMenu ul li:first-of-type {
    padding-left: 10%;
}

    nav.NavMenu ul li a{
        display: block;
        color: #000;
        text-align:left;
	font-size:16px;
    }
    
    header nav.NavMenu ul li {
        border-right: none;
        padding-right: 0;
	border-bottom:1px solid #C83956;
	border-radius:0;
    }	
    header .NavMenu li.parents {
        background-color: #C83956;
	background-image: url(../images/common/parents_w.png);
	background-size: 30px;
	background-repeat: no-repeat;
	background-position: right 20px bottom;
	border-bottom:none;
    }
    header .NavMenu li.business {
        background-color: #3179A7;
	background-image: url(../images/common/business_w.png);
	background-size: 40px;
	background-repeat: no-repeat;
	background-position: right 20px bottom;
	border-bottom:none;
    }
    header .NavMenu li.parents a,
    header .NavMenu li.business a{
	color:#fff;
    }


    
    nav.NavMenu.active{
        transform: translateY(0%);
    }
    .Toggle {
        display: block;
        position: absolute;
        right: 35px;
        top: 38px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 600;
    }
    .Toggle span {
        display: block;
        position: absolute;
        width: 36px;
        border-bottom: solid 2px #5e5e5e;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;	
        transition: .35s ease-in-out;
    }
    .Toggle span:nth-child(1) {
        top: 10px;
    }
    .Toggle span:nth-child(2) {
        top: 22px;
    }
    .Toggle span:nth-child(3) {
        top: 34px;
    }
    .Toggle.active span:nth-child(1) {
        top: 28px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .Toggle.active span:nth-child(2),
    .Toggle.active span:nth-child(3) {
        top: 28px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    
    /*--sp headerここまで--*/
    
    .return {
        position: fixed;
        bottom: 90px;
        right: 20px;
        opacity: 0;
        visibility: hidden;
        z-index: 800;
    }
    .return.active{
      visibility: visible;
    }
    
    
    .return img {
        width: 100px;
        height: auto;
    }
    
}

@media screen and (max-width:750px) { 
    
    .pc {
        display: none;
    }
    .sp2 {
        display: block;
    }
    .wrap {
    width: 92%;
    margin: 0 auto;
}
    
    /*--sp2 header--*/

    header{
	height:80px;
    }
    header h1 {
        margin: 19px auto auto 10px;
    }
    header .login {
        margin: 20px 56px auto auto;
        width: 40%;
        height: auto;
    }
    header .login p {
        display: inline-block;
        width: 44%;
        margin-right: 6px;
    }
    header .login p a {
        display: inline-block;
        width: 100%;
        height: auto;
        border-radius: 10px;
        /*font-size: 13px;*/
	font-size: 10px;
        font-weight: bold;
        color: #ffffff;
        padding-top: 10px;
        padding-left: 0;
        padding-bottom: 7px;
        padding-right: 0;
        letter-spacing: 0.2em;
        text-align: center;
	line-height:140%;
    }

    .Toggle {
        right: 10px;
        top: 24px;
    }
    /*--sp2 headerここまで--*/
    
    /*--sp2 main--*/
    
    main h2 {
    height: 100px;
    font-size: 20px;
    padding: 40px 0;
}
    /*--sp2 login--*/
    
    .login form dt {
    display: block;
    width: 100%;
    height: 35px;
    margin-bottom: 0;
    padding-top: 4px;
    font-size: 15px;
}
.login form dd {
    display: block;
    width: 100%;
    margin-bottom: 30px;
}
    
    /*--sp2 loginここまで--/
    
    /*--sp2 footer--*/
    
    footer div.wrap {
	text-align:center;
    }
    footer ul.flexbox {
	display:inline-block;
    }
    footer ul {
        float: none;
        /*width: 80%;*/
        margin: 0 auto;
    }
    footer ul li {
        display:inline-block;
        margin-left: 10px;
        margin-right: 10px;
    }
    footer small {
        width: 100%;
        text-align: center;
        margin-top: 24px;
    }
    
    /*--sp2 footerここまで--*/
    
}

    
