@charset "utf-8";
/*------------------------------------------------
  トップページ
------------------------------------------------*/

/*========== スライダー ==========*/

.slider {
  position: relative;
}

.slider-inner {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 60vh;
  min-height: 500px;
  padding: 80px 15px 15px;
}

.slider-title {
  width: 100%;
  padding: 0 15px;
  color: #fff;
  font-size: 2rem;
  text-shadow: rgba(0, 0, 0, 1) 0 0 5px,
               rgba(0, 0, 0, 1) 0 0 20px;
}

.slider-title-alt {
  display: block;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: normal;
}

.slider-logo {
  width: 200px;
}

.slider-item {
  background-position: center;
  background-size: cover;
}

.slider-item:nth-of-type(1) {
  background-image: url(../../images/top/background_slider_01.jpg);
}

.slider-item:nth-of-type(2) {
  background-image: url(../../images/top/background_slider_02.jpg);
}

.slider-item:nth-of-type(3) {
  background-image: url(../../images/top/background_slider_03.jpg);
}

.slick-slide {
  height: 60vh !important;
  min-height: 500px !important;
}

@media print, screen and (min-width: 769px) {
  .slider-inner {
    height: 800px;
    padding: 0 0 100px;
  }
  
  .slider-title {
    max-width: 1000px;
    margin-bottom: 50px;
    padding: 0 60px;
    font-size: 3rem;
  }
  
  .slider-logo {
    width: 270px;
  }

  .slider-item {
    height: 800px;
  }

  .slick-slide {
    height: 800px !important;
  }
}

/*========== ニュース ==========*/

.news {
  padding: 0 15px;
}

.news-inner {
  padding: 30px 0;
  border-bottom: 1px solid #ccc;
}

.news-item {
  padding: 15px;
  text-align: center;
  border: 1px solid #333;
}

.news-item:not(:last-of-type) {
  margin-bottom: 15px;
}

.news-item-alt {
  padding: 15px;
  text-align: center;
  border: 1px solid #333;
}

.news-item-alt:not(:last-of-type) {
  margin-bottom: 15px;
}

.news-item-date {
  width: 100%;
  margin-bottom: 5px;
}

.news-item-title {
  margin-bottom: 5px;
  font-size: 1.5rem;
  font-weight: bold;
}

.news-item-figure {
  margin-bottom: 15px;
}

.news-item-figure-image {
  width: 150px;
  margin-bottom: 5px;
}

.news-item-figure-caption {
  font-size: 1rem;
}

.news-archive {
  margin-top: 15px;
  text-align: right;
}

@media print, screen and (min-width: 769px) {
  .news {
    padding: 0;
  }

  .news-inner {
    width: 1000px;
    margin: auto;
    padding: 100px 0;
  }

  .news-item {
    padding: 20px;
  }

  .news-item-alt a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .news-item-figure {
    margin-bottom: 0;
  }

  .news-item-alt .news-item-title {
    margin-left: 30px;
    line-height: 1.75;
    text-align: left;
  }

  .news-item-title {
    font-size: 1.8rem;
  }
}

/*========== ライフプランニング ==========*/

.life-planning {
  padding: 0 15px;
}

.life-planning-inner {
  padding: 30px 0;
  border-bottom: 1px solid #ccc;
}

.life-planning-item:not(:last-of-type) {
  margin-bottom: 15px;
}

.life-planning-item-button {
  display: block;
  padding: 15px;
  background-position: center;
  background-size: cover;
}

.life-planning-item:nth-of-type(1) .life-planning-item-button {
  background-image: url(../../images/top/background_life-planning_01.jpg);
}

.life-planning-item:nth-of-type(2) .life-planning-item-button {
  background-image: url(../../images/top/background_life-planning_02.jpg);
}

.life-planning-item-title {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 30vh;
  min-height: 175px;
  max-height: 225px;
  padding: 15px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: center;
  border: 1px solid #fff;
  text-shadow: rgba(0, 0, 0, .5) 0 2.5px 5px;
}

.life-planning-item-title-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.5;
}

@media print, screen and (min-width: 640px) {
  .life-planning-list {
    display: flex;
    justify-content: space-between;
  }

  .life-planning-item {
    width: calc(50% - 7.5px);
  }

  .life-planning-item:not(:last-of-type) {
    margin-bottom: 0;
  }
}

@media print, screen and (min-width: 769px) {
  .life-planning {
    padding: 0;
  }

  .life-planning-inner {
    width: 1000px;
    margin: auto;
    padding: 100px 0;
  }

  .life-planning-item {
    width: 475px;
  }

  .life-planning-item-title {
    height: 300px;
    max-height: 300px;
    font-size: 2.4rem;
  }
  
  .life-planning-item-title-label {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }
}

/*========== 選ばれる理由 ==========*/

.reason {
  padding: 0 15px;
}

.reason-inner {
  padding: 30px 0;
}

.reason-item:not(:last-of-type) {
  margin-bottom: 15px;
}

.reason-item-button {
  display: block;
  padding: 15px;
  background-position: center;
  background-size: cover;
}

.reason-item:nth-of-type(1) .reason-item-button {
  background-image: url(../../images/top/background_reason_01.jpg);
}

.reason-item:nth-of-type(2) .reason-item-button {
  background-image: url(../../images/top/background_reason_02.jpg);
}

.reason-item:nth-of-type(3) .reason-item-button {
  background-image: url(../../images/top/background_reason_03.jpg);
}

.reason-item:nth-of-type(4) .reason-item-button {
  background-image: url(../../images/top/background_reason_04.jpg);
}

.reason-item-title {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 30vh;
  min-height: 175px;
  max-height: 225px;
  padding: 15px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: center;
  border: 1px solid #fff;
  text-shadow: rgba(0, 0, 0, .5) 0 2.5px 5px;
}

.reason-item-title-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.5;
}

@media print, screen and (min-width: 640px) {
  .reason-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .reason-item {
    width: calc(50% - 7.5px);
  }

  .reason-item:not(:last-of-type) {
    margin-bottom: 0;
  }

  .reason-item:not(:nth-last-of-type(-n+2)) {
    margin-bottom: 15px;
  }
}

@media print, screen and (min-width: 769px) {
  .reason {
    padding: 0;
  }

  .reason-inner {
    width: 1000px;
    margin: auto;
    padding: 100px 0;
  }

  .reason-item {
    width: 475px;
  }

  .reason-item-title {
    height: 300px;
    max-height: 300px;
    font-size: 2.4rem;
  }
  
  .reason-item-title-label {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }

  .reason-item:not(:nth-last-of-type(-n+2)) {
    margin-bottom: 50px;
  }
}
