@charset "UTF-8";

#g-contents h1 {
  background-color: #007A48;
  color: #fff;
  margin: 20px 0 40px;
}
#g-contents p {
  padding: 0 0 30px 20px;
  line-height: 1.6em;
}
h2 {
  color: #007A48;
  font-size: 1.3em;
  padding: 0 0 0 1.2em;
  text-indent: -1.2em;
  margin-bottom: 10px;
  line-height: 1.2em;
}
h2 span {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  background: #007A48;
}
h3 {
  color: #007A48;
  font-size: 1.4em;
  line-height: 1.2em;
  font-weight: bold;
  background-repeat: no-repeat;
  background-size: 22px auto;
  padding: 0 0 5px 26px;
}
h4 {
  color: #007A48;
  font-size: 1.2em;
  border-bottom: solid 1px #007A48;
  padding: 30px 0 10px 22px;
  margin: 0 20px;
}
a.link-ya {
  display: inline-block;
  color: #007A48;
  background: url(../images/customer_ya.svg) no-repeat 0 1px;
  background-size: 18px 18px;
  text-decoration: none;
  padding: 0 0 0 22px;
  margin-top: 5px;
}
a:hover.link-ya {
  text-decoration: underline;
}
.customer-wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.customer-txt {
  width: 57%;
}
.customer-photo {
  width: 40%;
  text-align: center;
}
.inquiry {
  background-color: #F0F0E1;
  border: solid 1px #82BB90;
  padding: 30px 25px;
  margin-bottom: 40px;
}
.inquiry dl {
  padding: 0 20px;
  line-height: 1.6em;
}
.inquiry dt {
  font-weight: bold;
  padding-top: 20px;
}
.inquiry dd {
  padding: 10px 0 10px 25px;
}
.inquiry dd li {
  list-style-type: disc;
  margin: 0 0 10px 20px;
}
.inquiry dd li:last-of-type {
  margin-bottom: 0;
}
.inquiry-wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  padding: 10px 0;
  margin: 20px 0;
}
.inquiry-wrap div {
  width: 48%;
  padding: 0 20px;
}
.inquiry-wrap div:nth-child(2) {
  border-left: solid 1px #007A48;
}
#g-contents .inquiry p {
  padding: 0 0 15px 0;
  line-height: 1.4em;
}
#g-contents .inquiry-wrap p.kome {
  padding: 0 0 5px 1em;
  text-indent: -1em;
}
h3.tel {
  background-image: url(../images/customer_tel.svg);
}
h3.mail {
  background-image: url(../images/customer_mail.svg);
}
.number, .number a {
  color: #007A48;
  font-size: 2em;
  font-weight: bold;
  text-align: right;
}
.addr {
  color: #007A48;
  font-size: 1.4em;
  font-weight: bold;
  text-align: right;
}
.addr a {
  display: inline-block;
  color: #007A48;
  background: url(../images/customer_ya.svg) no-repeat 0 4px;
  background-size: 18px 18px;
  text-decoration: none;
  padding: 0 0 0 22px;
}
.addr a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 1024px) {
.addr {
  font-size: 1.2em;
}
.addr a {
  background-position: 0 3px;
}
}

@media only screen and (max-width: 768px) {
  #g-secondnav {
    display: none;
  }
#g-contents h1 {
  padding: 10px 0;
}
h4 {
  margin: 0;
}
.customer-wrap {
  display: block;
}
.customer-txt {
  width: auto;
}
.customer-photo {
  width: auto;
  padding-bottom: 20px;
}
.inquiry {
  padding: 20px 15px;
}
.inquiry-wrap {
  display: block;
}
.inquiry-wrap div {
  width: auto;
  padding: 0;
}
.inquiry-wrap div:nth-child(2) {
  border-left: none;
  border-top: solid 1px #007A48;
  padding: 30px 0 0;
  margin: 20px 0 0;
}
.inquiry dl {
  padding: 0;
  line-height: 1.4em;
}
}

@media only screen and (max-width: 480px) {
h3 {
  font-size: 1.2em;
}
.addr {
  font-size: 1.2em;
}
}

@media only screen and (max-width: 360px) {
h3 {
  font-size: 1.1em;
}
.number, .number a {
  font-size: 1.4em;
}
.addr {
  font-size: 1.1em;
}
.addr a {
  background-size: 14px 14px;
  background-position: 0 3px;
  padding-left: 18px;
}
}
