@charset "UTF-8";

.top-slider-img01 {
  background: url(../images/top-slider01.jpeg) no-repeat center center / cover;
  height: 0%;
  padding-top: min(100vh, 35%);
  margin-bottom: 35rem;
}
.top-slider-img02 {
  background: url(../images/top-slider02.jpeg) no-repeat center center / cover;
  height: 0%;
  padding-top: min(100vh, 35%);
  margin-bottom: 35rem;
}
.top-slider-img03 {
  background: url(../images/top-slider03.jpeg) no-repeat center center / cover;
  height: 0%;
  padding-top: min(100vh, 35%);
  margin-bottom: 35rem;
}
.top-slider-img04 {
  background: url(../images/top-slider04.jpeg) no-repeat center center / cover;
  height: 0%;
  padding-top: min(100vh, 35%);
  margin-bottom: 35rem;
}

.hero-img {
  position: relative;
}
.hero-message {
  position: absolute;
  bottom: 9.5rem;
  right: 0;
  left: 0;
  width: 250px;
  max-width: 600px;
  text-align: center;
  line-height: 2.5;
  margin: auto;
  padding: 1rem;
  backdrop-filter: blur(5px);
}
.line {
  display: flex;
}
.line::before,
.line::after {
  position: relative;
  top: 1rem;
  content: '';
  background: var(--gray2);
  flex: 1;
  height: 1px;
}
.line::before {
  margin-right: 0.5rem;
}
.line::after {
  margin-left: 0.5rem;
}
body {
  overflow-x: hidden;
}
.about-us-img01 {
  position: relative;
  background: url(../images/start.jpg) no-repeat center center/cover;
  width: 90%;
  padding-top: 67.5%;
}
.about-us-txt01 {
  position: absolute;
  top: 70%;
  right: -11%;
  left: auto;
  width: 292px;
  background: rgba(252, 253, 245, 0.7);
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  padding: 1rem;
}
.slider {
  margin: 18rem 0 4rem;
}
.slider img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.about-us-img02 {
  position: relative;
  background: url(../images/finish.jpeg) no-repeat center center/cover;
  width: 90%;
  margin-left: auto;
  padding-top: 67.5%;
}
.about-us-txt02 {
  position: absolute;
  top: 70%;
  left: -11%;
  right: auto;
  width: 292px;
  background: rgba(252, 253, 245, 0.7);
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  padding: 1rem;
}
.about-us-btn {
  margin-top: 18rem;
}
.grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(327px, 1fr));
}
.post time {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.post time,
.cat {
  color: var(--gray2);
  font-size: 0.75rem;
}
.post h3 {
  padding: 1rem 0 1.5rem 0;
  border-bottom: dotted 2px var(--main-color);
  margin-bottom: 1.5rem;
}
.post img {
  width: 100%;
  height: auto;
}
.post-txt {
  padding: 1.5rem 0 0.5rem;
}
.address-txt {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}
.access address {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1.5;
}
.map-link {
  display: inline-block;
  font-size: 0.75rem;
  padding-left: 1rem;
}
.iframe-wrapper {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  margin: 1.5rem 0;
}
.iframe-wrapper:after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background: var(--main-color);
  mix-blend-mode: hue;
  pointer-events: none;
}
.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.access-info {
  text-align: right;
}
@media (min-width: 600px) {
  .hero-message {
    bottom: 9rem;
    width: 350px;
  }
  .about-us-txt01 {
    top: auto;
    bottom: 0;
    width: 36vh;
  }
  .about-us-txt02 {
    top: auto;
    bottom: 0;
    width: 36vh;
  }
  .slider {
    margin: 6rem 0 6rem;
  }
  .about-us-btn {
    margin-top: 6rem;
  }
  .post time,
  .cat {
    font-size: 0.875rem;
  }

  .post img:hover {
    opacity: 0.8;
  }
  .access address {
    font-size: 0.875rem;
  }
  .access p {
    font-size: 0.875rem;
  }
}
