@charset "utf-8";

* {
  -webkit-appearance: none;
}

html {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow-y: scroll;
}

body {
  margin: 0;
  padding: 0;
  color: #000;
  box-sizing: border-box;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

a {
  color: rgba(19, 174, 103, 1);
}

a:hover {
  opacity: 0.8;
}

.container {
  max-width: 1260px;
  width: 94%;
  margin: 0 auto;
  padding: 4px 8px;
}

.panel {
  display: inline-block;
  vertical-align: top;
}

.red {
  color: #c92526;
}

.green {
  color: #09864e;
}

.error {
  color: #c92526;
  font-size: small;
  margin: 0 0 0 8px;
}

.center {
  text-align: center;
}

.rotate:hover {
  opacity: 0.8;
  transform: rotate(1deg);
}

.underline-move {
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 1px 0;
}
.underline-move:hover {
  opacity: 0.8;
}
.underline-move::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  background-color: rgba(19, 174, 103, 1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a.underline-move:hover::after {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

.mt15 {
  margin-top: 15px;
}

.mt25 {
  margin-top: 25px;
}

.mb30 {
  margin-bottom: 30px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 94%;
  font-size: 100%;
  padding: 8px;
  border: #dedede 1px solid;
  border-radius: 3px;
  margin: 0 !important;
}

select {
  margin: 0 0 10px;
}

textarea {
  width: calc(100% - 16px);
  min-height: 60px;
  font-size: 90%;
  padding: 8px;
  border: #dedede 1px solid;
  border-radius: 3px;
  resize: vertical;
  box-sizing: inherit;
  margin: 0 !important;
}

textarea.higher {
  min-height: 120px;
}

.buttons {
  margin: 40px 0 0;
}

input[type="submit"] {
  width: 300px;
  font-size: 110%;
  margin: 20px auto 0;
  padding: 16px 5px 14px;
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  letter-spacing: 1px;
  cursor: pointer;
  background-color: #c92526;
}

input[type="submit"]:hover {
  opacity: 0.8;
}

a.btn {
  font-size: 90%;
  color: #fff;
  display: inline-block;
  background-color: #c92526;
  padding: 11px 18px;
  border-radius: 4px;
  text-decoration: none;
}

a.btn i {
  margin: 0 2px 0 0;
}

.btns {
  margin: 30px 0;
  text-align: center;
}

.btns a.btn {
  font-size: 100%;
  padding: 20px 80px;
  border-radius: 8px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

table {
  width: 100%;
  //table-layout: fixed;
  border-collapse: collapse;
}

table th,
table td {
  padding: 20px 8px 6px;
}

table th {
  width: 30%;
  text-align: left;
  border-bottom: solid 4px #09864e;
  font-weight: normal;
}

table td {
  width: calc(70% - 20px);
  border-bottom: solid 1px #707070;
  border-left: solid 20px #fff;
}

#contact_area {
  margin: 80px 0 0;
  position: relative;
}

#contact_area .bg {
  width: 100%;
  height: auto;
}

#contact_area .area {
  width: 65%;
  bottom: 12%;
  right: 3%;
  position: absolute;
}

#contact_area .area .panel {
  width: 38%;
  vertical-align: middle;
}

#contact_area .area .panel:last-child {
  width: 56%;
  margin: 0 0 0 6%;
}

#contact_area .area .panel img {
  width: 100%;
  height: auto;
}

header .upper {
  color: #fff;
  background-color: #000;
  font-size: 70%;
}

header .bottom .logo,
header .bottom .links {
  width: 50%;
  padding: 12px 0;
  vertical-align: middle;
}

header .bottom img {
  width: auto;
  height: 40px;
}

header .bottom .logo img {
  margin: 2px 0 0;
}

header .bottom .links {
  text-align: right;
}

header .bottom .links div {
  margin: 0 0 0 12px;
}

#gnavi {
  padding: 0 0 6px;
  border-bottom: solid 1px #eee;
}

#gnavi .container div {
  width: calc(100% / 5);
  border-left: solid 1px #aaa;
  box-sizing: border-box;
  text-align: center;
}

#gnavi .container div:last-child {
  border-right: solid 1px #aaa;
}

#gnavi a {
  width: 94%;
  display: block;
  color: #000;
  padding: 12px 0 10px;
  text-decoration: none;
  font-size: 90%;
  margin: 0 3%;
  box-sizing: border-box;
}

#gnavi a i {
  margin: 0 0 0 6px;
}

#about #gnavi a.about,
#description #gnavi a.description,
#welfare #gnavi a.welfare,
#access #gnavi a.access,
#welware #gnavi a.welware {
  border-bottom: solid 3px #09864e;
}

article h1 {
  font-size: 260%;
  color: #000;
  opacity: 0.8;
  font-family: "Old Standard TT", serif;
  margin: 0 0 15px;
}

#breadcrumb {
  padding: 7px 0 2px;
}

#breadcrumb li {
  font-size: 0.8rem;
}

#breadcrumb li a {
  color: #000;
}

#breadcrumb li:after {
  content: ">";
  margin: 0 0.4em 0;
}

#breadcrumb li:last-child:after {
  content: "";
  margin: 0;
}

#kv {
  line-height: auto;
  background-color: #eee;
}

#kv .container {
  padding: 0;
  position: relative;
}

#kv .container .title {
  width: 40%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background: url("../images/kv.png") 0 0 no-repeat;
  background-size: cover;
}

#kv .container .title h1 {
  color: #fff;
  font-size: 260%;
  top: 50%;
  left: 45%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
  letter-spacing: 0.1em;
}

#kv .container .title + img {
  width: 100%;
  height: auto;
  display: block;
}

article {
  padding: 10px 0 65px;
  background-color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

article .main {
  width: 100%;
}

article .main h2 {
  text-align: center;
  border-bottom: solid 1px #bbb;
  padding: 0 0 10px;
  margin: 50px 0 14px;
}

article .main .sign {
  text-align: right;
}

.pagetop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.pagetop i {
  color: #888;
  font-size: 280%;
  display: block;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.8;
}

footer .upper {
  padding: 40px 0;
  background-color: #e5e5e5;
  text-align: center;
}

footer .upper img {
  width: 14%;
  height: auto;
}

footer .upper .address {
  display: inline-block;
  margin: 20px auto 0;
  text-align: left;
  font-size: 90%;
}

footer .bottom {
  font-size: 80%;
  color: #fff;
  background-color: #000;
  text-align: center;
  padding: 10px 0;
}

/*
 ** home
 */
#home #kv {
  line-height: auto;
  background-color: #eee;
}

#home #kv .container {
  padding: 0;
}

#home #kv .container img {
  width: 100%;
  height: auto;
  display: block;
}

#home article .description .panel {
  width: calc(92% / 5);
  margin: 0 2% 0 0;
}

#home article .description .panel:last-child {
  margin: 0;
}

#home article .description .panel .image {
  position: relative;
}

#home article .description .panel .image img {
  width: 100%;
  height: auto;
}

#home article .description .panel .image p {
  width: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 140%;
  letter-spacing: 0.1em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  margin: auto;
  text-align: center;
}

#home article .description .panel .image + p {
  font-size: 90%;
  margin: 8px 0 0;
}

#home article .pages .panel {
  width: calc(94% / 3);
  margin: 0 2% 0 0;
  position: relative;
}

#home article .pages .panel:last-child {
  margin: 0;
}

#home article .pages .panel img {
  width: 100%;
  height: auto;
}

#home article .pages .panel img + p {
  font-size: 90%;
  margin: 8px 0 0;
}

#home article .pages .panel .btns {
  margin: 20px 0;
}

/*
 ** description
 */
#description .service .panel {
  width: calc(92% / 3);
  margin: 20px 4% 30px 0;
}

#description .service .panel:nth-child(3n) {
  margin: 20px 0 30px;
}

#description .service .panel .image {
  position: relative;
}

#description .service .panel .image img {
  width: 100%;
  height: auto;
}

#description .service .panel .image p {
  width: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 180%;
  letter-spacing: 0.1em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  margin: auto;
  text-align: center;
}

#description .service .panel .image + p {
  font-size: 100%;
  margin: 8px 0 0;
}

#description .result p {
  font-size: 110%;
}

#description .result img {
  width: 30%;
  height: auto;
  float: right;
  margin: 0 0 15px 20px;
}

#description .result span {
  text-decoration: underline;
}

#description .anzen table {
  margin: 30px 0 0;
}

#description .anzen tr th,
#description .anzen tr td {
  padding: 10px 14px;
  text-align: center;
  border: solid 1px #000;
}

#description .anzen tr th {
  width: 65%;
  color: #fff;
  font-weight: bold;
  font-size: 140%;
  background-color: #09864e;
}

#description .anzen tr td {
  width: 35%;
}

#description .anzen tr td img {
  width: auto;
  height: 140px;
}

/*
 ** welware
 */
#welware h2 span {
  color: #fff;
  background-color: #e60012;
  margin: 0 0 0 10px;
  padding: 8px 12px;
  font-size: 70%;
}

#welware h3 {
  margin: 40px 0 10px;
}

#welware .main img {
  width: 100%;
  height: auto;
}

#welware .kv {
  margin: 30px 0 0;
}

#welware .kv .panel {
  width: calc(96% / 2);
  margin: 0 4% 0 0;
}

#welware .kv .panel:last-child {
  margin: 0;
}

#welware .capacity {
  color: #09864e;
  border: solid 1px #09864e;
  margin: 20px 0 10px;
  text-align: center;
  padding: 12px 20px;
  font-size: 140%;
  font-weight: bold;
}

#welware .thumbs {
  margin: 30px 0 0;
}

#welware .thumbs .panel {
  width: calc(92% / 3);
  margin: 0 4% 30px 0;
}

#welware .thumbs .panel:nth-child(3n) {
  margin: 0 0 30px;
}

#welware .main ul {
  padding: 0 1.5em;
  font-size: 110%;
}

#welware .main ul li {
  margin: 0 0 6px;
}

/*
 ** access
 */
#access iframe {
  width: 100%;
  height: 600px;
  margin: 20px 0;
}

/*
 ** contact
 */
#contact #kv .container .title h1 {
  font-size: 200%;
}

#contact table .required {
  color: #c92526;
  font-size: 80%;
  margin: 0 0 0 4px;
}

#contact table td .caution {
  color: #555;
  font-size: 75%;
  margin: 4px 0 0;
}

#contact table td input[type="text"] {
  width: 50%;
}

#contact table td textarea {
  height: 260px;
  resize: none;
}

#contact [type="checkbox"] {
  -webkit-appearance: checkbox;
}

@media screen and (max-width: 1024px) {
  .container {
    width: 984px;
    padding: 4px 20px;
  }
}

@media screen and (max-width: 600px) {
  .container {
    width: 94%;
    padding: 4px 3%;
  }

  .main {
    font-size: 80%;
  }

  #gnavi,
  header .upper,
  header .bottom .links {
    display: none;
  }

  header {
    border-bottom: solid 1px #ccc;
  }

  header .bottom .logo {
    width: 100%;
    text-align: center;
    padding: 4px 0 0;
  }

  header .bottom .logo img {
    width: 40%;
    height: auto;
    margin: 0;
  }

  article .main h2 {
    font-size: 130%;
    margin: 22px 0 12px;
  }

  footer .upper {
    padding: 10px 0 20px;
  }

  footer .upper img {
    width: 40%;
  }

  #sp_nav {
    display: block !important;
  }

  /**
   * sp_nav
   */
  #sp_nav {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0;
    z-index: 999999;
    position: absolute;
    right: 0;
    top: 0;
  }
  #sp_nav a {
    color: #fff;
    text-decoration: none;
    letter-spacing: .1em;
    font-size: 120%;
  }
  #sp_nav a i {
    margin: 0 0 0 4px;
  }
  #sp_nav .icon {
    width: 60px;
    height: 60px;
    color: #222426;
    font-size: 40px;
    line-height: 45px;
    text-align: center;
    position: relative;
  }
  #sp_nav .icon.menu_active {
    z-index: 99999;
  }
  #sp_nav .icon.menu_active span {
    border-bottom: solid 3px #000;
  }
  #sp_nav .icon.menu_active span:nth-child(1) {
    top: 24px;
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  #sp_nav .icon.menu_active span:nth-child(2),
  #sp_nav .icon.menu_active span:nth-child(3) {
    top: 24px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #sp_nav .icon.menu_active p {
    color: #000;
  }
  #sp_nav .icon span {
    left: 20px;
    width: 22px;
    display: block;
    position: absolute;
    outline: 1px solid transparent;
    border-bottom: solid 3px #000;
    transition: 0.35s ease-in-out;
    -webkit-transition: 0.35s ease-in-out;
    -moz-transition: 0.35s ease-in-out;
  }
  #sp_nav .icon span:nth-child(1) {
    top: 18px;
  }
  #sp_nav .icon span:nth-child(2) {
    top: 24px;
  }
  #sp_nav .icon span:nth-child(3) {
    top: 30px;
  }
  #sp_nav .icon p {
    color: #000;
    left: 14px;
    top: 36px;
    line-height: 1;
    position: absolute;
    font-size: 12px;
    display: block;
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    -o-transform: scale(0.7);
    transform: scale(0.7);
    font-family: "Crimson", serif;
    font-style: italic;
    margin: 0;
  }
  #sp_nav .menu {
    top: 60px;
    width: 100%;
    right: -104%;
    height: 100%;
    z-index: 1000;
    position: fixed;
    transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    font-size: 110%;
  }
  #sp_nav .menu ul {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    margin: 0;
    padding: 0;
  }
  #sp_nav .menu .ul_bottom {
    height: 40%;
  }
  #sp_nav .menu li.parent {
    width: 100%;
    text-align: center;
    border-top: solid 1px #fff;
  }
  #sp_nav .menu li.parent:last-child {
    border-bottom: solid 1px #fff;
  }
  #sp_nav .menu li.parent > a {
    display: block;
    padding: 30px 14px;
    font-size: 85%;
    position: relative;
  }
  #sp_nav .menu_display {
    right: 0%;
  }
  #sp_nav .scroll {
    top: 0;
    bottom: 0;
    width: 100%;
    padding: 0 0 30px;
    overflow-y: scroll;
    position: absolute;
    -webkit-overflow-scrolling: touch;
  }
  #sp_nav .background_display {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: block;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
  }

  /**
   * home
   */
  #home #kv .container img {
    display: none;
  }

  #home #kv .container {
    padding: 0;
    width: 100%;
  }

  #home #kv .container img.sp {
    display: block!important;
  }

  #home .lead {
    margin: 0;
  }

  #home article .description .panel {
    width: calc(94% / 2);
    margin: 0 6% 12px 0;
  }

  #home article .description .panel:nth-child(2n) {
    margin: 0 0 12px;
  }

  #home article .description .panel .image {
    height: 85px;
    overflow: hidden;
  }

  #home article .description .panel .image + p {
    margin: 4px 0 0;
  }

  #home article .description .panel .image p {
    font-size: 120%;
  }

  #home article .pages .panel {
    width: 100%;
    margin: 0 0 20px;
  }

  #home article .pages .panel img + p {
    height: auto!important;
  }
  
  /**
   * other
   */
  #kv .container {
    width: 100%;
    padding: 0;
    position: relative;
  }

  #kv .container .title h1 {
    font-size: 110%;
  }

  #description .service .panel {
    width: 100%;
    margin: 0 0 20px;
  }

  #description .service .panel .image p {
    font-size: 140%;
  }

  #description .service .panel .image + p {
    margin: 4px 0 0;
  }

  #description .result img {
    width: 100%;
    height: auto;
    float: none;
    margin: 0;
  }

  #description .anzen tr th {
    font-size: 100%;
  }

  #description .anzen tr td img {
    height: 60px;
  }

  #contact_area {
    margin: 40px 0 0;
  }

  #contact_area .bg {
    display: none;
  }

  #contact_area .sp {
    width: 100%;
    height: auto;
    display: block!important;
  }

  #contact_area .area {
    width: 90%;
    bottom: 12px;
    left: 5%;
    position: absolute;
  }

  #contact_area .area .panel {
    width: 100%;
    text-align: center;
  }

  #contact_area .area .panel:last-child {
    width: 100%;
    margin: 6px 0 0;
  }

  #contact_area .area .panel img {
    width: 70%;
    height: auto;
  }

  #access iframe {
    height: 300px;
  }

  #contact #kv .container .title h1 {
    font-size: 110%;
  }

  #contact table th,
  #contact table td {
    width: 100%;
    display: block;
    box-sizing: border-box;
  }

  #contact table td {
    margin: 0 0 12px;
    border: none;
  }

  #contact table td input[type="text"] {
    width: calc(100% - 16px);
  }

  #contact table td textarea {
    width: 100%;
  }

}
