@charset 'utf-8';

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

img {
  max-width: 100%;
  height: auto;
}

/* BASE STYLE
--------------------------------------------------*/
html {
  font-size: 62.5%;
}

body {
  color: #333;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
  font-size: 1.4rem;
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

iframe {
  vertical-align: middle;
}

/* CLEAR-FIX */
.clearfix {
  zoom: 1;
}

.clearfix:after {
  display: block;
  visibility: hidden;
  clear: both;
  height: 0;
  content: '.';
  line-height: 0;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーORIGINAL STYLE
--------------------------------------------------*/

.inner_max {
  margin: 0 auto;
  max-width: 1440px;
  width: 90%;
}

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

.flex {
  display: flex;
}

.flex_center {
  justify-content: center;
}

.flex_between {
  justify-content: space-between;
}

.flex_wrap {
  flex-wrap: wrap;
}

.flex_around {
  justify-content: space-around;
}

.ttl {
  position: relative;
  padding-top: 100px;
  text-align: center;
  font-weight: bold;
  font-size: 4rem;
  color: #333;
  line-height: 1;
  z-index: 2;
}

.ttl_line {
  text-align: center;
  margin-top: -20px;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー お問い合わせフォーム*/
#formWrap {
  margin: 50px auto 100px;
  width: 700px;
  color: #555;
  font-size: 1.6rem;
  line-height: 120%;
}
.check {
  margin-bottom: 20px;
  text-align: center;
  line-height: 2;
}
.check span {
  display: inline-block;
}
table.formTable {
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}
table.formTable td,
table.formTable th {
  padding: 10px;
  border: 1px solid #ccc;
  vertical-align: middle;
}
table.formTable th {
  width: 30%;
  background: #333;
  color: #fff;
  text-align: left;
  font-weight: normal;
}
.contact_btn {
  margin-top: 20px;
  text-align: center;
}
input.submit_button,
input.reset_button {
  margin: 0 10px;
  width: 20%;
  background-color: #333;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}
input.submit_button:hover,
input.reset_button:hover {
  border: 2px solid #333;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}
.formTable input {
  font-size: 1.6rem;
}
.text_center textarea {
  vertical-align: middle;
}
/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーRESPONSIVE
--------------------------------------------------*/
@media screen and (min-width:1440px) {
}

@media screen and (max-width:950px) {
}

@media screen and (max-width:666px) {
}

@media screen and (max-width:560px) {
  /* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーORIGINAL STYLE
--------------------------------------------------*/
  .ttl {
    font-size: 3.3rem;
    padding-top: 80px;
  }

  #formWrap {
    margin: 50px auto 50px;
    width: 95%;
    text-align: center;
  }
  table.formTable th,
  table.formTable td {
    display: block;
    width: auto;
    text-align: center;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  input[type='text'],
  textarea {
    display: block;
    padding: 5px;
    width: 100%;
    font-size: 110%;
    margin-bottom: 10px;
  }
  input[type='submit'],
  input[type='reset'],
  input[type='button'] {
    display: block;
    width: 100%;
    height: 40px;
  }
}
