/*
HPM original style
*/

/* -------------------------------- */
/* common */
/* -------------------------------- */
html{
  scroll-behavior: smooth;
}
.archive-list{
  padding: 0%;
}
.home .site-main .swiper-slide-image{
  width: 100%;
  max-width: 450px;
}
.elementor-widget:not(:last-child){
  margin-bottom: 8px;
}
.single .page-content{
  color: #1C140C;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 12px;
  margin-top: 80px;
}
.btn,
.single .page-content h2,
.bg-type-top,
.bg-type1,
.bg-type2,
.bg-type3{
  position: relative;
}
.bg-type-top::before{
  position: absolute;
  content: "";
  width: 100%;
  height: calc(100vw*0.498);
  object-fit: contain;
  transform: translateY(-15%);
  background-image: url(assets/images/bg-top.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -999;
}
.bg-type1::before{
  position: absolute;
  content: "";
  width: 100%;
  height: calc(100vw*0.553);
  object-fit: contain;
  left: 0;
  /* top: -10%; */
  bottom:0;
  background-image: url(assets/images/bg-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -999;
}
.bg-type2::before{
  position: absolute;
  content: "";
  width: 100%;
  height: calc(100vw*0.563);
  object-fit: contain;
  left: 0;
  /* top: -10%; */
  bottom: 0;
  background-image: url(assets/images/bg-2.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -999;
}
.bg-type3::before{
  position: absolute;
  content: "";
  width: 100%;
  height: calc(100vw*0.553);
  left: 0;
  top: -10%;
  background-image: url(assets/images/bg-3.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -999;
}
.single .page-content h2::before{
  position: absolute;
  transform: translate(-5%,-50%);
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(assets/images/accent.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}
.section{
  margin-bottom: 5rem !important;
}
.section h6{
  color: #ED7067 !important;
  font-size: 1rem;
}
.section h2,
.section h3,
.section p,
.section span,
.elementor-widget-heading .elementor-heading-title{
  color: black;
}
.mb-0{
  margin-bottom: 0 !important;
}
#content .btn a,
#content .btn-re a{
  font-weight: bold;
	font-size: 1rem;  
  text-align: center;
	background-color: #ED7067;
	border-radius: 50px;
	width: 230px;
	height: 52px;
	text-decoration: none;
  padding: 18px 16px 14px 0;
  transition: 0.3s ease;
}
#content .btn span,
#content .btn-re span{
  color: white;
}
#content .btn-re a{
  color: white;
  background-color: #2cb453;
}
#content .btn a .elementor-button-text::after,
#content .btn-re a .elementor-button-text::after{
  position: absolute;
  content: "";
  display: inline-block;
  top: 20px;
  width: 11px;
  height: 11px;
  margin: 0 10px;
  border-top: 3px solid #FFF;
  border-right: 3px solid #FFF;
  transform: rotate(45deg);
}
.orange,
.orange h2{
  color: #ED7067 !important;
}
.section h2,
.section .orange,
.page-content h2{
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-weight: 600 !important;
}
.section h3,
.section .orange{
  font-size: 1.4rem;
  line-height: 2.2rem;
  font-weight: 600 !important;
}
.section p,
.page-content p{
  font-size: 1.0rem;
  line-height: 1.6rem;
  font-weight: 400 !important;
}
.section svg{
  width: 100%;
  height: 100%;
}
.shadow{
  padding: 16px;
	margin-bottom: 12px;
	border-radius: 10px;
	background-color: white;
	box-shadow: 0 0 6px rgba(0, 0, 0, 16%);
}
.accent,
.accent-em{
  position: relative;
}
.accent::after{
  position: absolute;
  left: 60%;
  transform: translateY(-100%);
  content: "";
  width: 12%;
  height: 400%;
  background-image: url(assets/images/accent.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.frame-red,
.frame-red-1{
  border: #ED7067 solid 1px;
  background-color: white;
  border-radius: 1rem;
  max-width: 1000px;
  margin: 8px auto;
  padding: 16px 8px;
}
.frame-red-1{
  border-radius: 5rem;
  padding: 12px 8px;
}
@media (max-width: 600px) {
  .del{
    display: none;
  }
}
/* -------------------------------- */
/* header */
/* -------------------------------- */
.site-header{
  position: fixed;
  top: 0%;
  z-index: 10;
  width: 100%;
  transition: 0.3s ease;
  background-color: unset;
  flex-direction: column;
}
.site-header .header-inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (max-width: 1140px) {
  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation {
      display: none !important;
  }
}
@media (min-width: 992px) {
  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation-toggle-holder {
      display: inherit !important;
  }
}
@media (min-width: 1140px) {
  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation-toggle-holder {
      display: none !important;
  }
}
.site-header:not(.header-stacked) .header-inner .site-branding{
  width: 100%;
  max-width: 180px;
}
@media (max-width: 1140px){
  .site-header:not(.header-stacked) .header-inner .site-branding{
    max-width: 120px;
  }
}
.site-header .custom-logo {
  width:160px;
  height:auto;
  transition: 0.3s ease;
}
.site-navigation ul li a{
  color: black;
  font-size: 1.0rem;
  font-weight: 600;
  padding: 8px 12px !important;
}
#menu-global > li:nth-last-child(1) a,
#menu-global > li:nth-last-child(2) a{
  color: white;
	background-color: #ED7067;
  font-weight: bold;
	font-size: 1rem;
  margin-left: 1rem;
	border-radius: 50px;
  padding: 8px 24px !important;
  transition: 0.3s ease;
}
#menu-global > li:nth-last-child(2) a{
  background-color: #62cb36;
}
#menu-global > li:nth-last-child(1) a:hover,
#menu-global > li:nth-last-child(2) a:hover{
  filter: brightness(110%);
}
#menu-global > li:nth-last-child(1) a::after,
#menu-global > li:nth-last-child(2) a::after{
  display: none !important;
}
.site-navigation ul.menu li{
  display: flex;
  align-items: center;
  padding-right: 0 !important;
}
.site-navigation ul.menu li ul {
  background-color: white;
  width: 200px;
}
.site-navigation ul.menu li ul {
  box-shadow: 0px 0px 10px -5px black;
  border-radius: 8px;
}
.site-header:not(.header-stacked) .header-inner .site-navigation {
  max-width: fit-content;
}
@media (max-width: 1024px){
  .site-navigation-dropdown{
    bottom: 15px;
  }
  #menu-global{
    padding-bottom: 1rem;
    box-shadow: 0px 8px 12px -10px #494949;
  }
  #menu-global > li:nth-last-child(1), 
  #menu-global > li:nth-last-child(2){
    padding-top: 1rem;
  }
  #menu-global li:nth-last-child(1) a, 
  #menu-global li:nth-last-child(2) a{
    margin: 0 1rem;
    text-align: center;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  } 
}
/* パンくす */
.aioseo-breadcrumbs {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 76px 10px 0;
  font-size: 0.8rem;
  box-sizing: border-box;
  transition: 0.3s ease;
}
@media (min-width: 1024px){
  .site-header.header-color{
    padding: 0.5rem 0;
    background-color: #FFF;
    box-shadow: 0px 0px 10px -5px black;
  }
  .site-header.header-color .custom-logo {
    width: 140px;
  }
}
@media (max-width: 1024px) {
  .site-header.header-color{
    background-color: #FFF;
    box-shadow: 0px 0px 10px -5px black;
  }
  .aioseo-breadcrumbs {
    max-width: 730px;
  } 
}
/* -------------------------------- */
/* ナビ装飾 */
/* -------------------------------- */
.site-navigation ul.menu > li a::after{
  content: '';
  display: block;
  height: 1px;
  width: 90%;
  background: #ED7067;
  position: absolute;
  bottom: 0;
  left: 5%;
  transform: scale(0, 1);
  transition: .3s;
}
.site-navigation ul.menu > li a:hover {
  color: #ED7067;
}
.site-navigation ul.menu > li a:hover::after {
  transform: scale(1, 1);
}
#content .btn a:hover,
input[type="submit"].wpcf7-submit::after,
#content .btn-re a:hover{
  color: white;
  background-color: #D6473C;
}
#content .btn-re a:hover{
  color: white;
  background-color: #068E2D;
}
.site-navigation ul.menu li.menu-item-has-children{
  padding-right: 10px !important;
}
.site-navigation ul.menu li.menu-item-has-children:after {
  top: 47%;
  right: 0px;
}
/* -------------------------------- */
/* footer */
/* -------------------------------- */
body,
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
footer {
  margin-top: auto;
}
.site-footer{
  padding: 0%;
  border-top:0.8px solid #ccc;
  background-color: white;
}
.site-footer .custom-logo-link {
  width:140px;
  height:auto;
  margin-bottom: 1rem;
}
.footer-inner{
  position: relative;
  padding: 40px 0;
}
.footer__down{
  text-align: center;
  background-color: #707070;
  padding: 40px 8px;
}
@media (max-width: 600px){
  .footer__down{
    padding: 40px 0 140px;
  }
}
.footer__down a,
.footer__down span{
  color: white;
  font-size: 0.8rem;
  font-weight: 400;
}
.footer__down a{
  margin: 0 20px;
  text-decoration: underline;
}
.footer__down div{
  margin-bottom: 16px;
}
.site-footer:not(.footer-stacked) .footer-inner{
  padding-right: 1rem;
  padding-left: 1rem;
}
.site-footer:not(.footer-stacked) .footer-inner .site-navigation {
  max-width: inherit;
}
/* -------------------------------- */
/* news */
/* -------------------------------- */
.news ul{
  padding: 0 40px;
  margin: 0 auto;
  max-width: 1000px;
}
.news li{
  list-style: none;
}
.news li a p{
  transition: 0.2s;
}
.news li a:hover p{
  color: #ED7067;
  transition: 0.2s;
}
.news time,
.news p{
  color: black;
}
.news time{
  font-size: 0.8rem;
}
.news p{
  font-size: 1.2rem;
  font-weight: 600 !important;
  padding-bottom: 12px;
  padding-bottom: 16px;
  border-bottom: #CCC solid 0.8px;
}
.single .page-content h2,
.single .page-content p,
.single .page-content span{
  color: #1C140C;
}
/* -------------------------------- */
/* FAQ */
/* -------------------------------- */
.faq{
  margin: 0 auto;
  max-width: 800px;
}
.faq .elementor-accordion-item{
  border-bottom: #CCC solid 0.8px !important;
}
/* -------------------------------- */
/* solution */
/* -------------------------------- */
.solution .shadow{
  padding: 32px;
} 
.solution span{
  display: block;
  font-weight: 400 !important;
  border-width: 100%;
  border-bottom: #CCC solid 0.8px;
  padding-bottom: 12px;
}
.function .shadow{
  padding: 0;
}
.function .item{
  border: #ED7067 solid 1px;
  background-color: white;
  border-radius: 50px;
  padding: 8px 0;
}
.function .item span{
  color: #ED7067;
  font-size: 1rem;
}
/* -------------------------------- */
/* contact */
/* -------------------------------- */
.tag{
  color: white !important;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  background-color: #ED7067;
  padding: 6px 16px 4px;
  margin-left: 8px;
}
.contact .shadow{
  padding: 60px !important;
  max-width: 1000px;
  margin: 0 auto;
}
.contact form label,
.contact form label .wpcf7-form-control-wrap{
  width: 100%;
  margin-bottom: 1.8rem;
}
.wpcf7-form-control{
  margin-top: 0.8rem;
}
.wpcf7-list-item{
	margin: 0 auto;
}
.wpcf7-spinner{
  display: none;
}
input[type="text"],
input[type="email"],
select,
textarea{
  border-color: #CCC;
  height: 50px;
}
textarea{
  height: 150px;
}
input[type="submit"].wpcf7-submit{
	color: white;
	font-size: 1rem;
  font-weight: bold;
  text-align: center;
  background-color: #ED7067;
	border-radius: 50px;
  border-color: white;
	width: 240px;
	height: 52px;
	text-decoration: none;
	margin: 2rem auto 0;
	display: block;
  transition: 0.3s ease;
}
.scroll-box{
	max-height: 200px;
	overflow-y: scroll;
	border: 1px solid #CACED5;
  border-radius: 7px;
  padding: 12px 20px;
}
.scroll-box li{
  margin-bottom: 12px;
}
.scroll-box p{
  font-size: 1rem;
  text-align: end;
  margin-bottom: 4px;
}
@media (max-width: 600px) {
  .section h2,
  .page-content h2{
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  .section h3,
  .section .orange{
    font-size: 1.2rem;
    line-height: 2.0rem;
  }
  .section p,
  .page-content p{
    font-size: 1.0rem;
    line-height: 1.6rem;
  }
  .contact .shadow{
    padding: 30px !important;
  }
}
@media (max-width: 1025px) {
  .btn__contact{
    display: none;
  }
}
/* -------------------------------- */
/* お知らせページ装飾 */
/* -------------------------------- */
.category-news .page-content{
  max-width: 1000px;
}
.single-post-day{
  margin-bottom: 0;
  font-weight: 600;
}
.single-post .category-news::before {
  position: absolute;
  content: "";
  width: 100%;
  height: calc(100vw*0.553);
  left: 0;
  bottom: 0%;
  background-image: url(assets/images/bg-3.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -999;
}
/* -------------------------------- */
/* ページトップ */
/* -------------------------------- */
.fix_item{
  width: 100%;
  max-width: 340px;
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 10;
}
@media (max-width: 600px){
  .fix_item{
    max-width: inherit;
    position: fixed;
    right: 0px;
    padding: 0 24px;
  } 
}
.pagetop {
  margin-left: auto;
  height: 50px;
  width: 50px;
  background: #fff;
  border: solid 1px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}
@media (max-width: 1025px) {
  .category-news .page-content{
    max-width: 737px;
  }
}
.top-title h1{
  font-size: 5rem;
  color: #000;
  letter-spacing: -0.25rem;
  line-height: 5.8rem;
}
@media (max-width: 767px) {
  .top-title h1{
    font-size: 2.5rem;
    color: #000;
    letter-spacing: -0.25rem;
    line-height: 3.8rem;
  }
  
  .top-title h1 br:last-child{
    display: none;
  }
}
.top-title h1 span{
  letter-spacing: 0.1rem;
}
/* -------------------------------- */
/* アーカイブ */
/* -------------------------------- */
.archive #content {
  padding: 10px;
  max-width: auto !important;
}
.archive .page-header {
  /* margin-top: 80px; */
  text-align: center;
}
.archive .page-header h2 {
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-weight: 600 !important;
  margin: 0;
  margin-bottom: 8px;
}
.archive .page-header h6 {
  color: #ED7067 !important;
  font-size: 1rem;
  margin: 0;
  margin-bottom: 8px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Roboto";
}
.archive .page-header ul {
  padding: 0 40px;
  margin: 0 auto;
  max-width: 1000px;
}
.archive .page-content {
  margin: 0 auto;
}
.archive .page-content li {
  list-style: none;
  color: black;
}
.archive .page-content li time {
  font-size: 0.8rem;
  color: black;
}
.archive .page-content li a {
  color: black;
  text-decoration: none;
  transition: 0.2s;
}
.archive .page-content li a:hover {
  color: #ED7067;
  transition: 0.2s;
}
.archive .page-content li p {
  font-size: 1.2rem;
  font-weight: 600 !important;
  padding-bottom: 12px;
  padding-bottom: 16px;
  border-bottom: #CCC solid 0.8px;
}
/* -------------------------------- */
/* ページネーション */
/* -------------------------------- */
.posts-navigation {
  max-width: 1000px;
	padding: 1rem 0;
	font-size: 1.2rem;
  margin: 0 auto;
}
.posts-navigation .nav-links {
  display: flex;
	width: 100%;
	word-break: break-all;
}
.posts-navigation .nav-links .nav-previous {
	width: 50%;
	text-align: left;
}
.posts-navigation .nav-links .nav-next {
	width: 50%;
	text-align: right;
  margin-left: auto;
}
.posts-navigation .nav-links .nav-previous a,
.posts-navigation .nav-links .nav-next a{
  color: #000;
  transition: 0.2s;
}
.posts-navigation .nav-links .nav-previous a:hover,
.posts-navigation .nav-links .nav-next a:hover{
  color: #ED7067;
}
.fa-solid.fa-circle-chevron-left{
  display: inline-block;
  margin-right: 0.4rem;
}
.fa-solid.fa-circle-chevron-right{
  display: inline-block;
  margin-left: 0.4rem;
}
