/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}
/* css clear */

* {
  text-decoration: none;
  letter-spacing: 1px;
  box-sizing: border-box;
  color: #555555;
}

h2 {
  color: #1A234B;
  font-size: 32px;
}

header {
  height: 94px;
}

.inner {
  max-width: 1000px;
  height: 100%;
  margin: 0 auto;
}

header .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

header a {
  display: inline-block;
  width: 200px;
}

header img {
  width: 200px;
}

.headerUl {
  width: 336px;
  display: flex;
  justify-content: space-around;
  list-style: none;
}

.btn {
  display: inline-block;
  height: 44px;
  line-height: 44px;
  padding: 0 10px;
  border: 1px solid gray;
  border-radius: 5px;
  background: #1A234B;
  color: white;
  width: 124px;
  text-align: center;
}

.btn2 {
  display: inline-block;
  height: 44px;
  line-height: 44px;
  padding: 0 10px;
  border: 1px solid gray;
  border-radius: 5px;
  background: #1A234B;
  color: white;
  width: 90px;
  text-align: center;
}

header .btn {
  background: white;
  color: #555555;
}

header .btn2 {
  background: white;
  color: #555555;
}

/* ハンバーガー↓ */

input[type="checkbox"] {
  position: absolute;
  left: -20px;
}

.open {
  width: 50px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background-color: white;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1;
  border: #abb3d6 solid 1px;
  padding: 0 3px;
}
.open span {
  display: inline-block;
  width: 100%;
  height: 4px;
  background-color: #525f97;
  border-radius: 4px;
  margin: 5px 0;
}

aside {
  width: 250px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  font-size: 36px;
  line-height: 1.5em;
}

aside ul {
  text-align: right;
  width: 100%;
}

aside li a {
  padding-right: 10px;
  display: inline-block;
  width: 100%;
}

aside .close, aside li {
  border-bottom: #555555 solid 2px;
}

.close {
  text-align: right;
  padding-right: 10px;
}

.open,
.close,
aside {
  display: none;
}

@media screen and (max-width: 600px) {
  .headerUl {
    display: none;
  }

  header h1 {
    width: 70%;
  }

  .open, aside {
    display: inline-block;
    cursor: pointer;
  }

  .close {
    display: block;
  }

  aside {
    position: fixed;
    left: -250px;
    height: 100%;
    transition: left 0.2s ease;
    transition: all 0.2s;
    background: #ffffff;
    z-index: 2;
  }

  input[type="checkbox"]:checked ~ aside {
    left: 0;
  }

  input[type="checkbox"]:checked ~ .back {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 1;
  }
 
  /* ハンバーガー↑ */

  .nayami li p{
    font-size: 14px;
  }
}


.mainTop {
  width: 100%;
  padding: 20px 0;
  padding: 30px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  background: url(../img/keyimg.jpg) no-repeat center center / cover;
}

.mainTop .inner {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8 );
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.mainTop h2 {
  text-shadow: gray 1px 1px 2px;
  margin-bottom: 30px;
}

.text {
  margin-bottom: 30px;
}

.text p {
  font-size: 20px;
  max-width: 672px;
}

.mainMiddle {
  width: 100%;
  padding: 20px 0;
}

.mainMiddle .inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mainMiddle h2 {
  margin-bottom: 20px;
}

.mainMiddle ul {
  width: 100%;
  list-style: none;
  padding: 5px;
}

.mainMiddle li {
  max-width: 30%;
  font-size: 20px;
  line-height: 1.2em;
  display: inline-block;
}

.mainMiddle li img {
  max-width: 100%;
}

.mainMiddle2 {
  text-align: center;
  padding: 20px 0;
  width: 100%;
  background-color: #F7F7F7;
}

.mainMiddle2 .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mainMiddle2 h2 {
  line-height: 1.5em;
  margin-bottom: 10px;
}

.jurny {
  padding: 10px;
}

.jurny img {
  width: 100%;
}

/* footer */

footer {
  height: 190px;
}

.topFooter {
  width: 100%;
  height: 90px;
  background: #1A234B;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.topFooter .nav {
  width: 100%;
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topFooter ul {
  list-style: none;
  display: flex;
}
.topFooter li {
  margin: 10px;
}

footer .btn  {
  color: white;
  border: 1px solid white;
}
footer .btn2 {
  olor: white;
  border: 1px solid white;
}

.bottomFooter {  
  text-align: center;
}
.bottomFooter img {
  margin-top: 20px;
  width: 130px;
}
.bottomFooter p {
  margin-top: 20px;
}
small {
  font-size: smaller;
}