@charset "UTF-8";
html {
  font-size: 22px;
}

html {
  scroll-behavior: smooth;
}

@media only screen and (max-width: 768px) {
  body {
    font-size: 70%;
  }
}

@media only screen and (max-width: 500px) {
  body {
    font-size: 60%;
  }
}

:target {
  -webkit-animation: modify 0.1s;
  animation: modify 0.1s;
}

@-webkit-keyframes modify {
  0% {
    padding-top: 172px;
    margin-top: -172px;
  }
  100% {
    padding-top: 0;
    margin-top: 0;
  }
}

@keyframes modify {
  0% {
    padding-top: 172px;
    margin-top: -172px;
  }
  100% {
    padding-top: 0;
    margin-top: 0;
  }
}

header {
  border-bottom: 3px solid #39B54A;
  background: #fff;
  width: 100%;
  z-index: 99;
}

.top-border {
  width: 100%;
  height: 11px;
  background-color: #39B54A;
  color: #fff;
  font-size: 0.45455rem;
  font-weight: normal;
  height: 30px;
  line-height: 30px;
}

.top-header-midasi {
  width: 960px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .top-header-midasi {
    text-align: center;
    width: 100%;
  }
}

.header-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 960px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .header-top {
    width: 96%;
  }
}

@media only screen and (max-width: 768px) {
  .header-left {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .header-left img {
    width: 50%;
    float: left;
    padding: 10px 0;
    margin-right: 20px;
  }
}

.header-left p {
  font-size: 0.68182rem;
}

.head_tel {
  display: none;
}

@media only screen and (max-width: 999px) {
  .header-left p {
    margin-left: 100px;
    padding: 40px;
    font-size: 0.68182rem;
    line-height: 16px;
  }
}

@media only screen and (max-width: 500px) {
  .header-left p {
    font-size: 0.45455rem;
    line-height: 12px;
    padding: 10px 0;
  }
}

.header-left p br {
  display: none;
}

@media only screen and (max-width: 768px) {
  .header-left p br {
    display: block;
  }
  .head_tel {
    display: block;
  }
}

.header-right {
  padding-top: 16px;
}

@media only screen and (max-width: 768px) {
  .header-right {
    display: none;
  }
}

.header-right .header-yoyaku {
  width: 377px;
  height: 24px;
  margin-bottom: 8px;
}

.header-right a {
  font-size: 1.77273rem;
  color: #000;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  /* font */
}

.g-nav {
  width: 960px;
  height: 46px;
  margin: 0 auto;
  position: relative;
  font-size: 0.59091rem;
}

.g-nav a {
  color: #000;
  text-decoration: none;
  padding: 8px;
}

.g-nav a:hover {
  background-color: #39B54A;
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .g-nav {
    display: none;
  }
}

.g-nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 46px;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.top-image {
  text-align: center;
}

@media only screen and (max-width: 999px) {
  .top-image {
    width: 100%;
  }
  .top-image img {
    width: 100%;
  }
}

@media only screen and (max-width: 500px) {
  .top-image {
    top: 100px;
    width: 100%;
  }
  .top-image img {
    width: 100%;
  }
}

.top-line {
  background-color: #F15A24;
}

.doctor-voice {
  background-color: #FFFFC8;
  padding-bottom: 50px;
}

.doctor-voice h2 {
  text-align: center;
}

.doctor-voice h2 img {
  width: 900px;
  height: auto;
  padding: 50px 0;
}

@media only screen and (max-width: 768px) {
  .doctor-voice h2 img {
    width: 100%;
    padding: 20px 0;
  }
}

.doctor-voice-box {
  background-color: #fff;
  width: 960px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 50px;
  border: 2px solid #8F8F8F;
  border-top: 0;
}

@media only screen and (max-width: 768px) {
  .doctor-voice-box {
    width: 90%;
  }
}

.doctor-voice-box h3 {
  padding-bottom: 20px;
  font-size: 1.59091rem;
  line-height: 50px;
}

@media only screen and (max-width: 768px) {
  .doctor-voice-box h3 {
    font-size: 0.81818rem;
    line-height: 24px;
  }
}

.doctor-voice-box h4 {
  font-size: 1.09091rem;
  padding: 30px 0 40px;
}

@media only screen and (max-width: 768px) {
  .doctor-voice-box h4 {
    font-size: 0.72727rem;
  }
}

.doctor-voice-box:last-child {
  margin-bottom: 0;
}

.doctor-comment {
  padding: 0 60px 60px;
  font-size: 1.22727rem;
  line-height: 50px;
  color: #231815;
  text-align: left;
}

@media only screen and (max-width: 768px) {
  .doctor-comment {
    padding: 0 20px 20px;
    font-size: 0.72727rem;
    line-height: 30px;
  }
}

.doctor-comment img {
  text-align: left;
  float: left;
  padding-right: 50px;
  padding-bottom: 40px;
}

@media only screen and (max-width: 768px) {
  .doctor-comment img {
    width: 140px;
    height: auto;
    padding-right: 20px;
    padding-bottom: 16px;
  }
}

.border {
  width: 960px;
  position: relative;
  bottom: 15px;
}

@media only screen and (max-width: 768px) {
  .border {
    width: 100%;
    bottom: 11px;
  }
}

img.border.short {
  width: 844px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  img.border.short {
    width: 80%;
  }
}

.voice-midasi {
  width: 100%;
}

.voice-midasi img {
  width: 100%;
  position: relative;
}

@media only screen and (max-width: 768px) {
  .voice-midasi img {
    width: 100%;
    height: 110px;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.voice-midasi h2 {
  position: relative;
  z-index: 10;
  font-size: 1.72727rem;
  color: #fff;
  bottom: 120px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .voice-midasi h2 {
    font-size: 0.81818rem;
    bottom: 60px;
  }
}

.p-movie {
  width: 960px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .p-movie {
    width: 90%;
  }
}

.youtube-box {
  position: relative;
  padding-bottom: 56.25%;
  /*アスペクト比 16:9の場合の縦幅*/
  height: 0;
  overflow: hidden;
}

.youtube-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-movie-comment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-top: 20px;
}

@media only screen and (max-width: 768px) {
  .p-movie-comment {
    display: block;
  }
}

.text-left {
  font-size: 0.90909rem;
}

@media only screen and (max-width: 768px) {
  .text-left {
    font-size: 0.45455rem;
    padding-bottom: 20px;
  }
}

.text-right {
  text-align: right;
  font-size: 1.09091rem;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .text-right {
    font-size: 0.72727rem;
    text-align: center;
  }
}

/* アコーディオンA */
.ac-box {
  width: 960px;
  margin: 30px auto 5px;
}

@media only screen and (max-width: 768px) {
  .ac-box {
    width: 90%;
  }
}

/*ラベル*/
.ac-box label {
  max-width: 600px;
  height: 93px;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  background: #F15A24;
  margin: auto;
  line-height: 93px;
  position: relative;
  display: block;
  cursor: pointer;
  color: #fff;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

@media only screen and (max-width: 768px) {
  .ac-box label {
    height: 60px;
    font-size: 20px;
    line-height: 60px;
  }
}

/*チェックを隠す*/
.ac-box input {
  display: none;
}

/*チェックのアイコン（↓）*/
.ac-box label:after {
  color: #fff;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: " \f078";
}

/*チェックのアイコン（↑）*/
.ac-box input:checked ~ label::after {
  color: #fff;
  font-family: "Font Awesome 5 Free";
  content: " \f077";
  font-weight: bold;
}

/*中身を非表示にしておく*/
.ac-box div {
  height: 0px;
  padding: 0px;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

/*クリックで中身を表示*/
.ac-box input:checked ~ div {
  height: auto;
  padding: 5px;
  background: #FFFFC8;
  opacity: 1;
}

/*表示内容の調整*/
.ac-box div p {
  color: #231815;
  font-size: 1.22727rem;
  line-height: 50px;
  padding: 20px;
  text-align: justify;
}

@media only screen and (max-width: 768px) {
  .ac-box div p {
    font-size: 0.72727rem;
    line-height: 30px;
    padding: 10px;
  }
}

.ac-small {
  margin-top: 40px;
}

@media only screen and (max-width: 768px) {
  .ac-small {
    margin: 0;
  }
}

.ac-small p {
  margin-bottom: 0px;
}

.contact-area {
  width: 100%;
}

.contact-start img {
  width: 100%;
  position: relative;
  top: 40px;
}

.contact-attention {
  line-height: 2;
}

@media only screen and (max-width: 768px) {
  .contact-start img {
    -o-object-fit: cover;
    object-fit: cover;
    height: 120px;
  }
}

.contact-price {
  background-color: #FFFFC8;
  padding-top: 80px;
  padding-bottom: 40px;
}

@media only screen and (max-width: 768px) {
  .contact-price {
    padding: 40px 0 10px;
  }
}

.contact-price-inner {
  width: 960px;
  margin: 0 auto;
  line-height: 60px;
}

@media only screen and (max-width: 768px) {
  .contact-price-inner {
    width: 90%;
    line-height: 40px;
  }
  .contact-price-inner img {
    width: 100%;
  }
}

.line-area {
  background-color: #38D430;
  padding: 40px 0;
}

.line-area h3 {
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .line-area h3 img {
    width: 90%;
  }
}

.line-box {
  width: 720px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media only screen and (max-width: 768px) {
  .line-box {
    width: 90%;
    padding-top: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .line-box .line-box-left {
    width: 40%;
    padding-right: 10px;
  }
  .line-box .line-box-left img {
    width: 100%;
  }
  .line-box .line-box-right {
    width: 60%;
    padding-top: 10px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }
  .line-box .line-box-right img {
    width: 100%;
  }
}

.line-box-right {
  text-align: right;
}

@media only screen and (max-width: 768px) {
  .line-box-right {
    padding-top: 30px;
  }
}

.nayami-list {
  padding-top: 60px;
  width: 960px;
  margin: 0 auto;
  position: relative;
}

@media only screen and (max-width: 768px) {
  .nayami-list {
    width: 90%;
  }
  .nayami-list h2 img {
    width: 100%;
  }
}

.nayami-list h2 {
  text-align: center;
}

.nayami-list ul {
  font-size: 1.22727rem;
  line-height: 62px;
  letter-spacing: 0.54px;
  list-style: none;
  background-image: url("../img/nayami-woman2.png");
  background-repeat: no-repeat;
  background-position: right;
  background-size: 40%;
}

@media only screen and (max-width: 768px) {
  .nayami-list ul {
    font-size: 0.63636rem;
    line-height: 32px;
    background-size: 30%;
  }
}

.nayami-list ul li::before {
  content: '';
  display: inline-block;
  background-image: url("../img/check.png");
  position: relative;
  width: 26px;
  height: 26px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 768px) {
  .nayami-list ul li::before {
    width: 12px;
    height: 12px;
  }
}

.nayami-list li span {
  text-decoration: underline;
  color: #ff0000;
}

.nayamiarrow {
  text-align: center;
  padding: 10px 0;
}

@media only screen and (max-width: 768px) {
  .nayamiarrow img {
    width: 140px;
    height: auto;
  }
}

.kaiketu-text {
  width: 960px;
  margin: 0 auto;
  font-size: 1.09091rem;
  color: #231815;
  line-height: 50px;
}

@media only screen and (max-width: 768px) {
  .kaiketu-text {
    width: 90%;
  }
  .kaiketu-text img {
    width: 100%;
  }
}

.kaiketu-text p {
  padding-bottom: 80px;
}

@media only screen and (max-width: 768px) {
  .kaiketu-text p {
    font-size: 0.72727rem;
    line-height: 30px;
    padding-bottom: 40px;
  }
}

.nayami-kaiketu h3 {
  text-align: center;
  padding-bottom: 20px;
}

.nayami-kaiketu-midasi {
  background: #FFFFC8;
  padding-top: 1rem;
}

@media only screen and (max-width: 768px) {
  .nayami-kaiketu h3 img {
    width: 100%;
  }
}

.p-sub-voice {
  background-color: #FFFFC8;
}

@media only screen and (max-width: 768px) {
  .p-sub-voice {
    padding-bottom: 20px;
  }
}

.p-sub-voice-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 960px;
  margin: 0 auto;
  padding-top: 40px;
}

@media only screen and (max-width: 768px) {
  .p-sub-voice-group {
    display: block;
    width: 90%;
    margin: 0 auto;
  }
}

.p-sub-voice-box {
  width: 450px;
}

@media only screen and (max-width: 768px) {
  .p-sub-voice-box {
    width: 100%;
  }
}

.p-sub-voice-box p {
  text-align: center;
  font-size: 0.90909rem;
  line-height: 30px;
  padding-top: 10px;
}

@media only screen and (max-width: 768px) {
  .p-sub-voice-box p {
    font-size: 0.68182rem;
  }
}

.p-sub-voice-box .bold {
  font-weight: bold;
}

.p-sub-voice-title {
  width: 450px;
  height: 120px;
  color: #fff;
  background-color: #39B54A;
  font-size: 1.54545rem;
  line-height: 38px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

@media only screen and (max-width: 768px) {
  .p-sub-voice-title {
    height: 80px;
    font-size: 0.90909rem;
    line-height: 24px;
    display: inline-block;
    width: 100%;
    padding-top: 20px;
  }
}

/* アコーディオンさぶ */
.s-ac-box {
  width: 400px;
  margin: 30px auto 80px;
}

@media only screen and (max-width: 768px) {
  .s-ac-box {
    width: 100%;
  }
}

/*ラベル*/
.s-ac-box label {
  max-width: 400px;
  height: 80px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  background: #F15A24;
  margin: auto;
  line-height: 80px;
  position: relative;
  display: block;
  cursor: pointer;
  color: #fff;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

/*チェックを隠す*/
.s-ac-box input {
  display: none;
}

/*チェックのアイコン（↓）*/
.s-ac-box label:after {
  color: #fff;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: " \f078";
}

/*チェックのアイコン（↑）*/
.s-ac-box input:checked ~ label::after {
  color: #fff;
  font-family: "Font Awesome 5 Free";
  content: " \f077";
  font-weight: bold;
}

/*中身を非表示にしておく*/
.s-ac-box div {
  height: 0px;
  padding: 0px;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

/*クリックで中身を表示*/
.s-ac-box input:checked ~ div {
  height: auto;
  padding: 5px;
  background: #fff;
  opacity: 1;
}

/*表示内容の調整*/
.s-ac-box div p {
  color: #231815;
  font-size: 1.22727rem;
  line-height: 50px;
  padding: 20px;
  text-align: justify;
}

@media only screen and (max-width: 768px) {
  .s-ac-box div p {
    font-size: 0.72727rem;
    line-height: 30px;
    padding: 20px;
  }
}

.ac-small p {
  margin-bottom: 0px;
}

.intyou {
  width: 960px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .intyou {
    width: 90%;
  }
}

.intyou h2 {
  text-align: center;
  padding: 40px 0 50px;
}

@media only screen and (max-width: 768px) {
  .intyou h2 {
    padding: 20px 0 25px;
  }
  .intyou h2 img {
    width: 100%;
  }
}

.intyou-photo-area {
  width: 320px;
  height: 470px;
  background-color: #F2F2F2;
  float: left;
  margin: 0 40px 0 0;
  text-align: center;
}

.intyou-photo-area img {
  width: 300px;
  height: auto;
  padding-top: 10px;
}

@media only screen and (max-width: 768px) {
  .intyou-photo-area {
    width: 180px;
    height: 300px;
    margin: 0 20px 20px 0;
  }
  .intyou-photo-area img {
    width: 170px;
  }
}

.doctor-name {
  font-size: 1.40909rem;
  padding-top: 15px;
  line-height: 39px;
}

.doctor-name span {
  font-size: 0.90909rem;
}

@media only screen and (max-width: 768px) {
  .doctor-name {
    font-size: 0.72727rem;
    line-height: 20px;
  }
  .doctor-name span {
    font-size: 12px;
  }
}

.small-text {
  font-size: 0.72727rem;
  padding-top: 15px;
  line-height: 20px;
}

@media only screen and (max-width: 768px) {
  .small-text {
    font-size: 0.45455rem;
  }
}

.profile-text {
  font-size: 1.22727rem;
  color: #231815;
  line-height: 50px;
}

.profile-text p {
  padding-bottom: 80px;
}

@media only screen and (max-width: 768px) {
  .profile-text {
    font-size: 0.72727rem;
    line-height: 30px;
  }
  .profile-text p {
    padding-bottom: 40px;
  }
}

.reason-area {
  background-color: #FFFFC8;
  padding: 90px 0 60px;
}

@media only screen and (max-width: 768px) {
  .reason-area {
    padding: 20px 0;
  }
}

.reason-box {
  width: 960px;
  margin: 0 auto;
  -webkit-box-shadow: 0 0 8px gray;
  box-shadow: 0 0 8px gray;
  background-color: #fff;
  padding: 60px 50px 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-image: url("../img/nayami-woman.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 50%;
}

.reason-box p {
  padding-bottom: 80px;
  line-height: 50px;
  font-size: 1.22727rem;
  color: #231815;
}

.reason-box span {
  color: #39B54A;
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .reason-box {
    width: 90%;
    padding: 110px 25px 10px;
    background-position: top;
    background-size: 40%;
  }
  .reason-box p {
    padding-bottom: 40px;
    line-height: 30px;
    font-size: 0.72727rem;
  }
  .reason-box img {
    width: 100%;
  }
}

.choice-area {
  background-color: #FFFFC8;
  padding-bottom: 50px;
}

.choice-area h3 {
  background-color: #FFFFC8;
}

.choice-area h2 img {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .choice-area {
    padding-bottom: 30px;
  }
  .choice-area h2 img {
    height: 110px;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.choice-box {
  width: 960px;
  margin: 0 auto;
  background-color: #fff;
}

.choice-box h3 img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 768px) {
  .choice-box {
    width: 90%;
  }
  .choice-box h3 img {
    width: 100%;
  }
}

.choice-text {
  padding: 50px 50px 40px;
}

.choice-text img {
  width: 400px;
  height: auto;
  padding-right: 50px;
  float: left;
}

.choice-text p {
  font-size: 1.22727rem;
  color: #231815;
  line-height: 50px;
  padding-bottom: 70px;
}

@media only screen and (max-width: 768px) {
  .choice-text {
    padding: 30px 10px 45px;
  }
  .choice-text img {
    width: 170px;
    padding-right: 10px;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .choice-text p {
    font-size: 0.72727rem;
    line-height: 30px;
    padding-bottom: 40px;
  }
}

.flow-area {
  width: 960px;
  margin: 100px auto 70px;
}

@media only screen and (max-width: 768px) {
  .flow-area {
    width: 90%;
    margin: 50px auto 30px;
  }
}

.flow-title {
  border-top: 8px solid #00934A;
  border-bottom: 8px solid #00934A;
  margin-bottom: 55px;
}

.flow-title h2 {
  font-size: 2.13636rem;
  text-align: center;
  line-height: 57px;
}

@media only screen and (max-width: 768px) {
  .flow-title {
    border-top: 6px solid #00934A;
    border-bottom: 6px solid #00934A;
  }
  .flow-title h2 {
    font-size: 1.36364rem;
    line-height: 40px;
  }
}

.flow-box {
  border: 2px solid #b3b3b3;
  border-radius: 10px;
  padding: 70px 50px;
  position: relative;
}

.flow-box p {
  font-size: 27px;
  line-height: 50px;
  color: #231815;
}

@media only screen and (max-width: 768px) {
  .flow-box {
    padding: 40px 20px;
  }
  .flow-box p {
    font-size: 0.72727rem;
    line-height: 30px;
  }
}

.float-photo {
  padding-right: 40px;
  padding-bottom: 40px;
}

.flow-photo.left {
  float: left;
  padding-right: 50px;
  padding-bottom: 50px;
}

@media only screen and (max-width: 768px) {
  .flow-photo.left {
    width: 150px;
    height: 120px;
    -o-object-fit: cover;
    object-fit: cover;
    padding: 0 20px 20px 0;
  }
}

.flow-photo.right {
  float: right;
  padding-left: 50px;
  padding-bottom: 50px;
}

@media only screen and (max-width: 768px) {
  .flow-photo.right {
    width: 150px;
    height: 120px;
    -o-object-fit: cover;
    object-fit: cover;
    padding: 0 0 20px 20px;
  }
}

.flow-arrow {
  text-align: center;
  padding: 20px 0;
}

@media only screen and (max-width: 768px) {
  .flow-arrow img {
    width: 90px;
    height: auto;
  }
}

.flow-box-title {
  position: absolute;
  background-color: #fff;
  color: #39B54A;
  height: 86px;
  text-align: center;
  top: -50px;
  padding: 5px 10px;
}

.flow-box-title h3 {
  font-size: 2.36364rem;
  line-height: 86px;
  color: #00934A;
}

@media only screen and (max-width: 768px) {
  .flow-box-title {
    height: 40px;
    top: -26px;
  }
  .flow-box-title h3 {
    font-size: 1.09091rem;
    line-height: 40px;
  }
}

.person {
  width: 960px;
  margin: 0 auto;
}

.person img {
  position: relative;
  top: 10px;
  z-index: -1;
}

@media only screen and (max-width: 999px) {
  .person {
    width: 90%;
  }
  .person img {
    position: relative;
    top: 10px;
    right: 60px;
    width: 90%;
    z-index: -1;
  }
}

@media only screen and (max-width: 500px) {
  .person {
    width: 90%;
  }
  .person img {
    width: 100%;
    position: relative;
    top: 8px;
    right: 20px;
    -o-object-fit: cover;
    object-fit: cover;
    height: 76px;
    -o-object-position: right;
    object-position: right;
  }
}

.person-text {
  padding: 30px;
}

@media only screen and (max-width: 768px) {
  .person-text {
    padding: 10px;
  }
}

.person-text ul {
  list-style: none;
}

.person-text ul li::before {
  content: '';
  display: inline-block;
  background-image: url("../img/check.png");
  position: relative;
  width: 26px;
  height: 26px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 768px) {
  .person-text ul li::before {
    width: 16px;
    height: 16px;
  }
}

.person-text li {
  font-size: 1.22727rem;
  line-height: 62px;
  letter-spacing: 0.54px;
  color: #000000;
}

@media only screen and (max-width: 768px) {
  .person-text li {
    font-size: 0.68182rem;
    line-height: 31px;
  }
}

.person-text.good {
  border: 5px solid #F7931E;
  border-radius: 10px;
}

.person-text.bad {
  border: 5px solid #b3b3b3;
  border-radius: 10px;
}

.access-area {
  width: 960px;
  margin: 100px auto 0;
}

.access-area h2 {
  border-top: 1px solid #b3b3b3;
  border-bottom: 1px solid #b3b3b3;
  font-size: 2.13636rem;
  line-height: 58px;
  text-align: center;
  padding: 6px 0;
}

.access-area .logo {
  width: 620px;
  height: 140px;
  margin: 30px auto;
}

@media only screen and (max-width: 768px) {
  .access-area {
    width: 90%;
  }
  .access-area h2 {
    font-size: 1.22727rem;
    line-height: 29px;
  }
  .access-area .logo {
    width: 100%;
    height: auto;
  }
  .access-area .logo img {
    width: 100%;
  }
}

.access-box {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 0.90909rem;
  line-height: 29px;
  margin: 28px 0;
}

@media only screen and (max-width: 768px) {
  .access-box {
    display: block;
    font-size: 0.81818rem;
    line-height: 23px;
  }
}

.access-box .access-left {
  float: left;
  padding-right: 10px;
}

.access-box dd {
  padding-bottom: 16px;
}

@media only screen and (max-width: 768px) {
  .access-box .access-left {
    float: none;
    padding: 0;
  }
}

@media only screen and (max-width: 768px) {
  .gmap {
    width: 100% !important;
    height: 300px;
    height: auto;
    position: relative;
    padding-bottom: 320px;
  }
  .gmap iframe {
    position: absolute;
    width: 100%;
    height: 300px;
  }
}

.map {
  margin: 60px 0;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .map {
    margin: 20px 0;
  }
  .map img {
    width: 100%;
  }
  .map p {
    font-size: 0.54545rem;
  }
}

.footer-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 40px 0 20px;
  color: #333333;
}

.footer-box img {
  width: 400px;
  height: auto;
  padding-bottom: 40px;
}

@media only screen and (max-width: 768px) {
  .footer-box {
    display: block;
    padding-left: 8px;
  }
  .footer-box img {
    width: 100%;
    height: auto;
  }
}

.footer-left {
  width: 480px;
  font-size: 0.86364rem;
}

@media only screen and (max-width: 768px) {
  .footer-left {
    width: 96%;
    font-size: 0.68182rem;
    line-height: 20px;
  }
}

.footer-left .footer-data {
  padding-left: 16px;
}

.footer-left dt {
  float: left;
}

.footer-left dd {
  margin-left: 70px;
  margin-bottom: 10px;
}

.footer-right {
  width: 480px;
  padding-left: 30px;
  margin-left: 16px;
}

@media only screen and (max-width: 768px) {
  .footer-right {
    border: 0;
    width: 96%;
    margin: 30px 0;
    padding: 0;
  }
}

.footer-right h2 {
  border-left: 2px solid #333;
  padding-left: 12px;
  margin-bottom: 30px;
  font-size: 0.86364rem;
}

.footer-right ul {
  list-style: none;
  font-size: 0.81818rem;
  line-height: 30px;
}

.footer-right ul li a {
  text-decoration: none;
  color: #000;
}

.footer-right ul li a:hover {
  color: #F15A24;

}

.footer-right ul li a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .footer-right ul li a {
    padding-left: 16px;
    font-size: 0.68182rem;
  }
}

.copyright {
  text-align: center;
  font-size: 0.72727rem;
  line-height: 27.5px;
}

@media only screen and (max-width: 768px) {
  .copyright {
    padding-bottom: 120px;
    font-size: 0.45455rem;
  }
}

.pagetop {
  display: none;
}
.sp-menu-relative {
  width: 100%;
  height: 80px;
  position: relative;
}

.sp-menu {
  display: none;
}

@media only screen and (max-width: 768px) {
  .pagetop {
    display: block;
    width: 80px;
    position: fixed;
    bottom: 90px;
    right: 10px;
  }  
  .sp-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80px;
    text-align: center;
    line-height: 20px;
    padding-top: 16px;
    vertical-align: middle;
    z-index: 999;
  }
  .sp-menu a {
    width: 50%;
    text-decoration: none;
  }
  .sp-menu .sp-menu-phone {
    background: -webkit-gradient(linear, left top, left bottom, from(#F15A24), to(#F13924));
    background: -webkit-linear-gradient(#F15A24, #F13924);
    background: -o-linear-gradient(#F15A24, #F13924);
    background: linear-gradient(#F15A24, #F13924);
    color: #FFFF00;
    padding: 10px;
  }
  .sp-menu .sp-menu-phone img {
    width: 30px;
    float: left;
  }
  .sp-menu .sp-menu-phone h2 {
    font-size: 0.63636rem;
  }
  .sp-menu .sp-menu-phone p {
    font-size: 0.81818rem;
  }
  .sp-menu .sp-menu-line {
    background-color: #38D430;
    line-height: 80px;
  }
  .sp-menu .sp-menu-line img {
    width: 90px;
    top: 6px;
    position: relative;
  }
  .sp-menu .sp-menu-line p {
    float: right;
    font-weight: bold;
    color: #fff;
    text-align: left;
  }
}

.post-area {
  width: 960px;
  margin: 100px auto;
}

@media only screen and (max-width: 768px) {
  .post-area {
    width: 96%;
  }
}
