@charset "UTF-8";
/****************************************

spヘッダー

*****************************************/
@media screen and (max-width: 767px) {

  dd,
  dt,
  li,
  p,
  tr,
  tt {
    font-size: 1.5rem;
  }

  a[href^="tel:"] {
    text-decoration: none;
    color: inherit;
  }

  #g_navi {
    display: none;
  }

  img {
    width: 100%;
    height: auto;
  }

  header {
    position: relative;
    width: 100%;
  }

  #top_teaser img {
    width: 100%;
    height: 500px;
    position: relative;
    left: 0;
    object-fit: cover;
    object-position: center;
  }

  #teaser img {
    width: 100%;
    position: relative;
    left: 0;
    object-fit: cover;
    object-position: center;
    height: 220px;
  }
}

/****************************************

sp_navi

*****************************************/
@media screen and (max-width: 767px) {

  #sp_navi .footer_logo {
    width: 230px;
    padding-top: 25px;
    margin-inline: auto;
  }

  #sp_navi .menu {
    padding-top: 40px;
    padding-inline: 15px;
    padding-bottom: 40px;
  }

  #sp_navi .menu .menu-item {
    border: none;
    border-bottom: #666 1px solid;
  }

  p.footer_info {
    color: #FFF;
    margin-bottom: 20px;
    font-size: 24px;
  }

  .sp_navi_info {
    position: relative;
    margin-inline: 15px;
    margin-block: 30px;
    color: #FFF;
    background: rgba(69, 173, 50, 0.2);
    padding-inline: 15px;
    padding-block: 20px;
    text-align: center;
  }

  .sp_navi_info span {
    font-family: 'Libre Baskerville';
    font-size: 24px;
    margin-bottom: 20px;
  }

  .sp_navi_info .footer_btn {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .sp_navi_info .footer_btn a img {
    width: 29px;
  }
}

/****************************************

spフッターサイトマップ

*****************************************/
#sp_footer {
  padding-top: 0px;
  padding-bottom: 60px;
}

#sp_footer .sp_bnr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  height: 50px;
  bottom: 0;
  left: 0;
  z-index: 99;
  background-color: #45AD32;
}

#sp_footer .sp_bnr .sp_bnr_parts:hover {
  background-color: #45AD32;
}

#sp_footer .sp_bnr .sp_bnr_parts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  width: calc(100% / 3);
  border-top: 1px solid #FFF;
}

#sp_footer .sp_bnr .sp_bnr_parts:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.8);
}

#sp_footer .sp_bnr .sp_bnr_parts>a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

#sp_footer .sp_bnr .sp_bnr_parts img {
  width: 20px;
  height: 20px;
  margin-bottom: 7px;
}

#sp_footer .sp_bnr .sp_bnr_parts p {
  color: #FFF;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

/* ----sp サイトマップ---- */
.sp_footer_link {
  width: 100%;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  padding-inline: 15px;
  padding-block: 30px;
  background: #F0F0E4;
}

.sp_footer_link .menu-item {
  width: 100%;
  cursor: pointer;
  color: #333;
  font-size: 1.5rem;
  font-weight: 500;
  box-sizing: border-box;
  display: block;
  padding: 10px 10px;
}

.menu-item-type-post_type {
  background: none;
}

.sp_footer_link dl {
  width: 50%;
}

.sp_footer_link dl dt {
  padding-left: 0px;
}

.sp_footer_link .menu-item a:active,
.sp_footer_link .menu-item a:hover,
.sp_footer_link .menu-item a:link,
.sp_footer_link .menu-item a:visited {
  color: #333;
  text-decoration: none;
}

.sp_footer_link .sub-menu {
  width: 100%;
  margin-bottom: 0;
  padding: 0 10px 10px;
}

.sp_footer_link .sub-menu li {
  position: relative;
  width: 100%;
  border-bottom: none !important;
  background: none !important;
}

.sp_footer_link .sub-menu li::before {
  position: absolute;
  content: "";
  top: 37%;
  left: 10px;
  background: #F0F0E4;
  width: 6px;
  height: 8.6602540378px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 1;
}

.sp_footer_link .sub-menu a {
  display: block;
  padding: 2px 10px 2px 25px;
  border-radius: 6px;
  color: #333;
  font-size: 1.4rem;
  font-weight: 500;
  border: none;
  text-decoration: none;
}

.sp_footer_link .sub-menu a:active,
.sp_footer_link .sub-menu a:hover,
.sp_footer_link .sub-menu a:link,
.sp_footer_link .sub-menu a:visited {
  position: relative;
  color: #333;
}

.sp_footer_link dd a::before {
  content: "+";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.8rem;
}

.sp_footer_link dl:nth-child(3) dd a {
  white-space: nowrap;
}

.sp_footer_link dl:nth-child(3) {
  grid-template-columns: max-content max-content;
}

div:has(> .sp_copyright) {
  padding-top: 15px;
}

/****************************************

single.php

*****************************************/
@media screen and (max-width: 767px) {
  .single_box img {
    max-width: 100%;
    margin: 10px 0;
  }
}

/* =================================
投稿ナビ
================================= */
.post_nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  border: 1px solid #666;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.02);
}

/* 各ブロック */
.post_nav_item {
  position: relative;
  min-height: 70px;
  transition: background 0.3s ease;
}

/* 区切り線 */
.post_nav_item:not(:last-child) {
  border-right: 1px solid #8c0000;
}

/* リンク */
.post_nav_item a,
.post_nav_item.archive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: #8c0000;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease;
}

/* アイコン */
.post_nav_item .icon {
  font-size: 3rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.post_nav_item.prev .icon,
.post_nav_item.next .icon {
  font-size: 1.7rem;
}

/* hover */
.post_nav_item a:hover {
  background: #8c0000;
}

.post_nav_item:hover a,
.post_nav_item.archive:hover {
  color: #fff;
  background: #8c0000;
}

/* フォーカス */
.post_nav_item a:focus-visible,
.post_nav_item.archive:focus-visible {
  outline: 3px solid #333;
  outline-offset: -3px;
}

/* =================================
pager
================================= */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 80px;
}

/* 共通 */
.pager .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 58px;
  padding: 0 20px;
  border: 1px solid #45AD32;
  font-size: 1.7rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

/* hover */
.pager a.page-numbers:hover {
  background: #45AD32;
  color: #fff;
}

/* current */
.pager .page-numbers.current {
  background: #45AD32;
  pointer-events: none;
}

/* 次へ・前へ */
.pager .next,
.pager .prev {
  padding: 0 28px;
  letter-spacing: 0.05em;
}

/* focus */
.pager a.page-numbers:focus-visible {
  outline: 3px solid #333;
  outline-offset: 2px;
}

@media screen and (max-width: 767px) {
  .post_nav_item a {
    min-height: 50px;
    width: 30%;
  }

  .post_nav_item.archive .icon {
    display: none;
  }

  .post_nav {
    display: flex;
  }
}

/* ================================
SP
================================ */
@media screen and (max-width: 768px) {
  .pager {
    gap: 8px;
    margin-top: 50px;
  }

  .pager .page-numbers {
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    font-size: 1.5rem;
  }

  .pager .next,
  .pager .prev {
    padding: 0 18px;
  }
}

/* ================================
SP
================================ */
@media screen and (max-width: 768px) {
  .post_nav {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .post_nav_item {
    min-height: 80px;
  }

  .post_nav_item a,
  .post_nav_item.archive {
    padding: 18px 15px;
    font-size: 1.6rem;
    gap: 10px;
  }

  .post_nav_item .icon {
    font-size: 2.2rem;
  }
}

/****************************************

テーブル

*****************************************/
@media screen and (max-width: 767px) {
  .table_wrap {
    overflow-x: scroll;
  }

  .job_table {
    width: 100%;
    border-collapse: collapse;
    display: revert;
    border: 1px dotted #333;
  }

  .job_table th,
  .job_table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 8px 15px 8px;
    ;
    border-bottom: 1px dotted #333;
  }

    .job_table tr:first-child th,
    .job_table tr:first-child td{
      padding-top: 10px;
    }

  .job_table th {
    background: #F0F0E4;
    z-index: -1;
  }

  .job_table tr:last-child td {
    border: none;
  }

}

/****************************************

テーブル

*****************************************/
footer .f_link {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

footer .f_link li {
  width: 48%;
  margin-bottom: 10px;
  padding: 0 10px 10px;
  border-bottom: 1px solid #333;
  font-size: 14px;
  text-align: center;
}

footer .f_link li a {
  text-decoration: none;
}

footer .f_link li a:active,
footer .f_link li a:hover,
footer .f_link li a:link,
footer .f_link li a:visited {
  color: #333;
  font-weight: normal;
  text-decoration: none;
}

/****************************************

P

*****************************************/
@media print,
screen and (min-width: 768px) {
  .br-pc {
    display: block;
  }

  .br-sp {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: block;
  }
}

/****************************************

画像

*****************************************/
.object-fit {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}

/****************************************

sp_footer

*****************************************/
@media screen and (max-width: 767px) {}

/****************************************

Contact Form7

*****************************************/
/* フォームカラー */
.wpcf7 {
  width: 100%;
}

.wpcf7-form textarea {
  width: 100%;
  /*本文*/
  max-width: 100%;
  padding: 3px 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: 0.3s;
}

.wpcf7-form select {
  width: auto;
  padding: 3px 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: 0.3s;
}

.wpcf7-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: 0.3s;
  /*ラジオボタン、チェックボタン*/
}

/* 送信ボタン */
.tc {
  text-align: center;
}

.wpcf7 .tc input[type=submit] {
  font-family: 'Lato',
    "Noto Sans Japanese",
    "メイリオ",
    "Meiryo",
    "ヒラギノ角ゴ ProN",
    "Hiragino Kaku Gothic ProN",
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;
  cursor: pointer;
  width: 410px;
  max-width: 100%;
  padding: 18px;
  box-shadow: none;
  border: 1px #333 solid;
  background-color: #45AD32;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.25s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-top: 30px;
}

.wpcf7 .tc input[type=submit]:disabled {
  cursor: not-allowed;
  box-shadow: none !important;
  border: 1px solid #f8f8f8 !important;
  background-color: #f8f8f8 !important;
  color: #929292 !important;
}

.wpcf7 .tc input[type=submit]:hover {
  opacity: 0.8;
  color: #fff;
  transition: all 0.25s;
}

.wpcf7 .tc input[type=submit]:focus {
  outline: 0;
  border: 1px #333 solid;
  box-shadow: 0 0 2px 2px rgba(51, 51, 51, 0.5);
}

.wpcf7-text {
  width: 100%;
}

.foam_come {
  text-align: center;
}

.form_row {
  display: flex;
  margin-bottom: 30px;
  padding: 0 20px 30px 20px;
  border-bottom: 1px dotted #ccc;
  font-size: 1.6rem;
}

.form_row .form_label {
  width: 300px;
}

.form_row .form_label .required {
  display: inline-block;
  color: #fff;
  font-weight: normal;
  font-size: 1.5rem;
  padding: 3px 7px 4px;
  background: #b20000;
  margin-right: 10px;
  border-radius: 0;
  line-height: initial;
}

.form_row .form_label .any {
  display: inline-block;
  color: #fff;
  font-weight: normal;
  font-size: 1.5rem;
  padding: 3px 7px 4px;
  background: #888888;
  margin-right: 10px;
  border-radius: 0;
  line-height: initial;
}

.form_row .form_input {
  width: calc(100% - 300px);
}

.form_row .form_input_post {
  width: 180px;
}

.form_row .form_input_post_txt {
  color: #fff;
  font-weight: normal;
  font-size: 1.3rem;
}

.form_row.last_row {
  padding-bottom: 0;
  border-bottom: none;
}

.wpcf7 .form_input_post input[type=tel],
.wpcf7 .form_input input[type=email],
.wpcf7 .form_input input[type=tel],
.wpcf7 .form_input input[type=text],
.wpcf7 .form_input_post input[type=text],
.wpcf7 .form_input textarea {
  position: relative;
  border-left: 2px solid #45AD32;
}

/* フォームの装飾ここから */
/* チェックボックス */
.wpcf7 .form_input input[type=checkbox] {
  display: none;
}

.wpcf7 .form_input input[type=checkbox]+span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]+span:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.24em;
  height: 1.24em;
  border: 1px solid #45AD32;
  border-radius: 4px;
  background-color: #fefefe;
  box-sizing: border-box;
}

.wpcf7 .form_input input[type=checkbox]+span:after {
  content: "";
  opacity: 0;
  display: block;
  position: absolute;
  top: 0.15em;
  left: 0.44em;
  width: 0.4em;
  height: 0.8em;
  border-bottom: 3px solid #45AD32;
  border-right: 3px solid #45AD32;
  box-sizing: border-box;
  transform: rotate(40deg);
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span {
  color: #002565;
  transition: all 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span:before {
  opacity: 1;
  border: 1px solid #45AD32;
  box-shadow: 0 0 2px 2px rgba(69, 173, 50, 0.5);
  background-color: #45AD32;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span:after {
  opacity: 1;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: opacity 0.25s ease;
}

/* ラジオボタン */
.wpcf7 .form_input input[type=radio] {
  display: none;
}

.wpcf7 .form_input input[type=radio]+span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=radio]+span:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 1em;
  height: 1em;
  border: 1px solid #45AD32;
  border-radius: 50%;
  background-color: #fefefe;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
  transform: translateY(-50%);
}

.wpcf7 .form_input input[type=radio]+span:after {
  content: "";
  display: block;
  opacity: 0;
  position: absolute;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=radio]:checked+span:before {
  box-shadow: 0 0 2px 2px rgba(69, 173, 50, 0.5);
}

.wpcf7 .form_input input[type=radio]:checked+span:after {
  opacity: 1;
  top: 50%;
  left: 0;
  width: 1em;
  height: 1em;
  background-color: #45AD32;
  border-radius: 50%;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
  transform: translateY(-50%);
}

/* セレクト */
.wpcf7 .form_input span.select-wrap {
  position: relative;
  width: 250px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:after {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  width: 0.6em;
  height: 0.6em;
  top: 50%;
  right: 0.8em;
  margin-top: -3px;
  border-bottom: 1px solid #45AD32;
  border-right: 1px solid #45AD32;
  transform: rotate(45deg) translateY(-50%);
  transform-origin: 50% 0;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:focus-within::after {
  border-bottom: 1px solid #45AD32;
  border-right: 1px solid #45AD32;
}

.wpcf7 .form_input select {
  cursor: pointer;
  width: 250px;
  max-width: 100%;
  margin: 0;
  padding: 0.5em 3.5em 0.5em 1em;
  border: 1px solid #45AD32;
  border-radius: 4px;
  box-shadow: none;
  background-color: #fefefe;
  background-image: linear-gradient(90deg, rgba(69, 173, 50, 0.7), rgba(69, 173, 50, 0.7));
  background-position: 100% 0;
  background-size: 2em 3.5em;
  background-repeat: no-repeat;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  box-sizing: border-box;
  transition: border-color 0.2s ease, outline 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
}

.wpcf7 .form_input select:-ms-expand {
  display: none;
}

.wpcf7 .form_input span.select-wrap {
  position: relative;
  width: 250px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:after {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  width: 0.6em;
  height: 0.6em;
  top: 60%;
  right: 0.8em;
  margin-top: -3px;
  border-bottom: 1px solid #45AD32;
  border-right: 1px solid #45AD32;
  transform: rotate(45deg) translateY(-50%);
  transform-origin: 50% 0;
  box-sizing: border-box;
}

/* テキストフィールド フォーカス時 */
.wpcf7 .form_input input[type=text]:focus,
.wpcf7 .form_input input[type=tel]:focus,
.wpcf7 .form_input input[type=email]:focus,
.wpcf7 .form_input input[type=url]:focus,
.wpcf7 .form_input input[type=date]:focus,
.wpcf7 .form_input input[type=number]:focus,
.wpcf7 .form_input_post input[type=text]:focus,
.wpcf7 .form_input textarea:focus,
.wpcf7 .form_input_post input[type=tel]:focus {
  outline: 0;
  border: 1px #002565 solid;
  box-shadow: 0 0 1px 1px rgba(69, 173, 50, 0.3);
}

.wpcf7 .form_input select:focus {
  outline: 0;
  border: 1px #002565 solid;
  box-shadow: 0 0 1px 1px rgba(69, 173, 50, 0.3);
}

.wpcf7-response-output {
  font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
  .wpcf7-form textarea {
    width: 100% !important;
    /*本文*/
  }

  .wpcf7-form input {
    max-width: 100% !important;
    /*ラジオボタン、チェックボタン*/
  }

  .wpcf7-submit {
    width: 100%;
  }

  .wpcf7 .tc input[type=submit] {
    font-size: 16px;
  }

  .form_row {
    flex-direction: column;
    padding: 0 0 30px;
  }

  .form_row .form_label {
    width: 100%;
    margin-bottom: 10px;
  }

  .form_row .form_input {
    width: 100%;
  }

  .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
  }

  .wpcf7-radio .wpcf7-list-item {
    margin-left: 10px;
  }

  .ajax-loader {
    width: auto;
  }

  .wpcf7-response-output {
    font-size: 1.3rem;
  }
}

/*見出し*/
@media screen and (max-width: 767px) {
  h2.subhead01 {
    font-size: 20px;
  }

  h3.subhead01 {
    font-size: 18px;
  }
}

/****************************************

追加

*****************************************/

@media screen and (max-width: 767px) {

  .btn,
  .btn02 {
    width: 260px;
    margin-inline: auto;
  }

  .top_box01 .top_box01_txt p {
    font-size: 1.6rem;
  }

  .top_box01 .top_headline {
    margin-bottom: 0px;
  }
}


/*# sourceMappingURL=custom.css.map */