@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}

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(--black);
  background: #FFF;
}

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

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

h1 {
  font-weight: normal;
}
/*======================================================================
  Global Variables
======================================================================*/
:root {
  --black: #262626;
  --blue: #363F87;
  --green: #2DAD9D;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
}
/*======================================================================
  共通
======================================================================*/
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;
}

.flex { display: flex; }
.flex.column { flex-direction: column; }
.flex.aic { align-items: center; }
.flex.jcc { justify-content: center; }
.flex.jcsb { justify-content: space-between; }

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

.menu_button {
  position: relative;
  color: #000;
  display: block;
}

.menu_button:hover::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
  width: 64px;
  height: 64px;
  background: url(images/hamburger-hover.png) no-repeat center center;
}

.menu_button:hover {
  opacity: 1;
}

.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 {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.gnav ul li {
  color: #000;
}


.gnav ul li a {
  width: 100%;
  display: inline-block;
  font-weight: bold;
  text-align: center;
  padding-block: 1em;
  background: #FFF;
  border-bottom: 1px solid #adaca7;
}


.gnav ul li:last-child a {
    border: none;
}

.gnav ul li a:hover {
  opacity: 1;
  color: #FFF;
  background: var(--blue);
}

/*======================================================================
  パンくず
======================================================================*/
.breadcrumb {
  display: block;
  margin: 20px auto 0;
}

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

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

header {
  background: #FFF;
}

header .logo {
  display: inline-block;
}

.gnav {
  padding: 0;
}

/*======================================================================
  header
======================================================================*/
.header-content {
  position: relative;
  min-height: 460px;
  background: url(images/bg.png) no-repeat top center;
}

.header-logo {
  display: block;
  width: fit-content;
  background: #FFF;
  border-radius: 0 0 var(--space-40) 0;
  padding: var(--space-24);
  box-sizing: border-box;
  margin-left: -24px;
}

.logo {
  height: auto;
}

.header-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 720px;
  max-width: 100%;
  min-height: 126px;
  margin-top: 100px;
  padding: var(--space-24);
  background: #FFF;
  box-sizing: border-box;
  border-radius: var(--space-24) var(--space-24) 0 var(--space-24);
}

/* メニューオープン時のスタイル */
.header-middle.menu-open {
    border-radius: var(--space-24) var(--space-24) 0 0;
}

.menu_button {
  width: 64px;
}

.header-catch {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--blue);
  width: 448px;
  max-width: 100%;
}

.header-catch p {
  font-size: 28px;
  font-weight: bold;
}
.header-catch h1 {
  font-size: 16px;
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .header-middle {
    flex-direction: column;
    gap: 16px;
  }

  .header-catch {
    width: 100%;
  }
}

/*======================================================================
  index
======================================================================*/
main {
  overflow-x: hidden;
}

.index-topics {
  position: relative;
  margin-top: 60px;
  gap: 4px;  
}

.index-topics::before {
  content: "";
  display: block;
  position: absolute;
  left: -44px;
  top: -43px;
  width: 232px;
  height: 235px;
  background: url(images/index-deco.png) no-repeat;
  z-index: -1;
}

.index-topics span {
  color: var(--green);
  font-weight: bold;
  font-size: 16px;
}

.index-topics h2 {
  color: var(--blue);
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
}

.index-post {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  padding-bottom: 60px;
}

.index-post .img_wrap {
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-24) 0 0;
  box-sizing: border-box;
  color: #FFF;
  border-radius: var(--space-32) var(--space-32) var(--space-32) 0;
}

.post-date,
.post-title {
  position: relative;
  z-index: 2;
}

.post-date {
  display: flex;
  align-items: center;
  width: fit-content;
  font-size: 16px;
  line-height: 1;
  color: #686464;
  padding: 4px 8px;
  margin-left: var(--space-24);
  height: 24px;
  background-color: #FFF;
  border: 1px solid #A49D9D;
  border-radius: 4px;
}

.post-title {
  display: inline-block;
  width: 100%;
  color: #262626;
  font-size: 24px;
  font-weight: bold;
  background: #F1EFEE;
  padding: 16px var(--space-24);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

@media screen and (max-width:768px) {
  .post-title {
    font-size: 18px;
  }

  .index-post {
    padding-bottom: 30px;
  }
}


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

#recommend {
  position: relative;
  margin-top: 100px;
  /* width: 768px;
  max-width: 100%; */
  margin-inline: auto;
  background-color: #F1EFEE;
}

#recommend::before {
  display: block;
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-41%);
  width: 200vw;
  height: 100px;
  background: url(images/recommend.png) repeat-x center center;
}

.recommend-content {
  padding-bottom: 40px;
}

.recommend-title {
  position: relative;
  gap: 4px;
}

.recommend-title::before {
  content: "";
  display: block;
 
}

.recommend-title span {
  color: var(--green);
  font-weight: bold;
  font-size: 16px;
  margin-top: 35px;
}

.recommend-title h4 {
  position: relative;
  color: var(--blue);
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
	z-index: 1;
}

.recommend-title::before {
  display: block;
  content: "";
  position: absolute;
  left: -10px;
  top: 25px;
  width: 133px;
  height: 107px;
  background: url(images/recommend-deco.png) no-repeat center center;
}

.recommend-title::after {
  display: block;
  content: "";
  position: absolute;
  right: -82px;
  top: -2px;
  width: 216px;
  height: 248px;
  background: url(images/recommend-deco-2.png) no-repeat center center;
}

.recommend-post {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.recommend-post a:not([class]) {
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

.recommend-post .img_wrap {
  height: 200px;
  border-radius: var(--space-32);
}

@media screen and (max-width:768px) {
  .recommend-post a:not([class]) {
    font-size: 18px;
  }
}

/*======================================================================
  footer
======================================================================*/
footer {
  padding-top: 40px;
  background: #FFF;
}

.footer-pagetop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 44px;
  margin-left: auto;
  margin-bottom: var(--space-32);
  padding: 8px 16px 8px 38px;
  color: #FFF;
  line-height: 1;
  font-weight: bold;
  background: #3947B7;
  border-radius: 100vmax;
  border: 1px solid #3947B7;
}

.footer-pagetop:hover {
  opacity: 1;
  color: #3947B7;
  background: #FFF;
}

.footer-pagetop::before {
  display: block;
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 24px;
  background: url(images/pagetop.png) no-repeat center center;
}

.footer-pagetop:hover::before {
  background: url(images/pagetop-hover.png) no-repeat center center;
}

.footer-logo {
  display: block;
  width: fit-content;
  margin-bottom: 32px;
}

.footer-logo img {
  width: 180px;
}

.footer-about {
  position: relative;
  display: block;
  padding: 16px var(--space-24);
  width: 500px;
  max-width: 100%;
  background: #F1EFEE;
  margin-bottom: 32px;
  border-radius: var(--space-24) var(--space-24) var(--space-24) 0;
  box-sizing: border-box;
}

.footer-about a {
  font-weight: bold;
  text-decoration: underline;
}

.footer-about::after {
  display: block;
  content: "";
  position: absolute;
  right: -72px;
  top: -57px;
  width: 149px;
  height: 119px;
  background: url(images/footer-about.png) no-repeat center center;
}

.footer-about span {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: bold;
  color: #363F87;
}

.fnav-title {
  display: inline-block;
  font-size: 18px;
  color: #363F87;
  font-weight: bold;
  margin-bottom: 8px;
}

.fnav {
  margin-bottom: 40px;
}

.fnav ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fnav ul li a {
	display: inline-block;
	margin-bottom: 8px;
	color: #363F87;
	font-size:18px;
	font-weight: bold;
}

.fnav ul li ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fnav ul li ul li a {
  position: relative;
  display: inline-block;
  padding-left: 13px;
  font-size: 16px;
  font-weight: bold;
	color: #262626;
	margin-bottom: 0;
}

.fnav ul li ul li a::before {
  display: block;
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  left: 0;
  top: 8px;
  background: url(images/fnav-deco.png) no-repeat center center;
}

footer small {
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: normal;
  color: #FFF;
  padding-block: 8px;
  text-align: center;
  background: #3947B7;
  box-sizing: border-box;
}

@media screen and (max-width:768px) {
  .footer-about::after {
    top: -100px;
    right: 0;
  }

  footer small {
    padding-inline: 16px;
  }
}

/*======================================================================
  category
======================================================================*/
.category-top {
  margin-top: 40px;
}

.category-top h2 {
  position: relative;
  display: block;
  color: #FFF;
  font-size: 32px;
  font-weight: bold;
  padding: 16px 24px 16px 84px;
  margin-bottom: 16px;
  background: #3947B7;
  border-radius: 24px 24px 0 24px;
}

.category-top h2::before {
  display: block;
  content: "";
  position: absolute;
  left: 24px;
  top: 16px;
  width: 50px;
  height: 46px;
  background: url(images/icon_cate-top.png) no-repeat center center;
}

.category-post,
.detail-post {
  position: relative;
  margin-bottom: 160px;
}

.category-post::after,
.detail-post::after {
  display: block;
  content: "";
  position: absolute;
  left: -46px;
  bottom: -212px;
  width: 232px;
  height: 235px;
  background: url(images/category-deco.png) no-repeat center center;
	z-index: -1;
}

.category-post ul {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.category-post ul li {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-post-title {
  display: block;
  font-size: 24px;
  font-weight: bold;
  padding: 8px 32px;
  background: #F1EFEE;
  border-radius: 100vmax;
}

.category-post .img_wrap {
  height: 200px;
  border-radius: 32px;
}

@media screen and (max-width:768px) {
  .category-post-title {
    font-size: 18px;
    padding: 16px;
    border-radius: 24px;
  }
}

/*======================================================================
  Detail
======================================================================*/
.detail-top {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 32px;
}

.detail-top::before {
  display: block;
  content: "";
  position: absolute;
  top: -45px;
  right: -52px;
  width: 217px;
  height: 236px;
  background: url(images/detail-deco.png) no-repeat center center;
	z-index: -1;
}

.detail-top h2 {
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
}

.detail-top .img_wrap {
  height: 220px;
  border-radius: 32px;
}

.detail-post h3 {
  display: block;
  color:  #2DAD9D;
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px dotted  #2DAD9D;
}

.detail-post p + h3,
.detail-post ul + h3{
  margin-top: 24px;
}

.detail-post a img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}


.link_item a,
.detail-post a {
  display: inline-block;
  width: fit-content;
  font-weight: bold;
  color: #be3c3c;
}

.detail-post p + a {
  margin-bottom: 1em;
}

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

.link_item p + a {
  margin-bottom: 1em;
}

.link_item p:has(img) {
	display: inline-block;
	margin-bottom: 1em;
}

blockquote {
    position: relative;
    padding: 40px 10px 10px 15px;
    box-sizing: border-box;
    font-style: italic;
    background: #F1EFEE;
    border-radius: 24px;
    margin-top: 16px;
}

blockquote:before {
    display: inline-block;
    content: "“";
    position: absolute;
    top: 10px;
    left: 0px;
    font-size: 90px;
    line-height: 1;
}

blockquote p {
    padding: 0;
    margin: 10px 0;
}
/* お問い合わせエラー画面の編集 */
.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;
	border-radius: 32px;
}
.wpcf7 p{
	margin-bottom: 15px;
}
.wpcf7 input[type="submit"]{
	background: #3947B7;
	border-radius: 100vmax;
	color: #fff;
	padding: 8px 16px;
	border: 1px solid #3947B7;
	font-weight: bold;
}
.wpcf7 input[type="submit"]:hover{
	opacity: 1;
	color: #3947B7;
	background: #FFF
}
