/* =====================================
共通
===================================== */
.acf-block-preview {
  color: #393939;
}
.acf-block-preview p {
  font-family: 'TsukuGoPr5-R', 'FOT-筑紫ゴシック Pro R', serif;
  font-weight: 400;
}
.acf-block-preview * > *:first-child {
  margin-top: 0;
}


/* =====================================
見出し
===================================== */
.myblock-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
}
.myblock-head .text {
  position: relative;
  display: block;
  /* flex-shrink: 0; */
  flex-shrink: 1;
  font-family: 'TsukuGoPr5-R', 'FOT-筑紫ゴシック Pro R', serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}
@media screen and ( max-width: 767px ) {
  .myblock-head {
    justify-content: center;
  }
  .myblock-head .text {
    flex-shrink: unset;
  }
}

.myblock-head.decoration_none .border {
  display: none;
}
.myblock-head.decoration_center .border {
  position: relative;
  display: block;
  width: 100%;
  margin-left: 40px;
}
.myblock-head.decoration_center .border::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  background-color: #C3C8C6;
  width: 100%;
  height: 1px;
}
.myblock-head.decoration_under .border {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  background-color: #393939;
  width: 100%;
  height: 1px;
}

h2.myblock-head {
  margin-top: 90px;
  margin-bottom: 40px;
}
h2.myblock-head .text {
  font-family: 'TsukuGoPro-B', 'FOT-筑紫ゴシック Pro B', serif;
  font-weight: 700;
  font-size: 36px;
}
@media screen and ( max-width: 767px ) {
  h2.myblock-head {
    margin-top: 60px;
  }
  h2.myblock-head .text {
    font-size: 24px;
    line-height: 1.33;
  }
}
h3.myblock-head {
  margin-top: 80px;
  margin-bottom: 32px;
}
h3.myblock-head .text {
  font-family: 'TsukuGoPro-B', 'FOT-筑紫ゴシック Pro B', serif;
  font-weight: 700;
  font-size: 30px;
}
@media screen and ( max-width: 767px ) {
  h3.myblock-head {
    margin-top: 60px;
  }
  h3.myblock-head .text {
    font-size: 18px;
  }
}
h4.myblock-head {
  margin-top: 60px;
  margin-bottom: 24px;
}
h4.myblock-head .text {
  font-family: 'TsukuGoPro-B', 'FOT-筑紫ゴシック Pro B', serif;
  font-weight: 700;
  font-size: 24px;
}
@media screen and ( max-width: 767px ) {
  h4.myblock-head {
    margin-top: 30px;
  }
  h4.myblock-head .text {
    font-size: 14px;
  }
}
h5.myblock-head {
  margin-top: 40px;
  margin-bottom: 16px;
}
h5.myblock-head .text {
  font-family: 'TsukuGoPro-B', 'FOT-筑紫ゴシック Pro B', serif;
  font-weight: 700;
  font-size: 20px;
}
.myblock-head.level_h2.decoration_under,
.myblock-head.level_h3.decoration_under {
  padding-bottom: 20px;
}
.myblock-head.level_h4.decoration_under,
.myblock-head.level_h5.decoration_under {
  padding-bottom: 16px;
}





/* =====================================
ページタイトル
===================================== */
.myblock-page-title {
  padding: calc( 100% * 54 / 1300 ) calc( 100% * 50 / 1300 );
}
.myblock-page-title .ttl-box .ttl {
  font-weight: 400;
  font-family: 'TsukuGoPr5-R', 'FOT-筑紫ゴシック Pro R', serif;
  font-size: 54px;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
}
.myblock-page-title .ttl-box .sub-ttl {
  font-weight: 500;
  font-family: 'TsukuGoPr5-M', 'FOT-筑紫ゴシック Pro M', serif;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 8px;
}
.myblock-page-title .leader {
  position: relative;
  margin-top: calc(100% * 100 / 1300);
}
.myblock-page-title .leader::before {
  content: "";
  display: block;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  left: 0;
  width: calc( 100% * 300 / 1300 );
  height: 1px;
}
.myblock-page-title .leader p {
  position: relative;
  font-family: 'TsukuGoPr5-D', 'FOT-筑紫ゴシック Pro D', serif;
  font-size: 20px;
  line-height: 1.42;
  letter-spacing: 0;
  width: calc( 100% * 800 / 1300 );
  margin-left: auto;
}

.myblock-page-title.back_transparent {
  background-color: transparent;
}
.myblock-page-title.back_transparent .ttl-box .ttl {
  color: #383838;
}
.myblock-page-title.back_transparent .ttl-box .sub-ttl {
  color: #383838;
}
.myblock-page-title.back_transparent .leader::before {
  background-color: #393939;
}
.myblock-page-title.back_dark-transparent .leader p {
  color: #383838;
}
.myblock-page-title.back_dark-gray {
  background-color: #000;
}
.myblock-page-title.back_dark-gray .ttl-box .ttl {
  color: #fff;
}
.myblock-page-title.back_dark-gray .ttl-box .sub-ttl {
  color: #fff;
}
.myblock-page-title.back_dark-gray .leader::before {
  background-color: #fff;
}
.myblock-page-title.back_dark-gray .leader p {
  color: #fff;
}








/* =====================================
段落
===================================== */
.myblock-sentence {
  margin: 1.7em 0;
}
@media screen and ( max-width: 767px ) {
  .myblock-sentence {
    font-size: 14px;
  }
}
.myblock-sentence ul {
  list-style: disc;
  padding-left: 20px;
}
.myblock-sentence ul li {
  list-style: disc;
}







/* =====================================
WYSIWYGエディター共通
===================================== */
.custom-wysiwyg p {
  font-weight: 400;
  font-family: 'TsukuGoPr5-R', 'FOT-筑紫ゴシック Pro R', serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.75;
  margin-bottom: 0;
}
@media screen and ( max-width: 767px ) {
  .custom-wysiwyg p {
    font-size: 14px;
    line-height: 1.71;
  }
}
.custom-wysiwyg *:first-child {
  margin-top: 0;
}
.custom-wysiwyg *:last-child {
  margin-bottom: 0;
}
.custom-wysiwyg p strong {
  font-weight: 700;
  font-family: 'TsukuGoPro-B', 'FOT-筑紫ゴシック Pro B', serif;
}
.custom-wysiwyg p a {
  color: #A11D35;
  text-decoration: underline;
}









/* =====================================
カード
===================================== */
.myblock-card.back_transparent {
  background-color: transparent;
}
.myblock-card.back_dark-gray {
  border-radius: 20px !important;
  background-color: #576162;
  padding: calc( 100% * 50 / 1200 );
}
.myblock-card.back_dark-gray .custom-wysiwyg {
  color: #fff;
}
.myblock-card.back_light-yellow {
  border-radius: 20px !important;
  background-color: #EBEBE5;
  padding: calc( 100% * 50 / 1200 );
}
.myblock-card.title_on h3 {
  color: #393939;
  font-weight: 500;
  font-family: 'TsukuGoPr5-M', 'FOT-筑紫ゴシック Pro M', serif;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 2;
  margin: 0 0 20px;
}
.myblock-card.title_on.back_dark-gray h3 {
  color: #fff;
}
.myblock-card.border_none {
  border: none;
}
.myblock-card.border_on {
  border-radius: 10px;
  border: 1px solid #C3C8C6;
  padding: calc( 100% * 50 / 1200 );
}
.myblock-card.leftside_thumb {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc( 100% * 30 / 1200 );
}
.myblock-card.leftside_thumb .img-box {
  width: calc( 100% * 250 / 1140 );
  aspect-ratio: 250 / 203;
}
.myblock-card.leftside_thumb .img-box img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.myblock-card.leftside_thumb .sentence {
  width: calc( 100% * 830 / 1140 );
}
.myblock-card.link_on .link-btn {
  display: flex;
  justify-content: flex-end;
  margin-top: 66px;
}
.myblock-card.link_on .btn {
  position: relative;
  text-decoration: none;
  font-family: 'TsukuGoPro-B', 'FOT-筑紫ゴシック Pro B', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .05em;
  line-height: 1.5;
}
.myblock-card.link_on .btn::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #393939;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0;
}

.myblock-card.back_dark-gray.link_on .btn {
  color: #fff;
}
.myblock-card.back_dark-gray.link_on .btn::before {
  background-color: #fff;
}








/* =====================================
リスト
===================================== */
.myblock-list {
  margin: 60px 0;
}
.myblock-list ul > li {
  position: relative;
  list-style: none;
  padding-left: 1.2em;
  margin: 0.4rem 0;
}
.myblock-list ul > li::before {
  content: "";
  position: absolute;
  display: block;
  background-color: #393939;
  border-radius: 100%;
  top: 13px;
  left: 0;
  width: 5px;
  height: 5px;
}









/* =====================================
ボタン
===================================== */
.myblock-btn.margin-top_on{
  margin-top: 40px;
}
.myblock-btn.position_left {
  display: flex;
  justify-content: flex-start;
}
.myblock-btn.position_center {
  display: flex;
  justify-content: center;
}
.myblock-btn.position_right {
  display: flex;
  justify-content: flex-end;
}

.myblock-btn a {
  position: relative;
  text-decoration: none;
}

.myblock-btn.size_large a {
  font-weight: 400;
  font-family: 'TsukuGoPr5-R', 'FOT-筑紫ゴシック Pro R', serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.5;
  padding: 1.2em 4.1em;
}
.myblock-btn.size_large a span {
  padding-right: 2.6em;
}
.myblock-btn.size_large a::after {
  right: 4.1em;
}
.myblock-btn.size_small a {
  font-weight: 400;
  font-family: 'TsukuGoPr5-R', 'FOT-筑紫ゴシック Pro R', serif;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.5;
  padding: 0.8em 2.2em;
}
.myblock-btn.size_small a span {
  padding-right: 1.8em;
}
.myblock-btn.size_small a::after {
  right: 2.2em;
}

.myblock-btn.shape_underline a {
  position: relative;
  text-decoration: none;
  font-family: 'TsukuGoPro-B', 'FOT-筑紫ゴシック Pro B', serif;
  font-weight: 700;
  font-size: 16px;
  padding-bottom: .7em;
  overflow-x: hidden;
}
.myblock-btn.shape_underline a::before,
.myblock-btn.shape_underline a::after {
  content: "";
  display: block;
  position: absolute;
  background-color: #A11E35;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
}
.myblock-btn.shape_underline a::before {
  transform: translate( 0% );
}
.myblock-btn.shape_underline a::after {
  transform: translate( calc( -100% - 80% ) );
}
.myblock-btn.shape_underline a:hover::before {
  transform: translate( calc( 100% + 80% ) );
  transition: transform .3s ease;
}
.myblock-btn.shape_underline a:hover::after {
  transform: translate( 0% );
  transition: transform .3s ease;
}
.myblock-btn.shape_roundness a {
  display: inline-block;
  border-radius: 100px;
  border: 1px solid #C3C8C6;
  background-color: #fff;
  color: #393939;
}

.myblock-btn.shape_roundness-winered a {
  display: inline-block;
  border-radius: 100px;
  border: 1px solid #A11E35;
  background-color: transparent;
  color: #A11E35;
}

.myblock-btn.link-type_link a span {
  position: relative;
  padding-right: 1.8em;
}
.myblock-btn.link-type_link a span::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url( /cms/wp-content/themes/arkfarm/assets/image/icon/icon_arrow_right_winered_01.svg );
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  top: .6em;
  right: 0;
  width: 15px;
  height: 8px;
}
.myblock-btn.link-type_download a::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url( /cms/wp-content/themes/arkfarm/assets/image/icon/icon_download_winered_01.svg );
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  top: 0.2em;
  width: 16px;
  height: 18px;
}
.myblock-btn.link-type_external a::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url( /cms/wp-content/themes/arkfarm/assets/image/icon/icon_external_winered_01.svg );
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  top: -0.3em;
  width: 21px;
  height: 19px;
}
.myblock-btn.shape_underline a::after {
  right: 0;
}

.myblock-btn.shape_roundness.link-type_link a::after,
.myblock-btn.shape_roundness-winered.link-type_link a::after {
  top: calc(50% - 4px);
}
.myblock-btn.shape_roundness.link-type_download a::after,
.myblock-btn.shape_roundness-winered.link-type_download a::after {
  top: calc(50% - 9px);
}
.myblock-btn.shape_roundness.link-type_external a::after,
.myblock-btn.shape_roundness-winered.link-type_external a::after {
  top: calc(50% - 12px);
}










/* =====================================
テーブル
===================================== */
.myblock-table {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  margin: 60px 0;
}
.myblock-table table {
  border-collapse: collapse;
  width: 100%;
}
.myblock-table tr:first-child th,
.myblock-table tr:first-child td {
  vertical-align: top;
}
.myblock-table tr:first-child th {
  border-top: 1px solid #C3C8C6;
}
@media screen and ( min-width: 768px ) {
  .myblock-table tr:first-child td {
    border-top: 1px solid #C3C8C6;
  }
}
.myblock-table tr th {
  vertical-align: top;
  background-color: #fff;
  border-right: none;
  border-bottom: 1px solid #C3C8C6;
  border-left: none;
  text-align: left;
  font-family: 'TsukuGoPro-B', 'FOT-筑紫ゴシック Pro B', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.75;
  width: calc( 100% * 350 / 950 );
  padding: 25px 1em 25px 0;
}
@media screen and ( max-width: 767px ) {
  .myblock-table tr th {
    border-bottom: none;
    font-size: 14px;;
    line-height: 2;
    padding: 25px 0 0;
  }
}
.myblock-table tr td {
  background-color: #fff;
  border-right: none;
  border-bottom: 1px solid #C3C8C6;
  border-left: none;
  width: calc( 100% * 600 / 950 );
  padding: 25px 0;
}
@media screen and ( max-width: 767px ) {
  .myblock-table tr td {
    border-top: none;
    padding: 0 0 25px;
  }
}

@media screen and ( max-width: 767px ) {
  .myblock-table tr th,
  .myblock-table tr td {
    display: block;
    width: 100%;
  }
}










/* =====================================
画像スライダー
===================================== */
.myblock-slider {
  overflow: hidden;
  margin-bottom: 40px;
}
.myblock-slider .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
}
.myblock-slider .swiper-wrapper .img-box {
  width: 100%;
  aspect-ratio: 950 / 500;
}
.myblock-slider .swiper-wrapper img {
  border-radius: 20px;
}
.myblock-slider .swiper-pagination {
  position: static;
  margin-top: 25px;
}
.myblock-slider .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  margin: 0 0 0 20px !important;
  background-color: #C3C8C6 !important;
  opacity: 1 !important;
}
.myblock-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #A11D35 !important;
  opacity: 1 !important;
}
.myblock-slider .swiper-pagination-bullet:first-child {
  margin: 0 !important;
}

.acf-block-preview .myblock-slider {
  position: relative;
}
.acf-block-preview .myblock-slider::before {
  content: "スライダー";
  display: block;
  position: absolute;
  transform: translate( -50%, -50% );
  font-weight: 700;
  font-size: 30px;
  color: #ef0ad5;
  top: 50%;
  left: 50%;
}




/* =====================================
Google map
===================================== */
.myblock-name_google-map .inner {
  border-radius: 20px;
  background-color: #fff;
  padding: 20px;
}
.myblock-name_google-map .inner iframe {
  width: 100%;
  aspect-ratio: 1200 / 652;
}




/* =====================================
背景が水色のページで使う白背景のボックス
===================================== */
.wp-block-columns > .wp-block-column:only-child {
  border-radius: 20px;
  background-color: #fff;
  padding: 60px 50px;
}
@media screen and ( max-width: 767px ) {
  .wp-block-columns > .wp-block-column:only-child {
    padding: 40px calc( 100% * 20 / 386 ) 50px;
  }
}
.wp-block-columns > .wp-block-column:only-child > *:last-child {
  margin-bottom: 0;
}
.wp-block-columns > .wp-block-column:only-child .myblock-table {
  margin: 20px 0;
}
@media screen and ( max-width: 767px ) {
  .wp-block-columns > .wp-block-column:only-child .myblock-table {
    margin: 0;
  }
}
.wp-block-columns > .wp-block-column:only-child .myblock-sentence {
  margin: 1.2em 0;
}

/* 視認性のために、エディターでは背景を水色にする */
.wp-block-post-content .wp-block-columns > .wp-block-column:only-child {
  background-color: #E7ECEE;
}









/* =====================================
画像
===================================== */
.myblock-image {
  display: flex;
  flex-direction: column;
}
.myblock-image.caption_on {
  margin: 30px 0 0;
}
.myblock-image.margin_on {
  margin-top: 80px;
  margin-bottom: 40px;
}
@media screen and ( max-width: 575px ) {
  .myblock-image.margin_on {
    margin-top: 60px;
    margin-bottom: 30px;
  }
}
.myblock-image.width_full {
  width: 100%;
}
.myblock-image.width_large {
  width: calc( 100% * 580 / 850 );
}
.myblock-image.width_full img {
  object-fit: contain;
  width: 100%;
}
.myblock-image.width_large img {
  object-fit: contain;
  width: 100%;
}
.myblock-image.position_left {
  margin-right: auto;
}
.myblock-image.position_center {
  margin-left: auto;
  margin-right: auto;
}
.myblock-image.position_right {
  margin-left: auto;
}

.myblock-image .img-box img {
  border-radius: 20px;
}
.myblock-image .caption {
  width: 100%;
  color: #717171;
  text-align: center;
  font-size: 14px;
  margin-top: 14px;
}
.myblock-image .caption > *:first-child {
  margin-top: 0;
}
.myblock-image .margin_none {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

