header .main {
  background: url(https://www.andanomori.jp/tennoji/topics/wp-content/themes/tennoji_topics/images/topics/main_ph_pc.jpg);
  background-size: cover;
  background-position-x: center;
}
header .main div {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px #000;
}
header .main div span {
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 0.1em;
}
@media only screen and (max-width: 900px) {
  header .main {
    background: url(https://www.andanomori.jp/tennoji/topics/wp-content/themes/tennoji_topics/images/topics/main_ph_sp.jpg);
    background-size: cover;
    background-position-x: center;
  }
}

@media only screen and (max-width: 900px) {
  div.inner {
    width: calc(100% - 40px);
  }
}
section {
  font-size: 18px;
  letter-spacing: 0.05em;
  padding-bottom: 70px;
}
@media only screen and (max-width: 900px) {
  section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
  }
  section img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
  }
  section figure {
    margin: 0 auto !important;
  }
}
section h1 {
  font-size: 36px;
  position: relative;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 10px;
}
section h1::before {
  content: "";
  background: url(https://www.andanomori.jp/tennoji/topics/wp-content/themes/tennoji_topics/images/topics/h2_deco.png);
  width: 109px;
  height: 25px;
  position: absolute;
  top: -30px;
  left: calc(50% - 54px);
}
@media only screen and (max-width: 900px) {
  section h1 {
    font-size: 27px;
    margin-top: 100px;
  }
  section h1::before {
    content: "";
    background: url(https://www.andanomori.jp/tennoji/topics/wp-content/themes/tennoji_topics/images/topics/h2_deco.png);
    width: 80px;
    height: 20px;
    position: absolute;
    background-repeat: no-repeat;
    top: -30px;
    left: calc(50% - 40px);
    background-size: contain;
  }
}
section .ttl_date {
  text-align: center;
  margin-bottom: 50px;
  line-height: 2em;
}
section .ttl_date span {
  font-size: 16px;
  display: inline-block;
  border-top: 1px solid #fff;
}
section h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 10px;
}
section h2::before {
  content: none;
}
@media only screen and (max-width: 900px) {
  section h2 {
    font-size: 24px;
    margin-top: 0;
  }
  section h2::before {
    content: none;
  }
}
section h3 {
  background: url(https://www.andanomori.jp/tennoji/topics/wp-content/themes/tennoji_topics/images/topics/ttl_l.png), url(https://www.andanomori.jp/tennoji/topics/wp-content/themes/tennoji_topics/images/topics/ttl_r.png) #ece7de;
  background-position-x: left, right;
  background-repeat: no-repeat, no-repeat;
  background-size: contain;
  height: auto;
  color: #192e1d;
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  padding: 5px 50px;
}
section h3 span {
  font-size: 14px;
}
@media only screen and (max-width: 900px) {
  section h3 {
    height: auto;
    font-size: 20px;
    padding-left: 20px;
    width: 100%;
  }
  section h3 span {
    font-size: 14px;
  }
}
section p {
  margin: 10px 0 0;
}
section a {
  font-size: 18px;
  font-family: "Noto Sans JP", serif;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 5px 50px 5px 10px;
  margin: 20px auto 50px;
  background: #3f7747;
  border-radius: 5px;
  display: inline-block;
  position: relative;
}
section a::after {
  content: "";
  background: url(https://www.andanomori.jp/topics/tennoji/wp-content/themes/tennoji_topics/images/topics/green_link_arrow.png);
  width: 12px;
  height: 15px;
  position: absolute;
  top: calc(50% - 6px);
  right: 15px;
  background-size: contain;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 900px) {
  section a {
    font-size: 14px;
    line-height: 1.5em;
    padding: 8px 50px 8px 10px;
    text-align: left;
  }
}

.pagenation_area {
  border-top: 1px dashed #f0f0f0;
  padding: 10px 0 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.pagenation_area i {
  font-size: 20px;
  vertical-align: middle;
  color: #d1ba8f;
}
.pagenation_area .next_arrow i {
  padding: 0 10px 0 0;
}
.pagenation_area .next_arrow a {
  line-height: 30px;
  font-size: 14px;
}
.pagenation_area .prev_arrow i {
  padding: 0 0 0 10px;
}
.pagenation_area .prev_arrow a {
  line-height: 30px;
  font-size: 14px;
}

#topics {
  margin: 70px 0 100px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.65);
  color: #113b17;
}
@media only screen and (max-width: 900px) {
  #topics {
    padding: 20px 10px 20px 20px;
  }
}
#topics h2 {
  margin: 0 auto 30px;
  text-align: center;
}
#topics .topics_box {
  overflow-y: scroll;
  height: 200px;
}
#topics .topics_box ul {
  padding-right: 30px;
}
#topics .topics_box ul li {
  padding: 20px 0;
  border-bottom: 1px dashed #fff;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
@media only screen and (max-width: 900px) {
  #topics .topics_box ul li {
    flex-direction: column;
  }
}
#topics .topics_box ul li time {
  font-size: 16px;
  padding-right: 20px;
}
@media only screen and (max-width: 900px) {
  #topics .topics_box ul li time {
    font-size: 14px;
  }
}
#topics .topics_box ul li a {
  color: #113b17;
  font-size: 18px;
}
@media only screen and (max-width: 900px) {
  #topics .topics_box ul li a {
    font-size: 15px;
  }
}
#topics .topics_box ul li:first-child {
  padding-top: 0;
}
#topics .simplebar-scrollbar::before {
  background: #858585;
  border-radius: 0;
  width: 5px;
  margin-left: 3px;
  margin-top: 2px;
}
#topics .simplebar-scrollbar.simplebar-visible::before {
  opacity: 1;
}
#topics .simplebar-track {
  background: #f0f0f0;
  width: 15px !important;
}


/* テンプレ用 */

section.template_single {
  max-width: 600px;
  margin: auto;
}
.template_single .template_the_content{
  max-width: 600px;
  margin: auto;
    margin-bottom: 40px;
}
.template_box{
  margin-bottom: 40px;
}
.template_img img{
  display: block;
  margin: auto;
  height: auto;
}
.btn_template{
  display: block;
  width: fit-content;
  margin: auto;
  margin-top:20px;
  text-align: center;
  position: relative;
  text-align: center;
  display: block;
  padding: 10px 20px;
  padding-right: 30px;
  width: fit-content;
  &:before{
    position: absolute;
    content: "";
    top: 0;
    right: 10px;
    bottom: 0;
    margin: auto;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    background: #fff;
    width: 8px;
    height: 10px;
  }
}
