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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/************************************
** ヘッダー・メインビジュアル
************************************/

/* PC時のメインビジュアル表示位置 */
.skin-grayish.front-top-page .container .header-container .header {
  background-position: top center;
}

/* 1023px以下：タブレット・スマホでは別画像に切り替え */
@media screen and (max-width: 1023px) {
  .skin-grayish.front-top-page .container .header-container .header {
    background-image: url(http://futari-money-lab.com/wp-content/uploads/2026/07/futari-money-mobile.png);
    background-position: center bottom;
    background-size: cover;
  }
}

/************************************
** プロフィールカード
************************************/

.fm-profile-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 2.5em 0;
}

.fm-profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 18px 28px 26px !important;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

.fm-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
}

.fm-profile-ren::before {
  background: linear-gradient(90deg, #6ea8dc, #9bc7eb);
}

.fm-profile-misa::before {
  background: linear-gradient(90deg, #ef9eb7, #f6bfd0);
}

.fm-profile-ren {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.fm-profile-misa {
  background: linear-gradient(180deg, #fff9fc 0%, #ffffff 100%);
}

.fm-profile-head {
  margin-bottom: 18px;
}

.fm-profile-badge {
  display: inline-block;
  margin-bottom: 10px !important;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: #f3f4f6;
  color: #555;
}

.fm-profile-name {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 1.8em;
  line-height: 1.3 !important;
  font-weight: 700;
}

.fm-profile-name span {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.62em;
  color: #888;
  font-weight: 600;
}

.fm-profile-catch {
  margin: 6px 0 0 !important;
  font-size: 0.98em;
  line-height: 1.8;
  color: #666;
}

.fm-profile-body p {
  line-height: 2;
  margin: 0 0 1em;
}

.fm-profile-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 1.4em 0 1.2em;
}

.fm-info-box {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  padding: 16px 18px;
}

.fm-info-title {
  margin: 0 0 10px;
  font-size: 0.95em;
  font-weight: 700;
  color: #444;
}

.fm-info-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.fm-info-box li {
  margin-bottom: 0.45em;
  line-height: 1.8;
}

.fm-profile-quote {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.8;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.fm-profile-ren .fm-profile-quote {
  color: #356eaa;
}

.fm-profile-misa .fm-profile-quote {
  color: #c65d85;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/


/* 834px以下 */
@media screen and (min-width: 481px) and (max-width: 834px) {
  .fm-profile-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fm-profile-card {
    padding: 18px 28px 26px !important;
    border-radius: 20px;
  }

  .fm-profile-name {
    font-size: 1.5em;
  }
	
	/* .site-name-text側を完全に非表示 */
  .skin-grayish.front-top-page .header .site-name-text {
    display: none !important;
  }
	  /* 実際に表示する.logo-text側 */
  .skin-grayish.front-top-page .header .logo-text {
    display: block !important;
    font-size: 0 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    transform: translateY(-280px);
  }
.skin-grayish.front-top-page .header .logo-text::before {
    content: "ふたりではじめる、\Aみらいのお金";
    white-space: pre;
    display: block;
    width: 100%;
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: #555;
    text-align: center;
  }
	
 .skin-grayish.front-top-page .header .tagline,
  .skin-grayish.front-top-page .header .site-description,
  .skin-grayish.front-top-page .header .site-description-text {
    display: block !important;
    position: relative !important;
    top: -140px !important;
    margin-top: 0 !important;
    text-align: center !important;
    z-index: 3;
  }
}

/* 480px以下 */
/* Cocoon：スマホ表示時のサイトタイトル重複対策 */
@media screen and (max-width: 480px) {

  .skin-grayish.front-top-page .header .logo-header,
  .skin-grayish.front-top-page .header .logo {
    width: 100% !important;
    max-width: none !important;
    text-align: center !important;
  }
	
  /* .site-name-text側を完全に非表示 */
  .skin-grayish.front-top-page .header .site-name-text {
    display: none !important;
  }

  /* 実際に表示する.logo-text側 */
  .skin-grayish.front-top-page .header .logo-text {
    display: block !important;
    font-size: 0 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    transform: translateY(-140px);
  }

  .skin-grayish.front-top-page .header .logo-text::before {
    content: "ふたりではじめる、\Aみらいのお金";
    white-space: pre;
    display: block;
    width: 100%;
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: #555;
    text-align: center;
  }

  .skin-grayish.front-top-page .header .tagline,
  .skin-grayish.front-top-page .header .site-description {
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.1em !important;
    color: #555 !important;
    text-align: center !important;
    transform: none !important;
  }
}