@charset "UTF-8";

* {margin:0; padding:0;}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

html,body {height: 100%;}
html {
 text-size-adjust:100%;
 -webkit-text-size-adjust:100%;
}
body {
	font-size: 16px;
	font-family: 'Noto Sans JP', sans-serif;
	background: #fff;
    text-rendering: geometricPrecision;
    width:100%;
    min-height: 100% !important;
    height: auto;
    margin: 0;
    padding: 0;
    word-wrap:break-word;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    font-feature-settings: "palt";
}

#wrap {
    position: relative;
        width:100%;
	margin: 0;
        min-height: 100%;
        height: auto !important;
        height: 100%;
	background: #fff;
}

header {
	position: fixed;
        top:0;
        left:0;
	width: 100%;
max-width:100vw;
        height:68px;
	padding: 10px 0 10px 30px;
	background:#fff;
	display: block;
        z-index: 2;
}
img.toplogo{
    height: -webkit-calc(100% - 15px);
    height: calc(100% - 15px);
    width: auto;
    margin: 10px 15px 5px 10px ;
    position: absolute;
    top: 0;
    left:0px;
    right:unset;
}
#main {
	background: #fff;
	padding-top: 68px;
	min-height: -webkit-calc(100vh - 68px);
	min-height: calc(100vh - 68px);
        width:100%;      
}


@media print, screen and (min-width: 1000px){
header {display:none;}
#main {margin-right:260px;}
img.toplogo{
        width: 258px;
        height: 258px;
        margin: 0 auto;
        border-bottom: 1px solid #666;
        position: absolute;
        top: 0;
        left: 0px;
        right: unset;
        background:#fff;
        padding:10px;
}
#main {
    padding-top:0px;
    min-height:100vh;
    -moz-transition: margin-right .25s linear;
    -webkit-transition: margin-right .25s linear;
    transition: margin-right .25s linear;
    width: -webkit-calc(100% - 260px);
    width: calc(100% - 260px);
}
}

#main p {margin-bottom:1em; line-height:1.9;}
#main .inner {padding: 4vw 5vw 4vw; max-width:1000px; margin:0 auto;}

#global-nav ul {
	list-style: none;
	margin-left: 0;
        margin-top: 0px;
}
#global-nav > ul > li {position:relative;}
#global-nav a {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 15px;
	-moz-transition: color .3s linear;
	-webkit-transition: color .3s linear;
	transition: color .3s linear;
        border-bottom: 1px solid #fff;
}
#global-nav .menu-item-has-children.is-active > a,
#global-nav a:hover {opacity:0.8;}
/* sub-menu icon */
#global-nav li.menu-item-has-children a {position:relative;}
/*#global-nav li.menu-item-has-children > a:after {  // >
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 18px;
	margin: auto;
	vertical-align: middle;
	width: 8px;
	height: 8px;
	border-top: 2px solid #666;
	border-right: 2px solid #666;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}*/
#global-nav li.menu-item-has-children > a:after { 
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 18px;
	margin: auto;
	vertical-align: middle;
	width: 8px;
	height: 8px;
	border: 2px solid #666;
        border-left: 0;
        border-bottom: 0;
        transform: translateY(-25%) rotate(135deg);
}
#global-nav .menu-item-has-children.is-active > a:after,
#global-nav li.menu-item-has-children a:hover:after {
	border-color: #666;
}
#global-nav .is-active li.menu-item-has-children a:after {
	-moz-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}
/* sub-menu */
#global-nav .sub-menu {
	background: #fff;
	display: none;                      /*プルダウンを開いたままにした */
	padding: 0px 0;
	-moz-transition: all .4s ease;
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
}
#global-nav .sub-menu a {color: var(--color-d); padding:8px 15px 8px 30px;}
#global-nav .sub-menu a:hover {opacity:0.8;}




@media screen and (max-width: 999.9px) {
#nav-toggle {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 68px;
        width:68px;
        background: var(--color-d);
	z-index: 3;
}
#nav-toggle > div.toggle-in {
        display:block;
	position: relative;
	width: 27px;
	height: 27px;
	top: 22px;
	left: 22px;
}
#nav-toggle span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
/* #nav-toggle close */
#nav-toggle span:nth-child(1) {
	top: 0;
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	transform: rotate(0);
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	transform: rotate(0);
}

/* close */
.close #nav-toggle span:nth-child(1) {
	top: 10px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}
.close #nav-toggle span:nth-child(2) {
	width: 0%;
}
.close #nav-toggle span:nth-child(3) {
	top: 10px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.close #main {margin-left: 0;}
#nav-toggle span {background: #fff;}
.close #nav-toggle span {background: #fff;}
#sidebar {display:none;}
.close #sidebar {
    display:block;
    height: -webkit-calc(100% - 68px);
    height: calc(100% - 68px);
	width: 260px;
	color: #fff;
	background: var(--color-d);
	position: fixed;
        right:0;
	top:68px;
	z-index: 910;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
}


.widget{margin:0.5em 0.5em 0.5em 1em;}
.widget ul{padding:0.5em 0 0.5em 1.5em !important;}
.widget ul li a{color:#fff; text-decoration:none;}
.widget ul li:before{color:#fff !important;}

@media print, screen and (min-width: 1000px)
{
#sidebar {
	position: fixed;
        right:0;
	top: 0;
        height:100%;
	width: 260px;
	color: var(--color-d);
	background: var(--color-f);
        border:1px solid #666;
overflow-x: hidden;
        overflow-y: auto;
}
#global-nav{padding-top: 260px;}
#global-nav a{color: var(--color-d); border-bottom: 1px solid #666;}
}

/*================================================
　footer
 ================================================*/
footer {
    background-color: #777;
    color: #fff;
    text-align: center;
    width: 100%;
    padding:10px 0 100px;
}
@media print, screen and (min-width:1000px){
footer {
    margin-right:260px;
    width: -webkit-calc(100% - 260px);
    width: calc(100% - 260px);
}
}
.copyright , .copyright a {color:#fff !important; text-decoration none !important; margin:1em auto;}
.copyright a:hover {opacity:0.8; text-decoration:underline;}




/*================================================
　footer カルーセル
 ================================================*/
@media screen and (max-width: 999.9px){
/* カルーセルの外枠 */
.carousel {
    position: fixed;
    bottom: 10px;
    left: -web-kids-calc(50% - 130px);
    left: calc(50% - 130px);
  width: 260px;
  height: 80px;
  display: flex;
  overflow: hidden;
  margin: 0 auto;
  z-index:2;
}
/* カルーセル内の画像 */
.carousel img {
  width: 260px;
  height: 80px;
max-width:260px;
  margin: 0;
  padding: 0;
  display: block;
}
/* スクロールアニメーションのキーフレーム */
@keyframes scroll {
  0% { margin-left: 0; }      
  20% { margin-left: -260px; }
  25% { margin-left: -260px; }
  45% { margin-left: 0px; }
  50% { margin-left: 0px; }
  70% { margin-left: -260px; }
  75% { margin-left: -260px; }
  95% { margin-left: 0%; }
  100% { margin-left: 0%; }
}
/* カルーセルの子要素にスクロールアニメーションを設定 */
.carousel > :first-child {
  animation-name: scroll;
  animation-duration: 30s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
}
}


@media print, screen and (min-width: 1000px){
/* カルーセルの外枠  左MENUなら  50% - 260px + 130px  */
.carousel {
    position: fixed;
    bottom: 10px;
    left: -web-kids-calc(50% - 260px - 130px);
    left: calc(50% - 260px - 130px);
  width: 520px;
  height: 80px;
  display: flex;
  overflow: hidden;
  margin: 0 auto;
  z-index:2;
}
/* カルーセル内の画像 */
.carousel img {
  width: 260px;
  height: 80px;
  margin: 0;
  padding: 0 10px 0 0;
  display: block;
}
}

/*================================================
 *  footmenu
 ================================================*/
.footmenu { 
    width: 100%;
    margin: 0 auto;
    display: block;
    clear: both;
    overflow: hidden;
}
.footmenu .menu{
    padding-left: 0;
    list-style-type: none;
    margin: 0;
    width: 100%;
    height: 100%;
}
.footmenu li{
	position: relative;
	display: inline-block;
        text-align: center;
	text-decoration: none;
	transition: all 1.5s;
        width:100%;
        height:100%;
        margin:0 auto;
}
.footmenu li::after {
	position: absolute;
	top: 50%;
	right: 0.2em;
	content: '';
	margin-top: -0.3em;
	border: 0.3em solid transparent;
	border-top-width: 0.3em;
	border-bottom-width: 0.3em;
	border-left-color: var(--color-b);
	transition: all 1.5s;
}
.footmenu li a{color:#fff; font-weight:400; text-decoration:none; display:block; line-height:1.5em; height:100%; border-bottom:2px solid rgba(112, 111, 111, 0.5);}
.footmenu li:hover {opacity:0.6; color:var(--color-a);}
.footmenu li:hover a{color:#33B6A1;}
.footmenu li:nth-child(2n){border-left:none;}

@media print, screen and (min-width: 768px)
{
.footmenu ul li{width:auto; padding-left:0.8em; padding-right:1.2em; margin:1px auto;}
.footmenu ul li:nth-child(1n){border-right: none;}
.footmenu li a{border: none;}
}