/* -------------------------------- 
Primary style
-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Roboto", sans-serif;
  color: #3d3536;
  background-color: white;
}

a {
  color: #b4d7a8;
  text-decoration: none;
}

/* -------------------------------- 
Resource style 
-------------------------------- */
.cd-main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.cd-main-header:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.cd-main-header__logo {
  float: left;
  margin: 10px 0 0 1%;
	width:250px;
}

.cd-main-header__logo img {
  display: block;
}

.footer{
	font-size:14px;
}

.footer li{
width:200px;
	line-height: 20px;
float:left;
}
.footer ul{
	padding:1em;
	width:100%;
}
.saiyouform_btn {
	height: 60px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	font-size: 34px;
	width: 600px;
	line-height: 60px;
	border-width: 2px;
	border-style: solid;
	border-radius: 10px;
	text-align: center;
	background-color: #FAFFCF;
	background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(255,215,100,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(255,215,100,1.00) 100%);
}

.saiyouform_btn a{
	color:blue;
	display:block;
	border-radius: 10px;
	}
.saiyouform_btn a:hover{
	background-color:#FAFFB2;
	text-decoration:none;
	}

table.irai{
	font-size:14px; margin: 0 auto; 
}
.irai td{
	border:1px solid #000;
	padding: 0 1em;
}

@media only screen and (min-width: 768px) {
  .cd-main-header {
    height: 70px;
  }
  .cd-main-header__logo {
	margin: 10px 0 0 1%;
	width:250px;
	}
.cd-main-header__logo {
	width:320px;
	}
}

.cd-main-nav {
  float: right;
  margin-right: 5%;
  width: 44px;
  height: 100%;
  background: url("../img/cd-icon-menu.svg") no-repeat center center;
  background-size: 44px 44px;
  cursor: pointer;
}

.cd-main-nav__list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}

.cd-main-nav__list.cd-main-nav__list--is-visible {
  -webkit-transform: translateY(50px);
      -ms-transform: translateY(50px);
          transform: translateY(50px);
}

.cd-main-nav__list a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #2f292a;
  border-top: 1px solid #453c3d;
  color: #8e7d7f;
}

@media only screen and (min-width: 768px) {
  .cd-main-nav {
    /* reset style */
    width: auto;
    height: auto;
    background: none;
    cursor: auto;
  }
  .cd-main-nav__list {
    /* reset style */
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
    line-height: 70px;
  }
  .cd-main-nav__list.cd-main-nav__list--is-visible {
    /* reset style */
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .cd-main-nav__list li {
    display: inline-block;
    margin-left: 1em;
  }
  .cd-main-nav__list a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 1em;
    border-top: none;
    color: #3d3536;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.4rem;
  }
  .cd-main-nav__list a:hover {
    color: #99a478;
  }
}

.cd-fixed-bg {
  position: relative;
  min-height: 50vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}

.cd-fixed-bg__content, .cd-fixed-bg h2 {
  position: absolute;
  left: 50%;
  top: 33%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
  text-align: center;
  font-size: 2.1rem;
}

.cd-fixed-bg h1, .cd-fixed-bg h2 {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  color: white;
}

.cd-fixed-bg.cd-fixed-bg--1 {
  background-image: url("../img/bg01.jpg");
}

.cd-fixed-bg.cd-fixed-bg--2 {
  background-image: url("../img/bg03.jpg");
}

.cd-fixed-bg.cd-fixed-bg--3 {
  background-image: url("../img/bg05.jpg");
}

.cd-fixed-bg.cd-fixed-bg--4 {
  background-image: url("../img/bg04.jpg");
}

.cd-fixed-bg.cd-fixed-bg--top {
	background: no-repeat center/cover url("../img/top.jpg") #2f7eea;
}

@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
	  font-size: 3.6rem;
  }
}

@media only screen and (min-width: 1170px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
	  font-size: 4.1rem;
    font-weight: 300;
  }
.cd-fixed-bg.cd-fixed-bg--top {
	background: no-repeat center/1100px url("../img/top.jpg") #2f7eea;
}
	@supports (background-attachment: fixed) {
    /* fix bug on IE11 and below */
    .cd-fixed-bg {
      background-attachment: fixed;
    }
  }
}

.cd-scrolling-bg {
  position: relative;
  min-height: 100%;
  padding: 2em 0;
  line-height: 1.6;
  -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.cd-scrolling-bg.cd-scrolling-bg--color-1 {
  background-color: #3d3536;
  color: #a6989a;
}

.cd-scrolling-bg.cd-scrolling-bg--color-2 {
  background-color: #FFF;
  color: #333333;
}

.cd-scrolling-bg.cd-scrolling-bg--color-3 {
  background-color: #b4d7a8;
  color: #3d3536;
}

.cd-scrolling-bg__content {
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .cd-scrolling-bg {
    padding: 2em 0;
    font-size: 2rem;
    line-height: 2;
    font-weight: 300;
  }
}
