/* IMPORT CSS */
@import url("grid.css");
@import url("ress.min.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}

/* テキスト装飾*/
.read {	font-size:2.4rem;}
.read-s { font-size:2.0rem;}
.red { color: #C00;}
.green { color: #060;}
.orange { color:#F60;}
.bold { font-weight:bold;}

@media screen and (max-width:1024px) {
	.read-s { font-size:1.8rem;}
}

@media screen and (max-width:480px) {
	.read {	font-size:2.0rem;}
}

/*-------------------------------------------------
 clearfix
---------------------------------------------------*/

.clearfix:after {
  content: ".";  /* Vvf */
  display: block;  /* ubNxvf */
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

/* リンク
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
    color: #E00000;
}
a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
h1 a img:hover {
	opacity: 1.0;
}

.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}


/*メイン画像
-------------------------------------*/

.mainimg img,.subimg img {
	width: 100vw;
}
.mainimg { padding: 108px 0 0 0; background:#E00000;}
.subimg { padding: 108px 0 0 0; z-index:1; overflow: hidden; position: relative;}

@media screen and (max-width:1024px) {
	.mainimg,.subimg  { padding: 105px 0 0 0;}
}

@media screen and (max-width:768px) {
	.mainimg,.subimg  { padding: 71px 0 0 0;}
}

.subimg .text {
	position:absolute;
	top: 75%;
	transform: translateY(-75%);
	-webkit- transform: translateY(-75%);
	left:0;
	right:40px;
	bottom:0;
	z-index:10;
	color:#FFF;
	font-size: 4.0rem;
	line-height: 1.3;
	font-weight :bold;
	text-shadow:1px 1px 0 #7A5D29,-1px 1px 0 #7A5D29,1px -1px 0 #7A5D29,-1px -1px 0 #7A5D29;
	max-width:1200px;
	margin:0 auto;
	text-align:right;
}

@media screen and (max-width:1024px) {
	.subimg .text {
		font-size: 3.0rem;
		top: 80%;
		transform: translateY(-80%);
		-webkit- transform: translateY(-80%);
	}
}

@media screen and (max-width:480px) {
	.subimg .text {	font-size: 1.8rem;}
}



/*ヘッダー
-------------------------------------*/
header{
	background:#E00000;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:110;
}

.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0 0 0;
}
.telbox {
	margin-left: auto;
	font-size: 1.8rem;
	line-height: 1.2;
	padding: 1.2rem 7.5rem 0 0;
	color:#FFF;
	text-align:right;
}

#logo-kids { display:none;}

@media screen and (max-width:768px) {
#logo-kids {
	display: block;
	position: fixed;
	height: 55px;
	margin: 0 auto;
	text-align: center;
	width: 100%;
	bottom: 0;
	background:#E00000;
	z-index:109;
}
}
@media screen and (max-width:480px) {
#logo-kids img { width:80%; padding:1rem 0 0 0;}
}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-top: 0.6rem;
}
nav li {
    display: block;
    flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
	transition:all 0.6s ease 0s;
	color:#FFF;
}
nav a:hover {
	color:#E00000;
    background-color: #f7f7f7;
	transition:all 0.8s ease 0s;
	border-radius:3px;  
}
nav a {
    padding: 0.5rem 0.7rem;
}



/* 768px以上の表示 */
@media screen and (min-width: 768px){
nav ul {
	font-size:1.8rem;
	margin-bottom: 0.8em;
}

nav li {
	float:left;
	text-align:center;
}
nav a {
    padding: 0.8rem;
}
}

@media screen and (max-width: 1024px){
 nav ul { font-size:1.3rem;}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
	padding: 0.5rem 0 0 0;
}
.head h1 { padding: 0.5rem 0 0 0;}
.head h1 img { width:80%; height:auto;}

.telbox { display:none;}

.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
	font-size:1.6rem;
	margin-bottom:0;
	border-top: 1px solid #ccc;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
nav a {
    padding: 0.8rem;
	display:block;
}
nav a:hover {
	border-radius:0;  
}
}

/* MENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 14px;
    right: 8px;
}

/* 768px以上の表示 */
@media screen and (min-width: 768px){
 #open,#close  {
    width: 70px;
    top: 18px;
    right: 0;
}
}

/* メニューを非表示 */
#navi {
    display: none;
}


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 2rem 0;
}

.main-bg {
	 background-color: #f7f7f7;
	 margin: 3rem 0;
	 padding: 5rem 0 1rem 0;
}

/* モバイル表示 */
@media screen and (max-width:480px) {
  main { margin: 2rem 0;}
}


/*フッター
-------------------------------------*/

footer a { color:#333; text-decoration: none;}
footer ul.menu { list-style:none;}
footer ul.menu li { float:left; padding:0 1em; margin:0.2em 0;}
footer ul.menu li.sen { border-right:#666 solid 1px;}

@media screen and (max-width:480px) {
  footer ul li { font-size:12px; padding:0 0.2em;}
}

/*コピーライト
-------------------------------------*/
.copyright {
    padding: 2rem 0;
    background-color: #E00000;
	color:#FFF;
}

@media screen and (max-width:480px) {
  .copyright { margin: 0 0 55px 0;}
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 35px;
    right: 20px;
	z-index: 2;
}
#pagetop a {
    display: block;
    background: #33418C;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
	text-decoration: none;
	border-radius:4px;
}
#pagetop a:hover {
    background: #666;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}

/* ボタン 
-----------------------------------*/

.btn {
	margin:0 0 2.5em 0;
}

.btn a {
	position: relative;
	display: inline-block;
	padding: 5px 40px 5px 40px;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	z-index: 1;
	background: #33418C;
	border-radius:3px;
}
.btn a:hover {
	color: #fff;
	background: #666;
}

/* 中央寄せ */
.center {
	text-align: center;
}

/* 左寄せ */
.left {
	text-align: left;
}

/* 右寄せ */
.right {
	text-align: right;
}

/* 写真右寄せ テキスト回り込み*/
.imgR img {	float:right; margin:0 0 1em 1em; width: 15%; height:auto;}

@media screen and (max-width:480px) {
	.imgR img {	width: 40%;}
}