@charset "UTF-8";
/**
 * ファイル名: top-element.scss
 * 概要: トップページのスタイル定義
 * 使用場所: トップページ
 * 主な処理:
 * 更新履歴:
 * 備考:
 */
.top-page .contents {
  padding: 15px 30px 48px;
}

h2 {
  margin-bottom: 0.5em;
}

.top02,
.top03,
.top04,
.top05,
.top06,
.product-lineup {
  padding: 3em 0 2em 0;
  max-width: 1050px;
  margin: 0 auto !important;
}

.top01 {
  margin-top: 145px;
}
@media screen and (max-width: 599px) {
  .top01 {
    margin-top: 100px;
  }
}

.top03 .subnav ul {
  margin: 0;
  padding: 0;
  text-align: left;
}

.gif-img {
  margin-top: 3em;
  text-align: center;
}

.top04 .text-contents,
.top05 .text-contents,
.top06 .text-contents {
  margin: 3em 0 3em 0;
  text-align: center;
}

.top04 .text-contents p,
.top05 .text-contents p,
.top06 .text-contents p {
  line-height: 1.8em;
}

.outline-btn {
  border: solid 1px;
  display: inline-block;
  padding: 0.9em;
  border-radius: 0.6em;
}

.mt-3 {
  margin-top: 3em !important;
}

.top-02 h2 {
  border-bottom: solid 1px;
}

.top-03 {
  margin: 0 auto;
  margin-top: 4em;
  text-align: center;
}

.top-04 {
  margin-top: 4em;
  padding-right: 30px;
  padding-left: 30px;
}
.top-04 .open-days {
  max-width: 600px;
  margin: 0 auto;
}
.top-04 .open-days .open-days-title {
  max-width: 600px;
  border-bottom: solid 1px;
}
.top-04 .open-days table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  text-align: center;
}
.top-04 .open-days table td {
  border: none;
  padding: 5px 10px 5px 0;
}
.top-04 .open-days table td:first-child {
  padding-right: 10px;
}
.top-04 .open-days table td:last-child {
  padding-right: 0;
}
.top-04 .flexbox-calendar {
  margin: 0 auto;
  margin-top: 4em !important;
  justify-content: center;
}
.top-04 .flexbox-calendar p {
  margin: 0 auto;
}

.important-information-sp {
  margin-top: 15px;
}
.important-information-sp img {
  width: 100%;
  display: block;
}

/* カテゴリーメニューのリスト内画像とテキストを上下中央揃え */
.category-menu {
  width: 90%;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 1em;
  font-size: 0.8rem;
}
.category-menu img {
  width: 50px;
  height: 30px;
}
.category-menu ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 8px;
}
.category-menu ul li a {
  display: flex;
  align-items: center;
  gap: 0px;
  /* 画像とテキストの間隔。お好みで調整 */
  height: 100%;
  /* 必要に応じて高さを指定 */
  text-align: center;
}

.product-lineup .gif-img {
  text-align: center;
  margin-top: 2em;
}
.product-lineup .gif-img-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  pointer-events: none;
}
.product-lineup .gif-img-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.product-lineup .gif-img-text p {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.product-lineup .title-text-sp {
  text-align: center;
  margin-top: 1.2rem;
}
.product-lineup .title-text-sp h2 {
  background-color: #f1f1f1;
  font-size: 1.7rem;
  padding: 10px;
}
.product-lineup .gif-img-text-sp {
  text-align: center;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

.special-offer {
  text-decoration: underline;
}

.special-offer .big {
  font-size: 1.2em;
}

.wrapper {
  padding-top: 0;
}

.new:after {
  display: block;
  position: absolute;
  content: "NEW!";
  font-family: "Helvetica", "sans-serif";
  background: #fff;
  color: #298f4f;
  border: solid 1px #298f4f;
  padding: 0 10px;
  height: 20px;
  line-height: 20px;
  top: 4px;
  left: -10px;
  z-index: 10;
}

@keyframes flash {
  0%, 100% {
    opacity: 1;
    background: #298f4f;
    color: #fff;
  }
  50% {
    opacity: 1;
    background: #fff;
    color: #298f4f;
  }
}
.circle {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(57, 82, 70, 0.84);
  color: rgb(219, 201, 137);
  font-size: 0.8em;
  font-weight: bold;
  transition: 0.5s;
}
.circle:hover {
  background: rgba(219, 201, 137, 0.84);
  color: rgb(57, 82, 70);
}
.circle span {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  text-align: center;
}

h2.important-news-title {
  color: #882255;
  text-align: center;
  margin-top: 2em;
  margin-bottom: 0;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  h2.important-news-title {
    margin-bottom: 5px;
  }
}

.important-news {
  background-color: none;
  margin: auto;
  width: 80%;
  padding-top: 0.2em;
  border-radius: 0.5em;
  text-align: center;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .important-news {
    width: 100%;
    background-color: #f1f1f1;
    padding-bottom: 15px;
    border-radius: initial;
  }
}

.important-news li {
  background-color: #f1f1f1;
  margin-top: 7px;
}
@media screen and (max-width: 767px) {
  .important-news li {
    text-align: left;
    border-bottom: 1px dashed #272727;
    margin-right: 5px;
    margin-left: 5px;
  }
}

span.title {
  padding: 0px;
  display: inline-block;
  min-height: 25px;
  font-size: 0.9em;
  padding-left: 5px;
  padding-right: 5px;
}

span.date {
  margin-left: 6px;
}

.top-pickup-list li,
.top-example-list li {
  display: flex;
  flex-wrap: column;
}
.top-pickup-list li img,
.top-example-list li img {
  width: 100px;
  height: 100px;
  padding: 10px;
  padding-left: 2px;
}
.top-pickup-list li .post-flex-container,
.top-example-list li .post-flex-container {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 140px;
  /* 最小高さを設定 */
}
.top-pickup-list li .post-image,
.top-example-list li .post-image {
  flex-shrink: 0;
  width: 100px;
  /* お好みのサイズに調整 */
}
.top-pickup-list li .post-image .featured-image,
.top-example-list li .post-image .featured-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.top-pickup-list li .post-content,
.top-example-list li .post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 5px;
}
@media screen and (max-width: 767px) {
  .top-pickup-list li .post-content,
  .top-example-list li .post-content {
    margin-bottom: 20px;
  }
}
.top-pickup-list li .post-content .label,
.top-example-list li .post-content .label {
  align-self: flex-start;
}
.top-pickup-list li .post-content .category,
.top-example-list li .post-content .category {
  font-size: 0.9em;
  color: #666;
}
.top-pickup-list li .post-content a,
.top-example-list li .post-content a {
  font-weight: bold;
  text-decoration: none;
}
.top-pickup-list li .post-content .content,
.top-example-list li .post-content .content {
  margin: 0;
  color: #777;
  line-height: 1.5;
  /* 行数を制御する方法 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* 3行に制限 */
  line-clamp: 3;
  /* 標準プロパティも追加 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 10px;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .top-pc {
    display: block;
  }
  .top-sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .top-pc {
    display: none;
  }
  .top-page .contents {
    padding: 15px 0px 48px;
  }
  .top-sp {
    display: block;
  }
  .flexbox-blog-list {
    display: block;
  }
  .post-content .content {
    margin-bottom: 20px;
  }
  .product-lineup .gif-img-text h2 {
    font-size: 1.2rem;
  }
  .flexbox-blog-list .Button {
    margin-top: 15px;
  }
}