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

html, body, div, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
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;
    box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
    line-height:1;
    color: #888;

}

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

nav ul ,li{
    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;
}
a:hover{
  opacity: .85;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

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;
}

hr {
    margin: 15px 0;
}

input, select {
    vertical-align:middle;
}

/*************************************************
	全体レスポンシブ
**************************************************/
/*PC*/
@media screen and (min-width: 770px) {
  .is-mob {
    display: none !important;
  }
}
/*スマホ*/
@media screen and (max-width: 770px) {
  .is-pc {
    display: none !important;
  }
}


@media screen and (max-width: 639px) {
  form{
    width: 100%;
  }
}


/******
Header
****/
header{
  width: 100%;
  height: 70px;
  display: flex;
  flex-direction: row;
  padding: 1em;
  position: fixed;
  top:0;
  left: 0;
  z-index: 100;
  background-color: #fff;
  align-items: center;
}

header div.logo{
  width: 250px;
}
header div.logo img{
  width: 100%;
}
header ul.header-menu{
  margin-left: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
}
header ul.header-menu li{
  margin-left: 1.5em;
}
header ul.header-menu li a{
  color:#CC0000;
  text-decoration: none;
}
header ul.header-menu li a:hover{
  text-decoration: underline;
}
header .subtext{
  margin-left: 3em;
  font-size: .8em;
  color:#333;
}
.menulogo{
  width: 20px;
}
@media screen and (max-width: 770px) {
  header{
    justify-content: center;
  }
}
/******
Footer
****/
footer{
  width: 100%;
  display: flex;
  flex-direction: row;
  padding: 1em;
  align-items: center;
  font-size: .8em;
}
footer div.logos{
  margin-left: auto
}
footer div.logos ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
footer div.logos ul li{
    margin-left: 10px;
  width:70px;
}
footer div.logos ul li.t2{
  width:90px;
}
footer div.logos ul li img{
  width: 100%;
}
/******
Main
****/
main{
  width: 100vw ;
  margin-top: 70px;
  overflow: hidden;
}
main section{
  padding-bottom: 30px;
}

main section.full{
  padding:10px 0;
  width: 100%;
  background-color: #ddd;
}
main section.full.white{
  background-color: #fff;
}
.top-image{
  width: 100%;
  padding: 10px 10px;
  text-align: center;
  box-sizing: border-box;
}
.top-image img{
  width: 100%;
}

.main-content{
  margin: 0 auto;
  width: 800px;
  letter-spacing: .06em;
}
.main-content p,
.main-content ul{
  margin-bottom:1.5em;
      font-size: 16px;
line-height: 24px;

}
.main-content ul li{
  list-style:disc;
  margin-left:1em;
}
.main-content ul li{
  margin-bottom: .4em;
}
.main-content p{
  line-height: 1.5em;
}
.strong{
  color: #222;
}
.main-content img{
  display: inline-block;
}

.title-box{
  display: flex;
  flex-direction: row;
  width: 800px;
  padding-top: 70px;
  margin: 1em auto 1em auto;
  justify-content: center;
  align-items: center;

}
.title-box h2{
  font-size: 4.2em;
  margin-right: 1em;
}
.info-list{
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
.info-box {
  width: 160px;
  box-sizing: border-box;
  line-height: 1.2em;
}

h2{
  text-align: center;
  font-weight: normal;
  color: #CC0000;
}
main section.full h2{
    margin-top: 0;
}
h3{
  margin-top: 40px;
  margin-bottom: 1em;
  font-weight:normal;
  color: #222;
}
.info-box h3{
  margin: .5em 0 ;
  border-bottom: 1px solid #888;
  text-align: center;
  padding-bottom: .2em;

}
.main-content form {
  padding: 2em;
}
.main-content form ul{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.main-content form ul li{
  list-style: none;
  margin-left: 0;
}
.main-content form ul li span{
  font-size: .5em;
  color:#CC0000;
}
@media screen and (max-width: 770px) {
  main{
    margin-top: 50px;
    width: 100%;
    box-sizing: border-box;
  }
  .main-content,
  .title-box{
    width: 100%;
  }
  .title-box{
    flex-direction: column;
    margin-top: 0;
  }
  .title-box h2{
    font-size: 2em;
    margin: 1em 0;
  }
  .title-box img{
    width: 100%;
  }
  .main-content{
      padding: 1em;
  }
  .main-content h3{
    margin-top: 0;
  }

  .info-list{
    flex-direction: column;
  }
  .info-box {
    width: 100%;
    margin-bottom: 1em;
  }

  .main-content form{
    padding: 0;
  }

}


/****
FORM
****/

input[type=text],
textarea{
	width: 350px;
   border-radius: 5px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   -o-border-radius: 5px;
   -ms-border-radius: 5px;
    border:solid 1px #CC0000;
   height:38px;
   padding:0 1.5%;
}

input[type=text]:focus,
textarea {
    border:solid 1px #CC0000;
}

input[type=text], select {
   outline: none;
}


textarea, select{
	outline: none;
}
textarea{
	width: 800px;
	height:168px;
   padding-top:5px;
   padding-bottom: 5px;
   box-sizing: border-box;
   margin-left: 0;
}
.btBox{
	text-align: center;
}
button.button {
	width: 280px;
    font-size: 18px;
    padding: 16px 0;
    background-color: #CC0000;
    color: #fff;
    border-style: none;
    border-radius: 4px;
}
button.button:hover {
    background-color: #AA0000;
    color: #fff;
}
@media screen and (max-width: 770px) {
  textarea{
      width: 350px;
  }
}
