/* 新ヘッダー エリア */
#header.new_top_header .description {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 15px 0 12px 0;
  border-top: 6px solid #6fa60c;
  border-bottom: 2px solid #6fa60c;
}

#header.new_top_header .description .inner {
  width: 1240px;
  height: auto;
  margin: 0 auto;
  padding: 0;
  display: table;
}

#header.new_top_header .description .inner h1 {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2em;
  color: #6fa60c;
  padding: 5px 0;
  float: left;
}

#header.new_top_header .description .inner ul {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  float: right;
}

#header.new_top_header .description .inner ul li {
  width: auto;
  height: auto;
  margin-left: 5px;
  padding: 0;
  float: right;
  border: 1px solid #6fa60c;
}

#header.new_top_header .description .inner ul li a {
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  line-height: 1.2em;
  color: #6fa60c;
  padding: 5px 10px;
  display: block;
  text-transform: uppercase;
  display: block;
  position: relative;
  overflow: hidden;
}

#header.new_top_header .description .inner ul li a:hover {
  color: #ffffff;
}

#header.new_top_header .description .inner ul li a::after {
  width: 0;
  height: 100%;
  content: "";
  position: absolute;
  left: -50%;
  top: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  transform: skew(50deg);
  transition-duration: 0.6s;
  transform-origin: top left;
  z-index: -1;
  background-color: #6fa60c;
}

#header.new_top_header .description .inner ul li a:hover:after {
  width: 150%;
  height: 100%;
}

#header.new_top_header {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: unset;
}

#header.new_top_header #header_in {
  width: 1240px;
  height: auto;
  margin: 0 auto;
  padding: 15px 0 30px 0;
  display: table;
}

#header.new_top_header #header_in .inner {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

#header.new_top_header #header_in .inner ul {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

#header.new_top_header #header_in .inner ul li {
  width: 290px;
  height: auto;
  margin-right: 10px;
  padding: 0;
  float: left;
}

#header.new_top_header #header_in .inner ul li img {
  width: 100%;
  height: auto;
  margin: auto;
  padding: 0;
}

#header.new_top_header #header_in .inner ul li:first-child {
  max-width: 480px;
  width: 30%;
  margin-right: 10%;
}

#header.new_top_header #header_in .inner ul li:first-child a img {
    width: 70%;
}

#header.new_top_header #header_in .inner ul li:first-child p {
  font-family: "arial", "メイリオ";
  font-size: 14px;
  text-align: center;
  line-height: 1.2em;
  color: #6fa60c;
  margin-top: 5px;
}

#header.new_top_header #header_in .inner ul li:last-child {
  width: 150px;
  margin: 0;
}

#header.new_top_header #header .description .inner ul li a {
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  line-height: 1.2em;
  color: #6fa60c;
  padding: 5px 10px;
  display: block;
  text-transform: uppercase;
  display: block;
  position: relative;
  overflow: hidden;
}

#header.new_top_header .description .inner ul li a:hover {
  color: #ffffff;
}

#header.new_top_header .description .inner ul li a::after {
  width: 0;
  height: 100%;
  content: "";
  position: absolute;
  left: -50%;
  top: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  transform: skew(50deg);
  transition-duration: 0.6s;
  transform-origin: top left;
  z-index: -1;
  background-color: #6fa60c;
}

#header.new_top_header .description .inner ul li a:hover:after {
  width: 150%;
  height: 100%;
}


body.page-template-page-2 {
  padding-top: 0;
  background-image: url("https://norisada-seikotsuin.jp/wp-content/themes/amaterasu/images/common-top/body_bg.webp");
}

.contact-block.back-none {
  padding: 10px;
  background-image: none;
}

.contact-block.back-none img {
  text-align: center;
  margin: auto;
}

.home #wrapper.new_page_wrapper {
  max-width: 1200px;
  width: calc(100% - 40px);
  height: auto;
  margin: 0 auto;
  padding: 40px 65px;
  background-color: #ffffff;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: table;
}

#footer.new_page_footer {
  width: 100%;
  height: auto;
  display: table;
  clear: both;
  background-color: unset;
  padding: 0 20px;
}

.new_page_footer #footer_in {
  width: 1240px;
  height: auto;
  margin: 60px auto 0 auto;
  padding-bottom: 20px;
  display: table;
}

a:hover {
  opacity: 0.7;
}

table.table th {
  font-size: 18px;
  text-align: center;
  vertical-align: middle;
}

table.table td {
  font-size: 18px;
}

/* 新ヘッダー エリア */
/* トップリニューアル */
.top_box .inner {
  width: 100%;
  height: auto;
  margin: 30px 0;
  padding: 0;
}

.top_box .inner img {
  width: 250px;
  height: auto;
  margin: 0px 0 30px 30px;
  padding: 0;
  float: right;
}

.top_box .inner p {
  font-size: 16px;
  text-align: left;
  line-height: 1.7em;
  color: #333333;
  margin-bottom: 15px;
}

.incho a.news-link {
  padding: 10px 60px;
}

/*20241209 新フッター エリア */
.new_page_footer #footer_in .inner_left {
  width: 480px;
  height: auto;
  margin: 0;
  padding: 0;
  float: left;
}

.new_page_footer #footer_in .inner_left ul {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.new_page_footer #footer_in .inner_left ul li {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.new_page_footer #footer_in .inner_left ul li p {
  font-family: "arial", "メイリオ";
  font-size: 14px;
  text-align: center;
  line-height: 1.2em;
  color: #303c48;
  margin-top: 10px;
  padding: 0;
}

.new_page_footer #footer_in .inner_left ul li:first-child {
  margin-bottom: 35px;
}

.new_page_footer #footer_in .inner_left ul li:first-child img {
  width: 70%;
  height: auto;
  margin: 0;
  padding: 0;
}

.new_page_footer #footer_in .inner_left ul li:last-child {
  width: 700px;
  height: auto;
  line-height: 1.2em;
  margin: 0 auto;
  padding-left: 2px;
}

.new_page_footer #footer_in .inner_left ul li:last-child a {
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  color: #303c48;
  margin-right: 5px;
  padding-left: 20px;
  background-image: url("https://norisada-seikotsuin.jp/wp-content/themes/amaterasu/images/common-top/newfooter_nav_icon.png");
  background-position: 0 2px;
  background-repeat: no-repeat;
}

.new_page_footer #footer_in .inner_left ul li:last-child a.last {
  margin: 0;
}

.new_page_footer #footer_in .inner_left ul li:last-child a:hover {
  opacity: 0.7;
}

.new_page_footer #footer_in .inner_right {
  width: 480px;
  height: auto;
  margin: 0;
  padding: 0;
  float: right;
}

.new_page_footer #footer_in .inner_right img {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.new_page_footer #footer_in p {
  width: 100%;
  height: auto;
  font-family: "arial", "メイリオ";
  font-size: 12px;
  text-align: center;
  color: #303c48;
  padding-top: 40px;
  clear: both;
}

.textwidget.custom-html-widget {
  width: fit-content;
  margin: auto;
}

@media screen and (min-width: 769px) {
  #content {
    width: 65%;
    height: auto;
    margin: 0;
    padding: 0;
    float: right;
  }
#main_visual {
  background-image: url(images/main-back.png);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
}
}

@media screen and (max-width: 1250px) {
  #header.new_top_header .description .inner {
    max-width: 1240px;
    width: 100%;
    height: auto;
  }

  #header.new_top_header #header_in {
    max-width: 1240px;
    width: 100%;
  }

  #header.new_top_header .description .inner ul {
    padding-right: 1vw;
  }

  #header.new_top_header #header_in .inner ul li {
    width: 20%;
    height: auto;
    margin-right: 1%;
    padding: 0;
    float: left;
  }

  #header.new_top_header #header_in .inner ul li:first-child {
    width: 40%;
    margin-right: 5%;
  }

  #header.new_top_header #header_in .inner ul li:last-child {
    width: 10%;
    margin: 0;
  }

  .home #wrapper.new_page_wrapper {
    max-width: 1240px;
    padding: 40px 25px;
    background-color: #fff;
    width: 94.79166674%;
    height: auto;
    margin: 1rem auto;
    padding: 5.208333333% 2.604166666% 1.302083333% 2.604166666%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  .new_page_footer #footer_in {
    max-width: 1240px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 6.510416666% 2.604166666% 2.604166666% 2.604166666%;
    display: flex;
    flex-direction: row-reverse;
  }

  .new_page_footer #footer_in .inner_left ul li:last-child {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .new_page_footer #footer_in .inner_left ul li:last-child a {
    margin: 3px 15px;
    width: 40%;
  }
}

@media screen and (max-width: 1060px) {
  .new_page_footer #footer_in .inner_right {
    width: fit-content;
    height: auto;
    margin: 0 auto;
    padding: 0;
    float: right;
  }

  .new_page_footer #footer_in .inner_left ul li:last-child a {
    margin: 3px 15px;
    width: fit-content;
  }
}

@media screen and (max-width: 1000px) {
  body.page-template-page-2 {
    padding-top: 0;
  }

  .new_page_wrapper #sidebar {
    display: block;
  }

  .new_page_wrapper #sidebar #widget-area .widget-container {
    width: 100%;
  }

  .new_page_wrapper #sidebar #widget-area .widget-container .textwidget {
    width: fit-content;
    text-align: center;
    margin: auto;
  }
}

@media screen and (max-width: 768px) {
  #header.new_top_header {
    background: #fff;
  }

  body.page-template-page-2 {
    padding-top: 0;
  }

  #header.new_top_header #header_in {
    max-width: 768px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 1vw 2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  #header.new_top_header .sp.nav_list {
    width: 100%;
    position: relative;
  }

  .new_top_header #header_in .inner_left {
    width: 40.94505494%;
    height: auto;
    margin: 0;
    padding-top: 0;
    float: left;
  }

  .new_top_header #header_in .inner_left img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .new_top_header #header_in .inner_right {
    width: 42%;
    height: auto;
    margin-bottom: 0;
    padding: 0;
    float: right;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
  }

  .new_top_header #header_in .inner_right .sp_nav_btn {
    width: 30%;
    height: auto;
    margin-left: 3.703703733%;
    padding: 0;
    float: right;
  }

  .new_top_header #header_in .sp_mail_btn,
  .new_top_header #header_in .sp_line_btn {
    width: 30%;
    height: fit-content;
  }

  .new_top_header #header_in .sp_mail_btn a {
    display: inline-block;
    width: fit-content;
  }

  .new_top_header #header_in .inner_right .sp_nav_btn img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    float: right;
  }

  .new_top_header #header_in .nav_sp {
    width: 105.208333332%;
    height: auto;
    margin: 0 -2.604166666%;
    padding: 0;
    border-top: 1px solid #6fa60c;
    float: left;
    transition: all 0.1s ease;
    position: absolute;
    background: #fff;
  }

  .new_top_header #header_in .nav_sp .left {
    width: 50%;
    height: auto;
    float: left;
    border-right: 1px solid #6fa60c;
  }

  .new_top_header #header_in .nav_sp .right {
    width: 50%;
    height: auto;
    float: right;
  }

  .new_top_header #header_in .nav_sp .left li,
  .new_top_header #header_in .nav_sp .right li {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    border-bottom: 1px dotted #6fa60c;
  }

  .new_top_header #header_in .nav_sp .contact {
    display: inline-block;
    width: 100%;
    height: auto;
    padding: 10px;
    border-bottom: 1px solid #6fa60c;
  }

  .new_top_header #header_in .nav_sp .contact a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #333;
  }

  .new_top_header #header_in .nav_sp .left li:hover,
  .new_top_header #header_in .nav_sp .right li:hover,
  .new_top_header #header_in .nav_sp .contact:hover {
    width: 100%;
    height: auto;
    background-color: #6fa60c;
    border-bottom: 1px dotted #ffffff;
  }

  .new_top_header #header_in .nav_sp .left li:hover a,
  .new_top_header #header_in .nav_sp .right li:hover a,
  .new_top_header #header_in .nav_sp .contact:hover a {
    color: #ffffff;
  }

  .new_top_header #header_in .nav_sp .left li a,
  .new_top_header #header_in .nav_sp .right li a,
  .new_top_header #header_in .nav_sp .contact a,
  .new_top_header #header_in .nav_sp .left li span,
  .new_top_header #header_in .nav_sp .right li span {
    font-size: 3.5vw;
    color: #333;
    text-align: center;
    text-decoration: none;
    padding: 10px 0;
    display: block;
  }

  .new_top_header #header_in .nav_sp .left li a:hover,
  .new_top_header #header_in .nav_sp .right li a:hover,
  .new_top_header #header_in .nav_sp .contact a:hover {
    color: #ffffff;
  }

  .table tr {
    display: flex;
    flex-wrap: wrap;
  }

  .table tr th,
  .table tr td {
    width: 100%;
  }

  #footer {
    width: 100%;
    height: auto;
    display: table;
    clear: both;
    background-color: #f5f5f5;
  }

  #footer_in {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 3.90625% 2.604166666%;
    display: table;
  }

  .new_page_footer #footer_in .inner_right,
  .new_page_footer #footer_in .inner_left {
    width: 100%;
    height: auto;
    margin-bottom: 2.604166666%;
    padding: 0;
    float: left;
  }

  .new_page_footer #footer_in .inner_left ul li:first-child img {
    width: 70%;
    height: auto;
    margin: 0 auto;
    padding: 0;
  }

  .new_page_footer #footer_in {
    max-width: 1240px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 6.510416666% 2.604166666% 2.604166666% 2.604166666%;
    display: block;
  }

  .new_page_footer #footer_in .inner_left ul li:last-child a {
    margin: 3px 15px;
    width: unset;
  }

  #wrapper.new_page_wrapper {
    display: block;
  }
}
