@charset "UTF-8";
/*======================================================================
  Reset CSS for HTML5
======================================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption,tbody,tfoot,thead,article,aside,canvas,details,figcaption,figure,footer,header,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}ul,ol,dl{list-style:none}html{scroll-behavior:smooth}
* { box-sizing: border-box; }

/*======================================================================
  Global Variables
======================================================================*/
:root {
  --color-text: #191F20;
}

body {
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: var(--color-text);
  background: #FFF;
}

a {
  color: var(--color-text);
  text-decoration: none;
  box-sizing: border-box;
  transition: .3s;
}

a:hover {
  opacity: 0.5;
  transition: .3s;
}

h1 {
  font-weight: normal;
}

/*======================================================================
  共通
======================================================================*/
img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.box_wrap {
  margin: 0 auto;
  max-width: 768px;
  padding-inline: 24px;
  box-sizing: border-box;
}

.Inner {
  margin: 0 30px;
}

.img_wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.img_wrap img {
  position: absolute;
  inset: -50%;
  margin: auto;
  width: 100%;
  height: auto;
}


/*======================================================================
  ハンバーガーA
======================================================================*/
.el_hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  z-index: 10000;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  box-sizing: border-box;
}

.el_hamburger>span {
  display: block;
  margin: 0 auto 5px;
  /*border間隔*/
  height: 1px;
  /*border太さ*/
  font-size: 0;
  background: #000;
  /*border色*/
  transition: all 0.2s ease-in-out;
}

.el_hamburger>span:last-child {
  margin-bottom: 0;
}

.js_hamburgerOpen .el_hamburger>span {
  background: #000;
}

.js_hamburgerOpen .el_hamburger>span.top {
  transform: translateY(3px) rotate(-45deg);
}

.js_hamburgerOpen .el_hamburger>span.middle {
  opacity: 0;
}

.js_hamburgerOpen .el_hamburger>span.bottom {
  transform: translateY(-8px) rotate(45deg);
}

.el_hamburgerButton.el_hamburgerButton__close {
  top: 2%;
  right: 2%;
}

.el_hamburgerButton__close>span {
  display: block;
  width: 40px;
  margin: 0 auto;
  height: 1px;
  background: #000;
}

.el_hamburgerButton__close>span.el_hamburgerLineTop {
  transform: translateY(5px) rotate(-45deg);
}

.el_hamburgerButton__close>span.el_hamburgerLineBottom {
  transform: translateY(-6px) rotate(45deg);
}

.uq_spNavi {
  display: none;
}

.uq_spNavi.js_appear {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: block;
  z-index: 9999;
}

.uq_spNavi_screen {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.96);
  z-index: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: auto;
}

.gnav {
  padding: 24px 0 0 0;
  text-align: center;
}

.gnav li {
  border-bottom: #aaa 1px solid;
}

.gnav li>a {
  display: block;
  padding: 1.5rem 0;
  color: #000;
  text-decoration: none;
}

.gnav li>a:hover {
  opacity: 0.5;
}

.js_fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

/*======================================================================
  ハンバーガーB
======================================================================*/
.gnav {
  color: #fff;
  cursor: pointer;
  display: block;
  position: relative;
  margin-bottom: 24px;
  
}

.menu_button {
  color: #000;
  display: block;
  width: 46px;
  margin-inline: auto;
}

.menu_button:hover {
  opacity: 0.5;
}

.menu_button>span {
  width: 30px;
  display: block;
  margin: 0 auto 5px;
  height: 1px;
  font-size: 0;
  background: #000;
  transition: all 0.2s ease-in-out;
}

.menu_button>span:last-child {
  margin-bottom: 0;
}

.menu-main {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.gnav ul li {
  border-bottom: 1px solid #adaca7;
  color: #000;
}

/*======================================================================
  パンくず
======================================================================*/
.breadcrumb {
  margin: 0 auto;
  padding-bottom: 24px;
}

.breadcrumb ul li {
  padding-right: 5px;
  display: inline-block;
}

.breadcrumb ul li a span {
  font-weight: bold;
}

header {
  background: #FFF;
}

.gnav {
  margin-top: 24px;
  padding: 0;
}

/*======================================================================
  header
======================================================================*/

.header-post {
  padding-top: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-post strong {
  text-wrap: nowrap;
  color: #FFF;
  background: #3C845A;
  font-weight: normal;
  padding: 8px;
}

.header-post ul li a {
  display: inline-block;
  font-size: 18px;
}

.header-post ul li a:hover {
  opacity: 1;
  color: #3C845A;
  text-decoration: underline;
}

.mv {
  position: relative;
  height: 327px; 
  background: url(images/mv.png) no-repeat center center;
}

.mv-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
}

.mv-box h1 {
  text-align: center;
  font-size: 18px;
  color: #fff;
}



/*======================================================================
  index
======================================================================*/

.index-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 24px;
  background: #3C845A;
  border-radius: 12px;
  margin-bottom: 24px;
}

.index-top h2 {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  color: #FFF;
}

.index-top span {
  display: block;
  font-size: 18px;
}

.index-top p {
  color: #FFF;
}

.index-post {
  padding: 64px 0 48px 0;
  background: #F1F0EB;
}

.index-post-date {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 0;
}

.index-post-date::after {
  content: "";
  position: absolute;
  top: -13px;
  right: 21px;
  width: 50%;
  aspect-ratio: 377 / 51;
  background: url(images/deco-1.png) no-repeat center center;
  background-size: contain;
  z-index: -1;
}

.index-post-date strong {
  font-weight: normal;
  color: #FFF;
  padding: 8px;
  background: #3C845A;
  border-radius: 2px;
}

.index-post ul {
  margin-top: 24px;
}

.index-post-bottom {
  margin-bottom: 48px;
}

.index-post-bottom ul {
  position: relative;
  padding-top: 141px;
}

.index-post-bottom ul::before {
  content: "";
  position: absolute;
  top: 38px;
  right: 25px;
  width: 40%;
  aspect-ratio: 277 / 93;
  background: url(images/topics.png) no-repeat center center;
  background-size: contain;
}

.index-post-bottom ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.index-post-bottom ul li a:not([class]) {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #3C845A;
  padding-left: 110px;
  margin-bottom: 12px;
  min-height: 94px;
}

.index-post-bottom ul li a:not([class])::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  background: #F1F0EB;
}

.index-post-bottom ul li:nth-child(1) a:not([class])::before {
  background: url(images/01.png) no-repeat center center;
}
.index-post-bottom ul li:nth-child(2) a:not([class])::before {
  background: url(images/02.png) no-repeat center center;
}
.index-post-bottom ul li:nth-child(3) a:not([class])::before {
  background: url(images/03.png) no-repeat center center;
}

.index-post-bottom ul li a:not([class]):hover {
  opacity: 1;
  color: rgba(60, 132, 90, 0.5);
}

.index-post ul li a:hover {
	opacity: 1;
	text-decoration: underline;
	color: #3C845A;
}

.index-post-bottom ul li p {
  margin-bottom: 12px;
}

.more {
  position: relative;
  display: block;
  color: #3C845A;
  font-weight: bold;
  width: fit-content;
  margin-left: auto;
  border: 2px solid #C3C9CA;
  border-radius: 100vmax;
  padding: 8px 53px 8px 21px;
}

.more:hover {
  opacity: 1;
  text-decoration: underline;
  background: #D9DCDD;
}

.more::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url(images/arrow-right.png) no-repeat center center;
}

.link-item {
  display: flex;
  justify-content: center;
  padding-block: 96px;
  background: #F1F0EB;
}

.link-item h2 {
  font-size: 32px;
  font-weight: bold;
  color: #3C845A;
  margin-bottom: 24px;
}

.link-item-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.link-item-content ul {
  margin: 0;
}

/*======================================================================
  recommend
======================================================================*/

#recommend {
  background: #33704D;
}

.recommend-content {
  padding-top: 76px;
  padding-bottom: 48px;
}

.recommend-content h2 {
  position: relative;
  font-size: 18px;
  color: #FFF;
  font-weight: bold;
  margin-bottom: 8px;
  z-index: 10;
}

.recommend-content h2::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: 70%;
  aspect-ratio: 539 / 74;
  background: url(images/recommend.png) no-repeat center center;
  background-size: contain;
  z-index: -1;
}

.recommend-content strong {
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  color: #FFF;
  margin-bottom: 36px;
}

.reco-post .img_wrap {
  height: 240px;
  border-radius: 10px 10px 0 0;
}

.reco-post ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reco-post ul li {
  background: #FFFAE1;
  border-radius: 10px;
  padding: 24px;
}

.reco-post-content {
  padding: 24px;
}

.reco-post ul li:first-child {
  padding: 0;
}

.reco-title {
  position: relative;
  display: flex;
  align-items: center;
  color: #8A7512;
  font-size: 24px;
  font-weight: bold;
  padding-left: 116px;
  min-height: 94px;
}

.reco-title::before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
}

.reco-title:hover {
  opacity: 1;
  color: rgba(138, 117, 18, 0.5);
}

.reco-title + p {
  margin-top: 12px;
}

.reco-post ul li:nth-child(1) .reco-title::before {
  background: url(images/reco01.png) no-repeat center center;
}
.reco-post ul li:nth-child(2) .reco-title::before {
  background: url(images/reco02.png) no-repeat center center;
}
.reco-post ul li:nth-child(3) .reco-title::before {
  background: url(images/reco03.png) no-repeat center center;
}

/*======================================================================
  footer
======================================================================*/

footer {
  padding-block: 48px;
  background: #191F20;
}

.pagetop {
  display: block;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 12px;
}

footer small {
  display: block;
  text-align: center;
  color: #FFF;
}

/*======================================================================
  category
======================================================================*/

.category-top {
  padding-top: 76px;
}

.title {
  position: relative;
  display: block;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #3C845A;
  padding-left: 32px;
}

.title::before {
  display: block;
  content: "";
  position: absolute;
  top: 18px;
  left: 8px;
  width: 16px;
  height: 16px;
  background: #EAC512;
  border-radius: 50%;
}

.title::after {
  display: block;
  content: "";
  position: absolute;
  top: -30px;
  right: 0px;
  width: 55%;
  aspect-ratio: 391 / 90;
  background: url(images/category.png) no-repeat center center;
  background-size: contain;
  z-index: -1;
}

.category-top .img_wrap {
  height: 240px;
  margin-bottom: 32px;
}

.category-post {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.category-post li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 2px solid #C3C9CA;
}

.category-post-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-post-date a {
  display: inline-block;
  max-width: 100%;
  font-size: 24px;
  font-weight: bold;
}

.category-post-date a:hover {
  opacity: 1;
  color: #3C845A;
  text-decoration: underline;
}

.category-post-date span {
  font-size: 18px;
  color: #3C845A;
  font-weight: bold;
  padding-right: 16px;
}

/*======================================================================
  detail
======================================================================*/

.detail-top {
  padding-top: 76px;
  margin-bottom: 36px;
}

.detail-top .title::after {
  width: 47%;
  height: 75px;
  aspect-ratio:  333 / 75;
  background: url(images/articles.png) no-repeat center right;
  background-size: contain;
}

.detail-top span {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: #3C845A;
  margin-bottom: 12px;
}

.cross {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.cross a {
  width: 100%;
  font-weight: bold;
  text-align: center;
  border: 2px solid #C3C9CA;
  padding: 8px 24px;
  border-radius: 100vmax;
}

.cross a:hover {
  opacity: 1;
  color: #3C845A;
  background: #D9DCDD;
}

.detail-post {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 48px;
}

.detail-post > div {
  padding: 24px;
  background: #F1F0EB;
  border-radius: 10px;
}

.detail-post h3 {
  font-size: 24px;
  font-weight: bold;
  color: #3C845A;
  margin-bottom: 12px;
}

.detail-post .img_wrap {
  margin-top: 24px;
  height: 172px;
}

.detail-post a,
.link_item a {
  color: #4a27e6;
  font-weight: bold;
}

.link_item {
  display: inline-block;
  margin: 1em 0;
}

.link_item img {
  width: revert-layer;
  max-width: 100%;
}

@media screen and (max-width: 768px) {
	.mv-box {
		width: 80%;
	}
  .header-post {
    flex-direction: column;
    align-items: flex-start;
  }

  .index-post-bottom ul {
    padding-top: 20%;
  }

  .index-post-date::after {
    width: 70%;
  }

.index-post-bottom ul::before {
  width: 50%;
}

  .index-post-bottom ul li a:not([class]) {
    padding-left: 0;
    padding-top: 114px;
  }
  .index-post-bottom ul li a:not([class])::before {
    top: 0;
    transform: translateY(0);
  }

  .reco-title {
    padding-left: 0;
    padding-top: 114px;
  }
  .reco-title::before {
    top: 0;
    transform: translateY(0);
  }

  .reco-post .img_wrap {
    height: 200px;
  }

  .recommend-content h2::after {
    top: -42px;
    transform: translateY(0);
  }

  .category-post-date {
    flex-direction: column-reverse;
    align-items: start;
  }

  .title::after {
    width: 80%;
  }

  .cross {
    flex-direction: column;
  }

  .detail-top .title::after {
    width: 70%;
    top:-60px ;
  }
}
/* お問い合わせエラー画面の編集 */
.screen-reader-response {
    display: none;
}
.wpcf7-not-valid-tip {
    color: #dc3232;
}
.wpcf7 form.invalid .wpcf7-response-output {
    border: 2px solid #ff0000;
    padding: 10px;
    margin-top: 10px;
}
.wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid #00fa9a;
    padding: 10px;
    margin-top: 10px;
}

/* お問い合わせ項目の修正 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea{
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	border: 1px solid #ccc;
}
.wpcf7 {
	padding: 24px;
	background: #F1F0EB;
  	border-radius: 10px;
	margin-bottom: 48px;
}

.wpcf7 p{
	margin-bottom: 15px;
}
.wpcf7 p label {
  	font-weight: bold;
  	color: #3C845A;
}
.wpcf7 input[type="submit"]{
	background: #33704D;
	color: #fff;
	padding: 10px 20px;
	border: 0;
	font-size: 100%;
}
.wpcf7 input[type="submit"]:hover{
	opacity: .5;
}
