@charset "utf-8";
/* reset */
@import url("css/destyle.min.css");
@import url("css/moto.css");
@import url("css/single.css");

/* demo用 */

/* header */
header.header {
  background-color: #efefef;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    position: sticky;
  top: 0;
	z-index: 2000;
}
#logo {
  margin-bottom: 0;
  padding: 20px;
}
#g-navi > div {
  height: auto;
}
#g-navi > div > ul#menu-g-navi {
  display: flex;
  height: auto;
}
#g-navi > div > ul#menu-g-navi > li > a {
  display: flex;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  height: 100%;
  font-weight: bold;
  justify-content: center;
}
/*
#g-navi > div > ul#menu-g-navi > li:not(:last-child) > a::before {
  content: "";
  height: 60px;
  width: 1px;
  background-color: #ccc;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#g-navi > div > ul#menu-g-navi > li > a:hover {
  background-color: #1256e8;
  color: white;
  transition: 0.5s;
}
#g-navi > div > ul#menu-g-navi > li:not(:last-child) > a:hover::before {
  background-color: #1256e8;
}
*/
/*
#g-navi > div > ul#menu-g-navi > li:last-child > a {
  background-color: #1256e8;
  color: #fff;
  border-left: 0;
  padding-right: 15px;
}
#g-navi > div > ul#menu-g-navi > li:last-child > a:hover {
  background-color: rgba(17, 86, 232, 0.8);
}
*/
#g-navi > div > ul#menu-g-navi > li {
  position: relative;
  z-index: 500 !important;
  transition: 0.5s;
}
#g-navi .sub-menu {
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  position: absolute;
  background-color: #efefef;
  border: 1px solid #ccc;
  width: 100%;
}
#g-navi .sub-menu > li a {
  padding: 10px;
  border-bottom: 1px dotted #ccc;
  display: block;
  text-align: center;
}
#g-navi .sub-menu > li:last-child a {
  border-bottom: 0;
}

#g-navi > div > ul#menu-g-navi > li:hover ul.sub-menu {
  opacity: 1;
  visibility: visible;
}
#g-navi > div > ul#menu-g-navi > li#menu-item-37 .sub-menu {
  width: 200%;
  right: 0;
}

#nav {
  display: none;
}

@media screen and (max-width: 1220px) {
  /*
	header.header #g-navi {
    top: -700px;
    transition: 0.5s ease-in-out;
    display: block;
    background-color: #fff;
    width: 100%;
    position: absolute;
	z-index: 100;
	left: 0;
  }
	*/
	header.header #g-navi {
    top: -100vh;
    transition: 0.5s ease-in-out;
    display: block;
    background-color: #fff;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 100;
    left: 0;
    overflow-y: auto;
}

header.header.act #g-navi {
    top: 0;
}
  header.header.act #g-navi {
    transform: translateY(96px);
  }
  #g-navi > div > ul#menu-g-navi {
    height: 80px;
	  /* border-top: 1px solid #ccc; */
    border-bottom: 1px solid #ccc;
    justify-content: center;
  }

  #nav {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }
  #nav #navt {
    position: relative;
    width: 100%;
    height: 100%;
  }
  #nav #navt span {
    background-color: #40a578;
    width: 32px;
    height: 2px;
    position: absolute;
    transition: 0.5s;
    transform: translateX(-50%);
    left: 50%;
  }
  #nav #navt span:nth-of-type(1) {
    top: 14px;
  }
  #nav #navt span:nth-of-type(2) {
    top: 24px;
  }
  #nav #navt span:nth-of-type(3) {
    top: 33px;
  }
  header.header.act #nav #navt span:nth-of-type(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 24px;
  }
  header.header.act #nav #navt span:nth-of-type(2) {
    transform: translateX(-50%) rotate(45deg);
  }
  header.header.act #nav #navt span:nth-of-type(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 24px;
  }
}
@media screen and (max-width: 768px) {
  #logo img {
	width: 45%;
    height: auto;
  }

  header.header.act #g-navi {
    transform: translateY(50px);
	padding-top: 30px;
  }

  #g-navi > div > ul#menu-g-navi {
    height: auto;
    flex-direction: column;
  }
  #g-navi > div > ul#menu-g-navi > li {
    border-bottom: 1px solid #ccc;
  }
  #g-navi > div > ul#menu-g-navi > li .sub-menu {
    opacity: 1;
    visibility: visible;
    position: static;
    width: 100% !important;
    border: 0;
	  /*
    border-top: 1px solid #ccc;
	  */
    display: flex;
    flex-wrap: wrap;
  }
	/*
  #g-navi > div > ul#menu-g-navi > li .sub-menu > li {
    width: 50%;
  }
	
  #g-navi > div > ul#menu-g-navi > li .sub-menu > li:nth-child(odd) {
    border-right: 1px solid #ccc;
  }
	*/
  #g-navi > div > ul#menu-g-navi > li .sub-menu a {
    border-style: dashed;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  #g-navi > div > ul#menu-g-navi > li > a {
    padding: 15px 5px;
    display: block;
    text-align: left;
    font-size: 16px;
  }
  #g-navi > div > ul#menu-g-navi > li > a::before {
    content: none !important;
  }
}

/* main */
/*
main {
  min-height: 100vh;
}
*/
.btn_w a.blue {
  background-color: #1256e8;
  color: white;
}
.btn_w a.blue:hover {
  background-color: rgb(18, 86, 232, 0.8);
}
.btn_w a.red {
  background-color: rgb(237, 75, 75);
  color: white;
}
.btn_w a.red:hover {
  background-color: rgba(237, 75, 75, 0.8);
}
.btn_w a.yellow {
  background-color: rgb(237, 223, 75);
}
.btn_w a.yellow:hover {
  background-color: rgba(237, 223, 75, 0.8);
}
.btn_w a.green {
  background-color: rgb(75, 237, 88);
}
.btn_w a.green:hover {
  background-color: rgba(75, 237, 88, 0.8);
}

.contact_tbl,
.contact_tbl th,
.contact_tbl td {
  border: 1px solid #ccc;
  border-collapse: collapse;
}
.contact_tbl {
  width: 100%;
}
.contact_tbl th {
  background-color: #efefef;
  padding: 10px;
  width: 25%;
}
.contact_tbl td {
  padding: 10px;
  width: 75%;
}
.contact_tbl .wpcf7-list-item {
  display: block;
  margin-left: 0;
}
.contact_tbl input[type="text"],
.contact_tbl input[type="email"] {
  width: 100%;
  height: 50px;
}

.wpcf7-spinner {
  display: none;
}
.contactBtn_w {
  text-align: center;
  margin-top: 30px;
  padding-bottom: 60px;
}
.contactBtn_w input[type="submit"] {
  padding: 8px 15px;
  background-color: #1256e8;
  color: #fff;
  text-align: center;
  min-width: 300px;
  border-radius: 8px;
}

/* input */
input[type="text"],
input[type="email"] {
  border: 1px solid #999;
  border-radius: 5px;
  padding: 5px;
	width: 100%;
}
input[type="radio"],
input[type="checkbox"] {
  appearance: auto;
}
textarea {
  border: 1px solid #999;
  border-radius: 5px;
  padding: 5px;
	width: 100%;
}
select {
  border: 1px solid #999;
  border-radius: 5px;
  padding: 5px 15px 5px 5px;
  appearance: auto;
}

/* dl */
dl.pm_menu dt,
dl.ku_menu dt {
  cursor: pointer;
  position: relative;
  padding-left: 25px;
}
dl.pm_menu dt::before,
dl.pm_menu dt::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 2px;
  height: 15px;
  background-color: #333;
  left: 8px;
  top: 3px;
  transition: 0.5s;
}
dl.pm_menu dt::after {
  transform: rotate(90deg);
}
dl.pm_menu dt.op::before {
  transform: rotate(90deg);
}
dl.pm_menu dd {
  display: none;
}

dl.ku_menu dt::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  width: 8px;
  height: 8px;
  border: 2px solid #333;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: rotate(135deg);
  position: absolute;
  left: 5px;
  top: 3px;
  transition: 0.5s;
}
dl.ku_menu dt.op::before {
  transform: rotate(-45deg);
  top: 8px;
}
dl.ku_menu dd {
  display: none;
}

/* news */
ul.news_ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
ul.news_ul::after {
  content: "";
  display: block;
  width: 23%; /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
}
ul.news_ul::before {
  content: "";
  display: block;
  width: 23%; /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
  order: 1;
}
/*
ul.news_ul > li {
  width: calc(25% - 20px);
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #efefef;
}
*/
ul.news_ul > li a {
  display: block;
  padding: 15px;
}
ul.news_ul > li .kt_in {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
ul.news_ul > li h3 {
  font-size: 18px;
}
ul.news_ul > li .cate {
  font-size: 12px;
  padding: 5px 8px 3px;
  border-radius: 5px;
  background-color: #1256e8;
  color: #fff;
}
ul.news_ul > li .eyecatch {
  margin-bottom: 1rem;
  border-radius: 5px;
}
ul.news_ul > li p.naiyo {
  font-size: 14px;
  line-height: 1.5;
}
.pn_w {
  margin-top: 30px;
  padding-bottom: 40px;
}
ul.pn_ul {
  display: flex;
  justify-content: center;
  gap: 10px;
}
ul.pn_ul > li a,
ul.pn_ul > li span {
  padding: 8px 10px 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: block;
}
ul.pn_ul > li a {
  background-color: #efefef;
}

@media screen and (max-width: 1020px) {
  ul.news_ul > li {
    width: calc((100% / 3) - 15px);
  }
}
@media screen and (max-width: 768px) {
  ul.news_ul > li {
    width: calc(50% - 15px);
  }
}
@media screen and (max-width: 500px) {
  ul.news_ul > li {
    width: 100%;
  }
}

/* footer */
footer.footer {

}
/*
#pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
#topBtn {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}
*/