@charset "UTF-8";

/*============================
	common
============================*/
.common__ttl {
  width: max(120px, 18.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  margin: 0 auto;
}

.about .common__ttl,
.price .common__ttl,
.access .common__ttl,
.contact .common__ttl {
  text-align: left;
  margin: 0;
}

.common__ttl span {
  display: block;
  border-bottom: solid 1px var(--light-blue);
  font-size: max(16px, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.common__btn {
  width: max(160px, 24.4rem);
  height: max(42px, 5.8rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.common__btn a {
  background-color: var(--blue);
  width: 100%;
  height: 100%;
  border-radius: 2.4rem;
  font-size: max(12px, 1.7rem);
  color: var(--white);
  letter-spacing: 0.2em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.7rem;
  padding-right: 1.5rem;
}

.common__btn--g a {
  background-color: #8cd214;
}

.common__btn a::after {
  content: "";
  display: block;
  background: url("../img/btn_arw.png") no-repeat center / contain;
  width: max(40.5px, 5.6rem);
  height: max(21px, 2.9rem);
}

/*============================
	hero
============================*/
.hero {
  background: url("../img/mv.jpg") no-repeat center / cover;
  width: 100%;
  height: max(90rem, 100vh);
  position: relative;
}

@media (max-width: 767px) {
  .hero {
    height: max(300px, 44rem);
  }
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.hero__scroll {
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 1rem;
  filter: drop-shadow(0 0 0.5rem #fff) drop-shadow(0 0 0.5rem #fff);
  position: absolute;
  left: 6rem;
  bottom: -3rem;
  z-index: 10;
}

@media (max-width: 767px) {
  .hero__scroll {
    display: none;
  }
}

.hero__scroll::after {
  content: "";
  display: block;
  background-color: var(--blue);
  width: 1px;
  height: max(40px, 6.5rem);
  animation: scroll 2.5s infinite;
}

/*============================
	news
============================*/
.news {
  padding: 12.5rem 0 16rem;
}

.CMS-NEWS-INDEX,
.CMS-NEWS-CATEGORY-INDEX {
  width: max(500px, 80rem);
  height: auto;
  margin: 6rem auto 9rem;
}

@media (max-width: 767px) {
  .CMS-NEWS-INDEX,
  .CMS-NEWS-CATEGORY-INDEX {
    width: 90%;
  }
}

.CMS-NEWS-ITEM {
  border-bottom: solid 1px #a0a0a0;
}

.CMS-NEWS-LINK-CONTENT {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2.5rem 14rem 2.5rem 2.5rem;
  position: relative;
}

@media (max-width: 767px) {
  .CMS-NEWS-LINK-CONTENT {
    display: block;
    padding: 2.5rem 10rem 2.5rem 2.5rem;
  }
}

.CMS-NEWS-LINK-CONTENT::before {
  content: "";
  background: url("../img/news_arw.png") no-repeat center / contain;
  width: max(18px, 2.4rem);
  height: max(18px, 2.4rem);
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 2rem;
  pointer-events: none;
  transition: 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .CMS-NEWS-LINK-CONTENT:hover::before {
    right: 1rem;
  }
}

.CMS-NEWS-TIME,
.CMS-NEWS-LINK {
  font-weight: 500;
  letter-spacing: 0.05em;
}

.CMS-NEWS-TIME {
  width: max(90px, 11rem);
  font-size: max(12px, 1.4rem);
  flex-shrink: 0;
}

.CMS-NEWS-LINK {
  width: 32rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .CMS-NEWS-LINK {
    width: 100%;
    margin-top: 0.5rem;
  }
}

.CMS-NEWS-CATEGORY-NAME {
  background-color: var(--light-blue);
  width: 120px;
  height: 20px;
  border-radius: 6px;
  font-size: 10px;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding-bottom: 2px;
  margin-right: 8rem;
}

@media (max-width: 767px) {
  .CMS-NEWS-CATEGORY-NAME {
    margin-bottom: 1rem;
  }
}

.CMS-NEWS-MORE-READ {
  display: none;
}

.news__category {
  width: 110rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin: 0 auto 14.5rem;
}

@media (max-width: 767px) {
  .news__category {
    width: 90%;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.news__btn {
  background-color: transparent;
  width: 100%;
  height: max(40px, 4.8rem);
  border: solid 2px var(--light-blue);
  border-radius: 1rem;
  font-weight: 500;
  color: var(--light-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .news__btn:hover {
    background-color: var(--light-blue);
    color: var(--white);
  }
}

.news__btn::before {
  content: "";
  display: block;
  background-color: #191919;
  width: 100%;
  height: 100%;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: left center;
  top: 0;
  left: 0;
  z-index: -1;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.news__btn[aria-selected="true"] {
  background-color: var(--light-blue);
  color: var(--white);
}

[role="tabpanel"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transform: translateY(20px);
  top: 0;
  left: 0;
  right: 0;
}

[role="tabpanel"].active {
  opacity: 1;
  visibility: visible;
  position: static;
  transform: none;
  transition: 0.3s ease-in-out;
}

/*============================
	about
============================*/
.about {
  border-top: solid 2rem var(--light-blue);
  padding: 14rem 0 12.5rem;
  position: relative;
}

.about::before {
  content: "";
  background: url("../img/about_deco.png") no-repeat center / contain;
  width: 22.6rem;
  height: 33.8rem;
  position: absolute;
  right: 11rem;
  bottom: -9.5rem;
  pointer-events: none;
}

@media (max-width: 767px) {
  .about::before {
    width: 18rem;
    height: 26.9rem;
    right: 2rem;
  }
}

.about__contents {
  width: 110rem;
  display: flex;
  flex-direction: row-reverse;
  gap: 5rem 7.5rem;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .about__contents {
    width: 90%;
    flex-direction: column-reverse;
  }
}

.about__txt-wrapper {
  width: 100%;
}

.about .common__ttl {
  width: max(140px, 21.5rem);
  margin: -2rem 0 2rem;
}

.about__txt-wrapper h3 {
  font-size: max(16px, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.about__txt-wrapper p {
  letter-spacing: 0.1em;
  line-height: 2;
  margin: 2rem 0 4rem;
}

@media (min-width: 768px) {
  .about .common__btn {
    margin: 0;
  }
}

.about__img {
  width: 70.5rem;
  height: 100%;
  border-radius: 0 3rem 3rem 0;
  flex-shrink: 0;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

@media (max-width: 767px) {
  .about__img {
    width: 105%;
  }
}

/*============================
	business
============================*/
.business {
  background: var(--bg-1);
  border-radius: 15rem 15rem 0 0;
  padding: 14.5rem 0 20.5rem;
}

@media (max-width: 767px) {
  .business {
    border-radius: 8rem 8rem 0 0;
  }
}

.business__list {
  width: 110rem;
  display: flex;
  flex-direction: column;
  row-gap: 9.5rem;
  margin: 10.5rem auto 0;
}

@media (max-width: 767px) {
  .business__list {
    width: 90%;
  }
}

.business__list-item {
  display: flex;
  gap: 5rem 7rem;
}

.business__list-item:nth-of-type(even) {
  flex-direction: row-reverse;
}

@media (max-width: 767px) {
  .business__list-item,
  .business__list-item:nth-of-type(even) {
    flex-direction: column-reverse;
  }
}

.business__txt-wrapper {
  width: 100%;
}

@media (min-width: 768px) {
  .business__txt-wrapper {
    margin-top: -1rem;
  }
}

.business__txt-wrapper h3 {
  background-image: linear-gradient(to right, var(--black) 8px, transparent 4px);
  background-size: 12px 1px;
  background-position: left bottom;
  background-repeat: repeat-x;
  font-size: max(18px, 3rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.business__txt-wrapper h3::before {
  content: "01";
  display: block;
  background: url("../img/business_txt-bg.png") no-repeat center / contain;
  width: max(50px, 8.7rem);
  height: max(50.5px, 8.8rem);
  font-size: max(18px, 3.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0.6rem 0.6rem 0;
}

.business__list-item:nth-of-type(2) .business__txt-wrapper h3::before {
  content: "02";
}

.business__list-item:nth-of-type(3) .business__txt-wrapper h3::before {
  content: "03";
}

.business__list-item:nth-of-type(4) .business__txt-wrapper h3::before {
  content: "04";
}

.business__txt-wrapper p {
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 2;
  margin: 3rem 0 6rem;
}

@media (min-width: 768px) {
  .business .common__btn {
    margin: 0;
  }
}

.business__img {
  width: 62rem;
  height: 100%;
  border-radius: 3rem;
  flex-shrink: 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .business__img {
    width: 100%;
  }
}

/*============================
	price
============================*/
.price {
  padding: 18rem 0 21.5rem;
}

.price__contents {
  width: 110rem;
  display: flex;
  gap: 5rem 8.5rem;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .price__contents {
    width: 90%;
    flex-direction: column-reverse;
  }
}

.price__txt-wrapper {
  width: 100%;
}

.price__txt-wrapper p {
  letter-spacing: 0.1em;
  line-height: 2;
  margin: 4rem 0 11.5rem;
}

@media (min-width: 768px) {
  .price .common__btn {
    margin: 0;
  }
}

.price__img {
  width: 62rem;
  height: 100%;
  border-radius: 3rem;
  flex-shrink: 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .price__img {
    width: 100%;
  }
}

/*============================
	qa
============================*/
.qa {
  background-color: var(--bg-2);
  border-radius: 15rem 15rem 0 0;
  padding: 12.5rem 0 17rem;
}

@media (max-width: 767px) {
  .qa {
    border-radius: 8rem 8rem 0 0;
  }
}

.qa .common__ttl span {
  border-bottom: solid 1px #8cd214;
}

.qa__txt {
  font-size: max(12px, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 3.5rem 0 4rem;
}

.qa__img {
  display: block;
  width: max(180px, 24.8rem);
  margin: 0 auto 7.5rem;
}

/*============================
	access
============================*/
.access {
  padding-top: 17.5rem;
}

.access__contents {
  width: 110rem;
  display: flex;
  flex-direction: row-reverse;
  gap: 5rem 4.5rem;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .access__contents {
    width: 90%;
    flex-direction: column-reverse;
  }
}

@media (min-width: 768px) {
  .access__txt-wrapper {
    margin-top: -2rem;
  }
}

.access__list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.access__list dt,
.access__list dd {
  letter-spacing: 0.05em;
  padding: 2.6rem 0;
}

.access__list dt {
  width: max(75px, 13.5rem);
  font-weight: 700;
  color: var(--blue);
}

.access__list dd {
  width: calc(100% - max(75px, 13.5rem));
}

.access__list dd:not(:last-of-type) {
  border-bottom: solid 1px #e0d9c9;
}

@media (min-width: 768px) {
  .access__list dt:not(:last-of-type) {
    border-bottom: solid 1px #e0d9c9;
  }
}

@media (max-width: 767px) {
  .access__list dt,
  .access__list dd {
    width: 100%;
  }

  .access__list dt {
    padding: 2rem 1.6rem 1rem;
  }

  .access__list dd {
    padding: 0 1.6rem 2rem;
  }
}

@media (min-width: 768px) {
  .access .common__btn {
    margin: 0;
  }
}

.access__map {
  width: 68rem;
  height: 33.5rem;
  border-radius: 0 3rem 3rem 0;
  flex-shrink: 0;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

@media (max-width: 767px) {
  .access__map {
    width: 105%;
    height: 40rem;
  }
}

/*============================
	contact
============================*/
.contact {
  padding: 15rem 0 15.5rem;
}

.contact__contents {
  width: 90rem;
  border: solid max(2px, 0.5rem) var(--light-blue);
  border-radius: 3rem;
  display: flex;
  padding: 5.5rem 0 4.5rem 8rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .contact__contents {
    width: 90%;
    padding: 5rem 5rem 6rem;
  }
}

.contact__contents p {
  font-size: max(12px, 1.8rem);
  letter-spacing: 0.1em;
  margin: 3rem 0 4rem;
}

.contact .common__btn {
  margin: 0;
}

.contact__img {
  display: block;
  width: 43.4rem;
  position: absolute;
  right: 4.5rem;
  bottom: 0;
}

@media (max-width: 767px) {
  .contact__img {
    width: 35rem;
    right: -2rem;
  }
}

/*============================
	line
============================*/
.line {
  background-color: var(--bg-2);
  border-radius: 14rem 14rem 0 0;
  padding: 12rem 0 10rem;
}

@media (max-width: 767px) {
  .line {
    border-radius: 8rem 8rem 0 0;
  }
}

.line__contents {
  background: url("../img/line_bg.jpg") no-repeat right bottom / cover;
  width: 70rem;
  border: solid max(2px, 0.4rem) #06c755;
  font-size: max(20px, 4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .line__contents {
    width: 90%;
  }
}

.line__contents a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 4rem;
}

.line__contents span {
  display: block;
  width: max(40px, 6rem);
}
