/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

a {
  color: #0000EE;
  text-decoration: none;
}
li {
  list-style-type: none;
}
body {
  overflow-x: hidden;
}

/* トップスライダー上 */
#catch {
  position: absolute;
  top: 50px;
  left: 50px;
  z-index: 1;
}
#catch .word {
  background-color: #5D8165;
  padding: 0.2rem;
  color: #FFF;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
  width: fit-content;
  opacity: 0.9;
}

/* トップ：ニュース */
.top-news {
  padding: 0 1rem;
}
.top-news-box {
  display: flex;
}
.top-news li {
  border-bottom: 1px solid #CCC;
  padding: 1rem 0;
}
.top-news li:last-child {
  border-bottom: none;
}
.top-news-title {
  padding-left: 2rem;
}

/* トップ：選ばれる理由 */
.reason1, .reason2, .reason3 {
  display: flex;
  gap: 0 0;
  flex-flow: column;
}
.reason1 figure,
.reason1 p,
.reason2 figure,
.reason2 p,
.reason3 figure,
.reason4 p
{
  position: relative;
  display: block;
}
.reason2 figure {
  order: 1;
}
.reason2 p {
  order: 2;
}

/* Ultimate Blocks */
.ub_counter_section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-color: #5D8165;
  color: #FFF;
  padding: 1rem 0;
}
.ub_counter-suffix {
  font-size: 2rem;
  line-height: 4rem;
}

/* 更新日時、投稿者非表示 */
.entry-meta-item-updated, .entry-meta-item-author {
  display: none;
}

/* Google Maps */
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}

/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.f-btn {
  display: none;
}

@media (min-width: 992px) {
  .slickbox {
    padding: 0 10%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  .slick {
    padding-left: 10%;
  }
  #catch {
    position: absolute;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    top: 1%;
    left: 10%;
  }
  #catch .word {
    padding: 0.5rem;
    font-size: 2rem;
    margin-bottom: 0.2rem;
  }
  
  /* トップ：選ばれる理由 */
  .reason1, .reason2, .reason3 {
    position: relative;
    min-height: 600px;
    margin-bottom: 60px;
  }
  .reason1 figure {
    position: absolute;
    top: 0;
    left: 0;
  }
  .reason1 p {
    position: absolute;
    top: 35%;
    right: 5%;
    max-width: 600px;
    z-index: 2;
  }
  .reason2 figure {
    position: absolute;
    top: 0;
    right: 0;
  }
  .reason2 p {
    position: absolute;
    top: 75%;
    left: 5%;
    max-width: 600px;
    z-index: 2;
  }
  .reason3 figure {
    position: absolute;
    top: 0;
    left: 0;
  }
  .reason3 p {
    position: absolute;
    top: 55%;
    right: 5%;
    max-width: 600px;
    z-index: 2;
  }

  /* フローティングボタン */
  .f-btn {
    display: block;
    position: fixed;
    top: 70px;
    right: 0;
    width: 100px;
    z-index: 2;
  }
  .f-btn .wp-block-buttons {
    padding-bottom: 10px;
  }
  .f-btn .wp-element-button {
    font-size: 0.8rem;
    background-color: #008000;
  }

}

