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

:root {
  /* Colors */
  --color-text: #000;
  --color-body: #000;
  --color-white: #ffffff;

  /* Typography */
  --font-family-sans: 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;
  --font-size-base: 1rem;

  /* Button tokens */
  --btn-radius: 999px;
  --btn-transition: .2s ease-in-out;
}

body {
  font-size: var(--font-size-base);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-family-sans);
  color: var(--color-body);
  background: var(--color-white);
}

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: 80px 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;
  margin-bottom: 1px;
  position: relative;
  margin-bottom: 8px;
}

.menu_button {
  color: #000;
  display: block;
  width: fit-content;
  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;
}

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

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

header {
  background: #F8F8F8;
}

.gnav {
  padding: 0;
}

.logo {
  display: block;
  width: 188px;
  max-width: 100%;
  margin-bottom: 40px;
}

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

.header-mv {
  display: block;
  padding-top: 16px;
  min-height: 387px;
  max-height: 100%;
  background: url(images/mv.png) no-repeat top center;
}

.header-mv h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 24px;
}

.menu_button img {
  margin-top: 31px;
  width: 34px;
}

.gnav:has(.menu-main.open) + .breadcrumb {
  padding: 16px 0 70px;
}
/*======================================================================
  index
======================================================================*/
.margin {
  width: 768px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: -48px;
  padding: 48px 0;
}

.index-top {
  background: #EC6C00;
  border-radius: 48px 48px 0 0 ;
}

.index-top p {
  margin-bottom: 48px;
}

.index-top h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
}

.index-bottom {
	position: relative;
	z-index: 999;
  background: #525252;
  border-radius: 48px;
}

.index-post {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.index-post li a{
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #FFF;
}

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

.index-post li h3 {
  font-size: 20px;
  font-weight: bold;
}

.readmore {
  display: inline-block;
  width: fit-content;
  margin-top: 8px;
  margin-left: auto;
  padding: 12px 20px;
  border: 1px solid var(--color-white);
  border-radius: var(--btn-radius);
  font-size: 16px;
  color: var(--color-white);
  font-weight: bold;
  transition: var(--btn-transition);
}


/*======================================================================
  recommend
======================================================================*/
#recommend {
  position: relative;
  margin-bottom: 48px;
  background: url(images/recommend.png) no-repeat center top;
}

#recommend h4 {
  font-size: 32px;
  font-weight: bold;
  margin-top: 48px;
  margin-bottom: 10px;
}

#index #recommend h4 {
  margin-top: 24px;
}

@media screen and (max-width:768px) {
	#index #recommend h4 {
  margin-top: 48px;
}
}

#recommend .img_wrap {
  height: 200px;
  border-radius: 32px;
  overflow: hidden;
}

.recommend-post {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.recommend-post li {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recommend-post li h5 {
  font-size: 20px;
  font-weight: bold;
}

.link-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-content a {
  display: block;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 100vmax;
  border: 1px solid  #000;
}

/*======================================================================
  footer
======================================================================*/
.footer-content {
  background: #303030;
  border-radius: 48px 48px 0 0;
}

.pagetop {
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: 28px;
  margin-bottom: 24px;
  font-size: 16px;
  color: #FFF;
  padding: 3px 12px;
  border-radius: 100vmax;
  border: 1px solid var(--color-white);
}

.pagetop::after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -28px;
  width: 28px;
  height: 28px;
  background: url(images/pagetop.png) no-repeat center center;
  transform: translateY(-50%);
}

.fnav {
padding-top: 24px;
border-top: 1px solid #525252;
}

.fnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 48px;
}

.fnav ul li a {
  font-size: 16px;
  color: #FFF;
  font-weight: bold;
}

footer small {
  display: block;
  font-size: 16px;
  color: #A0A0A0;
  text-align: right;
}


@media screen and (max-width: 768px) {
  .margin {
    padding: 24px 0;
  }
  .header-mv {
  min-height: 440px;
  background-size: auto;
  }
  .index-post {
    gap: 24px;
  }
  .index-post li .img_wrap {
    height: 150px;
  }
  #recommend h4 {
    font-size: 24px;
  }
  #recommend .img_wrap {
    height: 150px;
  }
  .recommend-post {
    gap: 24px;
  }
  .footer-content {
    padding-bottom: 24px;
  }
}

/*======================================================================
  category
======================================================================*/
.category-top {
	position: relative;
	z-index: 999;
  background: #FFE900;
  border-radius: 48px;
}

.category-top h2 {
  color: #000;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #A0A0A0;
}

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

.category-post li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #F8F8F8;
  border-radius: 32px;
}

.category-post li h3 {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  padding-left: 23px;
}

.category-post li h3::before {
  display: block;
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 15px;
  height: 15px;
  background: #FFE900;
  border-radius: 100vmax;
}

.readmore2 {
  display: block;
  width: fit-content;
  margin-left: auto;
  background: #000;
  color: #FFF;
  font-weight: bold;
  padding: var(--Margin-margin-12, 12px) var(--Margin-margin-20, 20px);
  border-radius: 100vmax;
}

.readmore2:hover {
  opacity: 1;
  background: #FFE900;
  color: #000;
}

/*======================================================================
  detail
======================================================================*/
.detail-top {
  border-radius: 48px 48px 0 0;
  background: #FFF;
}

.detail-top h2 {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  padding: 12px 16px;
  background: #FFE900;
  border-radius: 12px;
  margin-bottom: 12px;
}

.detail-top .img_wrap {
  height: 250px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.detail-post {
	padding-bottom: 48px;
}

.detail-post h3 {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  padding-left: 23px;
  margin-bottom: 16px;
}

.detail-post h3::before {
  display: block;
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 15px;
  height: 15px;
  background: #FFE900;
  border-radius: 100vmax;
}

.detail-post p {
  padding-bottom: 24px; 
  margin-bottom: 24px;
  border-bottom: 1px solid #525252;
}

.detail-post p:has(+ blockquote) {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.detail-post p + p {
	padding-bottom: 24px; 
	margin-bottom: 24px;
	border-bottom: 1px solid #525252;
}

.detail-post p:has(+ p) {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.detail-post p:has(a) {
	margin-top: 8px;
}

.detail-post p:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}


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

.detail-post p:has(+ .link-item) {
  border: none;
  margin: 0;
  padding: 0;
}

blockquote + .link-item {
  border-bottom: 1px solid #525252;
  padding-bottom: 24px;
}

.detail-post p:has(+ ul) {
  border: none;
  margin: 0;
  padding: 0;
}

.detail-post p + ul {
	margin-top: 24px;
	  border-bottom: 1px solid #525252;
  padding-bottom: 24px;
}

.link-item + .link-item {
  border-bottom: 1px solid #525252;
  padding-bottom: 24px;
}

.detail-post a {
  color: #1cbb36;
  font-weight: bold;
}

.link-item {
  margin-block: 1em;
  display: flex;
  flex-direction: column;
}

.link-item em {
	margin-top: 1em;
}

.link-item img {
  width: revert-layer;
}

blockquote {
    position: relative;
    margin: 16px 0 8px;
    padding: 24px 24px 24px 72px;
    border-top: 4px solid #FFE900;
    background: rgba(255, 233, 0, 0.12);
    background: color-mix(in srgb, #FFE900 10%, transparent);
    word-break: break-all;
}

blockquote::before {
    display: block;
    content: " “ ";
    position: absolute;
    top: -16px;
    left: 16px;
    color: #FFE900;
    font-size: 70px;
}

#nf-field-1,
#nf-field-2,
#nf-field-3 {
	padding: 5px;
}

#nf-field-4 {
	display: block;
  	width: fit-content;
  	margin-left: auto;
  	background: #000;
  	color: #FFF;
  	font-weight: bold;
  	padding: var(--Margin-margin-12, 12px) var(--Margin-margin-20, 20px);
  	border-radius: 100vmax;
	border: 0;
}
#nf-field-4:hover {
	opacity: 1;
	background: #FFE900;
	color: #000;
}

.nf-response-msg p {
	color: #ec6c00;
}