@charset "utf-8";

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

	下層ページ共通

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

/* 基本設定
************************************************************/
.underpage {
  position: relative;
}
.underpage strong {
  font-weight: 700;
}
.underpage .section {
  margin-top: 100px;
}
.underpage .section:first-child {
  margin-top: 114px;
}
.underpage .section:last-child {
  margin-bottom: 215px;
}
@media screen and (max-width:750px) {
  .underpage .section {
    margin-top: 60px;
  }
  .underpage .section:last-child {
    margin-bottom: 90px;
  }
}
.underpage .section p a {
  color: var(--accentcolor);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accentcolor);
}
.underpage .section a {
  color: var(--accentcolor);
  text-decoration: underline;
}
.underpage .section .more-button a {
  color: #FFFFFF;
  text-decoration: none !important;
}
.underpage .section .more-button a:hover {
  color: var(--maincolor);
  opacity: 1;
}


/* 下層ページタイトル
************************************************************/
.page-header {
  position: relative;
  width: 92%;
  aspect-ratio: 1800 / 470;
  margin: auto;
  text-align: center;
  border-radius: 3vw;
  background-image: url('../images/subkv01.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1800 / 470;
  border-radius: 3vw;
  background-image: linear-gradient(#3E9595, #EFD25F);
  opacity: 0.4;
  z-index: 2;
}
.page-header .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  max-width: 1600px;
  height: fit-content;
  margin: auto;
  color: #FFFFFF;
  font-family: var(--font);
  text-align: left;
  z-index: 3;
}
.page-header .content h1 {
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.4em;
}
.page-header .content .en {
  display: block;
  font-size: 1.5em;
}
@media screen and (max-width:750px) {
  .page-header {
    width: 100%;
    margin-top: 5px;
  }
  .page-header,
  .page-header::before {
    width: 100%;
    height: 215px;
    border-radius: 0;
  }
  .page-header .content h1 {
    font-size: 2em;
  }
  .page-header .content .en {
    font-size: 1em;
  }
}


/* パンくずリスト
************************************************************/
.breadcrumb {
  width: 1600px;
  margin: 20px auto auto;
  font-size: 15px;
}
.breadcrumb a {
  color: var(--accentcolor);
}
.breadcrumb a:hover {
  opacity: 0.5;
}
@media screen and (max-width:1600px) {
  .breadcrumb {
    width: 90%;
    padding: 0;
    margin-bottom: 0;
  }
}
@media screen and (max-width:750px) {
  .breadcrumb {
    font-size: 14px;
  }
}


/* 見出し
************************************************************/
.underpage h2.style-01 {
  width: calc(100% - 32px);
  padding: 16px;
  margin: 100px 0 40px;
  margin-left: 30px;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 500;
}
.underpage h2.style-01::before {
  left: 0;
}
.underpage h2.style-01:first-child {
  margin-top: 0;
}
@media screen and (max-width:750px) {
  .underpage h2.style-01 {
    margin: 40px 0 20px;
    margin-left: 30px;
  }
  .underpage h2.style-01:first-child {
    margin-top: 0;
  }
}


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

	ブロックエディタ関連

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

/* 見出し
************************************************************/
h2.wp-block-heading {
  display: inline-block;
  position: relative;
  width: calc(100% - 32px);
  padding: 16px;
  margin: 100px 0 40px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  font-family: var(--font);
  line-height: 1.4em;
  letter-spacing: 0.12em;
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
  z-index: 2;
}
h2.wp-block-heading::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 85px;
  height: 2px;
  background: var(--accentcolor);
}
h2.wp-block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 85px;
  height: 2px;
  background: var(--accentcolor);
}
h2.wp-block-heading:first-child {
  margin-top: 0;
}
h2.wp-block-heading strong {
  font-weight: 500;
}
@media screen and (max-width:750px) {
  h2.wp-block-heading {
    margin: 40px 0 20px;
  }
  h2.wp-block-heading:first-child {
    margin-top: 0;
  }
}

h3.wp-block-heading {
  position: relative;
  padding: 10px 0 10px 30px;
  margin: 50px 0 30px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.4em;
}
h3.wp-block-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  border-radius: 100vw;
  background-color: var(--accentcolor);
}
h3.wp-block-heading strong {
  font-weight: 500;
}
@media screen and (max-width:750px) {
  h3.wp-block-heading {
    margin: 40px 0 20px;
  }
}

h4.wp-block-heading {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  font-size: 1.1em;
}
h4.wp-block-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
  margin: auto;
  background-color: var(--maincolor);
}
h4.wp-block-heading strong {
  font-weight: 500;
}


/* リスト
************************************************************/
ul.wp-block-list {
  display: list-item;
  width: fit-content;
  padding: 30px;
  margin: 0 0 50px;
  border-radius: 1vw;
  background-color: #EEF8F4;
}
ul.wp-block-list li {
  padding-left: 25px;
  margin-bottom: 10px;
  text-indent: -20px;
}
ul.wp-block-list li:before {
  content: "●";
  margin-right: 8px;
  color: var(--border-color);
  font-size: 14px;
  vertical-align: bottom;
}
ul.wp-block-list li strong {
  font-weight: 600;
}
ul.wp-block-list li > ul {
  padding: 5px;
  margin: 0;
}
ul.wp-block-list li > ul li::before {
  content: "○";
}
ol.wp-block-list {
  padding-left: 24px;
  list-style-type: decimal;
}
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 {
    padding: 20px;
    margin: 0 0 30px;
  }
  ul.wp-block-list li {
    margin-bottom: 8px;
  }
}

/* テーブル
************************************************************/
.wp-block-table thead,
.wp-block-table td, .wp-block-table th {
  padding: 25px !important;
  border: none !important;
  border-collapse: separate;
  border-spacing: 5px;
  vertical-align: middle;
}
.wp-block-table .has-fixed-layout {
  border-collapse: separate;
}
.wp-block-table thead {
  color: #FFFFFF;
  background: var(--maincolor);
}
.wp-block-table td {
  background-color: #EEF8F4 !important;
  vertical-align: middle;
}
.wp-block-table td, .wp-block-table th {
  border: 3px solid #FFFFFF !important;
}
.wp-block-table .has-fixed-layout td {
  background-color: #FFFFFF;
}
.wp-block-table.is-style-vk-table-border-top-bottom td {
  padding: 14px 5px !important;
  border-bottom: 1px solid var(--border-color) !important;
  background-color: transparent !important;
}
.vk-scroll-hint[data-scroll-breakpoint=table-scrollable-mobile]:has(i:last-of-type) {
  color: var(--maincolor);
}
@media screen and (max-width:750px) {
  .wp-block-table thead,
  .wp-block-table td,
  .wp-block-table th {
    padding: 10px !important;
  }
}

/* 画像レイアウト
************************************************************/
.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-block-media-text h3 {
    margin-top: 0;
  }
}



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

	お知らせ関連

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

/* お知らせ一覧ページ
************************************************************/
#archives-news .news-list .item {
  margin-bottom: 20px;
  text-align: left;
}
#archives-news .news-list .item:last-child {
  margin-bottom: 0;
}
#archives-news .news-list .item a {
  display: block;
  padding: 20px;
  margin-bottom: 20px;
  color: var(--fontcolor);
  text-decoration: none;
  border: none;
  border-bottom: 2px solid var(--border-color);
  background-color: #FFFFFF;
}
#archives-news .news-list .item .date {
  display: block;
  margin-bottom: 6px;
  line-height: 1.2em;
}
#archives-news .news-list .item .title {
  font-size: 1.2em;
  font-weight: 600;
}

/* ページネーション
************************************************************/
.wp-pagenavi {
  margin: 60px auto;
  text-align: center;
}
.wp-pagenavi a,
.wp-pagenavi span {
	padding: 12px 19px;
	margin: 0 5px;
  color: var(--maincolor);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--maincolor);
  border-radius: 5px;
	background-color: transparent;
	-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;
}
.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;
}
@media screen and (max-width:750px) {
  .wp-pagenavi {
    margin-top: 40px;
  }
  .wp-pagenavi span.pages,
  .wp-pagenavi a.first,
  .wp-pagenavi a.last {
    display: none;
  }
  .wp-pagenavi a,
  .wp-pagenavi span {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 10px;
  }
}

/* お知らせ詳細ページ
************************************************************/
.post-article {
  text-align: left;
  border-radius: 20px;
  background-color: #FFFFFF;
}
.post-title {
  padding-bottom: 20px;
  margin: 0 0 50px;
  border-bottom: 2px solid var(--maincolor);
}
.post-title .date {
  display: block;
  margin-bottom: 15px;
  color: var(--maincolor);
}
.post-title h2 {
  display: inline-block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 500;
  font-family: var(--font);
  line-height: 1.4em;
  letter-spacing: 0.12em;
  z-index: 2;
}

/* 見出し */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  line-height: 1.4em;
}
.post-content h1 {
  font-size: 50px;
  line-height: 1;
}
.post-content h2 {
  width: calc(100% - 32px);
}
.post-content h3 {
  font-size: 1.8em;
}
.post-content h4 {
  font-size: 1.5em;
}
.post-content a:hover {
  opacity: 0.6;
}

/* リスト */
.post-content ul,
.post-content ol {
  margin: 0 0 50px;
}
.post-content ol {
  width: fit-content;
  padding-left: 3rem;
  list-style: decimal;
}

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

/* 引用 */
.post-content blockquote {
  position: relative;
  padding: 38px 15px 15px;
  margin-bottom: 40px;
  color: #555555;
  font-style: italic;
  text-align: left;
  background: #efefef;
  box-sizing: border-box;
}
.post-content blockquote:before {
  content: "\f10d";
  display: inline-block;
  position: absolute;
  top: 13px;
  left: 15px;
  color: #cfcfcf;
  font-size: 28px;
  font-weight: 900;
  font-family: FontAwesome;
  line-height: 1;
}
.post-content blockquote p {
  padding: 0;
  margin-bottom: 5px;
  line-height: 1.7;
}
.post-content blockquote cite {
  display: block;
  color: #888888;
  font-size: 0.9em;
  text-align: left;
}
@media screen and (max-width:750px) {
  .post-title {
    margin-bottom: 40px;
  }
  .post-content img.alignleft,
  .post-content img.alignright {
    float: unset;
    width: 100%;
  }
  .post-content ul,
  .post-content ol {
    margin-bottom: 20px;
  }
}

/* 前後の記事リンク
************************************************************/
.post-links {
  margin: 100px auto;
  overflow: hidden;
  clear: both;
}
.post-links ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-links ul li {
  margin-right: 20px;
}
.post-links ul li:last-child {
  margin-right: 0;
}
.post-links ul li.back a,
.post-links ul li.next a {
  display: block;
  width: 30px;
  height: 30px;
  padding: 10px;
  color: var(--maincolor);
  font-weight: bold;
  text-align: center;
  border: 1px solid var(--maincolor);
  border-radius: 100vh;
  background-color: transparent;
}
.post-links ul li.back a:hover,
.post-links ul li.next a:hover {
  color: #FFFFFF;
  background-color: var(--maincolor);
  opacity: 1;
}
.post-links ul li.all .more-button {
  margin-top: 0;
}
@media screen and (max-width:750px) {
  .post-links {
    margin: 20px auto;
  }
  .post-links ul li.back a,
  .post-links ul li.next a {
    line-height: 2em;
  }
}