@charset "UTF-8";

/* =========================================================
  top
========================================================= */

/* layout
----------------------------------------------- */
#pageHeader {
  border-bottom: none;
}

@media only screen and (max-width: 768px) {
  #content {
    padding: 0;
  }
}

/* mainVisual
----------------------------------------------- */
#mainVisual {
  position: relative;
  margin-bottom: 80px;
}

#mainVisual .slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 650px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--mono-color-9);
  font-family: "Sawarabi Mincho", serif;
  text-align: center;
}

#mainVisual .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(32, 26, 22, 0.3) 10%, rgba(32, 26, 22, 0.5) 100%);
}

#mainVisual .slide * {
  position: relative;
  padding: 0 10%;
}

#mainVisual .slide h2 {
  font-weight: 400;
  font-size: min(6vw,3.25rem);
}

@media only screen and (max-width: 768px) {
  #mainVisual .slide {
    height: 450px;
  }

  #mainVisual .slide h2 {
    font-size: 2.25rem;
  }
}

@media only screen and (max-width: 640px) {
  #mainVisual .slide {
    height: 350px;
  }

  #mainVisual .slide h2 {
    font-size: min(6vw,1.625rem);
  }

  #mainVisual .slide p {
    display: none;
  }
}

/* info
----------------------------------------------- */
#info {
  margin-bottom: 70px;
  padding: 0 15px 50px;
  border-bottom: 1px solid var(--mono-color-7);
  text-align: center;
}

#info h2 {
  margin-bottom: 30px;
  font-size: 1.625rem;
}

#info p {
  margin-bottom: 15px;
  font-size: 0.9375rem;
}

#info .movie iframe {
  width: 100%;
  max-width: 837px;
}

@media only screen and (max-width: 768px) {
  #info h2 {
    font-size: 1.25rem;
  }
}

/* features
----------------------------------------------- */
#features {
  margin-bottom: 70px;
  padding: 0 15px 50px;
  border-bottom: 1px solid var(--mono-color-7);
}

#features ul {
  display: flex;
  gap: 30px;
}

#features li {
  flex: 1 1 0;
  min-height: 400px;
}

#features li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  padding: 20px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--mono-color-9);
  letter-spacing: 1px;
  text-decoration: none;
  outline-offset: -4px;
}

#features li:nth-child(1) a {
  background-image: url(/_themes/site/images/cedar/features1.jpg);
}

#features li:nth-child(2) a {
  background-image: url(/_themes/site/images/cedar/features2.jpg);
}

#features li:nth-child(3) a {
  background-image: url(/_themes/site/images/cedar/features3.jpg);
}

#features li a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease-in-out;
}

#features li a:hover::before {
  background: rgba(0, 0, 0, 0.5);
}

#features li a * {
  position: relative;
}

#features li a h2 {
  margin-bottom: 30px;
  font-size: 1.625rem;
  text-align: center;
}

#features li a .more {
  padding: 10px 30px;
  border: 2px solid var(--mono-color-9);
  font-weight: 700;
  font-size: min(2vw,1.1875rem);
  text-align: center;
  transition: all 0.25s ease-in-out;
}

#features li a:hover .more {
  background: var(--mono-color-9);
  color: var(--mono-color-1);
}

@media only screen and (max-width: 768px) {
  #features ul {
    flex-direction: column;
    gap: 20px;
  }

  #features li a .more {
    font-size: 1.1875rem;
  }
}

/* news
----------------------------------------------- */
#news {
  padding: 0 15px 100px;
}

#news h2 {
  margin-bottom: 30px;
  font-size: 1.625rem;
  text-align: center;
}

#news ul {
  display: flex;
  gap: 2.33%;
}

#news li {
  flex-basis: 23%;
}

#news li a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

#news li .image {
  display: block;
  aspect-ratio: 29/20;
  margin-bottom: 10px;
  overflow: hidden;
}

#news li .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.25s ease-in-out;
}

#news li:hover .image img {
  opacity: 0.8;
}

#news li .publish_date {
  margin-bottom: 10px;
}

#news li .title {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.125rem;
}

#news li .body {
  margin-bottom: 10px;
}

#news li .more {
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  #news h2 {
    font-size: 1.25rem;
  }
}

@media only screen and (max-width: 640px) {
  #news ul {
    flex-wrap: wrap;
    gap: 40px;
  }

  #news li {
    flex-basis: 100%;
  }
}

/* about
----------------------------------------------- */
#about {
  position: relative;
  padding: 90px 0 92px;
}

#about::before,
#about::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
}

#about::before {
  background: url(/_themes/site/images/cedar/features1.jpg) center center / cover no-repeat;
}

#about::after {
  background: rgba(0, 0, 0, 0.4);
}

#about .pieceContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--mono-color-9);
  letter-spacing: 1px;
  text-align: center;
}

#about h2 {
  margin-bottom: 30px;
  font-size: 1.625rem;
}

#about a {
  display: block;
  padding: 10px 30px;
  border: 2px solid var(--mono-color-9);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--mono-color-9);
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

#about a:hover {
  background: var(--mono-color-9);
  color: var(--mono-color-1);
}