@charset "utf-8";
/* Common CSS */

/* RESET
----------------------------------------------------------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, cite, img, strong, i, dl, dt, dd, ol, ul, li,
form, label, table, tbody, thead, tr, th, td, article, embed, figure, figcaption, footer, header, hgroup, nav, section, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
article, details, figcaption, figure, footer, header, hgroup, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

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

object {
  pointer-events: none;
}

img {
  pointer-events: none;
}

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

/* CONTENTS
----------------------------------------------------------------------------------------------------*/
*, *:before, *:after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 10px;
}

body {
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  background-color: #FFF;
  font-size: 1.6rem;
  color: #666;
  word-wrap: break-word;
}

h1, h2, .contacts {
  font-family: 'Grape Nuts', cursive;
  text-align: center;
}

/* HEADER
----------------------------------------------------------------------------------------------------*/
header {
  margin: 0 auto 50px;
  width: 1200px;
  max-width: 100%;
  text-align: center;
}

h1 {
  margin: 20px auto;
  width: 300px;
  max-width: 100%;
  font-size: 4.5rem;
  font-weight: bold;
}

.top_img {
  width: 100%;
}

/* MAIN
----------------------------------------------------------------------------------------------------*/

section {
  margin: 20px auto 50px;
  width: 1200px;
  max-width: 100%;
}

h2 {
  margin-bottom: 10px;
  font-size: 5rem;
}

h3 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.75rem;
}

.intro {
  padding: 0 15px;
  text-align: center;
  line-height: 2.5;
}

.about {
  margin: 25px auto;
  width: 97.5%;
  border: 1px solid #666;
}

.about li {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #666;
}

.about li:last-child {
  border-bottom: none;
}

.about li p {
  padding: 7px;
}

.about li p.title {
  width: 250px;
  color: #fff;
  font-weight: bold;
  background-color: #666;
}

.contact_form {
  margin: 0 10px 50px;
}

.contact_form ul {
  margin: 30px auto;
  width: 500px;
  max-width: 100%;
}

.contact_form ul li {
  margin-bottom: 20px;
}

.contact_form ul li input,
.contact_form ul li textarea {
  padding: 15px 12.5px;
  width: 100%;
  color: #000;
  font-size: 1.75rem;
  background: #d3d3d3;
  border: none;
  border-radius: 5px;
}

.contact_form button {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  width: 200px;
  color: #666;
  font-size: 1.75rem;
  font-weight: bold;
  background: #d3d3d3;
  border: solid #666;
  border-radius: 5px;
  transition: all .5s;
}

.contact_form button:hover {
  color: #666;
  background: #FFF;
}

.contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 500px;
  max-width: 85%;
}

.contacts a {
  display: block;
  font-size: 2.5rem;
  transition: all .3s;
}

.contacts a:hover {
  opacity: .7;
}

.inst {
  width: 50px;
  margin-right: 200px;
}

.cont_msg {
  padding: 30px 0;
  text-align: center;
}

.contacts a:hover {
  opacity: .5;
}

footer {
  width: 100%;
}

.copyright {
  margin: 0 auto;
  padding: 20px 0;
  width: 1200px;
  max-width: 100%;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  background-color:#A8A2CC;
}

@media screen and (max-width: 480px) {
  h1 {
    padding: 5px 20px;
  }

  .top_img {
    display: none;
  }

  .intro {
    text-align: left;
    line-height: 1.75;
  }

  .bg_seethrough {
    height: 100vw;
    background: linear-gradient(to bottom, transparent 0%, transparent 70%, #fff 100%), url(../images/top_sp.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }

  .top_img {
    display: none;
  }

  .cont_msg {
    padding: 20px 0;
  }

  .inst {
    margin-right: 75px;
  }
}

@media screen and (max-width: 600px) {
  .about li {
    flex-direction: column;
  }

  .about li p.title {
    width: 100%;
  }
}