@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*inadalaw-core: 記事形式（column_type）ラベルを少し強調*/
.cat-label.cat-label-type {
  font-weight: bold;
}

/* ============================================
   トップページ：メールマガジン登録の誘導パーツ
   ============================================ */
.inadalaw-newsletter {
  margin-top: 2.4em;
  padding: 30px 32px;
  border: 1px solid #d8cdb8;
  background: #faf7f0;
  text-align: center;
}
.inadalaw-newsletter-eyebrow {
  font-size: .78em;
  font-weight: 700;
  color: #8a6d3b;
  letter-spacing: .1em;
  margin: 0 0 .6em;
}
.inadalaw-newsletter-heading {
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 .7em;
}
.inadalaw-newsletter p:not(.inadalaw-newsletter-eyebrow):not(.inadalaw-newsletter-heading):not(.inadalaw-newsletter-note) {
  font-size: .9em;
  line-height: 1.8;
  color: #555;
  max-width: 46em;
  margin: 0 auto 1.3em;
}
.inadalaw-newsletter-btns {
  justify-content: center;
}
.inadalaw-newsletter .wp-block-button__link {
  padding: 14px 28px;
  font-weight: 700;
  border-radius: 0;
  border-color: #8a6d3b;
  color: #8a6d3b !important;
}
.inadalaw-newsletter .wp-block-button__link:hover {
  background: #8a6d3b;
  color: #fff !important;
}
.inadalaw-newsletter-note {
  font-size: .76em;
  color: #999;
  margin: 1em 0 0;
}

@media (max-width: 600px) {
  .inadalaw-newsletter {
    padding: 24px 18px;
  }
}

/* ============================================
   サイドバー：取扱業務・お問い合わせウィジェット
   ============================================ */
.inadalaw-sidebar-contact {
  padding: 18px 20px;
  border: 1px solid #333;
  background: #fff;
  margin-bottom: 4px;
}
.inadalaw-sidebar-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.inadalaw-sidebar-phone-label {
  font-size: 12px;
  color: #666;
}
.inadalaw-sidebar-phone-number {
  font-size: 24px;
  font-weight: 700;
  color: #333 !important;
  line-height: 1.4;
  text-decoration: none;
}
.inadalaw-sidebar-hours {
  font-size: 11px;
  color: #888;
}
.inadalaw-sidebar-cta {
  display: block;
  text-align: center;
  background: #333;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  text-decoration: none;
}
.inadalaw-sidebar-cta:hover {
  background: #555;
}

.inadalaw-sidebar-group {
  border: 1px solid #e2e2e2;
  border-top: none;
  background: #fff;
}
.inadalaw-sidebar-group summary {
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  border-top: 1px solid #e2e2e2;
}
.inadalaw-sidebar-group summary::-webkit-details-marker {
  display: none;
}
.inadalaw-sidebar-group summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.inadalaw-sidebar-group[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.inadalaw-sidebar-group ul {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}
.inadalaw-sidebar-group li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.inadalaw-sidebar-group li a {
  display: block;
  padding: 9px 18px 9px 30px;
  font-size: 13.5px;
  color: #444 !important;
  text-decoration: none;
  position: relative;
}
.inadalaw-sidebar-group li a::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 15px;
  width: 5px;
  height: 5px;
  background: #8a6d3b;
  border-radius: 50%;
}
.inadalaw-sidebar-group li a:hover {
  background: #f5f6f7;
  color: #000 !important;
}

/* ============================================
   サービスページのLP表示
   （問題社員対応ページで使用。他ページにも流用できる）
   ============================================ */

/*--- ヒーロー ---*/
.inadalaw-lp-hero {
  margin-bottom: 2.4em;
}
.inadalaw-lp-kicker {
  font-size: .78em;
  font-weight: 700;
  color: #8a6d3b;
  letter-spacing: .08em;
  margin: 0 0 .5em;
}
.inadalaw-lp-lead {
  font-size: 1.02em;
  line-height: 1.85;
  margin: 0 0 1.1em;
}
.entry-content .inadalaw-lp-hero-img {
  margin: 0 0 1.3em;
}
.inadalaw-lp-note {
  font-size: .82em;
  color: #666;
  margin: .9em 0 0;
}

/*--- 本文中の写真 ---*/
.entry-content .inadalaw-lp-inline-img {
  margin: 1.6em 0 1.8em;
}

/*--- 悩みチェックカード ---*/
.entry-content ul.inadalaw-lp-checks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  margin: 0 0 1.6em;
  padding: 0;
}
.entry-content ul.inadalaw-lp-checks li {
  margin: 0;
  padding: 15px 17px 15px 44px;
  position: relative;
  border: 1px solid #e2e2e2;
  background: #fff;
  font-size: .86em;
  line-height: 1.7;
  list-style: none;
}
.entry-content ul.inadalaw-lp-checks li::before,
.entry-content ul.inadalaw-lp-checks li::marker {
  content: none;
}
/*チェックマークは背景SVGで描く（絵文字は使わない）*/
.entry-content ul.inadalaw-lp-checks li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  background: no-repeat center/contain
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6d3b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/*--- STEP見出しの番号 ---*/
.entry-content h3.inadalaw-lp-step {
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: none;
  padding-left: 0;
}
.entry-content h3.inadalaw-lp-step::before {
  content: attr(data-step);
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8a6d3b;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
}

/*--- 中間CTA ---*/
.inadalaw-lp-cta {
  border: 2px solid #333;
  padding: 26px 28px;
  margin: 2.4em 0;
  background: #fff;
}
.inadalaw-lp-cta-h {
  font-size: 1.06em;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 .5em;
}
.inadalaw-lp-cta p {
  font-size: .88em;
  line-height: 1.75;
  margin: 0 0 1.1em;
}
.inadalaw-lp-cta .wp-block-buttons {
  margin: 0;
}

/*--- 最終CTA ---*/
.inadalaw-lp-final {
  border: 1px solid #dcdcdc;
  margin-top: 3em;
  background: #fff;
}
.entry-content .inadalaw-lp-final-img {
  margin: 0;
}
.entry-content .inadalaw-lp-final-img img {
  display: block;
  width: 100%;
}
.inadalaw-lp-final > :not(.inadalaw-lp-final-img) {
  padding-left: 30px;
  padding-right: 30px;
}
.inadalaw-lp-final-h {
  font-size: 1.2em;
  font-weight: 700;
  text-align: center;
  margin: 1.2em 0 .5em;
}
.inadalaw-lp-final p:not(.inadalaw-lp-final-h) {
  font-size: .9em;
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin: 0 0 1.3em;
}
.inadalaw-lp-final .wp-block-buttons {
  justify-content: center;
  padding-bottom: 30px;
}

/*--- ボタンの体裁（LP内共通） ---*/
.inadalaw-lp-hero .wp-block-button__link,
.inadalaw-lp-cta .wp-block-button__link,
.inadalaw-lp-final .wp-block-button__link {
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 0;
}

@media (max-width: 600px) {
  .entry-content h3.inadalaw-lp-step::before {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .inadalaw-lp-cta {
    padding: 20px 18px;
  }
  .inadalaw-lp-final > :not(.inadalaw-lp-final-img) {
    padding-left: 18px;
    padding-right: 18px;
  }
  .inadalaw-lp-hero .wp-block-button,
  .inadalaw-lp-cta .wp-block-button,
  .inadalaw-lp-final .wp-block-button {
    width: 100%;
  }
  .inadalaw-lp-hero .wp-block-button__link,
  .inadalaw-lp-cta .wp-block-button__link,
  .inadalaw-lp-final .wp-block-button__link {
    display: block;
    text-align: center;
  }
}

/*サービス一覧のカード表示
  トップページの箇条書き（企業法務・企業労務・業種別）に付ける。
  リスト構造は保っているので、項目の追加・削除は箇条書きの編集でできる*/
.entry-content ul.inadalaw-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 0 0 1.4em;
  padding: 0;
}
.entry-content ul.inadalaw-cards li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.entry-content ul.inadalaw-cards li::before,
.entry-content ul.inadalaw-cards li::marker {
  content: none;
}
.entry-content ul.inadalaw-cards li a {
  display: flex;
  align-items: center;
  min-height: 100%;
  box-sizing: border-box;
  padding: .95em 2.2em .95em 1.1em;
  position: relative;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.entry-content ul.inadalaw-cards li a::after {
  content: "→";
  position: absolute;
  right: .9em;
  color: #999;
  font-weight: 400;
  transition: transform .2s, color .2s;
}
.entry-content ul.inadalaw-cards li a:hover {
  border-color: #333;
  background: #f7f7f7;
  text-decoration: none;
}
.entry-content ul.inadalaw-cards li a:hover::after {
  transform: translateX(3px);
  color: #333;
}

/*トップページの投稿日・更新日を隠す
  （Cocoonの日付表示はサイト全体の設定しかなく、ページ個別に切れないため
    トップページに限ってCSSで抑止する。コラム・解決事例の日付は残す）*/
.home .date-tags {
  display: none;
}

/*inadalaw-core: 固定ページ下部の内部リンク導線*/
.inadalaw-internal-links {
  margin-top: 2em;
}
.inadalaw-links {
  margin-bottom: 1.5em;
  padding: 1em 1.2em;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fafafa;
}
/*見出しの左アクセント線はCocoonのh3スタイルをそのまま活かす（サイト全体と統一）*/
.inadalaw-links-heading {
  margin: 0 0 .6em;
  font-size: 1.05em;
  font-weight: bold;
  background: none;
}
.inadalaw-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.inadalaw-links-list li {
  margin: .4em 0;
  padding-left: 1.1em;
  position: relative;
}
.inadalaw-links-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  font-size: .7em;
  top: .35em;
  color: #888;
}
/*表示件数の上限で隠れた記事があるときのタームアーカイブへの導線*/
.inadalaw-links-more {
  margin: .8em 0 0;
  padding-top: .7em;
  border-top: 1px dashed #ddd;
  font-size: .92em;
  text-align: right;
}
.inadalaw-links-more a::after {
  content: " →";
}

/*inadalaw-core: 個別ページ下部の関連ページ導線*/
.inadalaw-cta-links {
  margin-top: 1.5em;
}
.inadalaw-cta-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.inadalaw-cta-links li {
  margin: 0.5em 0;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
