@media screen and (max-width: 767px) {
  section {
    text-align: justify;
  }
}

i {
  font-style: normal !important;
  position: relative;
}

small {
  font-style: normal !important;
}

#key-box {
  overflow: hidden;
  position: relative;
  height: inherit;
}

#key-box * {
  height: 160vw;
}

#key-box .slide {
  overflow: hidden;
}

#key-box img {
  max-width: none !important;
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  #key-box * {
    height: 900px;
  }
}

#rss {
  color: #f6f1ec;
  position: relative;
  padding: 20vw 5% 44vw;
  z-index: 1;
  background: url(../img/index/blog_bg.jpg) no-repeat center/cover;
}

#rss .wrap {
  border: 1px solid;
  padding: 0 0 5vw;
  border-top: none;
}

#rss .wrap h2 {
  position: relative;
  top: -15px;
  font-size: 20px;
  text-align: center;
  overflow: hidden;
}

#rss .wrap h2 span {
  position: relative;
}

#rss .wrap h2 span::before {
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 110%;
  content: "";
  background: currentColor;
}

#rss .wrap h2 span::after {
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  right: 110%;
  content: "";
  background: currentColor;
}

#rss #feed {
  position: relative;
  padding: 3px 5% 5vw;
}

#rss #feed dl {
  display: flex;
  font-weight: bold;
  letter-spacing: 0.05em;
}

#rss #feed dl dt {
  width: 90px;
  font-size: 14px;
}

#rss #feed dl dd {
  width: calc(100% - 90px);
}

#rss .more {
  text-align: center;
}

#rss .more span {
  background: url(../img/shared/arr.png) no-repeat center right;
  padding-right: 38px;
}

@media screen and (min-width: 768px) {
  #rss {
    color: #f6f1ec;
    position: absolute;
    padding: 0;
    z-index: 100;
    background: none;
    top: 770px;
    left: 45px;
    width: 420px;
    height: 100px;
  }
  #rss .wrap {
    border: 1px solid;
    border-left: none;
    border-bottom: none;
    padding: 20px 25px;
    border-top: 1px solid;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
  }
  #rss .wrap h2 {
    position: relative;
    top: 0;
    font-size: 24px;
    text-align: left;
    overflow: hidden;
    letter-spacing: 0.12em;
  }
  #rss .wrap h2 span {
    position: relative;
  }
  #rss .wrap h2 span::before {
    display: none;
  }
  #rss .wrap h2 span::after {
    display: none;
  }
  #rss #feed {
    position: relative;
    padding: 10px 0 0;
  }
  #rss #feed dl {
    display: flex;
    font-weight: bold;
    letter-spacing: 0.05em;
  }
  #rss #feed dl dt {
    width: 90px;
    font-size: 13px;
  }
  #rss #feed dl dd {
    width: calc(100% - 90px);
    font-size: 15px;
  }
  #rss #feed dl dd a:hover {
    text-decoration: underline;
  }
  #rss .more {
    text-align: left;
    position: absolute;
    top: 20px;
    left: 295px;
    transition: all 0.3s ease;
  }
  #rss .more:hover {
    opacity: 0.7;
  }
  #rss .more span {
    background: url(../img/shared/arr.png) no-repeat center right;
    padding-right: 38px;
  }
}

#sec1 {
  position: relative;
  z-index: 2;
  padding-bottom: 28vw;
}

#sec1::before {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background: url(../img/shared/bg_ft.jpg) repeat;
  z-index: -1;
}

#sec1 .title {
  position: relative;
  top: -26vw;
  padding: 0 5%;
  margin-bottom: -10vw;
}

#sec1 .title::before {
  width: 526px;
  height: 551px;
  position: absolute;
  top: 71vw;
  left: 13%;
  content: "";
  background: url(../img/index/sec1_deco.png) no-repeat top left;
  background-size: 280px auto;
  z-index: -1;
}

#sec1 .title .photo {
  margin-bottom: 13vw;
}

#sec1 .title h2 {
  display: flex;
  justify-content: center;
  font-size: 27px;
  line-height: 50px;
  letter-spacing: 0.1em;
}

#sec1 .box {
  margin: 0 5%;
}

#sec1 .box ul {
  font-weight: bold;
  margin-bottom: 10vw;
}

#sec1 .box .photo-box {
  position: relative;
}

#sec1 .box .photo-box .photo1 {
  margin: 0 45% 20vw -2%;
}

#sec1 .box .photo-box .photo3 {
  width: 38%;
  position: absolute;
  top: 12vw;
  right: -2%;
}

#sec1 .box .photo-box .photo2 {
  margin: 0 8% 0 5%;
}

@media screen and (min-width: 768px) {
  #sec1 {
    position: relative;
    z-index: 2;
    padding: 170px 20px 200px;
    background: url(../img/index/sec1_bg.jpg) no-repeat top right;
  }
  #sec1::before {
    width: calc(50% + 195px);
    height: 1540px;
    position: absolute;
    top: 255px;
    left: 0;
    content: "";
    background: url(../img/shared/bg_ft.jpg) repeat;
    z-index: -1;
  }
  #sec1 .inner {
    max-width: 1400px;
    position: relative;
    margin: auto;
  }
  #sec1 .title {
    position: relative;
    top: 0;
    padding: 0;
    margin-bottom: 95px;
  }
  #sec1 .title::before {
    width: 526px;
    height: 551px;
    position: absolute;
    top: 330px;
    left: 200px;
    content: "";
    background: url(../img/index/sec1_deco.png) no-repeat top left;
    background-size: auto;
    z-index: -1;
  }
  #sec1 .title .photo {
    margin-bottom: 0;
    width: 855px;
    margin-left: 490px;
  }
  #sec1 .title h2 {
    display: block;
    position: absolute;
    top: 225px;
    left: 150px;
    font-size: 38px;
    line-height: 82px;
    letter-spacing: 0.1em;
  }
  #sec1 .box {
    margin: 0;
  }
  #sec1 .box ul {
    font-weight: bold;
    margin-bottom: 0;
    margin-left: 680px;
  }
  #sec1 .box ul li + li {
    margin-top: 35px;
  }
  #sec1 .box .photo-box {
    position: relative;
  }
  #sec1 .box .photo-box .photo1 {
    margin: -260px 0 120px 33px;
    width: 503px;
  }
  #sec1 .box .photo-box .photo3 {
    max-width: 348px;
    position: absolute;
    top: 350px;
    right: 3px;
    width: 26%;
  }
  #sec1 .box .photo-box .photo2 {
    margin: 0 0 0 172px;
    max-width: 765px;
    width: 58%;
  }
}

#sec2 {
  position: relative;
  z-index: 2;
}

#sec2 .title {
  background: url(../img/index/sec2_bg.jpg) no-repeat top center;
  background-size: 150%;
  padding-top: 70vw;
}

#sec2 h2 {
  background: url(../img/index/sec2_ttl_bg.png) no-repeat top center;
  background-size: 100% auto;
  width: 100%;
  height: 98vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 7.2vw;
  line-height: 1.9;
  letter-spacing: 0.1em;
}

#sec2 .item {
  padding: 0 5% 15vw;
}

#sec2 .item .photo {
  margin-bottom: 10vw;
}

#sec2 .item .txt {
  font-weight: bold;
  margin-bottom: 9vw;
}

#sec2 .slide-box {

  position: relative;
  pointer-events: none;
}

#sec2 .slide-box .slick-slide {
  width: 160px !important;
  margin: 0 4px;
}

@media screen and (min-width: 768px) {
  #sec2 {
    position: relative;
    z-index: 2;
  }
  #sec2::before {
    width: calc(50% + 206px);
    height: 165px;
    background: url(../img/shared/bg_ft.jpg) repeat;
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
  }
  #sec2 .title {
    background: url(../img/index/sec2_bg.jpg) no-repeat top center;
    height: 700px;
    background-size: cover;
    padding-top: 0;
  }
  #sec2 .title::before {
    width: 1px;
    height: 640px;
    background: #8a786d;
    position: absolute;
    top: 700px;
    content: "";
    right: 90px;
  }
  #sec2 h2 {
    background: url(../img/index/sec2_deco.png) no-repeat top center;
    background-size: 100% auto;
    width: 368px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: inherit;
    right: 0;
    font-size: 38px;
    line-height: 70px;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    padding-right: 20px;
  }
  #sec2 .item {
    padding: 90px 120px 90px;
    display: flex;
    align-items: center;
    max-width: 1500px;
    box-sizing: border-box;
    margin: auto;
  }
  #sec2 .item .photo {
    margin: 0 90px 0 0;
  }
  #sec2 .item .text {
    max-width: 400px;
    width: 40%;
  }
  #sec2 .item .txt {
    margin-bottom: 55px;
  }
  #sec2 .item .btn-lk {
    justify-content: flex-end;
  }
  #sec2 .slide-box {

  }
  #sec2 .slide-box .slick-slide {
    width: 265px !important;
    margin: 0 7px;
  }
}

#sec3 {
  position: relative;
  background: url(../img/index/sec3_bg_sp.jpg) no-repeat center/cover;
  margin-top: -22vw;
  padding: 65vw 13% 47vw;
}

#sec3 h2 {
  margin: 0 30% 10vw;
}

#sec3 .txt {
  margin-bottom: 10vw;
  font-weight: bold;
}

#sec3 .btn-lk {
  margin-top: 4vw;
}

@media screen and (min-width: 768px) {
  #sec3 {
    position: relative;
    background: url(../img/index/sec3_bg.jpg) no-repeat center/cover;
    min-height: 1265px;
    margin-top: 0;
    padding: 317px 0 0;
    box-sizing: border-box;
  }
  #sec3 h2 {
    margin: 0 auto 40px;
    width: 166px;
  }
  #sec3 .txt {
    text-align: center;
    margin-bottom: 60px;
  }
  #sec3 .list {
    display: flex;
    justify-content: center;
  }
  #sec3 .btn-lk {
    margin: 0 25px;
    width: 267px;
    box-sizing: border-box;
  }
}

#sec4 {
  background: url(../img/shared/bg_ft.jpg) repeat;
}

#sec4 .img-parallax {
  display: none;
}

#sec4 .bg-parallax {
  min-height: 300px;
  background: url(../img/index/par_img.jpg) no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#sec4 .bg-parallax h2 {
  margin-right: 38px;
}

#sec4 .inner {
  background: url(../img/index/sec4_deco.png) no-repeat bottom left -5%;
  background-size: 40% auto;
  padding: 12vw 5% 19vw;
}

#sec4 .inner .txt {
  font-weight: bold;
  margin-bottom: 10vw;
}

#sec4 .inner ul li:nth-child(1) {
  margin: 8vw 5% 6vw 1%;
}

#sec4 .inner ul li:nth-child(2) {
  margin-left: 20%;
}

@media screen and (min-width: 768px) {
  #sec4 {
    background: url(../img/index/sec4_deco.png) no-repeat bottom 215px right, url(../img/shared/bg_ft.jpg) repeat;
    padding-bottom: 160px;
  }
  #sec4 .img-parallax {
    display: block;
  }
  #sec4 .bg-parallax {
    min-height: 455px;
    background: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 38px;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }
  #sec4 .bg-parallax h2 {
    margin-right: 340px;
  }
  #sec4 .inner {
    background: none;
    max-width: 1240px;
    box-sizing: border-box;
    margin: auto;
    padding: 110px 20px 0;
    position: relative;
  }
  #sec4 .inner .txt {
    font-weight: bold;
    margin-bottom: 50px;
    padding: 20px 0 0 60px;
  }
  #sec4 .inner ul {
    position: absolute;
    width: 100%;
    left: 0;
    top: 110px;
  }
  #sec4 .inner ul li:nth-child(1) {
    margin: 0;
    position: absolute;
    top: 0;
    right: -35px;
    width: 648px;
    width: 50%;
  }
  #sec4 .inner ul li:nth-child(2) {
    margin-left: 0;
    position: absolute;
    top: 513px;
    right: 195px;
    width: 518px;
  }
  #sec4 .inner .map {
    margin-left: 60px;
  }
}

#sec5 {
  position: relative;
  padding: 20vw 0 1vw;
}

#sec5 .photo {
  margin: 0 10% 20vw;
}

#sec5 .right {
  position: relative;
}

#sec5 .right h2 {
  position: absolute;
  top: -10vw;
  right: 20%;
  font-size: 25px;
  letter-spacing: 0.1em;
}

#sec5 .right h2 span {
  border-top: 1px solid;
  padding-top: 25px;
  width: 30px;
  line-height: 30px;
  display: inline-block;
  letter-spacing: 0.1em;
}

#sec5 .right .logo {
  width: 73px;
  margin: 0 auto 10vw;
}

#sec5 .right .btn-common {
  margin: 22px 10% 8vw;
}

#sec5 .right .note-box {
  text-align: center;
  margin-bottom: 8vw;
}

#sec5 .list {
  margin: 0 5%;
}

#sec5 .list dl {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

#sec5 .list dl dt {
  width: 30%;
}

#sec5 .list dl dd {
  width: 70%;
}

#sec5 .list dl dd a {
  display: flex;
  align-items: center;
}

#sec5 .list dl dd a img {
  width: 14px;
}

#sec5 .list dl.last dt {
  width: 40%;
}

#sec5 .list dl.last dd {
  width: 60%;
}

@media screen and (min-width: 768px) {
  #sec5 {
    position: relative;
    padding: 150px 20px 0;
  }
  #sec5 .inner {
    max-width: 1200px;
    margin: auto;
  }
  #sec5 .block {
    display: flex;
    justify-content: space-between;
  }
  #sec5 .photo {
    margin: 0 0 0 17px;
    max-width: 524px;
  }
  #sec5 .right {
    position: relative;
    max-width: 660px;
    box-sizing: border-box;
    padding-top: 43px;
    width: 52%;
  }
  #sec5 .right h2 {
    position: absolute;
    top: -22px;
    right: inherit;
    left: 440px;
    font-size: 25px;
    letter-spacing: 0.1em;
  }
  #sec5 .right h2 span {
    border-top: 1px solid;
    padding-top: 25px;
    width: 30px;
    line-height: 30px;
    display: inline-block;
    letter-spacing: 0.1em;
  }
  #sec5 .right .logo {
    width: 73px;
    margin: 0 auto 40px;
  }
  #sec5 .right .tel-common {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #sec5 .right .tel-common dt {
    font-size: 16px;
    margin: 0;
    padding-right: 10px;
  }
  #sec5 .right .tel-common dd {
    font-size: 25px;
  }
  #sec5 .right .tel-common dd span {
    padding-left: 25px;
  }
  #sec5 .right .btn-common {
    margin: 15px auto 25px;
    width: 230px;
  }
  #sec5 .right .btn-common a {
    font-size: 16px;
    height: 48px;
    padding: 0;
    line-height: 48px;
  }
  #sec5 .right .note-box {
    text-align: center;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.05em;
  }
  #sec5 .list {
    margin: 0 auto;
    padding-top: 95px;
    max-width: 1035px;
    display: flex;
    justify-content: space-between;
  }
  #sec5 .list .col {
    width: 485px;
  }
  #sec5 .list dl {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 16px;
    line-height: 32px;
  }
  #sec5 .list dl dt {
    width: 150px;
  }
  #sec5 .list dl dd {
    width: calc(100% - 150px);
  }
  #sec5 .list dl dd a {
    display: inline-block;
    line-height: 20px;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
  }
  #sec5 .list dl dd a:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  }
  #sec5 .list dl dd a img {
    width: 14px;
    position: relative;
    top: -2px;
  }
  #sec5 .list dl.last dt {
    width: 150px;
  }
  #sec5 .list dl.last dd {
    width: calc(100% - 150px);
  }
}

#sec6 {
  padding: 10vw 5% 20vw;
}

#sec6 .link-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

#sec6 .link-map h2 {
  font-size: 25px;
  letter-spacing: 0.1em;
}

.btn-arr a {
  background: url(../img/shared/arr.png) no-repeat center right;
  padding-right: 35px;
  display: block;
}

#gmap .box {
  width: 100%;
  height: 480px;
  position: relative;
  filter: grayscale(100%);
}

#gmap .box iframe {
  width: 100%;
  height: 100%;
  border: none !important;
}

@media screen and (min-width: 768px) {
  #sec6 {
    padding: 120px 20px 155px;
  }
  #sec6 #gmap {
    max-width: 1035px;
    margin: auto;
    position: relative;
    height: 500px;
  }
  #sec6 .link-map {
    display: block;
    margin-bottom: 0;
  }
  #sec6 .link-map h2 {
    font-size: 30px;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
  }
  #sec6 .link {
    position: relative;
    left: -7px;
  }
  #sec6 .link a {
    font-size: 13px;
  }
  #sec6 .link a:hover {
    text-decoration: underline;
  }
  .btn-arr a {
    background: url(../img/shared/arr.png) no-repeat center right;
    padding-right: 35px;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
  }
  .btn-arr a:hover {
    opacity: 0.7;
  }
  #gmap .box {
    height: 500px;
    width: calc(100% - 200px);
    position: absolute;
    top: 0;
    right: 0;
  }
}

/***********fix for ipad**************/
@media screen and (max-width: 1309px) and (min-width: 767px) {
  #sec1 .box ul {
    margin-left: 590px;
  }
  #sec1 .box .photo-box .photo2 {
    margin: 0 0 0 130px;
  }
  #sec2 .item .photo {
    margin: 0 50px 0 0;
  }
  #sec2 .item {
    padding: 90px 100px 90px;
  }
}
