@charset "utf-8";
/*
Theme Name: Genova Template
File: top.css
Theme Author: Genova Design
Author URI: https://genova.co.jp/
Description: Description: This file is reserved for the top-page css
Version: 1.0
*/

/*--------------------------------------
	mainimage
--------------------------------------*/

#mainimage img {
  width: 100%;
}

.main_contents {
  background: none;
  width: 100%;
  height: auto;
  min-height: inherit;
  position: relative;
}

#mainimage {
  z-index: 1;
  position: relative;
}
.key-slider {
  filter: brightness(1.2) contrast(1);
}
.key-ttl {
  position: absolute;
  left: 50px;
  top: 55%;
  transform: translateY(-50%);
  z-index: 1;
  color: #fff;
}
.key-ttl .lg-ttl {
  font-size: 48px;
  font-weight: 600;
  line-height: 80px;
  letter-spacing: 0.04em;
}
.key-ttl .sm-ttl {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin: 15px 0 35px;
  padding-bottom: 56px;
  position: relative;
}
.key-ttl .sm-ttl:before {
  content: '';
  width: 104px;
  height: 16px;
  background-image: url('../img/top/line_deco.png');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center bottom;
  position: absolute;
  left: 0;
  bottom: 0;
}
.key-ttl .txt {
  font-size: 20px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0.04em;
}
.key-txt-ver1 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 14px;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 83px;
  z-index: 1;
  color: #fff;
}
.key-txt-ver2 {
  background: #f3f1ee;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  text-align: center;
  color: #eea07a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 14px;
  padding: 0 18px;
}
@media screen and (max-width: 1180px) {
  .key-slider img {
    width: 100%;
    height: 768px;
    object-fit: cover;
    object-position: 50%;
  }
}
@media screen and (max-width: 980px) {
  .key-ttl {
    left: 20px;
  }
  .key-txt-ver1 {
    right: 50px;
  }
  .key-txt-ver2 {
    padding: 0 10px;
  }
}
@media screen and (max-width: 767px) {
  .key-slider img {
    height: auto;
    object-fit: contain;
  }
  .key-ttl {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: -19vw 0 0 5.1282vw;
    color: #666;
  }
  .key-ttl span {
    color: #fff;
  }
  .key-ttl .lg-ttl {
    font-size: 9.23076vw;
    line-height: 16.41025vw;
  }
  .key-ttl .sm-ttl {
    font-size: 3.84615vw;
    line-height: 5.1282vw;
    margin: 5.1282vw 0 8.20512vw;
    padding-bottom: 12.8205vw;
  }
  .key-ttl .sm-ttl:before {
    width: 26.67vw;
    height: 5vw;
    background-image: url('../img/top/line_deco_sp.png');
  }
  .key-ttl .txt {
    font-size: 4.61538vw;
    line-height: 10.2564vw;
    padding-right: 5.1282vw;
    color: #666;
  }
  .key-txt-ver1 {
    font-size: 3.07692vw;
    line-height: 4.10257vw;
    letter-spacing: 0.15em;
    right: 5.1282vw;
    padding-top: 33vw;
    text-align: left;
  }
}

#news-box {
  position: relative;
  z-index: 0;
  padding-top: 92px;
}
#news-box:before {
  content: '';
  width: calc(50% + 633px);
  height: 235px;
  background: #ece6de;
  position: absolute;
  right: 0;
  top: 128px;
  z-index: -1;
}
#news-box .container:after {
  content: '';
  width: 50px;
  height: 25px;
  background-image: url('../img/top/deco3.png');
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  right: 20px;
  top: 11px;
}
#news-container {
  padding: 0 20px 207px;
  position: relative;
  z-index: 1;
}
#news-box .top-ttl {
  line-height: 73px;
  margin-bottom: 46px;
}
#news-box .top-ttl:after,
#news-box .top-ttl:before {
  top: 24px;
}
#news-container .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 0;
}
#news-container .elementor-container {
  justify-content: space-between;
}
#news-container .elementor-column.elementor-col-50,
#news-container .elementor-column[data-col='50'] {
  width: 100% !important;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}
.post-box__header {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 28px;
  padding: 11px 24px;
  position: relative;
  z-index: 0;
  color: #fff;
}
.post-box__header h2 {
  font-weight: 600;
}
.post-box__header:after {
  content: '';
  width: 50px;
  height: 50px;
  background-image: url('../img/top/deco1.png');
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}
.block-news .post-box__header {
  background: #71a0c9;
}
#news-container .elementor-column:has(.block-blog) {
  display: none;
}
.block-blog .post-box__header {
  background: #eea07a;
}
.block-blog .post-box__header:after {
  background-image: url('../img/top/deco2.png');
}
.post-box {
  padding: 0;
  margin: 0;
  background: transparent;
}
.post-box__content {
  padding: 8px 24px 9px;
}
.post-box__content dl {
  width: 100%;
  display: table;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  border-bottom: 1px solid #c8dff4;
  padding: 20px 0 19px;
}
.post-box__content dl dt {
  width: 120px;
  display: table-cell;
  vertical-align: top;
  color: #71a0c9;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  padding: 0;
}
.post-box dl dt:before {
  display: none;
}
.post-box__content dl dt span.new-label {
  display: none;
}
.post-box__content dl dd {
  display: table-cell;
  vertical-align: top;
  padding: 0;
}
.post-box__content dl dd a:hover {
  text-decoration: underline;
}
.post-box__content dl:last-child {
  border-bottom: none;
}
.block-blog .post-box__content dl {
  border-color: #fddac9;
}
.block-blog .post-box__content dl dt {
  color: #eea07a;
}

#news-container .news-btn {
  width: 200px;
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
#news-container .more a {
  display: block;
  color: #fff;
  background: #71a0c9;
  border-radius: 50px;
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  position: relative;
}
#news-container .more.more-blog a {
  background: #eea07a;
}
#news-container .more a:after {
  content: '';
  width: 13px;
  background-image: url('../img/top/icon_arrow.png');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50%;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
}
#news-container .more a:hover {
  opacity: 0.8;
}
.social-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 30px;
}
.social-btn li+li{
  margin-left: 30px;
}
@media screen and (max-width: 767px) {
  .social-btn{
    display: block;
    padding: 60px 30px;
  }
  .social-btn li+li{
    margin: 30px 0 0;
  }
  #news-box {
    padding: 60px 0 0;
  }
  #news-box:before {
    width: calc(100% - 40px);
    height: auto;
    top: 89px;
    bottom: -1px;
  }
  #news-box .container:after {
    width: 20px;
    height: 10px;
    top: 19px;
  }
  #news-box .top-ttl {
    font-size: 40px;
    line-height: 58px;
    margin-bottom: 54px;
  }
  #news-box .top-ttl:after,
  #news-box .top-ttl:before {
    top: 13px;
  }
  #news-container {
    padding: 0 20px 10px;
    position: relative;
  }
  #news-container:before {
    content: '';
    width: calc(100% - 40px);
    background: #ece6de;
    position: absolute;
    top: 0;
    bottom: 275px;
    right: 0;
  }
  #news-container .elementor-container {
    display: block;
  }
  #news-container .elementor-column.elementor-col-50,
  #news-container .elementor-column[data-col='50'] {
    max-width: none;
    width: 100% !important;
    background: transparent;
    box-shadow: none;
  }
  .post-box {
    height: auto;
    padding: 0;
    overflow: auto;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
  }
  .post-box__content {
    padding: 15px 20px 20px;
  }
  .post-box__content dl {
    padding: 15px 0 9px;
    display: block;
    margin: 0;
  }
  .post-box__content dl dt {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
  }
  .post-box__content dl dd {
    display: block;
    margin-top: 10px;
    padding: 0;
  }
  #news-container .news-btn {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 30px auto 50px;
  }
}
