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

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

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

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

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

/* ========================================
   泉ひかり式 命式表 ブランド表示
======================================== */

.hm-hikari-brand {
  text-align: center;
  margin: 20px 0 18px;
  padding: 16px 12px;
  background: #fff5f8;
  border: 2px solid #e8a6bb;
  border-radius: 12px;
}

.hm-hikari-brand-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hm-hikari-brand-note {
  font-size: 13px;
  color: #666;
}

/* 命式作成ボタンの文字バランス */
#hm-calc-button {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;

  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
}

#hm-calc-button span {
  display: inline-block;
  transform: translateY(-3px);
}


/* 才能の原石 専用デザイン */

#hikari-gem {
  --gold: #a78345;
  --ink: #584941;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  overflow-wrap: anywhere;
}

#hikari-gem * {
  box-sizing: border-box;
}

#hikari-gem h2,
#hikari-gem h3 {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #80602e !important;
}

#hikari-gem h2::before,
#hikari-gem h2::after,
#hikari-gem h3::before,
#hikari-gem h3::after {
  display: none !important;
}

#hikari-gem p {
  margin: 0 0 20px;
}

#hikari-gem img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
}

#hikari-gem .gem-section {
  padding: 45px 24px;
  margin: 20px 0;
  border-radius: 16px;
  border: 1px solid #e6d4b6;
}

#hikari-gem .gem-label {
  display: block;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #95743d;
  margin: 0 0 15px;
}

#hikari-gem .gem-heading {
  font-family: "Yu Mincho", serif;
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.6;
  margin: 0 0 25px;
}

#hikari-gem .gem-center {
  text-align: center;
}

#hikari-gem .gem-line {
  width: 65px;
  height: 1px;
  background: #bc995b;
  margin: 25px auto;
}

/* メイン画像 */

#hikari-gem .gem-hero {
  overflow: hidden;
  background: linear-gradient(
    135deg, #fffdf8, #f7e7e8, #fffaf0
  );
  border: 1px solid #e6d4b6;
  border-radius: 16px;
  margin: 0 0 25px;
}

#hikari-gem .gem-hero-body {
  padding: 30px 20px;
  text-align: center !important;
}

#hikari-gem .gem-diamond {
  font-size: 35px;
  line-height: 1.4;
  margin: 12px auto;
}

#hikari-gem .gem-main-title {
  font-family: "Yu Mincho", serif;
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: 3px;
  line-height: 1.4;
  margin: 12px 0 18px;
  text-align: center;
}

#hikari-gem .gem-copy {
  color: #80602e;
  font-size: 19px;
  font-weight: bold;
}

/* ゴールドボタン */

#hikari-gem a.gem-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  max-width: 380px;
  min-height: 56px;
  width: 100%;
  padding: 14px 18px;
  margin: 16px auto !important;
  border-radius: 40px;
  border: 1px solid #98743d;
  background: linear-gradient(
    110deg, #886331, #a78345, #886331
  );
  color: #ffffff !important;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none !important;
  text-align: center;
  box-shadow: 0 4px 12px #ad894a30;
}

#hikari-gem a.gem-button-light {
  background: #fffdf9;
  color: #80602e !important;
}

#hikari-gem .gem-small {
  font-size: 12px;
  color: #786c61;
}

/* 各セクション */

#hikari-gem .gem-intro,
#hikari-gem .gem-join,
#hikari-gem .gem-genres {
  background: #fffdf9;
}

#hikari-gem .gem-features,
#hikari-gem .gem-faq {
  background: #fcf3f2;
}

#hikari-gem .gem-reader {
  background: #fcf8ef;
  text-align: center;
}

#hikari-gem .gem-premium,
#hikari-gem .gem-message {
  background: linear-gradient(
    135deg, #fffdf8, #f5e9d2, #fffaf3
  );
  text-align: center;
}

/* メリットカード */

#hikari-gem .gem-grid {
  display: grid !important;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0 0;
}

#hikari-gem .gem-card {
  background: #ffffff;
  border: 1px solid #e7d6bd;
  border-radius: 12px;
  padding: 22px 12px;
  text-align: center;
}

#hikari-gem .gem-card-icon {
  font-size: 27px;
  margin-bottom: 8px;
}

#hikari-gem .gem-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
}

#hikari-gem .gem-card p {
  font-size: 14px;
  margin: 0;
  line-height: 1.8;
}

/* 公式サイト特典 */

#hikari-gem .gem-premium-list {
  padding: 0 !important;
  margin: 25px auto;
  list-style: none !important;
  max-width: 500px;
}

#hikari-gem .gem-premium-list li {
  list-style: none !important;
  background: #ffffff;
  border: 1px solid #e5d1ae;
  border-radius: 10px;
  padding: 15px;
  margin: 10px 0;
  color: #80602e;
  font-weight: bold;
}

/* ジャンル一覧 */

#hikari-gem .gem-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 25px auto;
}

#hikari-gem .gem-tag {
  display: inline-block;
  background: #fbefed;
  border: 1px solid #ead5cc;
  border-radius: 30px;
  padding: 8px 13px;
  color: #76584d;
  font-size: 13px;
}

/* 参加方法 */

#hikari-gem .gem-join {
  text-align: center;
}

#hikari-gem .gem-step {
  padding: 20px 5px;
  border-bottom: 1px solid #e8ddca;
}

#hikari-gem .gem-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #a37d43;
  color: #ffffff;
}

#hikari-gem .gem-step h3 {
  font-size: 18px;
  margin: 12px 0;
}

/* よくある質問 */

#hikari-gem details {
  background: #ffffff;
  border: 1px solid #e6d9c8;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 12px;
}

#hikari-gem summary {
  color: #80602e;
  cursor: pointer;
  font-weight: bold;
}

#hikari-gem details p {
  font-size: 14px;
  margin: 15px 0 0;
}

#hikari-gem .gem-sign {
  font-family: "Yu Mincho", serif;
  color: #94703a;
  font-size: 19px;
  margin: 25px auto;
}

/* 不要な余白と自動目次 */

#hikari-gem .toc {
  display: none !important;
}

#hikari-gem p:empty {
  display: none;
}

/* スマートフォン対応 */

@media (max-width: 600px) {

  #hikari-gem {
    font-size: 15px;
  }

  #hikari-gem .gem-section {
    padding: 30px 14px;
    margin: 15px 0;
  }

  #hikari-gem .gem-hero-body {
    padding: 24px 12px;
  }

  #hikari-gem .gem-grid {
    gap: 9px;
  }

  #hikari-gem .gem-card {
    padding: 18px 8px;
  }

  #hikari-gem .gem-card h3 {
    font-size: 15px;
  }

  #hikari-gem .gem-card p {
    font-size: 12px;
  }

  #hikari-gem .gem-heading {
    font-size: 23px;
  }

  #hikari-gem .gem-tag {
    font-size: 12px;
  }

  #hikari-gem a.gem-button {
    font-size: 14px;
    padding: 14px 9px;
  }
}

@media (max-width: 340px) {
  #hikari-gem .gem-grid {
    grid-template-columns: 1fr;
  }
}


/* 泉ひかり アピールエリア横幅修正版 */

#appeal {
  background: #f7f2e9 !important;
}

#appeal #appeal-in {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1440px !important;
  height: auto !important;
  padding: 25px 20px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

#appeal .appeal-content {
  width: 100% !important;
  max-width: 1200px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

#appeal .appeal-message {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#appeal .ih-appeal {
  width: 100% !important;
  padding: 30px 20px !important;
  background: #fffdf9 !important;
  border: 1px solid #c9b184 !important;
  border-radius: 8px;
  box-sizing: border-box;
  color: #51453b;
  text-align: center;
  line-height: 1.9;
}

#appeal .ih-appeal * {
  box-sizing: border-box;
}

#appeal .ih-brand {
  color: #927444 !important;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

#appeal .ih-main-title {
  font-family: "Yu Mincho", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: bold;
  color: #685334 !important;
}

#appeal .ih-subtitle {
  color: #806336;
  font-size: 14px;
  margin: 10px 0 25px;
}

#appeal .ih-appeal-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 25px 0 !important;
}

#appeal .ih-panel {
  min-width: 0;
  padding: 25px 15px !important;
  border: 1px solid #d9c5a1;
  border-radius: 6px;
  background: #ffffff;
}

#appeal .ih-center {
  background: #faf3e6;
  border-color: #b99b64;
}

#appeal .ih-icon {
  color: #b99b64;
  font-size: 30px;
}

#appeal .ih-panel h2 {
  font-family: "Yu Mincho", serif;
  color: #806336 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 23px;
  margin: 10px 0;
}

#appeal .ih-panel p {
  font-size: 14px;
  line-height: 1.9;
  margin: 12px 0;
}

#appeal .ih-panel a {
  display: block !important;
  border: 1px solid #c9b184;
  border-radius: 4px;
  padding: 10px 6px;
  margin: 8px 0;
  background: #ffffff;
  color: #795c30 !important;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none !important;
}

#appeal .ih-panel a:hover {
  background: #967541;
  color: #ffffff !important;
}

#appeal .ih-research-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#appeal .ih-research-links a {
  font-size: 13px;
  margin: 0;
}

#appeal .ih-small {
  color: #78664e;
  font-size: 12px !important;
}

#appeal .ih-bottom {
  background: #f0e7d7;
  padding: 20px 15px;
  border-top: 1px solid #c9b184;
  border-bottom: 1px solid #c9b184;
}

#appeal .ih-message {
  font-family: "Yu Mincho", serif;
  color: #806336;
  font-size: 21px;
  font-weight: bold;
  margin: 15px 0;
}

#appeal .ih-author {
  color: #78664e;
  font-size: 12px;
}

/* スマートフォン対応 */

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

  #appeal #appeal-in {
    padding: 12px !important;
  }

  #appeal .ih-appeal {
    padding: 20px 12px !important;
  }

  #appeal .ih-appeal-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #appeal .ih-main-title {
    font-size: 24px;
  }

  #appeal .ih-brand {
    font-size: 10px;
    letter-spacing: 1px;
  }

}

/* ======================================
   泉ひかり｜カード配置の崩れ修正
====================================== */

#appeal .ih-appeal-grid {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.2fr)
    minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 14px 0 !important;
  padding: 0 !important;
}

/* 自動挿入された不要な要素を非表示 */

#appeal .ih-appeal-grid > p,
#appeal .ih-appeal-grid > br {
  display: none !important;
}

/* カードの共通設定 */

#appeal .ih-appeal-grid > .ih-panel {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 16px 12px !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* 左：自分を知る */

#appeal .ih-appeal-grid > .ih-panel:first-of-type {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

/* 中央：才能を育てる */

#appeal .ih-appeal-grid > .ih-center {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
}

/* 右：心を整える */

#appeal .ih-appeal-grid > .ih-panel:last-of-type {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

/* 中央のボタンを2列に固定 */

#appeal .ih-research-links {
  display: grid !important;
  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
}

#appeal .ih-research-links > p {
  display: contents !important;
}

#appeal .ih-research-links br {
  display: none !important;
}

#appeal .ih-research-links a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 6px 4px !important;
  margin: 0 !important;
  font-size: 12px !important;
}

/* 全体の高さをコンパクトに */

#appeal .ih-appeal {
  padding: 18px 16px !important;
}

#appeal .ih-icon {
  font-size: 22px !important;
  line-height: 1.2 !important;
  margin: 0 0 6px !important;
}

#appeal .ih-panel h2 {
  font-size: 21px !important;
  margin: 6px 0 !important;
}

#appeal .ih-panel p {
  font-size: 13px !important;
  line-height: 1.7 !important;
  margin: 8px 0 !important;
}

#appeal .ih-bottom {
  padding: 12px !important;
  margin-top: 12px !important;
}

#appeal .ih-bottom p {
  margin: 3px 0 !important;
}

#appeal .ih-message {
  margin: 6px 0 !important;
  font-size: 19px !important;
}

/* スマートフォン対応 */

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

  #appeal .ih-appeal-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #appeal .ih-appeal-grid > .ih-panel:first-of-type {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #appeal .ih-appeal-grid > .ih-center {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  #appeal .ih-appeal-grid > .ih-panel:last-of-type {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  #appeal .ih-research-links {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }

  #appeal .ih-research-links a {
    min-height: 44px !important;
    font-size: 13px !important;
  }

  #appeal .ih-appeal {
    padding: 16px 10px !important;
  }

}

/* ==========================================
  泉ひかり｜癸巳の才能研究
  Luxury Hotel Wide Layout
  白 × シャンパンゴールド
========================================== */

.ih-wide {
  --gold: #ae8a4c;
  --gold-soft: #ddc89f;
  --cream: #faf6ee;
  --white: #ffffff;
  --ink: #40382f;
  --brown: #73532b;

  position: relative;
  left: 50%;
  transform: translateX(-50%);

  width: min(1480px, calc(100vw - 32px));
  max-width: none !important;

  margin: 0 0 40px !important;
  padding: clamp(14px, 2vw, 30px);

  background: linear-gradient(
    125deg,
    #faf5eb 0%,
    #ffffff 25%,
    #ffffff 75%,
    #f7efe0 100%
  );

  border: 1px solid #e0cfad;
  box-sizing: border-box;
  color: var(--ink);

  font-family:
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.ih-wide *,
.ih-wide *::before,
.ih-wide *::after {
  box-sizing: border-box;
}

.ih-wide p {
  margin: 0 0 19px !important;
  color: var(--ink);
  font-size: 17px !important;
  font-weight: 400;
  line-height: 1.9 !important;
  letter-spacing: .01em;
}

.ih-wide a {
  color: #725124;
  text-decoration: none;
}

.ih-wide a:hover {
  text-decoration: underline;
}

.ih-wide a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* ==========================================
  上部・ホテル風ヘッダー
========================================== */

.ih-wide .ih-header {
  position: relative;
  padding: 37px 22px;
  margin-bottom: 22px;

  background:
    radial-gradient(
      ellipse at 50% 0%,
      #f4e8ce 0%,
      transparent 65%
    ),
    #fff;

  border: 1px solid #bda06a;
  text-align: center;
}

.ih-wide .ih-header::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #e7d8ba;
  pointer-events: none;
}

.ih-wide .ih-brand {
  display: block;
  margin: 0 0 15px;
  color: #93733d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
}

.ih-wide .ih-display-title {
  position: relative;
  z-index: 1;

  margin: 0;
  color: #5b4427;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: clamp(25px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.65;
}

.ih-wide .ih-display-title span {
  color: #a47e3e;
}

.ih-wide .ih-header-sub {
  margin-top: 18px;
  color: #947345;
  font-size: 12px;
  letter-spacing: .12em;
}

.ih-wide .ih-diamond {
  margin: 15px 0;
  color: #ba9659;
  letter-spacing: .45em;
  font-size: 16px;
}

/* ==========================================
  3カラム
========================================== */

.ih-wide .ih-layout {
  display: grid;
  grid-template-columns:
    minmax(170px, 205px)
    minmax(0, 1fr)
    minmax(180px, 220px);
  gap: 20px;
  align-items: start;
  width: 100%;
}

/* ==========================================
  左右のパネル
========================================== */

.ih-wide .ih-side {
  min-width: 0;
}

.ih-wide .ih-sticky {
  position: sticky;
  top: 25px;
}

.ih-wide .ih-side-card {
  background: #fff;
  border: 1px solid #e4d5b9;
  padding: 21px 17px;
  margin-bottom: 18px;
  box-shadow: 0 5px 16px rgba(85,65,35,.04);
}

.ih-wide .ih-side-heading {
  display: block;
  color: #795a2b;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid #ddc79f;
  padding-bottom: 11px;
  margin-bottom: 15px;
}

.ih-wide .ih-small-label {
  color: #a3844d;
  font-size: 11px;
  letter-spacing: .14em;
  display: block;
  margin-bottom: 9px;
}

.ih-wide .ih-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ih-wide .ih-toc li {
  padding: 11px 0;
  margin: 0;
  border-bottom: 1px solid #f0e7d7;
  font-size: 14px;
  line-height: 1.65;
}

.ih-wide .ih-toc li:last-child {
  border-bottom: none;
}

.ih-wide .ih-toc a {
  display: block;
}

.ih-wide .ih-side p,
.ih-wide .ih-side li {
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.ih-wide .ih-side-card .ih-quote {
  font-size: 15px;
  color: #765629;
  font-weight: 700;
  line-height: 1.8;
}

.ih-wide .ih-side-card ul {
  padding-left: 20px;
  margin: 0;
}

.ih-wide .ih-side-card ul li {
  margin-bottom: 10px;
}

.ih-wide .ih-side-card ul li:last-child {
  margin-bottom: 0;
}

/* ==========================================
  中央の本文
========================================== */

.ih-wide .ih-main {
  min-width: 0;
  padding: clamp(22px, 3vw, 42px);
  background: #fff;
  border: 1px solid #e8ddc9;
  box-shadow: 0 7px 24px rgba(85,65,35,.04);
}

.ih-wide .ih-intro {
  border-left: 4px solid #b9985f;
  background: #fcf9f3;
  padding: 25px 24px 8px;
  margin-bottom: 38px;
}

.ih-wide .ih-section {
  margin-bottom: 43px;
  scroll-margin-top: 30px;
}

.ih-wide .ih-section-title {
  display: block;
  padding: 15px 19px;
  margin: 0 0 25px !important;

  color: #654b2b !important;
  background: linear-gradient(
    90deg,
    #f7f0e2,
    #fff
  );

  border: 1px solid #e4d4b7;
  border-left: 4px solid #b4955d;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: clamp(20px, 2vw, 25px) !important;
  font-weight: 700;
  line-height: 1.6;
}

.ih-wide .ih-section-title::before,
.ih-wide .ih-section-title::after {
  content: none !important;
}

.ih-wide .ih-step {
  background: #fffefa;
  border: 1px solid #e5d7bd;
  border-top: 3px solid #ba9a60;
  padding: 23px 23px 7px;
  margin: 22px 0;
}

.ih-wide .ih-step-title {
  color: #77572b !important;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.6;
  padding: 0 0 12px;
  border-bottom: 1px solid #e0d0b3;
  margin: 0 0 20px !important;
}

.ih-wide .ih-point {
  display: block;
  margin: 25px 0;
  padding: 18px;
  border: 1px solid #d5bd90;
  background: #fbf7ed;
  color: #79572b;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

.ih-wide .ih-final {
  padding: 28px 24px 9px;
  border: 1px solid #cdb384;
  background: linear-gradient(
    135deg,
    #fff,
    #faf3e5
  );
}

.ih-wide .ih-author {
  margin-top: 30px;
  padding: 25px 0 10px;
  border-top: 1px solid #d5bc8b;
  color: #74562f;
  text-align: center;
  font-size: 16px;
  letter-spacing: .08em;
  font-weight: 600;
}

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

@media(max-width: 1080px) {
  .ih-wide .ih-layout {
    grid-template-columns:
      185px minmax(0, 1fr);
    gap: 17px;
  }

  .ih-wide .ih-right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ih-wide .ih-right .ih-side-card {
    margin: 0;
  }

  .ih-wide .ih-main {
    padding: 27px;
  }
}

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

@media(max-width: 700px) {
  .ih-wide {
    width: calc(100vw - 16px);
    padding: 8px;
    font-size: 17px;
  }

  .ih-wide .ih-header {
    padding: 29px 15px;
    margin-bottom: 16px;
  }

  .ih-wide .ih-brand {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .ih-wide .ih-display-title {
    font-size: 23px;
    line-height: 1.6;
  }

  .ih-wide .ih-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
  }

  .ih-wide .ih-left,
  .ih-wide .ih-right {
    grid-column: auto;
    display: block;
  }

  .ih-wide .ih-sticky {
    position: static;
  }

  .ih-wide .ih-main {
    padding: 20px 16px;
  }

  .ih-wide p {
    font-size: 17px !important;
    line-height: 1.9 !important;
    margin-bottom: 17px !important;
  }

  .ih-wide .ih-intro {
    padding: 19px 16px 5px;
    margin-bottom: 30px;
  }

  .ih-wide .ih-section {
    margin-bottom: 34px;
  }

  .ih-wide .ih-section-title {
    font-size: 20px !important;
    padding: 12px 13px;
  }

  .ih-wide .ih-step {
    padding: 18px 15px 4px;
  }

  .ih-wide .ih-step-title {
    font-size: 18px !important;
  }

  .ih-wide .ih-point {
    font-size: 17px;
    padding: 15px 12px;
  }

  .ih-wide .ih-final {
    padding: 21px 16px 4px;
  }

  .ih-wide .ih-side-card {
    padding: 18px 17px;
  }
}

@media(prefers-reduced-motion: reduce) {
  .ih-wide * {
    scroll-behavior: auto !important;
  }
}

/* WordPressテーマの標準見出し・装飾との競合対策 */
.ih-wide .ih-header {
  background: radial-gradient(ellipse at 50% 0%, #f4e8ce 0%, transparent 65%), #fff !important;
  border: 1px solid #bda06a !important;
}
.ih-wide .ih-section-title {
  background: linear-gradient(90deg, #f3e5ca, #fffaf1) !important;
  border: 1px solid #d8c29a !important;
  border-left: 4px solid #b4955d !important;
  color: #654b2b !important;
  box-shadow: none !important;
}
.ih-wide .ih-step-title {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #e0d0b3 !important;
  box-shadow: none !important;
}
.ih-wide .ih-step-title::before,
.ih-wide .ih-step-title::after {
  content: none !important;
}
.ih-wide .ih-side-card {
  background: #fffdf8;
  border-color: #d8c29a;
}
.ih-wide .ih-intro {
  background: #fcf7ec;
}
.ih-wide .ih-toc a {
  color: #725124 !important;
}
.ih-wide .ih-side-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ih-wide .ih-side-card .ih-quote {
  color: #765629;
  font-weight: 700;
}

/* トップページの旧ヘッダーロゴを非表示 */
body.home #header .logo-header {
    display: none !important;
}

/* ヘッダーの余分な高さを解除 */
body.home #header-in {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

body.home #header {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

/* トップページの日付を非表示 */
body.home .date-tags,
body.home .post-date,
body.home .post-update {
    display: none !important;
}