/* ------------------common-------- */
.common__btn {
  font-size: max(18px, 2.2rem);
  letter-spacing: .075em;
  color: #006ab8;
  display: flex;
  padding: 5px 0;
}

.common__btn::after {
  content: "";
  display: block;
  background-image: url("../images/btn_arw.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 9rem;
  height: 4rem;
  margin-left: 1.3rem;
  margin-top: -2px;
  transition: .3s;
}

@media(min-width:769px) {
  .common__btn:hover::after {
    transform: translateX(10px);
  }
}


/* ------------------hero-------- */
.hero {
  width: 100%;
  height: 80rem;
  padding: 3rem 3rem 0;
  position: relative;
}

@media(max-width:768px) {
  .hero {
    padding: max(80px, 12rem) 2rem 0;
  }
}

.hero::before {
  content: "";
  background-image: url("../images/mainvisual_bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 98.8rem;
  height: 90.2rem;
  position: absolute;
  top: 0;
  right: 0;
}

.hero .common__inner {
  width: 100%;
  max-width: 1860px;
  height: 100%;
  border-radius: 10px;
  display: grid;
  place-content: center;
  position: relative;
}

.hero h1 {
  width: 34.7rem;
  position: relative;
  z-index: 2;
}

.swiper {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  position: absolute !important;
  top: 0;
  left: 0;
}


/* ------------------news-------- */
.news {
  padding: 15rem 0 11rem;
  position: relative;
}

@media(max-width:768px) {
  .news {
    padding: 8rem 0;
  }
}

.news::before {
  content: "";
  background-image: url("../images/news_bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100.3rem;
  height: 135.2rem;
  position: absolute;
  transform: translateY(-60%);
  top: 0;
  left: 0;
  z-index: -1;
}

.news__ttl-wrapper {
  font-family: 'EB Garamond', serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news__ttl {
  background-image: url("../images/news_ttl_bg.jpg");
  background-size: cover;
  background-position: center;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 8rem;
  letter-spacing: .075em;
}

.news__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 7rem;
  row-gap: 4rem;
  margin-top: 5rem;
}

@media(max-width:768px) {
  .news__list {
    grid-template-columns: 1fr;
  }
}

.news__imgwrap {
  position: relative;
  padding-top: 65.25%;
}

.news__img {
  border-radius: 5px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news__img img {
  transition: .3s;
}

@media(min-width:769px) {
  .news__list-item:hover .news__img img {
    transform: scale(1.05);
  }
}

.news__list-item h3 {
  font-family: 'Zen Old Mincho', serif;
  font-size: max(16px, 1.8rem);
  font-weight: 700;
  letter-spacing: .075em;
  margin: 3rem 0 2rem;
}

.news__list-item p {
  font-size: max(14px, 1.5rem);
  font-weight: 500;
  letter-spacing: .075em;
  line-height: 2;
  color: #727272;
}

@media(min-width:769px) {
  .news__list-item:hover p {
    text-decoration: underline;
  }
}


/* ------------------service-------- */
.service {
  padding: 0 3rem 17.2rem;
}

@media(max-width:768px) {
  .service {
    padding: 0 2rem 15rem;
  }
}

.service .common__inner {
  width: 100%;
  max-width: 1860px;
}

.service__ttl {
  background-image: url("../images/service_ttl_bg.jpg");
  background-size: cover;
  background-position: center;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  font-family: 'EB Garamond', serif;
  font-size: 20rem;
  letter-spacing: .075em;
  line-height: .8;
  margin-left: 4.3%;
}

@media(max-width:768px) {
  .service__ttl {
    font-size: 16rem;
    margin-left: 0;
  }
}

.service__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3rem;
  margin-top: -15px;
}

@media(max-width:768px) {
  .service__list {
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }
}

.service__list-item a {
  background-image: url("../images/service_01.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 40rem;
  border-radius: 5px;
  display: grid;
  place-content: center;
  color: #fff;
  position: relative;
}

.service__list-item:nth-of-type(2) a {
  background-image: url("../images/service_02.jpg");
}

.service__list-item:nth-of-type(3) a {
  background-image: url("../images/service_03.jpg");
}

.service__list-item h3 {
  font-family: 'Zen Old Mincho', serif;
  font-size: max(18px, 3rem);
  font-weight: 500;
  letter-spacing: .075em;
}

@media(max-width:768px) {
  .service__list-item h3 {
    font-size: max(20px, 3rem);
  }
}

.service__list-item h3 span {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 1.8rem;
  font-size: max(14px, 1.8rem);
  text-align: center;
  margin-top: .5rem;
}

@media(max-width:768px) {
  .service__list-item h3 span {
    font-size: max(16px, 1.8rem);
  }
}

.service .common__btn {
  color: #fff;
  position: absolute;
  right: 5rem;
  right: 8.3%;
  bottom: 10%;
}

.service .common__btn::after {
  background-image: url("../images/btn_arw_02.png");
}

@media(min-width:769px) {
  .service__list-item:hover .common__btn::after {
    transform: translateX(10px);
  }
}


/* ------------------bay-------- */
.bay {
  background-image: url("../images/bay.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: 70rem;
}

@media(max-width:768px) {
  .bay {
    background-attachment: scroll;
	height: 50rem;
  }
}


/* ------------------greeting-------- */
.greeting {
  padding: 13rem 0 25rem;
  position: relative;
}

@media(max-width:768px) {
  .greeting {
    padding: 13rem 0;
  }
}

.greeting::before {
  content: "";
  background-image: url("../images/greeting_bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 94.8rem;
  height: 135.2rem;
  position: absolute;
  transform: translateY(-60%);
  top: 0;
  left: 0;
  z-index: -1;
}

.greeting__contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media(max-width:768px) {
  .greeting__contents {
    flex-direction: column;
    align-items: flex-start;
  }
}

.greeting__txt {
  width: 50%;
  font-family: 'Noto Serif JP', serif;
}

@media(max-width:768px) {
  .greeting__txt {
    width: 100%;
  }
}

.greeting__txt h2 {
  font-size: max(20px, 3.6rem);
  font-weight: 500;
  letter-spacing: .075em;
  margin-bottom: 4rem;
}

.greeting__txt p {
  font-size: max(14px, 1.6rem);
  font-weight: 600;
  letter-spacing: .075em;
  line-height: calc(45/16);
}

.greeting__img {
  width: 43%;
  margin-right: -2.5rem;
}

@media(max-width:768px) {
  .greeting__img {
    width: 100%;
    margin: 4rem 0 0;
  }
}

.greeting__btn-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 7rem;
  margin-top: 11rem;
}

@media(max-width:768px) {
  .greeting__btn-wrapper {
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }
}

.greeting__btn {
  display: block;
  height: 13rem;
  font-family: 'Noto Serif JP', serif;
  font-size: max(18px, 2.4rem);
  font-weight: 500;
  letter-spacing: .1em;
  color: #006ab8;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 65px;
  position: relative;
  transition: .3s;
}

@media(min-width:769px) {
  .greeting__btn:hover {
    background-image: url("../images/greeting_btn_bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
  }
}

@media(max-width:768px) {
  .greeting__btn {
    height: 18rem;
    font-size: max(20px, 2.4rem);
  }
}

.greeting__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/greeting_btn_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-origin: border-box;
  background-clip: border-box;
  -webkit-mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: destination-out;
  border: 3px solid transparent;
  border-radius: 65px;
  transition: .3s;
}

.greeting__btn span {
  font-family: 'EB Garamond', serif;
  font-size: max(14px, 2rem);
  margin-top: .5rem;
}

@media(max-width:768px) {
  .greeting__btn span {
    font-size: max(16px, 2rem);
  }
}

.greeting__img-txt {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 15rem;
  z-index: -1;
}

@media(max-width:768px) {
  .greeting__img-txt {
    bottom: 8rem;
  }
}


/*インスタグラム*/
.boxres_instagram {
	width: 100%;
	margin-top: 0px;
	margin-bottom: 100px;
	padding-right: 5%;
	padding-left: 5%;
}
.boxres_instagram img {
	width: 100%;
}
.boxres_instagram a:hover {
	opacity: 0.7;
}
@media(max-width:768px) {
.boxres_instagram {
	margin-top: 0px;
	margin-bottom: 30px;
}
}