/* sumika-simple : ページ別: top */
/* 旧テーマ onepress-sumika（OnePress 2.3.4 / Bootstrap 4 / テンプレート内 style）から、使用中のルールのみを元の順序で移植。Bootstrap: MIT, OnePress: GPLv2+ */
#masthead2 .onepress-menu {

  justify-content: space-around;
}
.toppage-slider {
  width: 100%;
  /*aspect-ratio: 190 / 55;*/
  height: 550px;
}
.sslider2-title {
  font-size: 26px;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}
.slider2p {
  font-size: 20px;
  line-height: 2em;
  letter-spacing: 0.2em;
}
.slider2textbox {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 100px;
}
.underline-a {
  display: inline-block;
  margin: auto;
  padding: 0em 1em 0em 1em;
/*  border-bottom: 1px solid #ccc;*/
  color: #666;
  font-size: 20px;
  letter-spacing: 0.12em;
}
.underline-a:hover {
  text-decoration: none;
}
.underline-a:active, .underline-a:checked {
  text-decoration: none;
}
.top1title {
  font-size: 30px;
  letter-spacing: 0.5em;
  text-align: center;
  padding-left: 0.5em;
  padding-bottom: 0;
  margin-bottom: 0;
}
.top1title2 {
  font-size: 20px;
  letter-spacing: 0.1em;
  text-align: center;
}
.top1p {
  font-size: 18px;
  text-align: center;
  font-weight: normal;
  line-height: 1.8em;
  color: #666;
}
.top1p2 {
  font-size: 20px;
  padding: 5px 1em;
  border-bottom: 1px #666 solid;
  letter-spacing: 0.025em;
  text-align: center;
  display: inline-block;
}
.top1-titlebox {
  text-align: center;
  margin-bottom: 20px;
}
.top1-1 {
  max-width: 960px;
  width: 96%;
  margin: 0 auto 120px;
  display: flex;
  justify-content: space-between;
}
.top1-11, .top1-12 {
  text-align: center;
  max-width: 450px;
  width: 49%;
}
.top1-11 img, .top1-12 img {
  width: 100%;
}
.top1-1title {
  font-size: 18px;
  letter-spacing: 0.025em;
  padding: 20px 0 0 0;
  line-height: 15px;
}
.top1-p {
  font-size: 16px;
  letter-spacing: 0.025em;
  line-height: 28px;
  font-weight: normal;
  color: #666;
}
.top2box, .top3box, .top4box {
  display: flex;
  max-width: 1300px;
  width: 96%;
  margin: auto;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 200px;
}
.top2box .top2imgbox, .top3box .top3imgbox, .top4box .top4imgbox {
  width: 49%;
  max-width: 628px;
}
.top3box {
  flex-direction: row-reverse;
}
.top2box div img, .top3box div img, .top4box div img {
  width: 100%;
}
.top2textbox-inner p, .top3textbox-inner p, .top4textbox-inner p {
  font-size: 18px;
  line-height: 32px;
}
.top2textbox-inner .top2title, .top3textbox-inner .top3title, .top4textbox-inner .top4title {
  font-size: 30px;
  letter-spacing: 0.5em;
  display: flex;
  align-items: center;
  line-height: 1em;
  padding-bottom: 50px;
}
.top2title2, .top3title2, .top4title2 {
  font-size: 20px;
  letter-spacing: 0.1em;
}
.top2textbox, .top3textbox, .top4textbox {
  display: flex;
  justify-content: center;
  width: 49%;
}
.top2textbox-inner, .top3textbox-inner, .top4textbox-inner {
  display: inline-block;
}
.newsbox {
  text-align: center;
}
.news-ul {
  display: inline-block;
  list-style: none;
  max-width: 1000px;
  /*width: 96%;*/
  margin-bottom: 40px;
}
.newslist {
  text-align: left;
  font-size: 16px;
}
.newslist .newsdate {
  display: inline-block;
  width: 10em;
}
.newslist .newstitle {
  display: inline-block;
  /*width: 14em;*/
}
#top5 {
  padding-bottom: 120px;
}
.googlemapbox {
  width: 96%;
  max-width: 1300px;
  margin: 0 auto 60px;
}
.googlemap {
  width: 100%;
  height: 555px;
}
.top6textbox {
  text-align: center;
}
.top6textbox p {
  font-size: 24px;
  margin-bottom: 50px;
}
#top6 {
  padding-bottom: 120px;
}
h1.site-title a.site-text-logo {
  font-family: kinuta-maruminyoshino-stdn, serif;
  font-style: normal;
  font-weight: normal;
}
.headerbox2 {
  display: inline-block;
}
.headerbox2 {
  width: 253px;
}
.headerbox2 p {
  text-align: justify;
  text-align-last: justify;
  margin: 0;
  padding: 0;
  line-height: 19px;
  font-size: 16px;
}
.headerbox3 a, .headerbox4 a {
  color: #666;
  border-bottom: 1px #666 solid;
  padding: 6px 1em;
  margin-left: 3em;
  font-size: 22px;
  text-decoration: none;
}
.headerbox3 a:hover, .headerbox4 a:hover, .headerbox3 a:active, .headerbox4 a:active {
  text-decoration: none;
  border-bottom: 3px #666 solid;
}
.headerbox-b {
  display: flex;
  align-items: center;
  margin-right: 60px;
}
@media screen and (max-width: 1300px){
.headerbox-b {
    display: flex;
    align-items: center;
    margin-right: 10px;
  }
}
@media screen and (max-width: 1140px){
.headerbox-b {
    display: none;
  }
}
@media(max-width:1140px){
.headerbox-b {
    display: none;
    margin: 0;
    padding: 0;
  }
}
@media (max-width: 750px){
.headerbox-b {
    display: none;
  }
.top2textbox, .top3textbox, .top4textbox {
    display: block;
    max-width: 96vw;
  }
.top2textbox-inner, .top3textbox-inner, .top4textbox-inner {
    display: block;
    width: 100%;
    max-width: 96vw;
  }
.toppage-slider {
    height: 400px;
  }
.slider2p {
    font-size: 18px;
    line-height: 1.8em;
  }
.slider2textbox {
    margin-top: 80px;
    margin-bottom: 80px;
  }
.top1title {
    font-size: 24px;
    letter-spacing: 0.4em;
  }
.top1title2 {
    font-size: 16px;
  }
.top1p {
    font-size: 16px;
  }
.top1p2 {
    font-size: 18px;
    padding: 5px 0.5em;
  }
.top1-1 {
    flex-wrap: wrap;
  }
.top1-11, .top1-12 {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }
.top1-11 img, .top1-12 img {
    width: 80%;
  }
.top1-1title {
    font-size: 16px;
  }
.top1-p {
    font-size: 14px;
    line-height: 26px;
  }
.top2box, .top3box, .top4box {
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
  }
.top2box .top2imgbox, .top3box .top3imgbox, .top4box .top4imgbox {
    width: 80%;
  }
.top3box {
    flex-direction: column;
  }
.top2textbox-inner p, .top3textbox-inner p, .top4textbox-inner p {
    font-size: 16px;
    line-height: 28px;
  }
.top2textbox-inner .top2title, .top3textbox-inner .top3title, .top4textbox-inner .top4title {
    font-size: 24px;
    letter-spacing: 0.4em;
    padding-bottom: 10px;
    margin-bottom: 0;
    justify-content: center;
  }
.top2title2, .top3title2, .top4title2 {
    font-size: 16px;
    letter-spacing: 0.1em;
  }
.underline-a {
    margin: auto;
  }
.spcenter {
    text-align: center;
  }
.top2textbox, .top3textbox, .top4textbox {
    max-width: 96vw;
    width: 80%;
    margin-top: 20px;
  }
.news-ul {
    width: 90%;
    margin: 0;
    padding: 0;
  }
.news-ul li {
    text-align: center;
  }
.googlemap {
    height: 400px;
  }
.top6textbox p {
    font-size: 18px;
    margin-bottom: 30px;
  }
.home.page-template #header-section {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
  }
}
#masthead #menu-item-110{
		display: none;
	}
.toppage-index-slider{
				  /*aspect-ratio: 192 / 108;*/
				  width: 100%;
				  margin: 0;
				  padding: 0;
				  height: 107vh;
			  }
.linebox2{
    position: relative;
    }
.line {
  display: block;
  padding: 10px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.top1-11a:hover,.top1-12a:hover{
          background-color: #f6f6f6;
    }
.link{display: block;}
.link:hover{
      /* background-color: #f6f6f6; */
    }
.link:hover,.link:hover p{
        text-decoration: none;
        
    }
.link:hover .line {
  opacity: 1;
}
.line p{
        width: 100%;
        border: 1px solid #fff;
        color: #fff;
    font-size: 30px; 
        display: flex;
        margin: 0;
        height: 100%;
        justify-content: center;
    align-items: center;
}
@media(max-width:750px){
.line {

  width: 80%;
left: 50%;
transform: translate(-50%, 0);
}
}
