@charset "utf-8";

/* =========================

  base

=========================*/
.subpage {
  position: relative;
}
.subpage .section__contents {
  margin-top: 60px;
}
.subpage .section__contents p a,
.wp-element-caption a {
  color: var(--maincolor);
  padding-bottom: 2px;
}
.subpage strong {
  font-weight: 700;
}
.subpage .section__contents .btn a,
.wp-block-button .wp-block-button__link {
  color: #FFFFFF;
  text-decoration: none !important;
}
.subpage .section__contents .btn a:hover,
.wp-block-button .wp-block-button__link:hover {
  color: var(--maincolor);
  opacity: 1.0;
}
@media screen and (max-width:750px) {
}

/* ------------------------
  kv
------------------------*/
.sub__kv {
  width: 100%;
  background-color: var(--bgcolor);
  text-align: center;
  aspect-ratio: 1800 / 300;
  background-size: cover;
  position: relative;
  z-index: 1;
  margin: auto;
}
.subpage__kv__ttl {
  color: var(--maincolor);
  width: 1500px;
  height: fit-content;
  font-family: var(--font);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 3;
}
.subpage__kv__ttl h1 {
  font-size: 2.8em;
  line-height: 1.4em;
}
.subpage__kv__ttl .subttl {
  font-size: 1.5em;
  display: block;
}
@media screen and (max-width:1500px) {
  .subpage__kv__ttl {
    width: calc(100% - 50px);
    padding: 0 25px;
  }
}
@media screen and (max-width:750px) {
  .sub__kv {
    width: 100%;
  }
  .subpage .sub__kv,
  .subpage .sub__kv::before {
    width: 100%;
    height: 150px;
    border-radius: 0;
  }
  .subpage .sub__kv__inner {
    padding: 12px 12px 12px 24px;
  }
  .subpage__kv__ttl h1 {
    font-size: 1.9em;
  }
  .subpage__kv__ttl .subttl {
    font-size: 1em;
  }
}

/* ------------------------
  contents
------------------------*/
.subpage .section__contents:first-child {
  margin-top: 114px;
}
iframe.movie {
  display: block;
  border-radius: 5px;
}
@media screen and (max-width:950px) {
  iframe.movie {
    width: 100%;
  }
}
@media screen and (max-width:750px) {
  iframe.movie {
    height: 182.8125px;
  }
}

/* ------------------------
  ttl
------------------------*/
.subpage h2 {
  margin: 100px 0 50px;
  display: block;
  text-align: left;
  letter-spacing: 0.1em;
}
.subpage h2:first-child {
  margin-top: 0;
}
.subpage h2::before {
  left: 0;
  right: auto;
}
.subpage h2 strong,
.subpage h3 strong {
  font-weight: 700;
}
@media screen and (max-width:750px) {
  .subpage h2 {
    margin: 60px 0 30px;
  }
  .subpage h2:first-child {
    margin-top: 0;
  }
  .subpage h3 {
    line-height: 1.4em;
    margin: 50px 0 25px;
  }
  .subpage h4 {
    margin: 25px 0 12px;
  }
}

/* ------------------------
  breadcrumbs
------------------------*/
.breadcrumbs {
  max-width: 1200px;
  font-size: 15px;
  margin: 20px auto auto;
}
.breadcrumbs a {
  color: var(--maincolor);
}
.breadcrumbs a:hover {
  opacity: 0.5;
}
@media screen and (max-width:1250px) {
  .breadcrumbs {
    width: 90%;
    padding: 0;
    margin-bottom: 0;
  }
}
@media screen and (max-width:750px) {
  .breadcrumbs {
    font-size: 14px;
  }
}

/* ------------------------
  list
------------------------*/
ul.wp-block-list,ul.list {
  width: fit-content;
  margin: 0 0 50px;
  display: list-item;
  padding: 1.5rem;
  border: 2px dotted var(--maincolor);
  border-radius: 5px;
}
.vk_flow .vk_flow_frame ul.list {
  padding: 0;
  border: none;
}
.vk_flow .vk_flow_frame ul.list:last-child {
  margin-bottom: 0;
}
ul.wp-block-list li, ul.list li {
  text-indent: -20px;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.8em;
}
ul.wp-block-list li:last-child, ul.list li:last-child {
  margin-bottom: 0;
}
ul.wp-block-list li:before, ul.list li::before {
  content: "●";
  color: var(--maincolor);
  font-size: 14px;
  margin-right: 8px;
  vertical-align: bottom;
}
.vk_flow .vk_flow_frame ul.list li::before {
  opacity: 0.4;
}
ul.wp-block-list li strong, ul.list li strong {
  font-weight: 600;
}
ul.wp-block-list li > ul, ul.list li > ul {
  padding: 5px;
  margin: 0;
  border: none;
}
ul.wp-block-list li > ul li,
ul.list li > ul > li {
  margin-bottom: 0;
}
ul.wp-block-list li > ul li::before, ul.list li > ul li::before {
  content: "○";
  color: var(--maincolor);
  font-weight: bold;
  opacity: 1.0 !important;
}
ol.wp-block-list {
  list-style-type: decimal;
  padding-left: 24px;
}
ol.wp-block-list li {
  margin-bottom: 16px;
}
ol.wp-block-list li::marker {
  color: var(--maincolor);
  font-size: 1.2em;
  font-weight: 600;
}
ol.wp-block-list li > ul {
  margin-top: 0;
}
ol.wp-block-list li > ul li {
  margin-bottom: 0px;
}
@media screen and (max-width:750px) {
  ul.wp-block-list {
    margin: 0 0 30px;
    padding: 30px 18px;
  }
  ul.wp-block-list li {
    margin-bottom: 8px;
  }
}

/* ------------------------
  anchor
------------------------*/
.wp-block-list:has(.anchor){
  border: 1px solid #000000;
  margin: 0 auto 100px;
  padding: 20px 50px;
  background-color: transparent;
}
.wp-block-list li.anchor {
  font-weight: bold;
  display: inline-block;
  position: relative;
  margin-right: 25px;
}
.wp-block-list li.anchor::before {
  width: 6px;
  height: 6px;
  top: auto;
  left: 0;
  right: 0;
  bottom: auto;
  margin: auto;
}
.wp-block-list li.anchor::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: solid 1px #CCCCCC;
  border-right: solid 1px #CCCCCC;
  position: absolute;
  top: 0;
  bottom: 0;
  transform: rotate(135deg);
  display: inline-block;
  right: -13px;
  left: auto;
}
.wp-block-list li.anchor a {
  width: 100%;
  display: block;
}
.anchor li {
  width: 24.2%;
  margin: 0 12px 12px 0;
  display: table;
}
.anchor li:nth-child(4n), .anchor li:last-child {
  margin-right: 0;
}
.anchor li a {
  width: 200px;
  height: 42px;
  font-size: 15px;
  line-height: 1.4em;
  text-align: left;
  display: table-cell;
  vertical-align: middle;
  padding: 20px 30px 20px 20px;
  position: relative;
}
.anchor li a:hover {
  background-color: #F5F5F5;
}
.anchor li a:after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: solid 1px #CCCCCC;
  border-right: solid 1px #CCCCCC;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(135deg);
}
@media screen and (max-width:1200px) {
  .anchor {
    width: calc(100% - 50px);
    padding: 0 25px;
  }
  .anchor li {
    width: 23.9%;
  }
  .anchor li a {
    width: 15vw;
    font-size: 14px;
    padding: 15px 26px 15px 15px;
  }
}
@media screen and (max-width:950px) {
  .wp-block-list:has(.anchor) {
    margin: 0 0 60px;
    padding: 10px;
  }
  .wp-block-list li.anchor {
    width: calc(100% - 25px);
    padding: 0 0 5px;
    text-indent: 0;
  }
  .anchor li:nth-child(2n) {
    margin-right: 0;
  }
  .section__content__innerblock .anchor {
    display: block;
    width: 100%;
    padding: 0;
  }
  .section__content__innerblock .anchor li {
    margin: 0 2% 2% 0;
    display: table;
    width: 100%;
  }
}

/* ------------------------
  wp-block-media-text
------------------------*/
.wp-block-media-text {
  margin-bottom: 0;
}
.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
  padding: 0 8% 0 0 !important;
}
@media screen and (max-width:750px) {
  .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
    width: 100%;
    padding-left: 0 !important;
  }
  .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content,
  .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
    padding: 0 !important;
    margin-top: 15px;
  }
}

/* ------------------------
  wp table
------------------------*/
figure.wp-block-table {
  margin-bottom: 20px;
}
.vk-scroll-hint[data-scroll-breakpoint=table-scrollable-mobile]:has(i:last-of-type) {
 color: var(--maincolor) !important;
}
 .wp-block-table th {
  color: #FFFFFF;
 }
.wp-block-table td {
  color: var(--fontcolor);
}

/* ------------------------
  flow
------------------------*/
.vk_flow .vk_flow_frame {
  border: none !important;
  padding: 2.5rem !important;
  counter-reset: number 0;   
  background-color: #FAFAFA;
}
.vk_flow .vk_flow_frame_text_title {
  color: var(--maincolor);
  font-size: 24px !important;
  line-height: 1.2;
  font-weight: 400;
  border-bottom: 1px solid var(--maincolor) !important;
  padding-bottom: 20px !important;
  margin-bottom: 30px !important;
  counter-increment: mycounter;
}
.vk_flow .vk_flow_frame_text_title > span.step {
  color: var(--maincolor);
  font-size: 24px;
  font-weight: 200;
  margin-right: 20px;
}
.vk_flow .vk_flow_frame_text_title > .step .num {
  font-size: 1.8em;
  margin-left: 5px;
}
.vk_flow.vk_flow-arrow-on::after {
  background-size: 110px 110px !important;
  height: 62px !important;
  width: 67px !important;
  margin: 10px auto !important;
}
.vk_flow .vk_flow_frame .col2 {
  width: 50%;
  margin: auto;
}
@media screen and (max-width:750px) {
  .vk_flow .vk_flow_frame {
    padding: 1.5rem !important;
  }
  .vk_flow .vk_flow_frame_text_title {
    margin: 0 0 20px !important;
    padding: 0 0 10px !important;
  }
  .vk_flow .vk_flow_frame_text_title > span.step {
    font-size: 20px;
    font-weight: bold;
    margin-right: 6px;
    display: block;
    margin-bottom: 8px;
  }
  .vk_flow .vk_flow_frame .col2 {
    width: 100%;
  }
}

/* ------------------------
  FAQ
------------------------*/
.vk_faq {
  border: none !important;
  margin: 2rem auto !important;
}
.vk_faq .vk_faq_content {
  padding: 1.5rem 1.5rem 1.5rem 4rem !important;
  background-color: #FAFAFA;
}
.vk_faq .vk_faq_title {
  border: none !important;
  padding: 1rem 1rem 1rem 4rem !important;
}
.vk_faq .vk_faq_title:before,
.vk_faq .vk_faq_content:before {
  font-family: var(--font) !important;
  font-size: 1.8em !important;
  font-weight: bold !important;
}
.vk_faq .vk_faq_title:before {
  color: var(--maincolor) !important;
  content: "Q." !important;
  left: 35px !important;
}
.vk_faq .vk_faq_content:before {
  color: var(--red) !important;
  content: "A." !important;
  top: 1.5rem !important;
  margin: auto;
  left: 35px !important;
}
.vk_faq .vk_faq_title p,
.vk_faq .vk_faq_content p {
  margin-left: 20px;
}
.vk_faq .vk_faq_title p {
  font-size: 1.25rem !important;
}
@media screen and (max-width:750px) {
  .vk_faq {
    margin: 0rem auto !important;
  }
  .vk_faq .vk_faq_title {
    padding: 1rem 1rem 1rem 2rem !important;
  }
  .vk_faq .vk_faq_content {
    padding: 1.5rem 1.5rem 1.5rem 2rem !important;
  }
  .vk_faq .vk_faq_title:before {
    left: 8px !important;
  }
  .vk_faq .vk_faq_content:before {
    left: 10px !important;
  }
  .vk_faq .vk_faq_title p {
    font-size: 18px !important;
  }
}


/* =========================

  news

=========================*/
#news_post .post_contents,
#column_post .post_contents {
  background-color: #FFFFFF;
  border-radius: 20px;
}
#news_list .news_item, #column_list .column_item {
  margin-bottom: 20px;
  text-align: left;
}
#news_list .news_item:last-child,
#column_list .column_item:last-child  {
  margin-bottom: 0;
}
#news_list .news_item_inner a, #column_list .column_item_inner a {
  color: var(--fontcolor);
  border: none;
  background-color: #FFFFFF;
  border-bottom: 2px solid var(--border-color);
  padding: 20px;
  margin-bottom: 20px;
  display: block;
  text-decoration: none;
}
#news_list .news_item_inner a:hover, #column_list .column_item_inner a:hover {
}
#news_list .news_item_inner dd, #column_list .column_item_inner dd {
  width: 20%;
}
#news_list .news_item_inner h3, #column_list .column_item_inner h3 {
  width: 80%;
  font-size: 16px;
  font-weight: normal;
  padding-bottom: 0;
  border: none;
  margin: 0;
}
#news_list .news_item_inner .ttl,
#column_list .column_item_inner .ttl {
  font-size: 1.2em;
  font-weight: 600;
}
#news_list .news_item_inner h3::after {
  content: none;
}
#news_list .day_cat,
#column_list .day_cat {
  display: flex;
}
#news_post .post_ttl,
#column_post .post_ttl {
  margin: 0 0 50px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}
#news_post .post_ttl .ttl,
#column_post .post_ttl .ttl {
  font-size: clamp(22px, 3vw, 32px);
  width: 100%;
  margin: 0;
  padding: 0;
}
#news_post .post_ttl .ttl::before,
#column_post .post_ttl .ttl::before {
  content: none;
}
#news_post .post_contents, #news_post h2,
#column_post .post_contents, #column_post h2 {
  text-align: left;
}
#news_post .date, #column_post .date {
  color: var(--maincolor);
  margin-bottom: 15px;
  display: block;
}
#news_post h2, #column_post h2 {
  width: 100%;
}

#news_post .news_content_box h1,
#news_post .news_content_box h2,
#news_post .news_content_box h3,
#news_post .news_content_box h4,
#column_post .column_content_box > h1,
#column_post .column_content_box > h2,
#column_post .column_content_box > h3,
#column_post .column_content_box > h4 {
  line-height: 1.4em;
}
#news_post .news_content_box h1,
#column_post .news_content_box > h1,
#column_post .column_content_box > h1 {
  font-size: 50px;
  line-height: 1.0;
}
#news_post .news_content_box h2,
#column_post .news_content_box > h2,
#column_post .column_content_box > h2 {
  font-size: clamp(20px, 2vw, 28px);
  border: none;
}
#news_post .news_content_box h4,
#column_post .news_content_box > h4,
#column_post .column_content_box > h4 {
  font-size: 1.5em;
}
.news_content_box a:hover, .column_content_box a:hover {
  opacity: 0.6;
}
/* ul ol */
.news_content_box ul, .news_content_box ol,
.column_content_box ul, .column_content_box ol,
.search_post_content_box ol {
  margin: 0 0 50px;
}
.news_content_box ol, .column_content_box ol, .search_post_content_box ol {
  list-style: decimal;
  width: fit-content;
  padding-left: 3rem !important;
}

/* 画像 */
.news_content_box img, .column_content_box img {
  border-radius: 5px;
}
.news_content_box img.alignleft, .column_content_box img.alignleft {
  width: 350px;
  float: left;
}
.news_content_box img.alignright, .column_content_box img.alignright {
  width: 350px;
  float: right;
}

/* 引用 */
.news_content_box blockquote, .column_content_box blockquote {
  position: relative;
  margin-bottom: 40px;
  padding: 38px 15px 15px;
  box-sizing: border-box;
  font-style: italic;
  text-align: left;
  background: #efefef;
  color: #555555;
}
.news_content_box blockquote:before, .column_content_box > blockquote:before {
  display: inline-block;
  position: absolute;
  top: 13px;
  left: 15px;
  content: "\f10d";
  font-family: FontAwesome;
  color: #cfcfcf;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}
.news_content_box blockquote p, .column_content_box > blockquote p {
  padding: 0;
  margin-bottom: 5px;
  line-height: 1.7;
}
.news_content_box blockquote cite, .column_content_box > blockquote cite {
  display: block;
  text-align: left;
  color: #888888;
  font-size: 0.9em;
}

/* 前の記事、次の記事 */
.page_back_next {
  margin-top: 115px;
}
.page_back_next li {
  margin-right: 20px;
}
.page_back_next li:last-child {
  margin-right: 0;
}
.back_next a {
  color: var(--maincolor);
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--maincolor);
  display: block;
}
.back_next a:hover {
  color: #FFFFFF;
  background-color: var(--maincolor);
}
.page_back_next .btn_wrap {
  margin-top: 0 !important;
}
@media screen and (max-width:750px) {
  #news_list .news_item_inner a,
  #column_list .news_item_inner a {
    display: block;
  }
  #news_post h2, #column_post h2 {
    font-size: 2em;
  }
  #news_list .news_item_inner dd,
  #news_list .news_item_inner h3,
  #column_list .news_item_inner dd,
  #column_list .news_item_inner h3 {
    width: 100%;
    font-size: 14px;
  }
  #news_post .post_ttl, #column_post .post_ttl {
    margin-bottom: 40px;
  }
  .news_content_box img.alignleft,
  .news_content_box img.alignright,
  .column_content_box img.alignleft,
  .column_content_box img.alignright {
    width: 100%;
    float: unset;
  }
  .news_content_box ul, .news_content_box ol,
  .column_content_box ul, .column_content_box ol,
  .search_post_content_box ol {
    margin-bottom: 20px;
  }
  .page_back_next {
    margin-top: 60px;
  }
  .back_next a {
    padding: 8px 15px;
  }
}

/* =========================

  404

=========================*/
#error404 {
  text-align: center;
  padding-top: 50px;
}
#error404 h2 {
  font-size: 4em;
  line-height: 1.0em;
}
#error404 h3 {
  font-size: 2em;
  line-height: 1.4em;
  margin-bottom: 50px;
}
#error404 .error404_txt {
  margin-bottom: 60px;
}
#error404 .error404_txt p {
  text-align: center;
}
#error404 h2::before {
  vertical-align: baseline;
}

/* =========================

  page navi

=========================*/
.wp-pagenavi {
  text-align: center;
  margin-top: 60px
}
.wp-pagenavi a, .wp-pagenavi span {
	color: var(--maincolor);
	background-color: #FFFFFF;
	padding: 12px 15px;
	margin: 0 5px;
	white-space: nowrap;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--maincolor);
  border-radius: 4px;
}
.wp-pagenavi a:hover{
	color: #FFFFFF;
	background-color: var(--maincolor);
}
.wp-pagenavi span.current {
	color: #FFFFFF;
	background-color: var(--maincolor);
}
.wp-pagenavi span.pages,
.wp-pagenavi a.last, .wp-pagenavi a.first {
  border-radius: 4px;
}
.page_back_next {
  margin: 100px auto;
  overflow: hidden;
  clear: both;
}
.page_back_next .page_back_next_inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.page_back_next .page_back_next_inner li {
  margin-right: 30px;
}
.page_back_next .page_back_next_inner li:last-child {
  margin-right: 0;
}
.page_back_next .back a,
.page_back_next .next a {
  color: var(--maincolor);
  font-weight: bold;
  display: block;
  padding: 10px;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 100vh;
  border: 1px solid var(--maincolor);
}
.page_back_next .back a:hover,
.page_back_next .next a:hover {
  color: #FFFFFF;
  background-color: var(--maincolor);
  opacity: 1.0;
}
.page_back_next .page_back_next_inner .btn_wrap {
  margin-top: 0;
}
.page_back_next .page_back_next_inner .btn_wrap .btn a {
  border: 1px solid var(--maincolor);
  font-weight: normal;
}
@media screen and (max-width:750px) {
  .wp-pagenavi span.pages,.wp-pagenavi a.first,
  .wp-pagenavi a.last {
    display: none;
  }
  .wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 14px;
  }
  .page_back_next {
    margin: 20px auto;
  }
  .page_back_next .back a,
  .page_back_next .next a {
    line-height: 2em;
  }
}