/*
Theme Name: OnePress Child
Theme URI: http://example.com/onepress-child
Description: OnePressの子テーマ
Author: あなたの名前
Author URI: http://example.com
Template: onepress
Version: 1.0.0
*/
body, button, input, select, textarea {
  color: #111;
}
.page-header {
  display: none;
}
body.page .content-area {
  padding: 0;
  margin: 0 auto;
  border: none;
  width: 100%;
  float: none;
}
body.page .container {
  width: 100%;
}
body.page .site-content {
  border: none;
}
.rocknroll-one-regular {
  font-family: "RocknRoll One", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.font-rock {
  font-family: "RocknRoll One", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.font-g {
  font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.font-m {
  font-family: "リュウミン R-KL", "Ryumin Medium KL", "Noto Serif JP", serif;
}
.section {
  margin-bottom: 40px;
}
.titleh2 {
  text-align: center;
  padding: 30px 0 30px 0;
}
.section .slider {
  max-width: 1600px;
  width: 96%;
  margin: auto;
}
.section .slider img {
  border-radius: 30px;
  aspect-ratio: 5 / 2.5;
  object-fit: cover;
}
.omotenashibox {
  max-width: 1300px;
  width: 96%;
  margin: auto;
}
.omotenashibox p {
  text-align: center;
}
.omotenashi-image {
  text-align: center;
  padding-top: 40px;
}
.omotenashi-image .omotenashi-i1 {
  width: 20%;
  margin: 1%;
}
.omotenashi-image .omotenashi-i2 {
  width: 17%;
}
.omotenasiboxul {
  display: flex;
  justify-content: center;
}
}
.omotenashibox2 { /*display: inline-block;*/
}
/*.omotenashibox21{width: }
                .omotenashibox22{width: }*/
.omotenashiboximg {
  margin-bottom: 20px;
}
.omotenashiboximg img {
  height: 450px !important;
  height: auto !important;
}
.omotenashilist {
  display: flex;
  justify-content: space-around;
}
.omotenashili {
  width: 36%;
  background: url(https://www.st.kirishimajingu.com/wp-content/themes/onepress-kirishima/img/bg2.png);
  padding: 20px;
}
.omotenashili h3 {
  text-align: center;
}
.titleh31 {
  font-size: 22px;
}
.omotenashia {
  background-color: #b22b26;
  padding: 1em;
  text-align: center;
  display: block;
  color: #fff;
}
.titleh2img {
  max-width: 300px;
  width: 70%;
  margin: auto;
  text-align: center;
  margin-bottom: 60px;
}
.hachibox img {
  max-width: 750px;
  width: 45%;
}
.hachibox {
  margin-bottom: 40px;
}
#primary, .container.right-sidebar {
  padding: 0 !important;
}
.flexbox {
  display: flex;
  /* max-width: 1600px;*/
  width: 100%;
  align-items: center;
}
}
.flexbox div {
  /*width: 50%;*/
}
.statxtbox p, .histxtbox p {
  width: 80%;
  margin: auto;
  max-width: 450px;
  line-break: strict;
  font-feature-settings: "palt";
  text-align: justify;
  text-align-last: left;
}
.statxtbox, .histxtbox {
  width: 40%;
}
.staimgbox, .hisimgbox {
  width: 60%;
}
.stationguide, .stationhistory {
  padding: 0 0 80px 0;
}
.plus36inner {
  /*background: url("https://www.st.kirishimajingu.com/wp-content/themes/onepress-kirishima/img/bg2.png") center repeat;*/
  background: url("https://www.st.kirishimajingu.com/wp-content/themes/onepress-kirishima/img/marubg.png") center center no-repeat;
  background-size: contain;
  padding: 40px 30px;
  border-radius: 5px;
  display: flex;
  width: 96%;
  max-width: 1100px;
  margin: auto;
  aspect-ratio: 6 / 4;
  align-items: center;
}
.g363 {
  background-color: #b22b26;
  padding: 8px;
  border-radius: 5px;
  color: white;
  font-size: 18px;
}
.plus36txtbox {
  width: 60%;
  margin: auto;
  padding-bottom: 20px;
}
.plus36imgbox {
  width: 30%;
  max-width: 400px;
  margin-right: 30px;
}
.guidelistbox {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  /*gap: 2%;*/
}
.guidelist {
  /*display: flex;*/
  background: url("https://www.st.kirishimajingu.com/wp-content/themes/onepress-kirishima/img/bg2.png") center repeat;
  width: 85%;
  margin: 0 auto 30px auto;
}
.guidelistimg {
  margin: 0 auto 0 auto;
  padding: 2.5%;
}
.guidelisttxt {
  padding: 2.5%;
}
.guidelisttxt p {
  font-size: 18px;
}
.guidelisttxt h3 {
  font-size: 26px;
}
.titleh3 {
  text-align: center;
  padding-bottom: 20px;
  /*background-image: url(https://www.st.kirishimajingu.com/wp-content/themes/onepress-kirishima/img/j3.svg);
              background-position: bottom center;
              background-size: 100%;
              background-repeat: no-repeat;*/
}
.onseninner {
  background-image: url(https://www.st.kirishimajingu.com/wp-content/themes/onepress-kirishima/img/bg3.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  max-width: 1100px;
  margin: auto;
  aspect-ratio: 6 / 4;
}
.onseninnerbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.onsenimgbox {
  width: 60%;
}
.onsentxtbox {
  width: 36%;
}
.onseninnerbox img {
  width: 100%;
}
.guidemapp {
  width: 96%;
  margin: auto;
  text-align: center;
}
.guidemapimg {
  width: 96%;
  max-width: 1000px;
  margin: 60px auto;
}
.to_time_table {
  text-align: center;
}
.to_time_table h4 {
  display: inline-block;
  padding: 1em 2em;
  background-color: #b22b26;
  text-align: center;
}
.to_time_table h4 a {
  color: #fff;
  font-weight: bold;
  font-size: 22px;
}
@media(min-width:751px) {
  .sp {
    display: none !important;
  }
}
@media(max-width:750px) {
  .pc {
    display: none !important;
  }
}
@media(max-width:750px) {
  .header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    top: 0;
    width: 100%;
    margin: 0;
  }
  .omotenashibox {
    padding-top: 60px;
  }
  .omotenashi-image .omotenashi-i1 {
    width: 28%;
  }
  .omotenashi-image .omotenashi-i2 {
    width: 26%;
  }
  #schedule .omotenashi-image .omotenashi-i1 {
    width: 60%;
  }
  .flexbox {
    display: block;
  }
  .staimgbox, .hisimgbox, .statxtbox, .histxtbox {
    width: 90%;
    margin: 20px auto;
  }
  .plus36txtbox {
    width: 100%;
  }
  .plus36inner {
    background-position: top center;
    background-size: 90%;
  }
  .titleh2 {
    margin-bottom: 4px;
    padding: 55px 0 0px 0;
  }
  .onseninnerbox {
    display: block;
  }
  .onsenimgbox, .onsentxtbox {
    width: 90%;
    margin: auto;
  }
  .guidelistbox {
    display: block;
  }
  .guidelist {
    width: 90%;
    margin: auto;
  }
}
@media(max-width:750px) {
    .site-name{
        letter-spacing:0!important;
    }
  .omotenashilist {
    display: block;
  }
    .omotenashili{
        width: 96%!important;
        margin: 0 auto 10px auto;
    }
    .titleh2img{
        padding-top: 40px;
    }
    .hachibox img {
    max-width: 750px;
    width: 80%;
        display: block;
        margin: 0 auto 20px;
}
    .plus36inner{
        display: block!important;
    }
    .plus36imgbox{
        width: 96%;
        margin: auto;
    }
    .plus36imgbox img{
        width: 100%;
    }
    #facility .titleh2,#onsen .titleh2,#guidemap .titleh2{
        padding: 50px 0 30px 0 !important;
    }
    .guidelist{
        margin-bottom: 20px!important;
    }
    .statxtbox p, .histxtbox p{
        width: 96%;
    }
}