/*
Theme Name: 中島綜合法律事務所
Theme URI: https://nakashima-legal.com/
Template: arkhe
Author: LOOS,Inc.
Author URI: https://nakashima-legal.com/
Description:
Tags:
Version: 1.00
Updated: 2025-12-18

*/

/* ---------- ベース ---------- */

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

h1,
h2,
h3,
h4,
h5 {
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
}

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

.smb-section__contents-wrapper p:not(:first-of-type) {
  margin-top: 15px;
}

@media (min-width: 768px) {
  h2 strong,
  h3 strong,
  h3 strong {
    font-size: 130%;
  }
}

@media (max-width: 767px) {
  h2 strong,
  h3 strong,
  h3 strong {
    font-size: 110%;
  }
}

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

.l-header__body .c-gnavWrap {
  position: relative;
  z-index: 1;
  background-color: #EEF4FA;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.c-gnav {
  width: 1200px !important;
  margin: auto !important;
}

/* 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: 10px auto;
    /* 中央揃え */
  }

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

  /* ナビゲーションのラップ（中央揃え、固定幅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: 640px;
    /* 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;
    color: #222;
    /* TEL番号と営業時間を縦並びに */
  }

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

  }

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

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

  /*.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-family: "Noto Sans Japanese";
    text-decoration: none;
    color: #00008b;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    border: 1px solid #00008b;
    font-weight: 700;
    background-color: #ffffffa6;
  }

  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: #ffa500;
    color: #FFF;
    border: 1px solid #ff8c00;
  }

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

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

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

  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 #8EB2E1;
  }

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

  .menu_last a {
    border-right: 1px solid #8EB2E1;
  }
}

@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 (min-width: 1000px) {
  [data-scrolled="false"] body.home .l-header__right {
    display: none;
  }

  [data-scrolled="false"] .l-header__body_b1 {
    position: relative;
    z-index: 1;
    background-color: #EEF4FA;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }

  [data-scrolled="true"] .l-header__body_b1 {
    display: none;
  }

  [data-scrolled="false"] .l-header__right_b1 {
    max-width: 1200px;
    width: 100%;
    text-align: right;
    margin: 0 auto;
  }
}


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

  .l-header__body_b1 {
    display: none;
  }
}

@media (min-width: 768px) {
  .chukai_menu .__mainText {
    font-size: 0.8rem !important;
    margin-top: -3px;
  }

  .chukai_menu .__subText {
    font-size: 0.5rem;
  }
}

/* ---------- スマホTEL ---------- */
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: #000;
    font-size: 1.5rem !important;
  }
}

.mainimg_box1 strong {
  font-size: 120%;
  color: #FAEE00;
}

.mainimg_box2 strong {
  color: #FAEE00;
}

/* ---------- タイトル関連 ---------- */

h3.h3_title1 {
  padding: 15px;
  text-align: center;
  color: #243A5E;
  border: 1px solid #243A5E;
  box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.2);
}

.busines_item1 h3 {
  display: flex;
  align-items: center;
  padding: .5em .7em;
  background-color: #f6faff;
  color: #243A5E;
}

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

@media (min-width: 768px) {
  h2 {
    font-size: 2rem !important;
  }

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

/* ---------- 弁護士紹介 ---------- */
.law_box1 .smb-information__item__label {
  background-color: #243A5E;
  color: #fff;
}

.law_box1 .smb-information__item__body {
  background-color: #EEF4FA;
}

.ul_list1 strong {
  font-weight: 400;
  display: block;
  width: 100%;
  color: #2F6DB3;
  border-bottom: 1px dotted #999;
  padding-bottom: 10px;
}

@media (min-width: 768px) {
  ul.ul_list1 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 50px;
    /* 縦・横のスペース */
  }

  ul.ul_list1 li {
    width: calc(50% - 50px);
    /* gap の半分を差し引く */
  }

  ul.ul_list1 li ul li {
    width: 100%;
    /* gap の半分を差し引く */
  }
}

/* ---------- 弁護士報酬 ---------- */
.price_p1 {
  text-align: center;
}

.is-style-boundary-line.smb-items>.c-row>.c-row__col {
  border-left: 1px solid #ffffff;
}

.fee_sec1 .wp-block-snow-monkey-blocks-items-item-free {
  border-left: 1px solid #fff !important;
}

/* ---------- 取扱業務 ---------- */
.busines_item1 {
  margin-bottom: 80px;
}

.list_em1 em {
  font-weight: 600;
  font-style: normal;
}

.busines_sec1 h3 {
  position: relative;
  padding: 0.5em 0.5em 0.3em 0.7em;
  font-size: 1.3rem !important;
  border: 1px solid #243A5E;
  border-left: 5px solid #243A5E;
  color: #243A5E;
}

.busines_sec1 h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}

.busines_sec1 .wp-block-image {
  margin-top: 20px;
}

.business_item1 {}

.business_box1 {
  padding: 30px 20px 20px;
}

.l-main__body>.c-postContent {
  margin-top: 2rem;
}

.l-main__body>.c-postContent p:not(:first-of-type) {
  margin-top: 0.5rem;
}

.p-postList .p-postList__thumb {
  display: none;
}

#breadcrumb span.p-breadcrumb__text {
  font-size: 12px !important;
}

#breadcrumb a.p-breadcrumb__text span {
  font-size: 12px !important;
}

@media (max-width: 480px) {
  .smb-section__background-text__text {
    font-size: 3rem !important;
  }

  .business_link_menu .vk_button .vk_button_link.btn {
    width: 100%;
  }

  .business_link_menu .wp-block-columns {
    --wp-column-gap: 0.5rem;
  }
}

/* ---------- パーツベース ---------- */
.sp_1 {
  margin-top: 30px;
}

/* ---------- トップ ---------- */
.top_sec1 p{
  font-size: 1.2rem !important;
}

/* ---------- トップ新着情報 ---------- */
.ln-wrap {
  font-size: 14px;
}

/* ブロック */
.ln-block {
  margin-bottom: 30px;
  border: 1px solid #243A5E;
}

/* 上部帯 */
.ln-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #243A5E;
  color: #fff;
}

.ln-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ln-sub {
  opacity: .9;
}

.ln-note {
  opacity: .9;
  font-size: 18px !important;
  border-left: 5px solid #fff;
  line-height: 100%;
  padding: 2px 3px 6px 7px;
}

/* タブ */
.ln-tabs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ln-tabs li {
  cursor: pointer;
  font-size: 12px !important;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 2px;
  white-space: nowrap;
}

.ln-tabs li.is-active {
  background: #d3b35b;
  border-color: #d3b35b;
  color: #222;
}

/* 一覧 */
.ln-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
}

.ln-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px dotted #959595;
}

.ln-item:last-child {
  border-bottom: none;
}

/* カテゴリラベル */
.ln-badge {
  min-width: 250px;
  text-align: center;
  color: #fff;
  font-size: 12px !important;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

/* 日付 */
.ln-date {
  width: 92px;
  color: #333;
  white-space: nowrap;
  font-size: 14px !important;
  margin-top: 2px;
}

/* タイトル＋本文 */
.ln-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ln-link {
  color: #0b3b66;
}

a.ln-link {
  text-decoration: none;
  font-size: 14px !important;
  margin-top: 2px;
}

.ln-excerpt {
  font-size: 13px !important;
  color: #555;
  line-height: 1.5;
}

/* SP */
@media (max-width:640px) {
  .ln-topbar {
    display: block !important;
  }

  .ln-tabs li {
    padding: 3px !important;
  }

  .ln-item {
    display: block;
    gap: 10px;
  }

  .ln-badge,
  .ln-date {
    display: block !important;
    width: 100% !important;
  }

  .ln-date {
    width: auto;
  }

  .ln-badge {
    min-width: auto;
  }
}

/* ---------- スマホメニュー ---------- */

.p-drawer {
  background: #243A5E;
}

/* ---------- サイド ---------- */

#sidebar {
  background-color: #F4F6FB;
  padding: 30px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

#sidebar h2 {
  background-color: #fff;
  padding: 10px;
  border-left: 5px solid #196DA8;
  font-size: 1rem !important;
  font-weight: normal;
  box-shadow: 2px 2px 4px #eee;
  font-family: "Noto Sans JP", sans-serif;
}

.wp-block-search__label {
  background-color: #fff;
  padding: 10px;
  border-left: 5px solid #243A5E;
  font-size: 1rem !important;
  width: 100%;
  display: block;
  margin-bottom: 10px;
  box-shadow: 2px 2px 4px #eee;
}

.c-widget__title {
  background-color: #fff;
  padding: 10px;
  border-left: 5px solid #196DA8;
  font-size: 1rem !important;
  font-weight: normal;
  box-shadow: 2px 2px 4px #eee;
}

@media (max-width: 680px) {
  #sidebar {
    padding: 15px;
  }
}

/* ---------- フッター ---------- */
.footer_col1 h2 {
  font-size: 1.1rem !important;
  border-left: 5px solid #243A5E;
  padding-left: 10px;
}

.widget_nav_menu .menu {
  border-top: 0px solid #fff !important;
}

/* ---------- 弁護士紹介 ---------- */

@media (max-width: 600px) {
  .lawyer_sec1 .wp-block-media-text__media {
    width: 50% !important;
    margin: auto !important;
  }
}

/* ---------- コラム ---------- */

#main_content .column_box11 {
  overflow: hidden;
}

#main_content .column_box12 {
  margin-top: 50px;
}

#main_content .column_box13 {
  margin-top: 30px;
  margin-bottom: 30px;
}

body.page-template-two-column #main_content h2 {
  position: relative;
  padding: 0.5em 0.5em 0.5em 1em;
  background: #E2EDFF;
  color: #243A5E;
  font-size: 1.3rem !important;
  border: 1px solid #196DA8;
}

body.page-template-two-column #main_content h2::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}

#main_content .column_box12 h3 {
  display: flex;
  align-items: center;
  padding: .4em .7em;
  background-color: #196DA8;
  color: #fff;
  font-size: 1.3rem !important;
  line-height: 100%;
}

#main_content .column_box12 h3::before {
  display: inline-block;
  width: 5px;
  height: 1.4em;
  margin-right: .5em;
  background-color: #fff;
  content: '';
}

#main_content h1.c-pageTitle__main {
  display: flex;
  align-items: center;
  padding: .6em .7em;
  color: #fff;
  font-size: 1.3rem !important;
  line-height: 100%;
  border: 1px solid #5478b1;
  width: 100%;
  background-color: #243A5E;
  /*	box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.2);*/
}

#main_content h1.c-pageTitle__main::before {
  display: inline-block;
  width: 5px;
  height: 1.4em;
  margin-right: .5em;
  background-color: #fff;
  content: '';
}

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

body.single #main_content h2 {
  font-size: 1.2rem !important;
  background-color: #196DA8;
  color: #fff;
  padding: 8px 8px 5px 12px;
  border-radius: 15px;
}

.sec_column1 h4 {
  font-size: 1.1rem !important;
  background-color: #EEF4FA;
  padding: 5px;
  text-align: center;
}

.sec_column1 .wp-block-latest-posts__post-excerpt {
  font-size: 0.8rem;
}

.sec_column1 .vk_button_link {
  border: 1px solid #ddd !important;
}


@media (min-width: 768px) {
  #main_content .column_box11 img {
    width: 350px;
    float: left;
  }

  body.single ul.wp-block-list {
    margin: 15px 0 15px 20px;
  }

  body.single p {
    margin-right: 15px;
    margin-left: 15px;
  }

  .sec_column1 .wp-block-image img {
    width: 240px;
  }
}

/* ---------- 取扱業務 ---------- */

body.category #main_content h2 {
  font-size: 1.3rem !important;
  background-color: #f9f9f9;
  padding: 10px 20px;
  border-top: 3px solid #243A5E;
}

/* ---------- プライパシーポリシー ---------- */
.pp_sec1 h2 {
  font-size: 1.2rem !important;
  margin: 30px 0 10px;
}

@media (min-width: 768px) {
  .pp_sec1 p {
    margin-left: 30px;
  }

  .pp_sec1 ul {
    margin-left: 30px;
  }
}

/* ---------- ブロック ---------- */
.wp-block-spacer {
  margin-top: 0px !important;
}

@media (max-width: 480px) {
  .smb-container__body {
    width: 100% !important;
  }

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

  .c-container {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  .smb-section-break-the-grid__content--p-l {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* ---------- NEWSマークがつく記事一覧 ---------- */
/* 記事のリスト全体のスタイル */
.custom-post-list {
  list-style-type: none;
  padding: 0;
  margin: 20px;
}

/* 各記事のスタイル */
.custom-post-list .post-item {
  display: flex;
  justify-content: flex-start;
  /* 項目を左揃えに */
  align-items: flex-start;
  /* 項目を上揃えに */
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

/* 日付のスタイル */
.custom-post-list .post-date {
  font-size: 0.9em;
  color: #666;
  margin-right: 20px;
  /* タイトルとの間に余白を追加 */
  min-width: 100px;
  /* 日付の最小幅を指定して揃えやすくする */
  align-self: center;
  /* 日付を中央揃え */
}

/* コンテンツ部分のスタイル */
.custom-post-list .post-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* 記事タイトルのリンクスタイル */
.custom-post-list .post-title a {
  font-size: 1em;
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}

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

/* NEWマークのスタイル */
.custom-post-list .new-label {
  background-color: red;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8em;
  margin-right: 10px;
  align-self: center;
  /* NEWマークを中央揃え */
}

/* 詳細部分のスタイル */
.custom-post-list .post-details {
  font-size: 0.85em;
  color: #999;
  margin-top: 5px;
}

/* ----- フッター固定ナビ スマホ対応 ----- */
/*メニューをページ下部に固定*/
#footer-fixed-menu {
  position: fixed;
  bottom: 0px;
  font-size: 0;
  opacity: 0.94;
  z-index: 99;
}

/*メニューを横並びにする*/
#footer-fixed-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

#footer-fixed-menu li {
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

/*左側メニューを緑色に*/
#footer-fixed-menu li:nth-child(1) {
  background: #0066FF;
}

/*左側メニューをオレンジ色に*/
#footer-fixed-menu li:nth-child(2) {
  background: #339900;
}

/*左側メニューをオレンジ色に*/
#footer-fixed-menu li:nth-child(3) {
  background: #f3a324;
}

/*ボタンを調整*/
#footer-fixed-menu li a {
  color: #fff;
  text-align: center;
  display: block;
  width: 100%;
  padding: 10px 5px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
}

#footer-fixed-menu .svg-inline--fa {
  display: var(--fa-display, inline-block);
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
  font-size: 1.5rem;
  margin-right: 5px;
}

@media (min-width: 751px) {
  #footer-fixed-menu {
    display: none;
  }

  #footer-fixed-menu ul {
    display: inline-table;
    padding-left: 5px;
  }

  #footer-fixed-menu li {
    width: 200px;
    border: 1px solid #fff;
    margin-bottom: 2px;
  }
}

@media (max-width: 768px) {
  #footer-fixed-menu {
    padding-bottom: 0px;
    width: 100%;
  }

  #footer-fixed-menu ul {
    display: flex;
  }

  #footer-fixed-menu li {
    width: 50%;
    border-right: 1px solid #fff;
  }

  #footer-fixed-menu ul {
    width: 100% !important;
  }

  #footer-fixed-menu li a {
    font-size: 1.1rem !important;
    padding: 10px 5px;
  }

  #footer-fixed-menu .svg-inline--fa {
    font-size: 1.6rem;
    /*display: block;*/
    margin: auto;
    margin-bottom: 5px;
    vertical-align: middle;
  }
}

@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

[id^="bfb_content_"] .bfb_closed {
  display: none;
}

[id^="bfb_content_"].bfb_view_pc {
  background-color: #c0c0c0bd !important;
}