@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以下*/
.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: 28px;
  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;
  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 8px;
  font-size: 1.8em;
  line-height: 1.3;
  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: 0;
  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;
}
.fm-profile-card {
  padding: 18px 28px 26px !important;
}

.fm-profile-badge {
  margin-bottom: 10px !important;
}

.fm-profile-card .fm-profile-name {
  margin: 0 0 6px !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

.fm-profile-catch {
  margin-top: 6px !important;
}
/*834px以下*/
@media screen and (max-width: 834px) {
  .fm-profile-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fm-profile-card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .fm-profile-name {
    font-size: 1.5em;
  }
	
	.fm-profile-card {
  padding: 18px 28px 26px !important;
}

.fm-profile-badge {
  margin-bottom: 10px !important;
}

.fm-profile-card .fm-profile-name {
  margin: 0 0 6px !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

.fm-profile-catch {
  margin-top: 6px !important;
}
}


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