/*
 Theme Name: Twenty Nineteen Child
 Template: twentynineteen
*/


/*=============================　　　　　ブログ記事ページ　　　　　=============================*/

/* タイトル設定 */
.tit {
  font-size: 30px !important;
}

/* サブタイトル設定 */
#subtitle {
  font-size: 25px !important;
  text-align: center !important;
  padding-bottom: 30px !important;
  color: #3456A2 !important;
}

/* 見出し設定（ブログ記事だけ） */
/* ブログ本文の見出し共通 */


/* h2だけ大見出し */
#BlockBlogInner h2 { 
	font-size: 24px !important; 
	color: #3456A2 !important; 
	margin-top: 80px !important; 
	margin-bottom: 20px !important;
}

/* h3は中見出し */
#BlockBlogInner h3.wp-block-heading {
  font-size: 20px !important;
  margin-top: 60px;
}

/* h4は小見出し */
#BlockBlogInner h4.wp-block-heading {
  font-size: 18px !important;
  margin-top: 40px;
}


/* 本文設定（ブログ記事だけ） */
#BlockBlogInner p {
  line-height: 300%;
  font-size: 18px !important;
}

/* テーブル設定 */
.wp-block-table {
  margin: 40px 0;
  padding-left: 5%;
  line-height: 150%;
  font-size: 18px !important;
}

/* 画像設定 */
.wp-block-image {
  width: auto;
  margin: auto !important;
  padding: 5% 0;
  margin-bottom: 50px;
  display: block;
}

/* リスト設定 */
.wp-block-list {
  margin: 20px 0;
  padding-left: 5%;
  line-height: 200%;
  font-size: 18px !important;
  display: block;
}
.wp-block-list li {
  list-style: disc;
  margin: 20px 0;
}

/* youtube埋め込み設定 */
.wp-block-embed__wrapper {
  height: 700px !important;
  margin-top: 50px;
  text-align: center;
  display: block;
}

/* 関連記事ボックス */
.related-box {
  background: #ffffff;
  border: 1px solid #e3eef4;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 2.5em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.related-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.related-ttl {
  margin: 0 0 12px;
  padding-left: 15px !important;
  font: 700 15px/1.4 "Noto Sans JP", "ヒラギノ角ゴ ProN", sans-serif;
  color: #0073aa;
}

/* リスト全体リセット */
.related-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各リンク項目 */
.related-list li {
  margin: 8px 0;
}
.related-list a {
  display: block;
  padding: 10px 14px 10px 34px;
  border-radius: 6px;
  font: 500 15px/1.5 "Noto Sans JP", sans-serif;
  color: #0073aa !important;
  background: #f7fbff;
  text-decoration: none !important;
  position: relative;
  transition: background 0.3s ease, transform 0.2s ease;
}
.related-list a:hover {
  background: #eaf4fb;
  transform: translateX(4px);
}

/* ▶ アイコン */
.related-list a::before {
  content: "▶";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #0073aa;
  opacity: 0.8;
}

.instagram-media {
  display: block !important;
  margin: 0 auto !important;
}

/* 会社紹介コールアウト */
.company-callout {
  border-left: 6px solid #0073aa !important;
  border-radius: 12px !important;
  padding: 30px 26px !important;
  margin-top: 80px !important;
  text-align: center !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06) !important;
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #eef3f7 0%, #dfe7ed 40%, #f4f7fa 100%) !important;
}

.company-ttl {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #3456A2 !important;
  margin: 0 0 14px !important;
}

.company-desc {
  font-size: 16px !important;
  line-height: 1.9 !important;
  color: #333 !important;
  margin: 0 auto 14px !important;
  max-width: 760px !important;
}

.company-awards {
  text-align: center !important;
  padding: 0 !important;
  margin: 20px 0 !important;
  font-size: 20px !important;
  color: #444 !important;
  line-height: 200% !important;
  display: block;
}

.company-tags {
  margin-top: 8px !important;
  font-size: 14px !important;
  color: #0073aa !important;
}

/* SNSアイコン */
.company-social {
  margin-top: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.company-social .label {
  font-size: 14px !important;
  color: #555 !important;
  margin-right: 6px !important;
}

.company-social .sns {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: #f0f6fb !important;
  border: 1px solid #e3eef4 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  text-decoration: none !important;
}

.company-social .sns i {
  font-size: 18px !important;
  color: #3456A2 !important;
  transition: color 0.2s ease !important;
}

.company-social .sns:hover {
  transform: translateY(-2px) !important;
  background: #eaf4fb !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
}

.company-social .sns:hover i {
  color: #0073aa !important;
}

/* =============================　　照らすんです CF7 用 カスタムCSS- フォーム全体を .tera-form で囲んで使用　　============================= */

/* カラートーン・フォント */
:root {
  --tera-blue-bg: #ffffff;
  --tera-blue-header: #2359a8;
  --tera-orange-main: #ff9f1c;
  --tera-gray-border: #d4dde9;
  --tera-text-main: #16325b;
  --tera-text-sub: #6c778a;
  --tera-radius-large: 18px;
  --tera-radius-small: 8px;
  --tera-shadow-soft: 0 10px 20px rgba(0, 0, 0, 0.12);
  --tera-font-main: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic", Arial, sans-serif;
}

/* ▼ フォーム全体の枠 */
.tera-form {
  max-width: 960px;
  margin: 40px auto;
  padding: 24px 24px 28px;
  background: #ffffff;
  border-radius: var(--tera-radius-large);
  box-shadow: var(--tera-shadow-soft);
  font-family: var(--tera-font-main);
  color: var(--tera-text-main);
}

/* タイトルやリードテキストがある場合 */
.tera-form .tera-form-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--tera-text-main);
}

.tera-form .tera-form-subtitle {
  font-size: 12px;
  color: var(--tera-text-sub);
  margin: -4px 0 18px;
}

.tera-form p {
  font-size: 16px !important;
}

.tera-form h1 {
  width: 100% !important;
}

/* ▼ カード風の内側ボックス（任意） */
.tera-form-card {
  border-radius: var(--tera-radius-large);
  border: 1px solid var(--tera-gray-border);
  overflow: hidden;
}

.tera-form-card__header {
  background: var(--tera-blue-header);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

.tera-form-card__body {
  padding: 18px 16px 20px;
  background: #ffffff;
}

/* ▼ フォームの2カラム → スマホで1カラム */
.tera-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 20px;
  margin-bottom: 12px;
}

/* ▼ Contact Form 7 の項目共通 */
.tera-form .wpcf7-form p {
  margin: 0 0 14px;
}

.tera-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.tera-form .form-label {
  font-weight: 600;
  color: var(--tera-text-main);
}

.tera-form .form-hint {
  font-size: 11px;
  color: var(--tera-text-sub);
}

/* 入力系スタイル */
.tera-form input[type="text"],
.tera-form input[type="email"],
.tera-form input[type="tel"],
.tera-form input[type="number"],
.tera-form textarea,
.tera-form select {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: var(--tera-radius-small);
  border: 1px solid #c7d2e5;
  outline: none;
  font-family: var(--tera-font-main);
}

.tera-form input[type="text"]:focus,
.tera-form input[type="email"]:focus,
.tera-form input[type="tel"]:focus,
.tera-form input[type="number"]:focus,
.tera-form textarea:focus,
.tera-form select:focus {
  border-color: var(--tera-blue-header);
  box-shadow: 0 0 0 1px rgba(35, 89, 168, 0.15);
}

/* ラジオ・チェックボックスを少し整える */
.tera-form .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
}

.tera-form .radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #c7d2e5;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tera-form .radio-pill input {
  accent-color: var(--tera-blue-header);
}

.tera-form .radio-pill--active {
  border-color: var(--tera-blue-header);
  background: #eef3ff;
}

/* プライバシーポリシー・注意書き */
.tera-form .form-notice {
  margin-top: 10px;
  font-size: 11px;
  color: var(--tera-text-sub);
  line-height: 1.6;
}

/* ▼ 送信ボタン */
.tera-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--tera-orange-main);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.05s ease, box-shadow 0.05s ease, filter 0.1s ease;
}

.tera-form input[type="submit"]:hover {
  filter: brightness(1.05);
}

.tera-form input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

/* エラーメッセージ・完了メッセージ */
.tera-form .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #d93025;
  margin-top: 4px;
}

.tera-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
}

/* =============================　　　▼ Responsive（まとめたメディアクエリ）　　============================= */

/* 640px以下（フォーム） */
@media (max-width: 640px) {
  .tera-form {
    padding: 18px 14px 22px;
    border-radius: 14px;
  }

  .tera-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 600px以下（ブログ画像・コールアウトなど） */
@media (max-width: 600px) {
  .wp-block-image {
    width: 350px;
  }

  .company-callout {
    padding: 22px 18px !important;
    margin-top: 50px !important;
  }
  .company-ttl {
    font-size: 20px !important;
  }
  .company-desc {
    font-size: 15px !important;
  }
  .company-social .sns {
    width: 34px !important;
    height: 34px !important;
  }
}



/* =============================　　　　　ブログ一覧ページ　　　　　　============================= */

/* ブログ一覧：タグの折り返し防止 */
#BlockBlogListInner .genre01 {
    white-space: nowrap;
    width: auto;
	margin-top: 8px;
    padding: 8px 24px;
}


/* =============================　　　　　照らすんです プライバシーポリシーページ　　　　　　============================= */

/* =========================
   個人情報取り扱いブロック
========================= */

.privacy-frame {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  padding: 28px 24px 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic", Arial, sans-serif;
  color: #16325b;
}

/* 本文 */
.privacy-frame p {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 16px;
}

/* セパレーター */
.privacy-frame .wp-block-separator {
  border: none;
  border-top: 1px dashed #dde3f0;
  margin: 28px 0;
}

/* h2 見出し（番号付きセクション） */
.privacy-frame h2.wp-block-heading {
  background: #2359a8;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  margin: 32px 0 16px;
}

/* h3 サブ見出し */
.privacy-frame h3.wp-block-heading {
  font-size: 15px;
  font-weight: 700;
  color: #16325b;
  border-left: 4px solid #2359a8;
  padding-left: 10px;
  margin: 24px 0 12px;
}

/* リスト */
.privacy-frame .wp-block-list {
  padding-left: 1.4em;
  margin-bottom: 20px;
}

.privacy-frame .wp-block-list li {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* メールリンク */
.privacy-frame a {
  color: #2359a8;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .privacy-frame {
    padding: 20px 16px 24px;
    border-radius: 14px;
  }

  .privacy-frame h2.wp-block-heading {
    font-size: 15px;
  }
}
