@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){
  /*必要ならばここにコードを書く*/
}
/* ==================================================
   FX de Reboot Design OS
   記事本文 H2・H3 共通見出し
   追加日：2026-08-04
================================================== */

/* H2：記事内の大きな区切り */
.article h2 {
  margin-top: 64px;
  margin-bottom: 32px;
  padding: 20px 24px;
  border: none;
  border-left: 6px solid #6d4aff;
  border-radius: 12px;
  background: #f1edff;
  color: #172033;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

/* Cocoonや過去スキン由来の装飾を無効化 */
.article h2::before,
.article h2::after {
  display: none;
  content: none;
}

/* H3：H2より弱い小見出し */
.article h3 {
  position: relative;
  margin-top: 48px;
  margin-bottom: 24px;
  padding: 0 0 12px;
  border: none;
  border-bottom: 2px solid #e5e7eb;
  background: transparent;
  color: #172033;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

/* H3下線の一部をブランド紫にする */
.article h3::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 72px;
  height: 2px;
  background: #6d4aff;
  content: "";
}

/* Cocoonや過去スキン由来の前装飾を無効化 */
.article h3::before {
  display: none;
  content: none;
}

/* スマートフォン */
@media screen and (max-width: 768px) {
  .article h2 {
    margin-top: 48px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border-left-width: 5px;
    border-radius: 12px;
    font-size: 24px;
  }

  .article h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 21px;
  }

  .article h3::after {
    width: 56px;
  }
}
/* ==================================================
   FX de Reboot Design OS
   免責ボックス
   追加日：2026-08-04
================================================== */

.article .fxdr-disclaimer-box {
  margin: 40px 0;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-left: 5px solid #6d4aff;
  border-radius: 12px;
  background: #f7f8fa;
  color: #172033;
}

.article .fxdr-disclaimer-box p {
  margin: 0;
  line-height: 1.8;
}

.article .fxdr-disclaimer-box p:first-child {
  margin-bottom: 12px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .article .fxdr-disclaimer-box {
    margin: 32px 0;
    padding: 20px;
  }
}
/* ==================================================
   FX de Reboot Design OS
   トップページの日付非表示
   対象：サイトトップ固定ページ
   追加日：2026-08-04
================================================== */

body.home .date-tags,
body.home .post-date,
body.home .post-update,
body.home .entry-date,
body.home .published,
body.home .article-header .date-tags,
body.home .article-header .entry-date,
body.page-id-100 .date-tags,
body.page-id-100 .post-date,
body.page-id-100 .post-update,
body.page-id-100 .entry-date,
body.page-id-100 .published {
  display: none !important;
}
/* ==================================================
   FX de Reboot Design OS
   トップページ限定：サイドバー非表示・1カラム化
   対象固定ページID：100
   追加日：2026-08-04
================================================== */

body.home #sidebar,
body.page-id-100 #sidebar {
  display: none !important;
}

body.home #main,
body.page-id-100 #main {
  width: 100% !important;
  max-width: 100% !important;
}

body.home .content-in,
body.page-id-100 .content-in {
  display: block !important;
}

body.home .main,
body.page-id-100 .main {
  width: 100% !important;
  max-width: 1120px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* ==================================================
   FX de Reboot Design OS
   トップページ・3ステップ導線 Ver1.0
   対象固定ページID：100
   追加日：2026-08-05
================================================== */

/* 3ステップ全体 */
body.home .fxdr-start-steps,
body.page-id-100 .fxdr-start-steps {
  max-width: 1040px;
  margin: 0 auto 72px;
  padding: 48px;
 border: 1px solid #EEF0F4;
  border-radius: 20px;
  background: #ffffff;
}

/* セクション見出し */
body.home .fxdr-start-steps > h2,
body.page-id-100 .fxdr-start-steps > h2 {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: #172033;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

/* 導入文 */
body.home .fxdr-start-steps > p,
body.page-id-100 .fxdr-start-steps > p {
  max-width: 760px;
  margin: 0 0 32px;
  color: #475467;
  font-size: 16px;
  line-height: 1.8;
}

/* 3カード配置 */
body.home .fxdr-start-steps,
body.page-id-100 .fxdr-start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
}

/* 見出しと導入文は横幅全体 */
body.home .fxdr-start-steps > h2,
body.home .fxdr-start-steps > p,
body.page-id-100 .fxdr-start-steps > h2,
body.page-id-100 .fxdr-start-steps > p {
  grid-column: 1 / -1;
}

/* 各カード */
body.home .fxdr-start-step-card,
body.page-id-100 .fxdr-start-step-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f6ff 100%);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

/* STEP番号 */
body.home .fxdr-start-step-number,
body.page-id-100 .fxdr-start-step-number {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1edff;
  color: #6d4aff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

/* カード見出し */
body.home .fxdr-start-step-card h3,
body.page-id-100 .fxdr-start-step-card h3 {
  margin: 0 0 16px;
  padding: 0 0 14px;
  border: none;
  border-bottom: 1px solid #ddd6fe;
  background: transparent;
  color: #172033;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

/* 説明文 */
body.home .fxdr-start-step-card p:not(.fxdr-start-step-number):not(.fxdr-start-step-link),
body.page-id-100 .fxdr-start-step-card p:not(.fxdr-start-step-number):not(.fxdr-start-step-link) {
  margin: 0 0 20px;
  color: #475467;
  font-size: 15px;
  line-height: 1.8;
}

/* リンクをカード下部に揃える */
body.home .fxdr-start-step-link,
body.page-id-100 .fxdr-start-step-link {
  margin: auto 0 0;
}

body.home .fxdr-start-step-link a,
body.page-id-100 .fxdr-start-step-link a {
  color: #6d4aff;
  font-weight: 700;
  text-decoration: none;
}

body.home .fxdr-start-step-link a:hover,
body.page-id-100 .fxdr-start-step-link a:hover {
  text-decoration: underline;
}

/* スマートフォン */
@media screen and (max-width: 768px) {
  body.home .fxdr-start-steps,
  body.page-id-100 .fxdr-start-steps {
    display: block;
    margin-bottom: 56px;
    padding: 32px 20px;
    border-radius: 16px;
  }

  body.home .fxdr-start-steps > h2,
  body.page-id-100 .fxdr-start-steps > h2 {
    font-size: 26px;
  }

  body.home .fxdr-start-step-card,
  body.page-id-100 .fxdr-start-step-card {
    margin-top: 20px;
    padding: 24px 20px;
  }

  body.home .fxdr-start-step-card h3,
  body.page-id-100 .fxdr-start-step-card h3 {
    font-size: 20px;
  }
}
/* ==================================================
   FX de Reboot Design OS
   3ステップ導線・スマホ見出し微調整
   更新日：2026-08-05
================================================== */

@media screen and (max-width: 768px) {
  body.home .fxdr-start-steps > h2,
  body.page-id-100 .fxdr-start-steps > h2 {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.02em;
  }

  body.home .fxdr-start-step-link a,
  body.page-id-100 .fxdr-start-step-link a {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* ==================================================
   FX de Reboot トップページ
   Cocoon標準シェア・フォロー・投稿者表示を非表示
================================================== */

body.home .sns-share,
body.home .sns-share-message,
body.home .sns-follow,
body.home .sns-follow-message,
body.home .author-info,
body.home .post-author,
body.home .entry-footer .author-info {
  display: none !important;
}

/* ==================================================
   FX de Reboot トップページ
   PC版上部余白の調整
================================================== */

@media screen and (min-width: 835px) {
  body.home #main {
    padding-top: 24px !important;
  }

  body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* ==================================================
   FX de Reboot トップページ
   スマホ固定下部ナビゲーションを非表示
================================================== */

@media screen and (max-width: 834px) {
  body.home .mobile-footer-menu-buttons,
  body.home .mobile-menu-buttons {
    display: none !important;
  }
}

/* ==================================================
   FX de Reboot｜Hero
================================================== */

.fxdr-hero {
  width: auto;
  max-width: none;
  margin-top: -24px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

html,
body {
  overflow-x: clip;
}

.fxdr-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #172033;
  letter-spacing: -0.02em;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1.05;
}

/* ==================================================
   FX de Reboot｜Brand Message
================================================== */

body.home .fxdr-brand-message-title {
  margin: 0 auto 24px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: #172033;
  text-align: center;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.home .fxdr-brand-message-title::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #6d4aff;
}

body.home .fxdr-brand-message-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 20px auto 24px;
  border-radius: 999px;
  background: #6d4aff;
}

body.home .fxdr-brand-message-text {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #172033;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ==================================================
   FX de Reboot｜Brand Pillars
================================================== */

body.home .fxdr-brand-pillars {
  width: 100%;
  max-width: none;
  margin: 8px auto 48px;
  column-gap: 0;
}

body.home .fxdr-brand-pillars > .wp-block-column {
  margin: 0;
  padding: 20px 28px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

body.home .fxdr-brand-pillars > .wp-block-column + .wp-block-column {
  border-left: 1px solid #e6e2ff;
}

body.home .fxdr-brand-pillar {
  display: grid;
  grid-template-columns: 80px minmax(140px, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
}

body.home .fxdr-brand-pillar .wp-block-image,
body.home .fxdr-brand-pillar-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 80px;
  min-width: 80px;
  margin: 0;
}

body.home .fxdr-brand-pillar .wp-block-image img,
body.home .fxdr-brand-pillar-icon img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

body.home .fxdr-brand-pillar-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #172033;
  font-weight: 700;
  text-align: left;
}

body.home .fxdr-brand-pillar-text {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: #172033;
  line-height: 1.7;
  font-weight: 600;
  text-align: left;
}

@media screen and (min-width: 782px) {
  body.home .fxdr-brand-pillars {
    width: min(1080px, calc(100vw - 64px));
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 781px) {
  body.home .fxdr-brand-pillars {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  body.home .fxdr-brand-pillars > .wp-block-column {
    padding: 24px 0;
  }

  body.home .fxdr-brand-pillars > .wp-block-column + .wp-block-column {
    border-left: none;
    border-top: 1px solid #e6e2ff;
  }
}

/* FX de Reboot｜Recommended Posts Title */
body.home .fxdr-recommended-posts-title {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: #172033;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

body.home .fxdr-recommended-posts-title::before,
body.home .fxdr-recommended-posts-title::after {
  display: none;
  content: none;
}
/* FX de Reboot｜Recommended Post Card */
body.home .fxdr-recommended-posts-grid {
  max-width: 1040px;
  margin: 0 0 64px;
  gap: 20px;
}

body.home .fxdr-recommended-post-card {
  padding: 28px 24px;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.05);
}

body.home .fxdr-recommended-post-title {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: #172033;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

body.home .fxdr-recommended-post-title::before,
body.home .fxdr-recommended-post-title::after {
  display: none;
  content: none;
}

body.home .fxdr-recommended-post-text {
  margin: 0 0 20px;
  color: #475467;
  font-size: 15px;
  line-height: 1.8;
}

body.home .fxdr-recommended-post-link {
  margin: 0;
}

body.home .fxdr-recommended-post-link a {
  color: #6D4AFF;
  font-weight: 700;
  text-decoration: none;
}

body.home .fxdr-recommended-post-link a:hover {
  text-decoration: underline;
}

/* FX de Reboot｜Latest Posts Title */
body.home .fxdr-latest-posts-title {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: #172033;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

body.home .fxdr-latest-posts-title::before,
body.home .fxdr-latest-posts-title::after {
  display: none;
  content: none;
}
/* FX de Reboot｜Latest Posts List */
body.home .fxdr-latest-posts-list {
  max-width: 1040px;
  margin: 0 0 64px;
  padding: 0;
  list-style: none;
}

body.home .fxdr-latest-posts-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
}

body.home .fxdr-latest-posts-list li:first-child {
  padding-top: 0;
}

body.home .fxdr-latest-posts-list img {
  border-radius: 12px;
}

body.home .fxdr-latest-posts-list a {
  color: #172033;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

body.home .fxdr-latest-posts-list a:hover {
  color: #6D4AFF;
}

@media screen and (max-width: 781px) {
  body.home .fxdr-latest-posts-list li {
    gap: 14px;
    padding: 16px 0;
  }

  body.home .fxdr-latest-posts-list img {
    width: 110px !important;
    height: 80px !important;
    object-fit: contain !important;
    background: #ffffff;
  }

  body.home .fxdr-latest-posts-list a {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* FX de Reboot｜About Title */
body.home .fxdr-about-title {
  margin: 0 0 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: #172033;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

body.home .fxdr-about-title::before,
body.home .fxdr-about-title::after {
  display: none;
  content: none;
}
/* FX de Reboot｜About */
body.home .fxdr-about {
  margin: 0 0 72px;
}

body.home .fxdr-about-layout {
  align-items: center;
  gap: 32px;
  padding: 32px;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  background: #FAF9FF;
}

body.home .fxdr-about-content {
  color: #475467;
}

body.home .fxdr-about-content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
}

body.home .fxdr-about-content p:first-child {
  color: #172033;
  font-weight: 700;
}

body.home .fxdr-about-link {
  margin-top: 20px;
}

body.home .fxdr-about-link a {
  color: #6D4AFF;
  font-weight: 700;
  text-decoration: none;
}

body.home .fxdr-about-link a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  body.home .fxdr-about-layout {
    gap: 24px;
    padding: 24px 20px;
  }

  body.home .fxdr-about-content p {
    font-size: 15px;
    line-height: 1.8;
  }
}
/* ARTICLE-0004｜単利・複利比較図解 */
.fxdr-compound-compare {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.fxdr-compound-compare img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .fxdr-compound-compare {
    max-width: 100%;
  }
}