#index main {
  display: block;
  padding: 0;
}
#index main .mainimg {
  position: relative;
  width: 100%;
  height: calc(100vh - 63px);
  background: url("../img/index/main_img.png") no-repeat center top;
  background-size: cover;
}
#index main .mainimg img {
  width: 100%;
  vertical-align: bottom;
}
#index main .mainimg .lead_text {
  font-family: 'Noto Serif Japanese';
  position: absolute;
  top: 8vh;
  left: 30px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  color: #988b6e;
  letter-spacing: 0.38em;
}
#index main .mainimg .menu_wrap {
  font-size: 0;
  margin: auto;
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 1;
}
#index main .mainimg .menu_wrap .menu_left,
#index main .mainimg .menu_wrap .menu_right {
  display: block;
  width: 100%;
  height: 78px;
  box-sizing: border-box;
  padding: 11px 25px 10px;
  color: #988b6e;
  overflow: hidden;
}
#index main .mainimg .menu_wrap .menu_left h2,
#index main .mainimg .menu_wrap .menu_right h2 {
  font-size: 16px;
  width: 270px;
  margin: auto auto 0;
  padding: 0 0 15px;
  background: none;
  letter-spacing: 0.240em;
}
#index main .mainimg .menu_wrap .menu_left h2 img,
#index main .mainimg .menu_wrap .menu_right h2 img {
  vertical-align: middle;
  width: 57px;
  height: 57px;
  margin-right: 15px;
}
#index main .mainimg .menu_wrap .menu_left ul,
#index main .mainimg .menu_wrap .menu_right ul {
  padding-bottom: 20px;
}
#index main .mainimg .menu_wrap .menu_left ul li,
#index main .mainimg .menu_wrap .menu_right ul li {
  display: inline-block;
  vertical-align: bottom;
  margin: 0 13px 20px 0;
}
#index main .mainimg .menu_wrap .menu_left ul li a,
#index main .mainimg .menu_wrap .menu_right ul li a {
  font-size: 14px;
  color: #988b6e;
  display: block;
  background: #fff;
  line-height: 32px;
  border-radius: 32px;
  padding: 0 22px;
}
#index main .mainimg .menu_wrap .menu_left {
  background: rgba(221, 240, 148, 0.9);
}
#index main .mainimg .menu_wrap .menu_right {
  background: rgba(169, 229, 220, 0.9);
}
#index main .mainimg .menu_wrap .menu_right a {
  opacity: 1;
  cursor: default;
}
#index main .scroll {
  background: #fff;
  height: 40px;
  width: 100%;
  color: #988b6e;
  text-align: center;
  line-height: normal;
  font-size: 12px;
}
#index main .scroll img {
  display: block;
  margin: auto;
  padding-top: 10px;
  width: 11px;
  height: 6px;
}
#index main .news {
  background: #eef8f5;
  padding: 55px 25px;
}
#index main .news .news_contents {
  background: #fff;
  border-radius: 10px;
  padding: 25px 20px 0;
}
#index main .news .news_contents h2 {
  font-size: 20px;
  color: #988b6e;
  margin-bottom: 30px;
  background: none;
  padding: 0;
}
#index main .news .news_contents h2 span {
  font-size: 14px;
  display: block;
}
#index main .news .news_contents dl {
  margin-top: 25px;
}
#index main .news .news_contents dl:first-of-type {
  margin-top: 0;
}
#index main .news .news_contents dl dd a {
  color: #4c4948;
}
#index main .news .news_contents .cate {
  display: inline-block;
  margin-right: 13px;
  width: 129px;
  height: 24px;
  line-height: 24px;
  border-radius: 24px;
  text-align: center;
}
#index main .news .news_contents .cate.cate1 {
  background: #d6d1c5;
}
#index main .news .news_contents .cate.cate2 {
  background: #ddf094;
}
#index main .news .news_contents .cate.cate3 {
  background: #a9e5dc;
}
#index main .news .news_contents .date {
  color: #838383;
  display: inline-block;
}
#index main .news .news_contents .link_news {
  margin-top: 40px;
}
#index main .news .news_contents .link_news a {
  display: block;
  margin: auto;
  width: 150px;
  height: 60px;
  background: #988b6e;
  color: #fff;
  text-align: center;
  line-height: 60px;
}
#index main .news .news_contents .link_news a img {
  width: 23px;
  height: 7px;
  vertical-align: 4px;
  margin-left: 10px;
}
#index main .ishigami {
  background: #fff;
}
#index main .ishigami .profile {
  position: relative;
  margin: 0 25px;
  padding: 42px 0 57px;
}
#index main .ishigami .profile h2 {
  height: 211px;
  width: calc(100% - 164px);
  margin-bottom: 35px;
  color: #988b6e;
  font-size: 20px;
  letter-spacing: 0.32em;
  background: none;
  padding: 0;
}
#index main .ishigami .profile h2 span {
  display: block;
}
#index main .ishigami .profile h2 span.position {
  font-size: 14px;
  margin-bottom: 32px;
}
#index main .ishigami .profile h2 span.position:after {
  content: '';
  display: block;
  width: 76px;
  height: 1px;
  background: #988b6e;
  margin-top: 38px;
}
#index main .ishigami .profile h2 span.english {
  font-size: 12px;
  letter-spacing: 0.225em;
}
#index main .ishigami .profile .img .img1 {
  position: absolute;
  top: 42px;
  right: 0;
  width: 164px;
  height: 211px;
}
#index main .ishigami .profile .img .link {
  text-align: center;
  margin-top: 47px;
}
#index main .ishigami .profile .img .link a {
  display: block;
  width: 224px;
  height: 60px;
  line-height: 60px;
  background: #988b6e;
  color: #fff;
  margin: auto;
}
#index main .ishigami .profile .img .link a img {
  width: 36px;
  height: 7px;
  vertical-align: 4px;
  margin-left: 10px;
}
#index main .case {
  background: #eef8f5;
  padding: 50px 25px;
}
#index main .case .case_list {
  list-style: none;
}
#index main .case .case_list li {
  margin-top: 23px;
}
#index main .case .case_list li a {
  display: block;
  color: #988b6e;
  height: 150px;
  font-size: 20px;
  padding: 0 34px;
  line-height: 1.575em;
  position: relative;
  background: #fff;
  border-radius: 15px;
}
#index main .case .case_list li a img {
  width: 100px;
  height: 100px;
  vertical-align: middle;
  position: absolute;
  right: 34px;
  top: 0;
  bottom: 0;
  margin: auto;
}
#index main .case .case_list li a span {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 35px;
}
#index main .case .case_list li:first-child {
  margin-top: 0;
}
#index main .case .case_list li:nth-child(3) span {
  height: 29px;
}
#index main .case .case_list li:first-child span,
#index main .case .case_list li:nth-child(2) span {
  height: 60px;
}

/* tablet */

@media all and (min-width: 768px) {
  #index main .news {
    padding: 55px 50px;
  }
  #index main .news .news_contents {
    padding: 25px 40px 0;
  }
  #index main .ishigami .profile {
    margin: 0 50px;
  }
  #index main .case {
    padding: 50px;
  }
}

/* pc */

@media all and (min-width: 1025px) {
  #index main .mainimg {
    background: url("../img/index/main_img_pc.png") no-repeat center right;
    background-size: cover;
  }
  #index main .mainimg .lead_text {
    left: 30%;
    font-size: 30px;
  }
  #index main .mainimg .menu_wrap {
    display: flex;
  }
  #index main .mainimg .menu_wrap .menu_left,
  #index main .mainimg .menu_wrap .menu_right {
    width: 50%;
    height: auto;
    padding: 0 0 24px;
    vertical-align: bottom;
    box-sizing: border-box;
  }
  #index main .mainimg .menu_wrap .menu_left h2,
  #index main .mainimg .menu_wrap .menu_right h2 {
    width: auto;
    font-size: 18px;
    letter-spacing: 0.24em;
    max-width: 680px;
    margin: auto auto 0;
    padding: 24px 35px 20px;
  }
  #index main .mainimg .menu_wrap .menu_left .menu_list,
  #index main .mainimg .menu_wrap .menu_right .menu_list {
    max-width: 680px;
    margin: auto;
    padding: 0 35px;
  }
  #index main .mainimg .menu_wrap .menu_left .menu_list li,
  #index main .mainimg .menu_wrap .menu_right .menu_list li {
    box-sizing: border-box;
  }
  #index main .scroll {
    display: none;
  }
  #index main .news {
    position: relative;
    z-index: 1;
  }
  #index main .news {
    padding: 120px 50px;
  }
  #index main .news .news_contents {
    max-width: 1000px;
    margin: auto;
    position: relative;
    padding: 36px 30px;
  }
  #index main .news .news_contents h2,
  #index main .news .news_contents .news_list {
    display: inline-block;
    vertical-align: top;
  }
  #index main .news .news_contents h2 {
    letter-spacing: 0.24em;
    width: 130px;
  }
  #index main .news .news_contents .news_list {
    width: calc(100% - 140px);
    padding-right: 150px;
    box-sizing: border-box;
  }
  #index main .news .news_contents .news_list dl dt,
  #index main .news .news_contents .news_list dl dd {
    display: inline-block;
    vertical-align: top;
  }
  #index main .news .news_contents .news_list dl dt {
    width: 240px;
  }
  #index main .news .news_contents .news_list dl dt .date {
    font-size: 12px;
  }
  #index main .news .news_contents .news_list dl dd {
    font-size: 16px;
  }
  #index main .news .news_contents .link_news {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 60px;
    margin: auto;
  }
  #index main .ishigami .profile {
    max-width: 1000px;
    margin: auto;
    position: relative;
    padding: 50px 0 60px;
  }
  #index main .ishigami .profile h2,
  #index main .ishigami .profile p {
    width: calc(100% - 530px);
    text-align: justify;
  }
  #index main .ishigami .profile h2 {
    margin-bottom: 30px;
    height: auto;
    font-size: 28px;
  }
  #index main .ishigami .profile h2 span.position {
    margin-bottom: 30px;
    font-size: 16px;
  }
  #index main .ishigami .profile h2 span.position:after {
    margin-top: 15px;
  }
  #index main .ishigami .profile h2 span.english {
    font-size: 14px;
    margin-top: 10px;
  }
  #index main .ishigami .profile p {
    text-align: justify;
    letter-spacing: 0.085em;
  }
  #index main .ishigami .profile .img {
    position: absolute;
    top: -30px;
    right: 0;
    width: 390px;
    height: 500px;
    z-index: 1;
  }
  #index main .ishigami .profile .img .img1 {
    width: 100%;
    height: auto;
    position: static;
  }
  #index main .ishigami .profile .img .link {
    position: absolute;
    left: -100px;
    bottom: 90px;
  }
  #index main .case {
    padding: 150px 50px 130px;
  }
  #index main .case .case_list {
    width: 1000px;
    margin: auto;
    font-size: 0;
    letter-spacing: 0;
  }
  #index main .case .case_list li {
    display: inline-block;
    width: 300px;
    height: 300px;
    background: #fff;
    border-radius: 15px;
    position: relative;
  }
  #index main .case .case_list li:nth-child(2) {
    margin: 0 50px;
  }
  #index main .case .case_list li:nth-child(2) span {
    height: 29px;
  }
  #index main .case .case_list li:first-child span,
  #index main .case .case_list li:nth-child(3) span {
    height: 29px;
  }
  #index main .case .case_list li a {
    height: auto;
    position: static;
  }
  #index main .case .case_list li a span {
    bottom: 76px;
    top: auto;
    left: 0;
    right: 0;
    text-align: center;
  }
  #index main .case .case_list li a img {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    bottom: auto;
    margin: auto;
  }
}