/*
Theme Name: 貴和法律事務所
Theme URI: https://kiwalaw.com/
Template: arkhe
Author: LOOS,Inc.
Author URI: https://kiwalaw.com/
Description: 
Tags: 
Version: 1.12.0.1775790638
Updated: 2026-04-10
*/

li,
p,
a,
span {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600 !important;
}

h2 strong {
  color: #FF7300;
}

#footer p {
  font-size: 1rem;
}

#footer ul li a {
  font-size: 0.9rem;
}

@media (min-width: 768px) {

  li,
  p,
  a,
  span {
    font-size: 18px;
  }

  #content {
    h1 {
      font-size: 48px !important;
    }

    h2 {
      font-size: 36px !important;
    }

    h3 {
      font-size: 26px !important;
    }

    p+p {
      margin-bottom: 15px !important;
    }
  }
}

@media (max-width: 767px) {

  li,
  p,
  a,
  span {
    font-size: 16px;
  }

  #content {
    h1 {
      font-size: 2rem !important;
    }

    h2 {
      font-size: 1.6rem !important;
    }

    h3 {
      font-size: 1.4rem !important;
    }

    p+p {
      margin-bottom: 15px !important;
    }
  }
}

/* ------------ メインスライド ------------ */

.sliderbox1 {
  background-color: #fff;
}

.n2-ss-slider .n2-ss-text {
  font-family: "Noto Serif JP", serif !important;
  paint-order: stroke;
  color: #175AA3 !important;
  letter-spacing: 0.05em !important;
  font-weight: 700 !important;
  text-shadow: 1px 1px 3px #ffffff !important;
}

@media (min-width: 768px) {
  .sliderbox1 {
    padding: 10px;
  }

  .n2-ss-slider .n2-ss-text {
    width: 530px;
    padding: 30px 10px;
    font-size: 2.4rem !important;
  }

  .br_sp1 {
    display: none;
  }
}

@media (max-width: 680px) {
  .slider_sec1 .c-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .sliderbox1 {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .c-container .sliderbox1 {
    padding-bottom: 5px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .n2-ss-slider .n2-ss-text {
    font-size: 1.2rem !important;
    margin-top: 0px !important;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 20px 10px 10px;
    /* iPhone Safari対策 */
    -webkit-text-stroke: 1px #fff !important;

    /* Android・その他ブラウザ用 */
    text-shadow:
      1px 1px 0 #fff,
      -1px 1px 0 #fff,
      1px -1px 0 #fff,
      -1px -1px 0 #fff !important;
  }

  /*div.n2-ss-slider {
    height: 460px !important;
  }*/
}

/* ---------- ヘッダー ---------- */

li.p-breadcrumb__item a.p-breadcrumb__text span {
  font-size: 11px !important;
}

@media (min-width: 1000px) {
  .l-header__logo {
    margin-top: 15px;
  }
}

@media (min-width: 768px) {
  .head_desc {
    width: 100%;
    margin-bottom: -25px;
    font-size: 0.75rem;
    padding-top: 10px;
    float: left;
    position: relative;
    top: 5px;
    margin-left: 30px;
  }
}

@media (max-width: 767px) {
  .head_desc {
    display: none;
  }
}


/* ---------- メインメニュー ---------- */

/* 2段表示を維持しつつ、メニューを等幅表示 */
@media (min-width: 1000px) {

  /* ヘッダー全体を2段表示にする */
  .l-header__body {
    display: flex;
    flex-direction: column;
    /* 縦方向にレイアウトを維持 */
    align-items: center;
  }

  /* 1段目のロゴ部分 */
  .l-header__center {
    max-width: 1200px;
    /* 固定幅1200px */
    width: 100%;
    text-align: left;
    /* 左揃え */
    margin: 0 auto;
    /* 中央揃え */
  }

  /* 2段目のメニュー部分 */
  .l-header__right {
    max-width: 1200px;
    /* 固定幅1200px */
    width: 100%;
    text-align: right;
    /* 右揃えの要素を保持 */
    margin: 0 auto;
    /* 中央揃え
    padding-top: 10px; */
  }

  /* ナビゲーションのラップ（中央揃え、固定幅1200px） */
  .c-gnavWrap {
    width: 1200px;
    /* 固定幅1200px */
    margin: 0 auto;
    /* 中央揃え */
  }

  /* ナビゲーションメニューの等幅表示 */
  .c-gnav {
    display: flex;
    justify-content: space-between;
    /* 各メニューを等間隔に配置 */
    padding: 0;
    margin: 0;
    list-style: none;
    /* リストのデフォルトスタイルを削除 */
    width: 100%;
    /* ナビゲーション全体を100%幅に */
  }

  /* 各メニューアイテムの等幅設定 */
  .c-gnav__li {
    flex: 1;
    /* メニュー項目を等幅に表示 */
    text-align: center;
    /* テキストを中央に配置 */
  }

  /* メニューリンクのスタイル */
  .c-gnav__a {
    display: block;
    padding: 10px 0;
    /* クリックしやすいパディング */
  }

  /* l-header__center の中で logo と header_info を横並びに */
  .l-header__center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* 横幅全体を使用 */
  }

  .header_info {
    width: 555px;
    /* header_info の幅を 700px に設定 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
    /* ロゴとのスペースを確保 */
  }

  .tel_info {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
    /* TEL番号と営業時間を縦並びに */
  }

  .tel_number {
    font-size: 2.2rem;
    /* TEL番号を適度に大きく */
    background-color: transparent;
    /* 背景は無色 */
    font-weight: 600 !important;
    color: #175aa3;
    line-height: 90%;
    margin-right: 10px;
    margin-bottom: -9px;
    margin-top: -9px;
  }

  .tel_number .svg-inline--fa {
    margin-right: 5px;
    margin-left: -5px;
  }

  .tel_number a {
    text-decoration: none;
    font-size: 2rem !important;
  }

  .tel_number .svg-inline--fa {
    margin-right: 5px;
    font-size: 2rem !important;
  }

  .fax_number {
    font-size: 1.6rem;
    /* TEL番号を適度に大きく */
    background-color: transparent;
    /* 背景は無色 */
    font-weight: 600 !important;
    color: #111;
    line-height: 120%;
  }

  .fax_number .svg-inline--fa {
    margin-right: 5px;
    font-size: 1.2rem !important;
    color: #175aa3;
  }

  .business_word {
    font-size: 0.8rem;
    /* 営業時間を小さく表示 */
    font-weight: 600;
  }

  .business_hours {
    font-size: 0.8rem;
    /* 営業時間を小さく表示 */
    font-weight: 600;
  }

  /*.contact_button {
        background-color: #ea5550;
        color: #fff;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 5px;
        font-size: 1.2rem;
        display: inline-block;
        font-weight: 500 !important;
    }
    .contact_button:hover {
        background-color: #e96560;
    }*/

  a.contact_button {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    max-width: 280px;
    padding: 10px 35px;
    font-size: 1.1rem;
    font-family: "Noto Sans Japanese";
    text-decoration: none;
    color: #fff;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    border: 1px solid #ff8d41;
    font-weight: 700;
    background-color: #ff7300;
  }

  a.contact_button:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 1.4rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
  }

  a.contact_button:hover {
    background: #ff6600;
    color: #FFF;
    border: 1px solid #ff8d41;
  }

  a.contact_button:hover:after {
    right: 1.1rem;
  }

  a.contact_button_free {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    max-width: 280px;
    padding: 10px 35px;
    font-size: 1.1rem;
    font-family: "Noto Sans Japanese";
    text-decoration: none;
    color: #fff;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    border: 1px solid #87cefa;
    font-weight: 700;
    background-color: #78cbff;
    margin-top: 0px !important;
    font-size: 14px;
  }

  a.contact_button_free:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 1.4rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
  }

  a.contact_button_free:hover {
    background: #3394cf;
    color: #FFF;
    border: 1px solid #87cefa;
  }

  a.contact_button_free:hover:after {
    right: 1.1rem;
  }

  /*svg:not(:host).svg-inline--fa,
    svg:not(:root).svg-inline--fa {
        margin-right: 5px;
    }*/
  .btn_box1 {
    margin-left: -10px;
  }

  ul.c-gnav li {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /*
    ul.c-gnav li:last-child {
        border-right: 1px solid #ddd;
    }*/

  /*.c-gnav__li>a.c-gnav__a:first-child {
    border-left: 1px solid #01439A;
  }*/

  .c-gnav__li>.c-gnav__a {
    padding: 5px 12px !important;
  }

  /*.menu_last a {
    border-right: 1px solid #01439A;
  }*/
  .c-gnav__a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    border-left: 1px solid #999;
    /* 左側のみ線 */
  }

  /* 最後の要素だけ右側にも線を追加 */
  .c-gnav__li:last-of-type .c-gnav__a {
    border-right: 1px solid #999;
  }
}

@media (min-width: 1000px) {
  ul.c-gnav li {
    /*    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;*/
    font-size: 1rem !important;
    font-weight: 500;
  }

  /*ul.c-gnav li {
        position: relative;
    }

    ul.c-gnav li::before {
        content: '';
        position: absolute;
        top: 7px;
        left: 20px;
        width: 1px;
        height: 70%;
        background-color: #1E7200;
        transform: rotate(45deg);
        transform-origin: top left;
        pointer-events: none;
    }

    ul.c-gnav li:last-child::after {
        content: '';
        position: absolute;
        top: 7px;
        right: 0;
        width: 1px;
        height: 70%;
        background-color: transparent;
        border-right: 1px solid #1E7200;
        transform: rotate(45deg);
        transform-origin: top right;
    }
*/
  .c-gnav .__mainText {
    font-size: inherit;
    font-size: 1rem;
    font-weight: 700;
  }
}

@media (max-width: 999px) {
  .header_info {
    display: none;
  }
}

/* ------------ メイン画像 ------------ */
.c-pageTitle__main {
  color: #222;
}

/* ------------ メニュー料金 ------------ */

/* =========================
   price_link_menu 全体
========================= */
.price_link_menu .c-row--margin {
  --_margin: 12px;
}

.price_link_menu .c-row__col {
  display: flex;
}

/* =========================
   ボックス
========================= */
.price_link_menu .smb-items__item {
  position: relative;
  width: 100%;
  min-height: 100px;
  margin: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
  box-sizing: border-box;
  overflow: visible;
  transition: all 0.25s ease;
  min-height: 72px;
}

.price_link_menu .smb-items__item a {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  padding: 18px 16px 25px;

  color: #333;
  text-decoration: none;
  box-sizing: border-box;
}

.price_link_menu .smb-items__item__body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 18px 16px 25px;
  box-sizing: border-box;
  text-align: center;
}

/* 下線 */
.price_link_menu .smb-items__item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #e58c6f;
}

/* テキスト */
.price_link_menu p {
  margin: 0;
}

.price_link_menu a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.price_link_menu a:hover {
  opacity: 0.75;
  text-decoration: none;
}

/* ホバー */
.price_link_menu .smb-items__item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* 円 */
.price_link_menu .smb-items__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: #e58c6f;
  border-radius: 50%;
  z-index: 2;
  margin-bottom: -10px;
}

/* 円の中の矢印 */
.price_link_menu .smb-items__item__body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
  z-index: 3;
  pointer-events: none;
  margin-bottom: -10px;
}

/* タブレット */
@media (max-width: 999px) {
  .price_link_menu .c-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .price_link_menu .smb-items__item,
  .price_link_menu .smb-items__item__body {
    min-height: 90px;
  }

  .price_link_menu .smb-items__item__body {
    padding: 18px 14px 40px;
  }

  .price_link_menu a {
    font-size: 16px;
  }
}

/* スマホ */
@media (max-width: 599px) {
  .price_link_menu .c-row {
    grid-template-columns: 1fr 1fr;
  }

  .price_link_menu .smb-items__item,
  .price_link_menu .smb-items__item__body {
    min-height: 80px;
  }

  .price_link_menu .smb-items__item__body {
    padding: 16px 12px 38px;
  }

  .price_link_menu a {
    font-size: 15px;
  }

  .price_link_menu .smb-items__item::after {
    width: 28px;
    height: 28px;
  }

  .price_link_menu .smb-items__item__body::after {
    bottom: 9px;
    width: 7px;
    height: 7px;
  }
}

/* ------------ トップ ------------ */
.topsec_11 h2.wp-block-heading em {
  font-size: 1rem;
  background-color: #334B6C;
  padding: 10px 30px;
  margin-right: 15px;
  color: #fff;
  vertical-align: center;
  font-style: normal;
}

.topsec_11 h3.wp-block-heading em {
  font-size: 1rem;
  background-color: #334B6C;
  padding: 10px 30px;
  margin-right: 15px;
  color: #fff;
  vertical-align: center;
  font-style: normal;
}


.wpp-views,
.wpp-date {
  font-size: 0.8rem;
}

/* ---------- ブログのボタン ---------- */
.article-list-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: 0.2s ease;

}

.article-list-wrap {
  text-align: right;
  position: relative;
  top: -80px;
}

.article-list-wrap {
  display: flex;
  justify-content: flex-end;
}

.article-list-btn i {
  color: #f04a23;
  font-size: 14px;
}

.article-list-btn:hover {
  background: #f7f7f7;
  color: #333;
  text-decoration: none;
}

.article-list-wrap {
  .svg-inline--fa {
    color: #175AA3;
  }
}

@media (min-width: 681px) {}

@media (max-width: 680px) {
  .article-list-wrap {
    top: -66px;
  }

  .topsec_11 h3.wp-block-heading {
    text-align: center;
    border-bottom: 0px solid #fff;
    margin-right: 0px;
    margin-bottom: 0px !important;
  }

  .topsec_11 h3.wp-block-heading em {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }

  .wpp-list {
    padding-left: 0px;
  }

  .wpp-thumbnail {
    width: 110px;
  }
}

/* ------------ コンテンツ ------------ */
.sec_box1 h3 {
  padding: 10px 15px;
  color: #333333;
  background: #ffffff;
  border: 1px solid #98C9FF;
  box-shadow: 5px 5px 0 #F0F8FF;
}

.sec_box1_1 h3 {
  padding: 10px 15px;
  color: #333333;
  background: #fff;
  border: 1px solid #ffe9ab;
  box-shadow: 5px 5px 0 #fdf7e6;
}

.sec_box1 h4 {
  margin-top: 25px !important;
  margin-bottom: 10px !important;
  background-color: #f0f8ff;
  padding: 15px 15px 15px 30px;
  border-top: 1px solid #a7d6ff;
}

.sec_box1_1 h4 {
  margin-top: 25px !important;
  margin-bottom: 10px !important;
  background-color: #FFFAEB;
  padding: 15px 15px 15px 30px;
  border-top: 1px solid #fff0c8;
}

.sec_item2 h2 {
  border-bottom: 1px solid #333;
  text-align: center;
}

.item1_1 h2 strong {
  color: #FF7300;
}

.sec_item3 h3 {
  margin: 20px 0 5px;
  padding: 10px;
  background-color: #334B6C;
  color: #fff;
  text-align: center;
}

.col_box1_1 {
  background-color: #fffaf0;
}

.col_box1_2 {
  background-color: #edfcfd;
}

.col_box1_1,
.col_box1_2 {
  padding: 15px;
  text-align: center;
}

.col_box1 .c-row>.c-row__col {
  margin-bottom: 0px;
}

.sec_legal_box1 {
  background-color: #fff;
}

#content .sec_legal_box1 h3 {
  display: flex;
  align-items: center;
  padding: .5em .7em;
  background-color: #f5f5f5;
  color: #222;
  font-size: 1.4rem !important;
}

.sec_legal_box1 h3::before {
  display: inline-block;
  width: 5px;
  height: 1.5em;
  margin-right: .5em;
  background-color: #288BCE;
  content: '';
}

#content .sec_legal_box1 ul li {
  font-size: 16px;
}

ul:not(.wp-block-social-links).is-style-vk-check-square-mark li::before {
  color: #FF7300;
}

.fnt_box1 {
  font-family: "Noto Serif JP", serif;
}

.fnt_box2 {
  margin-top: 0px !important;
}

.sec_box1 p,
.sec_box1_1 p {
  margin-top: 15px !important;
  margin-bottom: 30px !important;
}


.fnt_box1 {
  color: #175AA3;
  font-weight: bold;
}

.no_link1 {
  pointer-events: none
}

@media (min-width: 1200px) {
  .lawyer_sec11 .smb-section__contents-wrapper {
    width: 1200px;
  }
}

@media (min-width: 768px) {
  .sns_icon1 {
    position: absolute;
    top: 78px;
    left: 210px;
  }

  .legal_box11 {
    padding: 50px;
  }

  .nagare_sec1 .wp-block-snow-monkey-blocks-step {
    padding: 50px 80px;
    background-color: #fff;
  }

  .cover_11 strong {
    font-size: 36px;
    font-family: "Noto Serif JP", serif;
  }

  .sec_legal_box1 strong {
    font-size: 18px;
  }

  .legal_box1 ul.wp-block-list {
    padding: 30px 30px 30px 80px !important;
    background-color: #F0F8FF;
    margin-right: -100px;
    position: relative;
    z-index: 100;
    border: 5px solid #fff;
  }

  .legal_box2 ul.wp-block-list {
    padding: 30px 30px 30px 80px !important;
    background-color: #F0F8FF;
    margin-left: -100px;
    border: 5px solid #fff;
  }

  .nagare_sec2 .smb-section__body {
    background-color: #fff;
    padding: 40px 50px;
  }

  /*.sec_legal_box1 ul.wp-block-list {
    margin-left: 23px;
  }*/

  .legal_box3_p1 {
    padding: 30px !important;
    background-color: #F0F8FF;
    margin-right: -100px;
    position: relative;
    z-index: 100;
    border: 5px solid #fff;
  }

  .sec_legal1 ul {
    display: flex;
    flex-wrap: wrap;
  }

  .sec_legal1 ul li {
    width: 50%;
  }

  .col_box1_1 img,
  .col_box1_2 img {
    width: 70%;
    margin: auto;
    padding: 15px 0;
  }

  .sec_box1 p,
  .sec_box1_1 p {
    padding-right: 30px;
    padding-left: 30px;
  }

  .fnt_box1 {
    font-size: 2.2rem !important;
    color: #175AA3;
    font-weight: bold;
  }
}

@media (max-width: 680px) {
  .lawyer_sec11 .smb-section-break-the-grid__content--p-l {
    margin-top: -20px;
  }

  .sns_icon1 {
    position: absolute;
    top: 66px;
    left: 150px;
    width: 30px;
  }

  .smb-items {
    padding-right: 0px;
    padding-left: 0px;
  }

  .sec_box1 h4 {
    padding-left: 15px !important;
  }

  .company_sec11 .smb-section-break-the-grid__content {
    margin-top: -20px !important;
  }

  .ft_contact1 .ft_tel_11 .vk_button .vk_button_link {
    display: contents;
  }

  .legalaffairs_sec11.wp-block-snow-monkey-blocks-section-with-bgimage {
    padding-top: 0 !important;
  }

  .legalaffairs_sec11 h2 {
    writing-mode: vertical-rl;
    margin: auto;
    text-align: justify;
    line-height: 200%;
  }

  .nagare_sec1 .wp-block-snow-monkey-blocks-step {
    background-color: #fff;
    padding: 15px;
  }

  .nagare_sec1 .wp-block-snow-monkey-blocks-step img {
    width: 60%;
    margin: auto;
  }

  .nagare_sec2 .smb-section__body {
    background-color: #fff;
    padding: 15px;
  }

  .item1_1 h2 {
    text-align: center;
  }

  .item1_1 .p_ai11 {
    text-align: center;
    font-size: 1.2rem;
  }

  .fnt_box1 {
    font-size: 1.6rem !important;
    font-weight: bold;
  }

  .price_link_box1 .wp-block-columns {
    --wp-column-gap: 0.2rem;
  }

  .price_link_box1 .vk_button .vk_button_link.btn {
    text-align: left;
  }

  .lawyer_sec11 .smb-section-break-the-grid__content--p-l {
    padding-left: 20px;
    padding-right: 20px;
  }

  p.jyuten_p1 {
    width: 92%;
    margin: auto;
  }
}

/* ------------ フッターAD ------------ */

.vk_button .vk_button_link_before {
  margin-right: .2rem !important;
}

.ft_contact1 {}

.ft_p1,
.ft_p2 {
  font-size: 0.9rem !important;
}

.ft_p1 {
  margin-top: 0px !important;
}

.ft_p2 {
  margin: 0px !important;
  background-color: #fff;
  color: #333;
  padding: 1px 5px 3px;
  width: 360px;
  margin: auto !important;
  margin-top: 20px !important;
  margin-bottom: -20px !important;
  font-weight: 600;
}

.ft_tel1 a {
  font-size: 2rem !important;
  text-decoration: none;
  font-weight: 600;
}

.ft_tel1 a:hover {
  border: none !important;
  box-shadow: 0 0 0 !important;
  color: #ffee03 !important;
  opacity: 1 !important;
}

.ft_contact1 .vk_button .vk_button_link {
  min-width: 0px !important;
}

.ft_contact1 .fa-phone {
  font-size: 1.4rem;
}

.ft_btm_11 a {
  width: 360px;
}

.wp-block-vk-blocks-button p {
  display: none;
}


@media (max-width: 680px) {
  .ft_p2 {
    width: 100% !important;
  }

  .ft_contact1 .vk_button .vk_button_link {
    width: 100%;
  }

}

/* ------------ ブロック ------------ */

.wp-block-spacer {
  margin-top: 0px !important;
}

.c-postTerms__link {
  font-size: 12px;
}

.is-style-vk-heading-solid_bottomborder_black {
  border-bottom: solid 1px #9CBBE5 !important;
}

.is-vertically-aligned-top>.wp-block-media-text__content {
  margin-top: 0;
}

@media (max-width: 680px) {
  .c-container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .wp-block-snow-monkey-blocks-items-item-free {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .wp-block-media-text__content {
    padding-right: 0px !important;
    padding-left: 0px !important;
  }

  /*:is(.wp-block-details, .wp-block-quote, .wp-block-column, .wp-block-media-text__content, .wp-block-cover__inner-container, .wp-block-group__inner-container:where(:not(.is-layout-grid)))>:not(:first-child) {
    margin-top: 0px;
  }*/
}

/* ------------ プライバシーポリシー ------------ */
.pp_sec1 h3 {
  font-size: 1.1rem !important;
  margin: 40px 0 10px;
  color: #175AA3;
  border-bottom: 1px solid #175AA3;
  padding-bottom: 10px;
}

.pp_sec1 h3.wp-block-heading span {
  font-size: 1.1rem !important;
}

.pp_sec1 p,
.pp_sec1 ul {
  margin-left: 15px;
}


/* ------------ サイドバー ------------ */
#sidebar h2,
#sidebar .c-widget__title {
  background-color: #90C31F;
  padding: 8px 8px 10px 15px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px !important;
  margin-bottom: 15px;
}

#sidebar h2,
#sidebar .c-widget__title {
  display: flex;
  align-items: center;
  padding: .7em .8em;
  background-color: #f9f9f9;
  color: #003399;
  font-size: 16px;
  border-left: 5px solid #003399;
  margin-bottom: 15px;
  border-radius: 10px;
}

.wp-block-latest-posts__post-title {
  font-size: 16px !important;
}

#sidebar .wp-block-image img {
  max-width: 80%;
}

/* ------------ 投稿 ------------ */

body.single #content h1.c-pageTitle__main {
  font-size: 2rem !important;
}

body.single #content h2.wp-block-heading {
  font-size: 1.6rem !important;
  border-left: 10px solid #334B6C;
  padding: 8px 10px;
  color: #334B6C;
  line-height: 100%;
}

body.single #content h3.wp-block-heading {
  font-size: 1.4rem !important;
}

#content h2.c-bottomSection__title {
  font-size: 1.4rem !important;
  background-color: #f5f5f5;
  padding: 10px 10px 10px 20px;
}

/* ------------ プライバシーポリシー ------------ */
.pp_box1{
  background-color: #f9f9f9;
  padding: 30px;
}

body.page-id-3 #content h2{
  font-size: 1.4rem !important;
}
body.page-id-3 #content h3{
  font-size: 1.2rem !important;
}

:root :where(.wp-block-list.is-style-sme-ordered-list-circle) :where(li)::before {
  top: calc(var(--_half-leading)*1rem/0.62) !important;
}

@media (min-width: 768px) {
  body.page-id-3 #main_content ul{
    margin-left: 30px;
  }
}

/* ------------ フッター ------------ */
.widget_nav_menu .menu {
  border-bottom: 0;
  border-top: 0;
}

.widget_nav_menu .menu-item {
  border-bottom: 0;
}

h2.widgettitle {
  border-bottom: 1px dotted #333;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .ft_box1 ul {
    display: flex;
    flex-wrap: wrap;
  }

  .ft_box1 ul li {
    width: 50%;
  }
}

/* ------------ 問い合わせフォーム ------------ */

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #FFF;
  text-align: center;
  color: #ff0000;
  background-color: #fff0ee;
}

.wpcf7-list-item-label {
  font-size: 0.9rem;
  color: #333;
}

#form1>p.formb1>span>span>span>label>input[type=checkbox] {
  width: 15px;
  /* デフォルトは約13〜15px。ここで大きさを指定 */
  height: 15px;
  transform: scale(1.3);
  /* 拡大倍率で微調整も可能 */
  cursor: pointer;
  /* マウスカーソルをポインターに変更 */
}

.iframe_box1 {
  border: solid 1px #ccc;
  width: 100%;
  height: 270px;
  padding: 1.5em;
  overflow: auto;
  margin-top: 10px;
}

.iframe_box1_1 h4 {
  font-size: 1rem !important;
}

.iframe_box1 p {
  font-size: 0.8rem;
}

.iframe_box1 strong {
  display: block;
  margin: 10px 0;
  color: #111 !important;
}

.iframe_box1 ol {
  padding: 10px 0 10px 30px;
}

.toi_box1 {
  font-size: 0.8rem;
  padding: 10px;
}

.wpcf7 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0px solid #ddd !important;
  background: #fff !important;
  font-size: auto !important;
}

.wpcf7 form {
  margin: 0 !important;
}

.textbox1 input.wpcf7-form-control.wpcf7-text {
  width: 240px;
  margin-left: 5px;
}

#form1 {
  overflow: hidden;
}

#form1 table {
  background-color: #fff;
}

#form1 th,
#form1 td {
  padding: 20px !important;
}

#form1 th {
  position: relative;
  width: 35%;
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

div.wpcf7 .wpcf7-spinner {
  display: block;
}

#form1 .form_1 {
  background-color: #f39800;
  padding: 10px;
  color: #fff;
  text-align: center !important;
  margin-bottom: 20px;
}

#form1 .color-botton01 {
  width: 220px;
  margin: 20px auto;
  padding: 15px 5px;
  background-color: #f39800;
  text-align: center;
  border-radius: 30px;
}

#form1 .color-botton01 a {
  color: #fff;
}

@media (min-width: 768px) {
  .wpcf7 {
    width: 100% !important;
  }

  .toi_box1 {
    text-align: center;
  }
}

.wpcf7 {
  margin: 0px auto !important;
  padding: 0px !important;
  padding-bottom: 0px !important;
}

span.wpcf7-list-item {
  display: block !important;
  margin: 0 0 0 1em;
  width: 100%;
}

.must {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 40px;
  height: 20px;
  margin-top: -10px;
  padding: 0;
  background: #DD0000;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-size: 12px;
  font-weight: normal;
}

.must1 {
  margin-top: -15px;
  background: #DD0000;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-weight: normal;
  padding: 1px 7px 2px;
  font-size: 10px;
}

.free {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 40px;
  height: 20px;
  margin-top: -10px;
  padding: 0;
  background: #999;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-size: 12px;
  font-weight: normal;
}

.free1 {
  width: 40px;
  padding: 2px 7px;
  background: #999;
  text-align: center;
  color: #FFF;
  font-size: 12px;
  margin: 0 5px;
}

input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 8px 15px;
  margin-right: 10px;
  margin-top: 10px;
  border: 1px solid #d0d5d8;
  border-radius: 3px;
}

textarea.wpcf7-form-control.wpcf7-textarea {
  height: 200px;
}

input.wpcf7-submit {
  padding: 10px 80px;
  background: #ff7b00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.formb1 {
  padding: 20px;
  margin-top: 20px;
  font-size: 0.9rem;
  background-color: #ffefd6;
  text-align: center;
}

.formb2,
.formb3 {
  margin-top: 10px;
  text-align: center;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
  color: red;
  font-weight: 600;
}

.wpcf7-form-control.wpcf7c-btn-confirm {
  width: 350px;
  padding: 15px !important;
  color: #fff;
  font-size: 30px !important;
  font-weight: 600;
  border-radius: 50px !important;
  margin-top: 30px !important;
  background: #ffc86a !important;
  background: -moz-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
  background: -webkit-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
  background: linear-gradient(to bottom, #ffc86a 0%, #f39800 100%) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc86a', endColorstr='#f39800', GradientType=0) !important;
}

/* ---------- 入力してください。を上部へ フォーム全体 ---------- */
.wpcf7-form p {
  position: relative;
}

/* エラーメッセージ本体 */
.wpcf7-not-valid-tip {
  position: absolute;
  top: -1.6em;
  left: 0;
  color: #e60000;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
  white-space: nowrap;
}

/* 入力欄に少し余白を確保（重なり防止） */
.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-not-valid-tip {
  margin-top: 10px;
}

.toi_select1 p {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.toi_select1 input.wpcf7-text {
  width: auto;
  max-width: 200px;
}

.toi_select1 .wpcf7-text {
  width: 100% !important;
}

/* 単位付き入力行 */
.toi_select1 p {
  display: flex;
  align-items: center;
  /* ← これが決定打 */
  gap: 8px;
  margin: 0;
}


/* ---------- ボタンデザイン ---------- */

/* ボタンを中央寄せする */
.btn_click1_wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

/* ボタン本体 */
.wpcf7-submit.btn_click1 {
  padding: 14px 36px 14px 58px;
  /* 左余白を広くする（アイコン用） */
  background: #f7931e;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: .3s ease;
  position: relative;
  font-size: 1.3rem;
  border: 5px solid #FF6347;
}

/* アイコン（ラッパーに付ける ::before） */
.btn_click1_wrap::before {
  content: "\f0a4";
  /* 紙飛行機アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: calc(50% - 140px);
  /* ボタンの左位置に合わせる */
  top: 40%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: #fff;
  pointer-events: none;
  z-index: 5;
}

/* ホバー */
.wpcf7-submit.btn_click1:hover {
  background: #FF6347;
}


@media only screen and (max-width:480px) {
  #form1 {
    width: 96%;
    margin: auto;
  }

  #form1 th,
  #form1 td {
    width: 100% !important;
    display: block;
    border-top: none;
  }

  #form1 tr:first-child th {
    border-top: 1px solid #ddd;
  }

  .kojin_box {
    padding: 10px !important;
  }

  span.wpcf7-list-item {
    margin: 0em;
  }
}


/* ---------- 人気記事 ---------- */
a.wpp-post-title {
  text-decoration: none;
  color: #333;
}


/* ---------- 記事一覧全体 ---------- */
.custom-post-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

/* ---------- 各行 ---------- */
.custom-post-list .post-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

/* ---------- 日付 ---------- */
.custom-post-list .post-date {
  font-size: 0.9em;
  min-width: 120px;
  margin-right: 15px;
  color: #666;
}

/* ---------- タイトルエリア ---------- */
.custom-post-list .post-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- タイトルリンク ---------- */
.custom-post-list .post-title a {
  font-size: 16px;
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

.custom-post-list .post-title a:hover {
  color: #0073aa;
}

/* ---------- NEWマーク ---------- */
.custom-post-list .new-label {
  background: #e60012;
  color: #fff;
  font-size: 0.65em;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ---------- カテゴリ共通 ---------- */
.custom-post-list .post-category {
  font-size: 0.7em;
  padding: 2px 6px;
  border-radius: 3px;
  color: #fff;
  white-space: nowrap;
  width: 100px;
  text-align: center;
}

/* ---------- カテゴリ別色 ---------- */
/* お知らせ */
.custom-post-list .cat-news {
  background: #0073aa;
}

/* セミナーのご紹介 */
.custom-post-list .cat-seminar {
  background: #28a745;
}

/* セミナーのご紹介 */
.custom-post-list .cat-blog {
  background: #d37f20;
}

/* その他（予備） */
.custom-post-list .cat-other {
  background: #d2691e;
}

/* ---------- 独自投稿 ---------- */
.zkx91-postunits-wrap {
  width: 100%;
}

.zkx91-postunits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zkx91-postunits-item {
  width: 100%;
  margin: 0;
  padding: 0;
}

.zkx91-postunits-link {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.zkx91-postunits-thumb {
  flex: 0 0 auto;
  width: var(--zkx91-thumb-width, 170px);
  max-width: 100%;
  overflow: hidden;
  background: #f3f3f3;
}

.zkx91-postunits-thumbimg {
  display: block;
  width: 100%;
  height: var(--zkx91-thumb-height, 120px);
  object-fit: cover;
}

.zkx91-postunits-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--zkx91-thumb-height, 120px);
  background: #ececec;
  color: #777;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.zkx91-postunits-body {
  flex: 1 1 auto;
  min-width: 0;
}

.zkx91-postunits-title {
  margin: 0 0 10px;
  line-height: 1.5;
  font-weight: 500;
  color: #333;
  word-break: break-word;
  font-size: 18px !important;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500 !important;
}

.zkx91-postunits-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #777;
}

#content h3.zkx91-postunits-title {
  font-size: 18px !important;
}

.zkx91-postunits-date,
.zkx91-postunits-views {
  display: inline-block;
  font-size: 14px;
}

.zkx91-postunits-link:hover .zkx91-postunits-title {
  text-decoration: underline;
}

.zkx91-postunits-empty {
  margin: 0;
}

/* Google風ページネーション */
.zkx91-postunits-pagination {
  margin-top: 30px;
}

.zkx91-postunits-pagination-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zkx91-postunits-pagination-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zkx91-postunits-pagination-item a,
.zkx91-postunits-pagination-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}

.zkx91-postunits-pagination-item a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.zkx91-postunits-pagination-item .current {
  border-color: #333;
  background: #333;
  color: #fff;
}

.zkx91-postunits-pagination-item .dots {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 4px;
}

.zkx91-postunits-pagination-item .prev,
.zkx91-postunits-pagination-item .next {
  padding: 0 14px;
}

@media (max-width: 767px) {
  .custom-post-list .post-item {
    display: block;
  }

  .zkx91-postunits-link {
    gap: 12px;
  }

  .zkx91-postunits-thumb {
    width: 110px;
  }

  .zkx91-postunits-thumbimg,
  .zkx91-postunits-noimg {
    height: 78px;
  }

  .zkx91-postunits-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .zkx91-postunits-meta {
    font-size: 12px;
    gap: 6px 10px;
  }

  .zkx91-postunits-pagination {
    margin-top: 24px;
  }

  .zkx91-postunits-pagination-list {
    gap: 5px;
  }

  .zkx91-postunits-pagination-item a,
  .zkx91-postunits-pagination-item span {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
    padding: 0 8px;
  }

  .zkx91-postunits-pagination-item .prev,
  .zkx91-postunits-pagination-item .next {
    padding: 0 10px;
  }
}

/* ---------- フッター固定メニュー ---------- */
/* --- スマホのみ表示 --- */
@media (max-width: 768px) {

  .footer-fixed-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 2px solid #eee;
    z-index: 9999;
    transition: transform 0.3s ease;
  }

  /* 1段目：タイトル */
  .f-fixed-nav-title {
    text-align: center;
    background: #008B8B;
    color: #fff;
    font-size: 15px;
    padding: 8px 0;
    font-weight: bold;
    border-bottom: 1px solid #fff;
  }

  /* 2段目：ボタン3つ並び */
  .f-fixed-nav-contens {
    display: flex;
    width: 100%;
  }

  .f-fixed-nav-contens .nav-item {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
  }

  .f-fixed-nav-contens .nav-item i {
    display: block;
    font-size: 24px;
    margin-bottom: 3px;
  }

  .f-fixed-nav-contens span {
    font-weight: 600;
  }

  /* カラー設定 */
  .nav-item.tel {
    background: #1e90ff;
  }

  .nav-item.mail {
    background: #FD6DCD;
  }

  .nav-item.line {
    background: #00C854;
  }

  /* スクロールで消える動作 */
  .footer-fixed-nav.hide {
    transform: translateY(100%);
  }
}

/* PCでは非表示 */
@media (min-width: 769px) {
  .footer-fixed-nav {
    display: none;
  }
}