@charset "UTF-8";
/* Yamadanishiki Project Website */
/* date:2019.3.5 */

html, body {
  height: 100%;
}
body {
  position: relative;font-family: "";
  margin: 0;
  padding: 0;
  font: 14px/100% 'Roboto', sans-serif
}
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
h2, h3, h4, h5 {
  font-weight: bold;
  position: relative;
  margin: 2em 0;
}
h2 {
  letter-spacing: 0.1em;
  font-size: 2.4em;
  text-align: center;
  color: #87AE00;
}
h2:before {
  content: '';
  display: block;
  position: absolute;
  bottom: -1em;
  left: 50%;
  width: 80px;
  margin-left: -40px;
  height: 5px;
  background-color: #87AE00;
  -webkit-transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
h3 {
  font-size: 1.5em;
  line-height: 2em;
}
a, a:visited {
  color: #87AE00;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
.imgL {
  float: left;
  margin: 0 1em 1em 0;
}
.imgR {
  float: right;
  margin: 0 0 1em 1em;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
/* -- Button Style -- */
.button {
  position: relative;
  display: inline-block;
  font-size: 1.2em;
  font-weight: 700;
  margin: 1em;
  padding: .5em 4em;
  border: 2px solid #87AE00!important;
  color: #87AE00!important;
  text-align: center;
  text-decoration: none;
  transition: .3s;
}
.button:hover {
  color:#9FD082!important;
}
.button::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  background: #87AE00;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.button:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
/* Text - Font */
.txtCenter {
  text-align: center;
}
.txtWhite {
  color: #fff!important;
}
/* Fade */
.fadein {
  opacity : 0;
  transform : translate(0, 100px);
  transition : all 700ms;
}
.fadein.scrollin {
  opacity : 1;
  transform : translate(0, 0);
}
/* Icon */
.icon-img {
  display: block;
  width: 80%;
  margin: 100px auto 30px;
}
/* Content */
.content {
  padding: 4em 2em;
  background-color: #FFF;
}
.content-info {
  position: relative;
  width: 100%;
  background-color: red;
  padding: 2px;
  font-size: 140%;
  line-height: 150%;
  z-index: 1;
  top: 70px;
}
.content-first {
  position: relative;
  width: 100%;
  height: 50vw;
  box-sizing: border-box;
  margin-top: 60px;
  background-image: url(../images/img_yamada-project.jpg);
  background-position: center center;
  background-size: cover;
}
/* Messege */
.messege {
  width: 70%;
  margin: auto;
}
.messege h2, .messege h3 {
  text-align: center;
}
.messege p {
  /*display: inline-block;
	width: 46%;*/
  margin: 1em;
  /*text-align: center;*/
  line-height: 200%;
  vertical-align: top;
}
.messege ul {
  margin-bottom: 3em;
  line-height: 200%;
  font-size: 1.2em;
}
.messege ul li {
  margin-bottom: 1em;
}
.messege table {
  width: 96%;
  margin: 1em;
  border-collapse: collapse;
}
.messege table th,
.messege table td {
  padding: 1em;
  border: 1px solid #ddd;
  line-height: 120%;
}
.messege table th {
  text-align: center;
  border-width: 3px;
  border-color: #87AE00;
}
.messege li span {
  display: inline-block;
  color: #fff;
  background-color: #87AE00;
  margin-right: 0.5em;
  padding: 1px 10px;
  white-space:nowrap;
}
.messege .block {
  display: block;
  width: 100%;
  padding: 1.5em;
  text-align: center;
}
/* Background */
.bg_color {
  color:#fff;
  background-color: #87AE00;
  padding: 0.5em;
}
#s02 {
  /*margin-top: 100vh;*/
}
#s03, #s05, #s07 {
  background-color: #F3FDE3;
}
/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 100;
  background-color: #222;
}
header h1 {
  margin: 0;
  padding: 0;
  display: inline-block;
}
#logo {
  display: block;
  background-image: url(../images/logo_dassai-x.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 160px;
  height: 40px;
}
/* Navigation Drower */
header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1 {
  width: 160px;
}
header nav {
  margin-right: 10px;
}
header nav ul {
  display: flex;
  align-items: center;
  list-style-type: none;
}
header nav ul li a {
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 16px;
}
#main_img {
  max-width: 960px;
  margin: 0 auto;
}
#nav_toggle {
  display: none;
}
.change_btn {
  display: block;
  width: 100%;
  text-decoration: none;
  border: 1px solid #fff;
  text-align: center;
  padding: 25px 0;
  font-size: 20px;
  margin-top: 40px;
}
/* footer */
footer {
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 80%;
  background-color: #000;
}
.font-en {
  margin: 0 1em;
}

/* Button Style */
a.btn {
  display: inline-block;
  width: 150px;
  margin: 10px 0;
  padding: 16px 10px;
  border: 1px solid #fff;
  background: transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1;
  transition: .3s;
}
#page-top i {
  position: relative;
  padding-top: 2px;
  transition: .2s;
}
#page-top:hover i {
  animation: page-top-animation .1s ease 0s infinite alternate;
}/* -- Flex box -- */
.flexBox, .flexBox2 {
  padding: 2.5% 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
}
.flexBox > * {
  min-width: 8%;
  flex-basis: 46%;
  margin: 2%;
}
.flexBox .flex-item33 {
  flex-basis: 35%!important;
}
.flexBox2 > * {
  min-width: 8%;
  flex-basis: 100%;
  margin: 1.5%;
}
.flexBox, .flexBox > * {
/*border: 3px solid #aaa;*/
}
.flexBox h3, .flexBox2 h3 {
  text-align: center;
}
.flexBox h4, .flexBox2 h4 {
  border-top: 4px solid #ddd;
  padding-top: 1.5em;
}
.flexBox h4 span, .flexBox2 h4 span {
  display: block;
  color: #303030;
  font-size: 0.75em;
  font-weight: normal;
  margin-top: -0.5em;
}
.flexBox h5, .flexBox2 h5 {
  text-align: center;
  margin: 0.8em;
}
.flexBox h5 span, .flexBox2 h5 span {
  color: #303030;
  font-size: 0.75em;
  font-weight: normal;
  margin: auto 0.5em;
}
/* Form Style */
.form-style li {
  list-style-type: none;
  border-bottom: 1px dotted #ccc;
  padding-bottom:1em;
}
.form-style li small {
  display: block;
  font-size: 0.7em;
  margin-left: 24%;
}
.form-style label {
  display: inline-block;
  white-space: nowrap;
  width: 30%;
  font-weight: bold;
  vertical-align: top;
}
.form-style input,.form-style textarea  {
  width: 60%;
  font-size: 1.2em;
  padding: 0.5em;
  border-radius: 4px;
  border: 1px solid #E0E0E0
}
.form-style li.submit {
  text-align: center;
}
.form-style input[type="submit"],
.form-style input[type="reset"],
.form-style input[type="button"] {
  display: inline-block;
  color: #fff;
  font-size: 1em;
  width: 30%;
  margin: 0.5em;
}
.form-style input[type="submit"] {
  background-color: #1E54A4;
}
.form-style input[type="reset"] {
  background-color: #ccc;
}
.form-style input::placeholder {
  color: #ddd;
  font-size: 0.8em;
}
.form-style span.requisite {
  display: inline;
  font-size: 0.6em;
  padding: 0.5em;
  margin-right: 1em;
  color: #fff;
  border-radius: 4px;
  background-color: #f00;
}