@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* 基本デザイン */

:root {
  --theme-color:#d03720;
}

.alignfull{/* ブロック全幅 */
  width:100vw;
  margin-right:calc(50% - 50vw);
  margin-left:calc(50% - 50vw);
}

/* 見出し設定 */
.article h2, .article h3, .article h4, .article h5, .article h6{
	margin-bottom:.5em;
}
#main .entry-content h2{
	background:transparent;
}
#main .entry-content h3 {
	border:none;
	color:var(--theme-color);
}
	#main .entry-content h3::after{
	  background: none;
	} 
#main .entry-content h4 {
  border:none;
}

.heading-line {
  align-items: center; /* 横線を上下中央 */
  display: flex; /* 文字と横線を横並び */
  justify-content: center; /* 文字を中央寄せ */
}
.heading-line::before,
.heading-line::after {
  background-color: var(--theme-color)!important; /* 横線の色 */
  content: "";
  height: 5px; /* 横線の高さ */
  width: 60px; /* 横線の長さ */
}
.heading-line::before {
  margin-right: 15px; /* 文字との余白 */
}
.heading-line::after {
  margin-left: 15px; /* 文字との余白 */
}

/* 本文テキスト設定 */
.entry-content>*, .demo .entry-content p {
    line-height: 1.4;
}
.cocoon-custom-text-1{/* カスタムテキスト */
	color:#d03720;
}

/* ボタン */
div.catbtn{
	width:100%;
	padding:0;
}
.catbtn a{
	padding:3em 0;
}
.catbtn a img{
	width:40px!important;
	height:auto!important;
	margin-right:10px;
}

/* ヘッダー */
body.home .eye-catch-wrap{
	display:none;
}
.logo-text{
	padding:0;
}
#content-top{
	background-color: var(--cocoon-white-color);
	margin:0 auto;
	padding:0.4em 0 0.6em;
}
	#content-top .widget{
		margin-bottom:0;
	}

	#content-top .content-top-in aside.widget_categories{
		width:50%;
	}
		#content-top .content-top-in aside.widget_categories h2{
			display:none;
		}
#content-top .content-top-in {
  display: flex;
  justify-content: center;
  align-items: center;
}

#content-top .content-top-in > :nth-child(1) {
  width: 800px;
  max-width: calc(100% - 40px);
  padding: 0;
}

#content-top .content-top-in > :nth-child(2) {
  display: none;
}
		#content-top .content-top-in .catbtn a{
			padding:1em;
		}

/* フッター */


/* 記事一覧カスタム */
.card-arrow .a-wrap{
	padding:1em;
}
.card-title-bold .card-title{
	color:#d03720;
}
/* ページ余白設定 */
.content{
	margin-top:0;
}
.no-sidebar .content .main{
	padding-top:0;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	.content-top{
		display:none;
	}
	/* ヘッダー */

}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.has-large-font-size{ 
		font-size:26px!important;
	}
	.has-medium-font-size{
		font-size:16px!important;
	}
}

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

/************************************
** その他
************************************/

/* 固定ページの日付（投稿日・更新日）を非表示 */
.page .date-tags {
  display: none !important;
}

/************************************
** ヘッダー
************************************/
/* ボタン列の余白を削除 */
#content-top .wp-block-columns {
  margin: 0;
}

/* ウィジェット自体の上下余白を削除 */
#content-top-in > .widget {
  margin-top: 0;
  margin-bottom: 0;
}

/* 検索ウィジェットだけ縦中央にする */
#content-top #search-3 {
  display: flex;
  align-items: center;
}


/* ボタンと検索欄の高さを統一 */
#content-top a.btn,{
  box-sizing: border-box;
  height: 56px;
  min-height: 56px;
}


/* 検索フォーム */
#content-top #search-3 form {
  position: relative;
  width: 100%;
  margin: 0;
}

/* 入力欄だけ高さを指定 */
#content-top .search-edit {
  box-sizing: border-box;
  height: 56px;
  min-height: 56px;
  padding-right: 52px;
}

/* 検索アイコンを中央に配置 */
#content-top .search-submit {
  position: absolute;
  top: 50%;
  right: 0;
  width: 52px;
  height: 100%;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
}

/* モバイルメニューの「サイドバー」を非表示 */
.mobile-menu-buttons .sidebar-menu-button {
    display: none;
}

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


/* 記事ページのアイキャッチ画像 */
.single .eye-catch img{
    width: 80% !important;
    max-height: 360px;
	object-fit: contain !important; /* 切らずに全体を表示する */
    object-position: top center; /* 画像の上部を基準に表示させる（これが重要） */
	height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 投稿記事のH2 */
.single .article h2 {
  position: relative;
  margin: 2.2em 0 1.4em;
  padding: 18px 22px 18px 28px;

  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;

	color: #D03720;
  background-color: #FBEDEA !important;

　border: none;
  border-left: 5px solid #D03720;
  border-radius: 0;
}

/* マイクロコピー_開始*/
/* CTAボタン全体 */
.talkast-cta-button {
  position: relative;
  margin-top: 35px;
  padding-top: 5px;
}

/* マイクロコピー */
.talkast-microcopy {
  position: absolute;
  z-index: 3;

  top: 7px;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 320px;
  max-width: 80%;
  padding: 5px 15px;

  background: #fff;
  border: 2px solid #D03720;
  border-radius: 30px;

  color: #D03720;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

/* 吹き出しの外側の三角 */
.talkast-microcopy::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);

  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 10px solid #D03720;
}

/* 吹き出しの内側の白い三角 */
.talkast-microcopy::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);

  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #fff;
}

/* メインボタン */
.talkast-cta-button > a {
  display: block;
  position: relative;
  z-index: 1;

  width: 100%;
  padding: 29px 45px 22px;

  background: #D03720;
  border-radius: 4px;
  border-bottom: 6px solid #9f2b19;

  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

/* ボタン右端の矢印 */
.talkast-cta-button > a::after {
  content: ">";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
　padding-right: 20px；

　font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

/* TALKAST CTAボタンだけ外部リンクアイコンを非表示 */
.talkast-cta-button > a::before,
.talkast-cta-button > a .external-icon {
  display: none !important;
}

/* ホバー時にボタンを動かす */
/* マイクロコピー＋ボタン全体 */
.talkast-cta-button {
  transition: transform 0.15s ease;
}

/* ボタン */
.talkast-cta-button > a {
  transition:
    background-color 0.2s ease,
    box-shadow 0.15s ease;

  box-shadow: 0 5px 0 #a92b1d;
}

/* CTAエリアにホバーしたら全体を押し込む */
.talkast-cta-button:hover {
  transform: translateY(3px);
}

/* ボタンの色と影も変える */
.talkast-cta-button:hover > a {
  background-color: #e44732;
  box-shadow: 0 2px 0 #a92b1d;
}

/* ========================================
   PCヘッダー：検索＋ハンバーガー
======================================== */
/* ========================================
   PCヘッダー：検索＋ハンバーガー
======================================== */

@media screen and (min-width: 769px) {

  #header-in {
    position: relative;
  }


  /* =========================
     右上ボタンエリア
  ========================= */

  .talkast-header-tools {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 16px;

    z-index: 1000;
  }

/* 検索・ハンバーガーボタン */
.talkast-search-btn,
.talkast-menu-btn {
  width: 46px;
  height: 46px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #D03720;
  border: 1px solid #D03720;
  border-radius: 4px;

  box-shadow: none;
  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

/* ホバー */
.talkast-search-btn:hover,
.talkast-menu-btn:hover {
  opacity: 1;
  background: #e44732;
  border-color: #e44732;
}

  /* =========================
     検索アイコン
  ========================= */

.talkast-search-icon {
  position: relative;
  display: block;

  width: 17px;
  height: 17px;

  border: 2px solid #fff;
  border-radius: 50%;

  /* 柄を含めた見た目の中央補正 */
  transform: translate(-2px, -2px);
}

.talkast-search-icon::after {
  content: "";
  position: absolute;

  width: 8px;
  height: 2px;

  right: -6px;
  bottom: -3px;

  background: #fff;

  transform: rotate(45deg);
  transform-origin: left center;
}
  /* =========================
     ハンバーガー
  ========================= */

  .talkast-menu-icon {
    width: 25px;

    display: flex;
    flex-direction: column;
    gap: 5px;
  }


  .talkast-menu-icon span {
    display: block;

    width: 100%;
    height: 2px;

    background: #fff;

    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }


  /* ☰ → × */

  .talkast-menu-btn.is-open
  .talkast-menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .talkast-menu-btn.is-open
  .talkast-menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .talkast-menu-btn.is-open
  .talkast-menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }


/* =========================
   検索ウィンドウ
========================= */

.talkast-search-panel {
  display: none;

  position: absolute;
  top: 52px;
  right: -25px;

  width: 300px;

  padding: 5px 25px 15px;

  background: #fff;

  box-sizing: border-box;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);

  z-index: 1001;
}

  .talkast-search-panel.is-open {
    display: block;
  }


.talkast-search-form {
  display: flex;

  width: 100%;
  margin: 0;

  box-sizing: border-box;
}

.talkast-search-form input {
  flex: 1;
  min-width: 0;

  height: 48px;
  padding: 0 14px;

  border: 1px solid #ddd;
  border-right: none;

  background: #fff;

  box-sizing: border-box;

  font-size: 15px;
  outline: none;
}


  .talkast-search-form input:focus {
    border-color: #D03720;
  }


  .talkast-search-form > button {
    width: 48px;
    height: 48px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    background: #D03720;

    cursor: pointer;
  }


  /* 検索窓内の虫眼鏡 */

.talkast-search-submit-icon {
  position: relative;
  display: block;

  width: 15px;
  height: 15px;

  border: 2px solid #fff;
  border-radius: 50%;

  /* 見た目の中央補正 */
  transform: translate(-1px, -2px);
}


  .talkast-search-submit-icon::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 2px;

    right: -6px;
    bottom: -3px;

    background: #fff;

    transform: rotate(45deg);
  }


  /* =========================
     背景オーバーレイ
  ========================= */

  .talkast-drawer-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;

    z-index: 9998;

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }


  .talkast-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }


  /* =========================
     右側ドロワー
  ========================= */

  .talkast-drawer {
    position: fixed;

    top: 0;
    right: 0;

    width: 360px;
    max-width: 90vw;
    height: 100vh;

    padding: 80px 35px 40px;

    background: #fff;

    transform: translateX(100%);

    z-index: 9999;

    overflow-y: auto;

    transition: transform 0.3s ease;
  }


  .talkast-drawer.is-open {
    transform: translateX(0);
  }


  /* =========================
     ドロワーの×
  ========================= */

  .talkast-drawer-close {
    position: absolute;

    top: 22px;
    right: 24px;

    width: 42px;
    height: 42px;

    padding: 0;

    border: none;
    background: transparent;

    color: #333;

    font-size: 32px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
  }


  /* =========================
     縦メニュー
  ========================= */

  .talkast-drawer-nav {
    display: flex;
    flex-direction: column;
  }


  .talkast-drawer-nav a {
    position: relative;

    display: block;

    padding: 18px 28px 18px 5px;

    border-bottom: 1px solid #ddd;

    color: #333;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    transition:
      color 0.2s ease,
      padding-left 0.2s ease;
  }


  /* 右矢印 */
  .talkast-drawer-nav a::after {
    content: "›";

    position: absolute;

    top: 50%;
    right: 5px;

    transform: translateY(-50%);

    font-size: 24px;
    font-weight: 400;

    color: #999;
  }


  .talkast-drawer-nav a:hover {
    color: #D03720;
    padding-left: 10px;
  }


  /* メニュー表示中は背景固定 */
  body.talkast-drawer-open {
    overflow: hidden;
  }

}



/* ========================================
   スマホはCocoon標準
======================================== */

@media screen and (max-width: 768px) {

  .talkast-header-tools,
  .talkast-drawer,
  .talkast-drawer-overlay {
    display: none;
  }

}


/* ========================================
   PC：固定ヘッダー＋スクロール制御
======================================== */

@media screen and (min-width: 769px) {

  #header-container {
    position: sticky;
    top: 0;
    z-index: 9999;

    background: #fff;
    box-shadow: none;

    transition: box-shadow 0.25s ease;
  }

  /* スクロール後だけ影を表示 */
  #header-container.is-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

}


/* ========================================
   タレント活用 事例カード
======================================== */

.talent-case {
  --case-red: #D03720;
  --case-red-dark: #b82d1b;
  --case-red-light: #fff5f3;
  --case-red-pale: #fff9f8;
  --case-text: #333;
  --case-gray: #f7f7f7;
  --case-border: #e5e5e5;

  margin: 40px 0;
  color: var(--case-text);
  font-family: inherit;
}


/* ========================================
   ヘッダー
======================================== */

.talent-case__header {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--case-red);
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #fff 0%,
      var(--case-red-light) 100%
    );
}

.talent-case__label {
  display: inline-block;
  padding: 10px 24px;
  background: var(--case-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.talent-case__header-inner {
  padding: 24px 32px 30px;
}

.talent-case__category {
  margin-bottom: 8px;
  color: var(--case-red);
  font-size: 18px;
  font-weight: 700;
}

.talent-case__title {
  color: #222;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.45;
}

.talent-case__title::first-line {
  color: #222;
}

.talent-case__target {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 14px;
  font-weight: 600;
}


/* ========================================
   対象企業
======================================== */

.talent-case__company {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--case-border);
  border-radius: 10px;
  background: #fff;
}

.talent-case__company-title {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  color: var(--case-red);
  font-size: 16px;
  font-weight: 700;
}

.talent-case__company-icon {
  font-size: 22px;
  line-height: 1;
}

.talent-case__company-text {
  font-size: 15px;
  line-height: 1.8;
}


/* ========================================
   3ステップ
======================================== */

.talent-case__steps {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    36px
    minmax(0, 1fr)
    36px
    minmax(0, 1fr);
  align-items: stretch;
  margin-top: 24px;
}

.talent-case__step {
  position: relative;
  padding: 28px 22px 26px;
  border: 1px solid var(--case-border);
  border-radius: 12px;
  background: #fff;
}

/* 課題 */
.talent-case__step--problem {
  background: linear-gradient(
    180deg,
    #f7f7f7 0%,
    #fff 100%
  );
}

/* 施策 */
.talent-case__step--action {
  background: linear-gradient(
    180deg,
    #fffaf8 0%,
    #fff 100%
  );
}

/* 成果 */
.talent-case__step--result {
  border-color: #f1c4bb;
  background: linear-gradient(
    180deg,
    var(--case-red-light) 0%,
    #fff 100%
  );
}


/* ラベル */

.talent-case__step-label {
  display: table;
  margin: 0 auto 22px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #555;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.talent-case__step--action .talent-case__step-label,
.talent-case__step--result .talent-case__step-label {
  background: var(--case-red);
}

.talent-case__step-label span {
  margin-right: 6px;
}


/* アイコン */

.talent-case__company-icon {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--case-red);
}

.talent-case__company-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.talent-case__step--action .talent-case__icon {
  border-color: var(--case-red);
  color: var(--case-red);
}

.talent-case__icon--result {
  border-color: var(--case-red);
  background: var(--case-red);
  color: #fff;
}


/* タイトル */

.talent-case__step-title {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #333;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.talent-case__step--result .talent-case__step-title {
  color: var(--case-red);
}


/* 説明 */

.talent-case__step-text {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
}


/* 矢印 */

.talent-case__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--case-red);
}

.talent-case__arrow span {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}


/* ========================================
   施策タグ
======================================== */

.talent-case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 0 18px;
}

.talent-case__tags span {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--case-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}


/* ========================================
   成果リスト
======================================== */

.talent-case__result-list {
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid #efd0ca;
  border-radius: 8px;
  background: #fff;
}

.talent-case__result-list div {
  position: relative;
  padding: 11px 12px 11px 36px;
  border-bottom: 1px solid #f2ded9;
  font-size: 14px;
  font-weight: 700;
}

.talent-case__result-list div:last-child {
  border-bottom: 0;
}

.talent-case__result-list div::before {
  position: absolute;
  top: 11px;
  left: 13px;
  color: var(--case-red);
  content: "✓";
  font-weight: 900;
}


/* ========================================
   POINT
======================================== */

.talent-case__point {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 20px 24px;
  border: 1px solid var(--case-red);
  border-radius: 10px;
  background: #fff;
}

.talent-case__point-label {
  display: flex;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--case-red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.talent-case__point-text {
  color: #333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}


/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 768px) {

  .talent-case {
    margin: 28px 0;
  }

  .talent-case__header-inner {
    padding: 20px 18px 24px;
  }

  .talent-case__category {
    font-size: 16px;
  }

  .talent-case__title {
    font-size: 24px;
  }

  .pc-only {
    display: none;
  }


  /* 対象企業 */

  .talent-case__company {
    display: block;
    padding: 16px;
  }

  .talent-case__company-title {
    margin-bottom: 8px;
  }

  .talent-case__company-text {
    font-size: 14px;
  }


  /* 3カラム → 縦 */

  .talent-case__steps {
    display: block;
    margin-top: 18px;
  }

  .talent-case__step {
    padding: 24px 18px;
  }

  .talent-case__arrow {
    height: 44px;
  }

  .talent-case__arrow span {
    transform: rotate(90deg);
    font-size: 36px;
  }


  /* POINT */

  .talent-case__point {
    display: block;
    padding: 18px;
  }

  .talent-case__point-label {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    font-size: 12px;
  }

  .talent-case__point-text {
    font-size: 14px;
  }

}

/* フッター開始 */
/* フッター：親リンクの改行を防いで横並びにする */
#menu-item-1039 a {
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
}

/* フッター：対象のリンクの右側にアイコンを表示 */
#menu-item-1039 a::after {
  content: " \f35d"; /* Font Awesomeの外部リンクアイコン（または "\2197" や " ↗" などの記号） */
  font-family: "Font Awesome 5 Free"; /* Font Awesomeをご利用の場合 */
  font-weight: 900;
  font-size: 0.8em;
  margin-left: 5px;
  display: inline-block;
}

/* フッター終了 */


/* 比較記事カスタムHTMLブロック用 開始 */
/* =========================================================
   比較記事：企業紹介ブロック
   WordPress Cocoon用 完全版CSS
   ========================================================= */

.tsc-company,
.tsc-company * {
  box-sizing: border-box;
}

.tsc-company {
  --tsc-red: #ef2f3f;
  --tsc-red-dark: #d92332;
  --tsc-red-soft: #fff4f5;

  --tsc-navy: #173554;

  --tsc-blue: #1271d8;
  --tsc-blue-soft: #f2f8ff;

  --tsc-green: #13a36f;
  --tsc-green-soft: #f1fbf6;

  --tsc-gray: #667484;
  --tsc-gray-soft: #f5f7f9;

  --tsc-line: #dce3ea;
  --tsc-yellow: #fff29a;
  --tsc-text: #20364f;

  position: relative;

  width: 100%;
  max-width: 980px;

  /* 企業同士の間隔 */
  margin: 64px auto;

  /* 内側余白 */
  padding: 30px 28px 34px;

  /* シンプルな境界 */
  border: 1px solid #EF2F3F;

  /* 角丸をかなり弱く */
  border-radius: 2px;

  /* 白背景 */
  background: #fff;

  /* AIっぽいカード影は使わない */
  box-shadow: none;

  /* ページ内ジャンプ */
  scroll-margin-top: 100px;

  color: var(--tsc-text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .tsc-company {
    margin: 36px auto;
    padding: 20px 14px 24px;

    border-top-width: 4px;
    border-radius: 8px;
  }

  .tsc-company + .tsc-company {
    margin-top: 48px;
  }
}


/* =========================================================
   共通リセット
   ========================================================= */

.tsc-company a {
  text-decoration: none;
}

.tsc-company ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tsc-company p {
  margin: 0;
}

.tsc-company figure {
  margin: 0;
}

.tsc-company table {
  margin: 0;
}


/* =========================================================
   上部全体
   サービス名
   ↓
   運営会社名
   ↓
   キャプチャ画像
   ↓
   画像出典
   ↓
   説明
   ↓
   CTA
   ========================================================= */

.tsc-company__hero {
  display: flex;
  flex-direction: column;
  gap: 20px;

  width: 100%;

  padding: 8px 12px 30px;
}


/* =========================================================
   サービス名・運営会社名
   ========================================================= */

.tsc-company__hero-title {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================
   サービス名 h3専用
   ========================================= */

.tsc-company h3.tsc-company__name {
  margin: 0 0 12px !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;
  background-image: none !important;

  color: var(--tsc-navy) !important;

  font-size: clamp(25px, 3vw, 32px) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;

  box-shadow: none !important;
  text-shadow: none !important;
}

.tsc-company h3.tsc-company__name::before,
.tsc-company h3.tsc-company__name::after {
  content: none !important;
  display: none !important;
}

.tsc-company__operator {
  margin: 0 !important;
  padding: 0 !important;

  color: #52677e;

  font-size: 18px;
  line-height: 1.6;
}


/* =========================================================
   キャプチャ画像
   ========================================================= */

.tsc-company__shot {
  width: 100%;
  max-width: 620px;

  margin: 0;
  padding: 0;
}

.tsc-company__shot-link {
  display: block;

  width: 100%;

  border: 1px solid #cfd8e2;
  border-radius: 6px;

  overflow: hidden;

  background: #fff;
}

.tsc-company__shot-placeholder {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  aspect-ratio: 16 / 9;

  padding: 20px;

  background: #f7fbff;

  color: #6f7f8f;

  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.tsc-company__shot img {
  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;

  margin: 0;
}


/* =========================================================
   画像出典
   ========================================================= */

.tsc-company__source {
  display: block;

  margin-top: 7px;

  color: #6d7885;

  font-size: 12px;
  line-height: 1.6;
}

.tsc-company__source a {
  color: #0c69bd;

  text-decoration: underline;
  text-underline-offset: 2px;
}

.tsc-company__source a:hover {
  opacity: 0.8;
}


/* =========================================================
   サービス説明
   ========================================================= */

.tsc-company__hero-content {
  width: 100%;

  margin: 0;
  padding: 0;
}

.tsc-company__lead {
  margin: 0 0 20px !important;
  padding: 0 !important;

  color: #445c73;

  font-size: 16px;
  line-height: 1.8;
}


/* =========================================================
   CTA
   ========================================================= */

.tsc-company__buttons {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;

  width: 100%;
}

.tsc-company__btn {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  width: 100%;
  min-height: 54px;

  padding: 12px 16px;

  border: 2px solid var(--tsc-red);
  border-radius: 7px;

  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;

  white-space: normal;

  box-shadow: none !important;

  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.tsc-company__btn:hover {
  opacity: 0.82;

  text-decoration: none;
}

.tsc-company__btn--main {
  background: var(--tsc-red);

  color: #fff !important;
}

.tsc-company__btn--sub {
  background: #fff;

  color: var(--tsc-red) !important;
}


/* =========================================================
   CTA 外部リンクアイコン
   Font Awesome
   ========================================================= */

.tsc-company__external-icon {
  margin-left: 2px;
  flex: 0 0 auto;
  font-size: 0.92em;
  line-height: 1;
}


/* =========================================================
   3つのPOINT
   ========================================================= */

.tsc-company__points {
  margin: 0 0 28px;

  padding: 18px;

  border-radius: 8px;

  background: var(--tsc-red-soft);
}

.tsc-company__points-title {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin: 0 0 16px !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;

  color: var(--tsc-red) !important;

  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.5;

  text-align: center;

  box-shadow: none !important;
  text-shadow: none !important;
}

.tsc-company__heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  color: var(--tsc-red);

  font-size: 24px;
  line-height: 1;
}

.tsc-company__point-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 12px;
}

.tsc-company__point {
  min-width: 0;
  min-height: 130px;

  padding: 17px;

  border: 1px solid #f6e1e4;
  border-radius: 7px;

  background: #fff;
}

.tsc-company__point-head {
  display: grid;

  grid-template-columns: 43px minmax(0, 1fr);

  gap: 10px;

  align-items: start;
}

.tsc-company__point-no {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  border-radius: 50%;

  background: var(--tsc-red);

  color: #fff;

  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.tsc-company__point strong {
  display: block;

  min-width: 0;

  color: var(--tsc-navy);

  font-size: 16px;
  line-height: 1.55;

  overflow-wrap: anywhere;
}


/* =========================================================
   共通セクション
   ========================================================= */

.tsc-company__section {
  margin: 0 12px 24px;
}

.tsc-company__section-title {
  display: flex;

  align-items: center;

  gap: 9px;

  margin: 0 0 12px !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;

  color: var(--tsc-red) !important;

  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.5;

  box-shadow: none !important;
  text-shadow: none !important;
}

.tsc-company__section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  flex: 0 0 28px;

  color: var(--tsc-red);

  font-size: 22px;
  line-height: 1;
}


/* =========================================================
   サービス概要
   白背景
   ========================================================= */

.tsc-company__overview {
  padding: 0 8px;

  background: #fff;
}

.tsc-company__overview-heading {
  margin: 0 0 8px !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;

  color: var(--tsc-navy) !important;

  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.55;

  box-shadow: none !important;
  text-shadow: none !important;
}

.tsc-company__overview p {
  margin: 0 !important;

  color: #344d65;

  line-height: 1.85;
}

.tsc-company__marker {
  font-weight: 800;

  background:
    linear-gradient(
      transparent 60%,
      var(--tsc-yellow) 60%
    );
}


/* =========================================================
   料金・基本情報
   ========================================================= */

.tsc-company__price {
  padding: 14px 16px 16px;

  border-radius: 8px;

  background: var(--tsc-red-soft);
}

.tsc-company__price-table,
.tsc-company__spec-table {
  width: 100%;

  margin: 0 !important;

  border-collapse: collapse;

  table-layout: fixed;

  font-size: 14px;

  background: transparent !important;
}

.tsc-company__price-table th,
.tsc-company__price-table td,
.tsc-company__spec-table th,
.tsc-company__spec-table td {
  padding: 11px 14px;

  border: 1px solid var(--tsc-line);

  vertical-align: top;

  text-align: left;

  overflow-wrap: anywhere;
  word-break: normal;
}

.tsc-company__price-table th {
  width: 24%;

  background: #eaf4fb;

  color: #223e5a;

  font-weight: 800;
}

.tsc-company__price-table td {
  background: #fff;

  color: #314a62;
}

.tsc-company__note {
  margin: 8px 0 0 !important;

  color: #6c7884;

  font-size: 12px;
  line-height: 1.7;
}


/* =========================================================
   メリット・デメリット
   向いている・向いていない
   常に縦1列
   ========================================================= */

.tsc-company__two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;

  margin: 0 12px 12px;
  width: auto;
}

.tsc-company__card {
  width: 100%;
  min-width: 0;

  padding: 20px 22px;

  /* 左ラインを廃止 */
  border-radius: 3px;

  box-shadow: none;
}

/* メリット */
.tsc-company__card--merit {
  border: 1px solid #b9dfcf;
  background: #f7fbf9;
}

/* デメリット */
.tsc-company__card--demerit {
  border: 1px solid #f0c8cc;
  background: #fff8f8;
}

/* 向いている企業 */
.tsc-company__card--fit {
  border: 1px solid #c5daf2;
  background: #f7faff;
}

/* 向いていない企業 */
.tsc-company__card--notfit {
  border: 1px solid #d0d6dc;
  background: #f8f9fa;
}


/* =========================================================
   カード見出し
   ========================================================= */

.tsc-company__card-title {
  display: flex;

  align-items: center;

  gap: 9px;

  margin: 0 0 10px !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;

  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.5;

  box-shadow: none !important;
  text-shadow: none !important;
}

.tsc-company__card-title > i {
  width: 24px;
  flex: 0 0 24px;
  text-align: center;
  font-size: 21px;
  line-height: 1;
}

.tsc-company__card--merit .tsc-company__card-title {
  color: var(--tsc-green);
}

.tsc-company__card--demerit .tsc-company__card-title {
  color: var(--tsc-red);
}

.tsc-company__card--fit .tsc-company__card-title {
  color: var(--tsc-blue);
}

.tsc-company__card--notfit .tsc-company__card-title {
  color: #576574;
}


/* =========================================================
   カード箇条書き
   Font Awesome
   ========================================================= */

.tsc-company__card ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.tsc-company__card li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;

  margin: 7px 0 !important;
  padding: 0 !important;

  list-style: none !important;

  color: #314a62;
  line-height: 1.75;
}

.tsc-company__card li::before,
.tsc-company__card li::after,
.tsc-company__card li::marker {
  content: none !important;
  display: none !important;
}

.tsc-company__list-icon {
  margin-top: 5px;
  width: 20px;
  text-align: center;
  font-size: 15px;
  line-height: 1;
}

.tsc-company__card--merit .tsc-company__list-icon {
  color: var(--tsc-green);
}

.tsc-company__card--demerit .tsc-company__list-icon {
  color: var(--tsc-red);
}

.tsc-company__card--fit .tsc-company__list-icon {
  color: var(--tsc-blue);
}

.tsc-company__card--notfit .tsc-company__list-icon {
  color: #65717e;
}


/* =========================================================
   サービス詳細
   ========================================================= */

.tsc-company__spec {
  margin: 22px 12px 0;
}

.tsc-company__spec-title {
  display: flex;
  align-items: center;
  gap: 8px;

  margin: 0 0 9px !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;

  /* サービス概要と同じ色 */
  color: var(--tsc-red) !important;

  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.5;

  box-shadow: none !important;
  text-shadow: none !important;
}

/* Font Awesomeの歯車も同じ色にする */
.tsc-company__spec-title > i {
  width: 24px;
  flex: 0 0 24px;

  color: var(--tsc-red) !important;

  text-align: center;
  font-size: 21px;
  line-height: 1;
}

.tsc-company__spec-table th {
  width: 29%;

  background:
    linear-gradient(
      90deg,
      #f26a79,
      #ef8491
    );

  color: #fff;

  font-weight: 800;
}

.tsc-company__spec-table td {
  background: #fff;

  color: #314a62;

  line-height: 1.7;
}


/* =========================================================
   最下部CTA
   ========================================================= */

.tsc-company__bottom {
  max-width: 780px;

  margin: 22px auto 0;
}


/* =========================================================
   Cocoon干渉対策
   ========================================================= */

.tsc-company h3.tsc-company__name,
.tsc-company__points-title,
.tsc-company__section-title,
.tsc-company__overview-heading,
.tsc-company__card-title,
.tsc-company__spec-title {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;

  background-image: none !important;

  box-shadow: none !important;
}

.tsc-company__btn::before,
.tsc-company__btn::after {
  box-sizing: border-box;
}

.tsc-company table tr:nth-of-type(2n+1),
.tsc-company table tr:nth-of-type(2n) {
  background: transparent;
}


/* =========================================================
   タブレット
   ========================================================= */

@media (max-width: 900px) {

  .tsc-company {
    max-width: 100%;
  }

  .tsc-company__point-grid {
    gap: 10px;
  }

  .tsc-company__point {
    padding: 14px;
  }

}


/* =========================================================
   スマートフォン
   ========================================================= */

@media (max-width: 760px) {

  .tsc-company {
    margin: 24px auto;

    font-size: 15px;
  }


  /* 上部 */

  .tsc-company__hero {
    gap: 16px;

    padding: 6px 6px 22px;
  }

  .tsc-company__hero-title {
    width: 100%;
  }

  .tsc-company h3.tsc-company__name {
    font-size: 27px !important;
  }

  .tsc-company__operator {
    font-size: 16px;
  }

  .tsc-company__shot {
    width: 100%;
    max-width: 100%;
  }

  .tsc-company__lead {
    font-size: 15px;
  }


  /* CTA */

  .tsc-company__buttons {
    grid-template-columns: 1fr;
  }

  .tsc-company__btn {
    width: 100%;

    min-height: 52px;

    font-size: 16px;
  }


  /* POINT */

  .tsc-company__points {
    margin-bottom: 24px;

    padding: 14px 10px;
  }

  .tsc-company__points-title {
    justify-content: flex-start;

    font-size: 19px !important;

    text-align: left;
  }

  .tsc-company__point-grid {
    grid-template-columns: 1fr;
  }

  .tsc-company__point {
    min-height: 0;
  }


  /* セクション */

  .tsc-company__section,
  .tsc-company__two-col,
  .tsc-company__spec {
    margin-left: 6px;
    margin-right: 6px;
  }

  .tsc-company__section-title,
  .tsc-company__overview-heading,
  .tsc-company__card-title,
  .tsc-company__spec-title {
    font-size: 19px !important;
  }


  /* カード */

  .tsc-company__two-col {
    grid-template-columns: 1fr;

    gap: 12px;
  }


  /* 表 */

  .tsc-company__price-table th {
    width: 32%;
  }

  .tsc-company__spec-table th {
    width: 38%;
  }

  .tsc-company__price-table th,
  .tsc-company__price-table td,
  .tsc-company__spec-table th,
  .tsc-company__spec-table td {
    padding: 9px 8px;

    font-size: 13px;
  }


  /* 最下部CTA */

  .tsc-company__bottom {
    margin-left: 6px;
    margin-right: 6px;
  }

}


/* =========================================================
   小さいスマートフォン
   ========================================================= */

@media (max-width: 390px) {

  .tsc-company h3.tsc-company__name {
    font-size: 24px !important;
  }

  .tsc-company__operator {
    font-size: 15px;
  }

  .tsc-company__points-title {
    font-size: 18px !important;
  }

  .tsc-company__section-title,
  .tsc-company__overview-heading,
  .tsc-company__card-title,
  .tsc-company__spec-title {
    font-size: 18px !important;
  }

  .tsc-company__spec-table th {
    width: 41%;
  }

  .tsc-company__btn {
    font-size: 15px;
  }

  .tsc-company__point-head {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .tsc-company__point-no {
    width: 38px;
    height: 38px;

    font-size: 12px;
  }

  .tsc-company__card {
    padding: 14px;
  }

}


/* =========================================
   企業ジャンプナビ
   2列・番号付き目次デザイン
   ========================================= */

.tsc-company-nav {
  counter-reset: company-nav;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  width: 100%;
  margin: 20px 0 32px;

  border-top: 1px solid #e4e8ec;
}

/* 各企業リンク */
.tsc-company-nav a {
  counter-increment: company-nav;

  position: relative;

  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 10px;

  align-items: center;

  min-width: 0;
  min-height: 62px;

  padding: 12px 14px;

  border-bottom: 1px solid #e4e8ec;

  background: #fff;

  color: #20364f;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;

  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

/* 左右カラムの境界線 */
.tsc-company-nav a:nth-child(even) {
  border-left: 1px solid #e4e8ec;
}

/* 01・02・03... */
.tsc-company-nav a::before {
  content: counter(company-nav, decimal-leading-zero);

  display: block;

  color: #ef2f3f;

  font-size: 17px;
  font-weight: 800;
  line-height: 1;

  text-align: left;
}

/* 右側の矢印 */
.tsc-company-nav a::after {
  content: "›";

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ef2f3f;

  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

/* ホバー */
.tsc-company-nav a:hover {
  background: #fff7f8;

  color: #ef2f3f;
}

/* 長いサービス名も自然に折り返す */
.tsc-company-nav a {
  overflow-wrap: anywhere;
}


/* =========================================
   スマホ
   1列に変更
   ========================================= */

@media (max-width: 760px) {

  .tsc-company-nav {
    grid-template-columns: 1fr;
  }

  .tsc-company-nav a {
    grid-template-columns: 34px minmax(0, 1fr) 16px;

    min-height: 56px;

    padding: 11px 10px;

    font-size: 14px;
  }

  /* PC用の中央線を解除 */
  .tsc-company-nav a:nth-child(even) {
    border-left: 0;
  }

  .tsc-company-nav a::before {
    font-size: 16px;
  }

  .tsc-company-nav a::after {
    font-size: 23px;
  }
}

/* 比較記事カスタムHTMLブロック用 終了 */


