@charset "utf-8";

/* reset */

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th {
    text-align: left;
}

q::before,
q::after {
    content: '';
}

object,
embed {
    vertical-align: top;
}

legend {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}

img,
abbr,
fieldset {
    border: 0;
}

body {
    -webkit-text-size-adjust: 100%;
}

body * {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
}

a:active,
a:focus,
input:active,
input:focus {
    outline: 0;
}

.clearfix::after {
    display: block;
    content: "";
    clear: both;
}

ol {
    padding-left: 1rem;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
nav,
section {
    display: block;
}

header {
	background-color: #fbfcfe;
}

header .head img {
    width: 200px;
}

.head {
    height: 60px;
    padding: 10px 0 10px 0px;
    line-height: 50px;
	  background-color: #fbfcfe;
}

/* main visual
.visual {
    padding-bottom: 10px 
        }
*/

/* main visual*/
.visual {
    background-color: #FDC816;
    /* background: conic-gradient(from 0deg at center,
            #d4ffce 0deg,
            #fffbc2 45deg,
            #fffbcb 90deg,
            #fddee1 135deg,
            #fccacf 180deg,
            #f1e9f4 225deg,
            #d3edfa 270deg,
            #daeffc 315deg,
            #d4ffce 360deg);
    background-size: 200% 150%;
    background-position: center; */
    text-align: center;
    /*padding-top: 10px;*/
}

/* Gナビ */
#nav ul,
#nav li{
	list-style: none;
	margin: 0;
	padding: 0;
}
#nav ul {
	width: 100%;
	height: 5em;
	display: flex;
}
#nav li {
	width: calc( 100% / 4 );
}
#nav li a {
	background: #d71a21;
	color: #fff;
    font-weight: 600;
	text-align: center;
	text-decoration: none;
	line-height: 5em;
	position: relative;
	display: block;
	box-sizing: border-box;
}
#nav li a::after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 5px;
	background: #e8d920;
	transform: scale(0, 1);
	transition: transform .3s;
}
#nav li a:hover::after,
#nav li.current a::after {
	transform: scale(1, 1);
}
#nav li.current a::after {
	background: #fff;
}
#nav li a::after {
	transform-origin: center top;
}

/* ナビ0 
#nav0 {
    position: relative;
    font-weight: bold;
    padding: 0;
    background-color: #db3437;
}
#nav0 ul,
#nav0 li{
	list-style: none;
	margin: 0;
	padding: 0;
}
#nav0 ul {
	width: 1024px;
	margin: 10px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
	height: 5em;
}
#nav0 li {
	width: calc( 100% / 4 );
}
#nav0 li a {
	background: #db3437;
	color: #fff;
	text-align: center;
	text-decoration: none;
	line-height: 5em;
	position: relative;
	display: block;
	box-sizing: border-box;
}
#nav0 li a::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.3);
	transform: scale(1,0);
	transition: all .5s ease;
	transition-property: transform;
}
#nav0 li a:hover::before {
	transform: scale(1,1);
}
#nav0 li a::before {
	transform-origin: bottom;
}
*/
/* footer */
.footer {
  border-top: 1px solid #ccc;
  padding-top: 5px;
  line-height: 1.8;
}

.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 98;
  margin: 0;
  width: 70px;
  height: 70px;
  background: #db3437;
  background-size: contain;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

.pagetop:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(-39deg) skew(10deg);
  margin: -4px 0 0 -8.6px;
}

/* 768px以下(for mobile) */

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

header .head img {
    width: 160px;	
    padding: 5px 0px;
}

.head {
    height: 40px;
    padding: 5px 0px;
    line-height: 40px;
}
	
.big-menu a {
    color: #fff;
    text-shadow: 0 0 5px #000;
    background-color: none;
}

.big-menu.top a {
    background-color: #fff;
    color: #000;
    text-shadow: none;
}

/* footer */
  .footer {
    padding-top: 30px;
    margin-top: 70px;
    text-align: center;
  }
  .pagetop {
    right: 15px;
    bottom: 80px;
    width: 45px;
    height: 45px;
  }
  .pagetop:before {
    width: 10px;
    height: 10px;
    margin: -4px 0 0 -5.6px;
  }
	
/* ナビ */
#nav ul,
#nav li{
	list-style: none;
	margin: 0;
	padding: 0;
}
#nav ul {
	width: auto;
	margin: 10px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
	height: auto;
}
#nav li {
	width: calc( 100% / 2 );
	border: solid 1px #FFF;
}
#nav li a {
    background: #d71a21;
    color: #fff;
    text-align: center;
    text-decoration: none;
    line-height: 5em;
    position: relative;
    display: block;
    box-sizing: border-box;
}
/*
#nav li a::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.3);
	transform: scale(1,0);
	transition: all .5s ease;
	transition-property: transform;
}
#nav li a:hover::before {
	transform: scale(1,1);
}
#nav li a::before {
	transform-origin: bottom;
}
*/	
	/* ナビ0 
#nav0 {
    position: relative;
    font-weight: bold;
    padding: 0;
    background-color: #db3437;
}
#nav0 ul,
#nav0 li{
	list-style: none;
	margin: 0;
	padding: 0;
}
#nav0 ul {
	width: auto;
	margin: 10px auto 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
	height: 5em;
}
#nav0 li {
	width: calc( 100% / 2 );
	border: solid 1px #FFF;
}
#nav0 li a {
	background: #db3437;
	color: #fff;
	text-align: center;
	text-decoration: none;
	line-height: 5em;
	position: relative;
	display: block;
	box-sizing: border-box;
}
#nav0 li a::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.3);
	transform: scale(1,0);
	transition: all .5s ease;
	transition-property: transform;
}
#nav0 li a:hover::before {
	transform: scale(1,1);
}
#nav0 li a::before {
	transform-origin: bottom;
}
*/	
	/* footer */
.footer {
  border-top: 1px solid #ccc;
  padding-top: 5px;
  line-height: 5px;
  margin-top: 10px;
}

.pagetop {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 98;
  margin: 0;
  width: 44px;
  height: 44px;
  background: #db3437;
  background-size: contain;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

.pagetop:before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(-39deg) skew(10deg);
  margin: -4px 0 0 -8.6px;
}
}