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

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

/* サイト全体 */
.h2-line-wrap {
  text-align: center;
  margin: 20px 0;
}

.h2-line-text {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 16px;
}

/* ul装飾 */
.entry-content ul{
    border:3px solid #4CAF50;
    border-radius:8px;
    padding:18px 22px 18px 42px;
    margin:24px 0;
    background:#fff;
}

.entry-content ul li{
    margin:10px 0;
    line-height:1.8;
}

.entry-content ul li::marker{
    color:#070707;
}

/* ヘッダーメニュー縦ライン */

.size-medium{
  padding: 0 10%;
}
.navi-in > ul > li {
  position: relative;
}
.navi-in > ul > li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: #004E7A;
}
/* ハンバーガーメニュー */
.navi-menu-content li{
    border-bottom: 1px solid #000000;
}
.menu-drawer a{
  padding: 10px;
}

/* モバイル用 追尾LINE */
.fixed-bottom-btn {
  display: none;
}

/* インデックス上ウィジェットタイトル非表示 */
.widget-index-top-title{
display:none;
}

/* 一番右の線を消す */
.navi-in > ul > li:last-child {
  border-right: none;
}
.breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before{
  background-color: #fff;
  margin: 0;
  width: 100%;
  padding: .6em 10em;
}
.h2-line-wrap {
  text-align: center;
  margin: 24px 0;
}
.h2-line-link {
  display: inline-block;
}
.h2-line-link img {
  max-width: 100%;
  height: auto;
}
.sidebar h2, .sidebar h3{
  background-color: #004E7A;
  color: #fff;
}
.content{
  background-color: #ffffff;
}
.breadcrumb .pbp-main-before{
  background-color: #fff !important;
}
/************************************
** ヘッダーメニュー ホバー下線
************************************/

#navi .navi-in a {
  position: relative;
  padding-bottom: 8px;
}

#navi .navi-in a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #004E7A;

  opacity: 0;
  transform: translateY(5px); /* 少し下から出る */
  transition: 0.3s ease;
}

#navi .navi-in a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* 記事ボタン */
.post-full {
  width: 30%;
  background: #004E7A;
  text-decoration: none;
  color: white;
  border: none;
  padding: 14px 70px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 0 #000000, 0 8px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  position: relative;
  top: 0;
  margin-bottom: 40px;
}
.post-full:hover {
  background: #0067a3;
  color: #fff;
}
.post-full:active {
  top: 4px;
  box-shadow: 0 2px 0 #004E7A, 0 4px 6px rgba(0, 0, 0, 0.2);
}

/*文字カラー*/
.green-text{
  color: #25A93E;
}
.base-coler{
  color: #004E7A;
}
.orange-text{
  color: #ff6600;
}

/* strongを文字幅ぴったりの下線マーカーに */
.entry-content strong {
  display: inline;
  background: linear-gradient(transparent 70%, #00A8E8 );
  font-weight: bold;
  padding: 0 1px;
}


/* 余白設定 */
.main,
.content,
.container,
.entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

#footer{
    margin-top: 0;
}

/* h2のデザイン */
.entry-content h2 {
  color: #fff;
  background-color: #0f5675;
  padding: 10px 10px;
  position: relative;
  width: 95%;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 50px;
  text-align: center;
}

/* 下のグレーライン */
.entry-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 6px;
  background: #ffffff;
}

/* さらにその下の濃いライン */
.entry-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 6px;
  background: #0a3f56;
}

/* h3デザイン */
.entry-content h3 {
  border-left: none ;
  border-top: none ;
  border-right: none ;
  border-bottom: 3px solid #0f5675 ;
  padding: 5px ;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 95%;
  text-align: center;
  
}

/* コメントデザイン */
.chat-box {
  display: flex;
  width: 80%;
  margin: 0 auto;
  align-items: flex-start;
  margin-top: 50px;
  margin-bottom: 50px;
}

.chat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 10px;
}

.chat-text {
  position: relative;
  background: #f1f1f1;
  padding: 12px 16px;
  border-radius: 10px;
  max-width: 100%;
}


/* トップページ用 */
.top-img{
  width: 100%;
}

/* ライン相談ボタン */
.line-btn p{
  margin-bottom: 0 !important;
}

/* 相談者の解決事例 */
.case-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin-top: 100px;
  margin-bottom: 100px;
}
.case-box{
  width: 25%;
  height: auto;
}
.case-section{
  margin-bottom: 50px;
}
.case-section2{
  margin-bottom: 10px;
}

/* ご相談者様の声 */
.voice-section {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 60px auto;
  margin-bottom: 0;
  flex-wrap: wrap;
  width: 80%;
}
.voice-section p {
  text-align: center;
}

.voice-card {
  background: #eee;
  padding: 30px 25px;
  width: 480px;
  text-align: center;
  border-radius: 10px;
}

.voice-label {
  background: #1f7aa8;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  width: 60%;
  margin: 0 auto 20px;
}

.voice-img img {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.voice-title {
  font-size: 22px;
  margin-bottom: 20px;
}


.voice-text {
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

/* 他のご相談者様のお声ボタン */
.voice-btn {
  background: #008EE0;
  color: white;
  border: none;
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 0 #002f4b, 0 8px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  position: relative;
  top: 0;
  margin-bottom: 40px;
}
.voice-btn:hover {
  background: #52aee4;
}
.voice-btn:active {
  top: 4px;
  box-shadow: 0 2px 0 #008EE0, 0 4px 6px rgba(0, 0, 0, 0.2);
}


/* 選ばれる理由 */
.chosen-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.chosen-card {
  background: #eee;
  width: 350px;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
}
.chosen-lavel {
  background: #1f7aa8;
  color: #fff;
  padding: 12px;
  font-weight: bold;
  margin-bottom: 20px;
}
.chosen-img img {
  width: 120px;
  height: auto;
  margin: 10px 0 20px;
}
.chosen-title {
  font-size: 18px;
  margin-bottom: 15px;
}
.chosen-text {
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}


/* よくあるご質問 */
.question-section{
  margin-top: 70px;
  margin-bottom: 70px;
}
.qa-4 {
  width: 80%;
  margin: 0 auto 1em;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgb(0 0 0 / 12%), 0 2px 3px -2px rgba(0 0 0 / 18%);
  background-color: #ffffff;
}
.qa-4 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 3em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}
.qa-4 summary::before,
.qa-4 p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}
.qa-4 summary::before {
  color: #75bbff;
  content: "Q";
}
.qa-4 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #333333b3;
  border-right: 3px solid #333333b3;
  content: '';
  transition: transform .5s;
}
.qa-4[open] summary::after {
  transform: rotate(225deg);
}
.qa-4 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 3em 1.5em;
  color: #333333;
  transition: transform .5s, opacity .5s;
}
.qa-4[open] p {
  transform: none;
  opacity: 1;
}
.qa-4 p::before {
  color: #ff8d8d;
  line-height: 1.2;
  content: "A";
}

/* 相談してください */
.pie-chart-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1px #333;
}
.pie-chart-3 > div {
  width: 200px;
  height: 200px;
  margin: 0;
  border-radius: 50%;
  background-image: conic-gradient(#2589d0 79%, #f7945b 79% 86%, #f2f2f2 86% 100%);
}
.pie-chart-3 li {
  display: flex;
  list-style-type: none;
  align-items: center;
  font-size: .8em;
}
.pie-chart-3 li::before {
  display: inline-block;
  width: 1.2em;
  height: .8em;
  margin-right: 5px;
  content: '';
}
.pie-chart-3 li:nth-child(1)::before {
  background-color: #2589d0;
}
.pie-chart-3 li:nth-child(2)::before {
  background-color: #f7945b;
}
.pie-chart-3 span {
  margin-right: 10px;
  font-weight: 600;
}

.img-title{
  font-size: 0.6em;
  color: #6e6e6e;
  margin-top: 10px;
}

/* ご相談までの流れページ */
.flow-section{
  margin-top: 20px;
  margin-bottom: 50px;
}
.frow-card{
  display: flex;
  justify-content: center;
}
.frow-card img{
  width: 400px;
  height: auto;
}
.frow-text-box{
  padding: 50px;
  align-items: center;
  text-align: center;
}

/* ご相談者様の声ページ */
/************************************
** チャット（左右）
************************************/
/* アイコン＋名前を縦並び */
.chat-user {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* 名前 */
.chat-name {
  font-size: 12px;
  margin-top: 5px;
}

/* 余白調整 */
.chat.left .chat-user {
  margin-right: 10px;
}

.chat.right .chat-user {
  margin-left: 10px;
}

.chat-wrap {
  max-width: 100%;
  margin: auto 0;
}

/* 共通 */
.chat {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  margin-top: 20px;
}

/* アイコン */
.chat-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

/* 吹き出し */
.chat-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 15px;
  position: relative;
  line-height: 1.6;
}

/************************************
** 左（相手）
************************************/
.chat.left {
  justify-content: flex-start;
  
}

.chat.left .chat-icon {
  margin-right: 10px;
}

.chat.left .chat-bubble {
  background: #f1f1f1;
}


/************************************
** 右（自分）
************************************/
.chat.right {
  justify-content: flex-end;
  margin-bottom: 40px;
}

.chat.right .chat-icon {
  margin-left: 10px;
}

.chat.right .chat-bubble {
  background: #f2f2e9;
  color: #000000;
}

/* 記事冒頭簡易プロフィール */

.supervisor-card{
  width:100%;
  background:#fff;
  border:1px solid #d9d9d9;
  border-radius:6px;
  padding:32px 36px 28px;
  box-sizing:border-box;
  margin:32px 0;
}
.supervisor-header{
  display:flex;
  align-items:flex-start;
}
.supervisor-photo{
  width:96px;
  margin-right:36px;
  flex-shrink:0;
}
.supervisor-photo img{
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
  display:block;
}
.supervisor-profile{padding-top:2px;}
.supervisor-label{
  margin:0 0 6px;
  font-size:13px;
  font-weight:700;
  color:#333;
}
.supervisor-name{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.2;
  font-weight:700;
  color:#0d4c63;
}
.supervisor-job{
  margin:0;
  font-size:16px;
  color:#8a8a8a;
}
.supervisor-text{
  margin-top:22px;
  font-size:15px;
  line-height:2;
  color:#333;
}
.supervisor-text a{
  color:#2b67c7;
  text-decoration:none;
}
.supervisor-text a:hover{
  text-decoration:underline;
}


.wp-preferred-source {
  margin: 32px 0;
  padding: 36px 24px;
  background: #f4f5f6;
  color: #111;
  text-align: center;
}

.wp-preferred-source .wp-preferred-source__title {
  margin: 0 0 14px;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  color: #111;
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
}

.wp-preferred-source .wp-preferred-source__title::before,
.wp-preferred-source .wp-preferred-source__title::after {
  content: none;
}

.wp-preferred-source .wp-preferred-source__text {
  margin: 0 auto;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}

.wp-preferred-source .wp-preferred-source__badge {
  display: block;
  width: 400px;
  max-width: 100%;
  margin: 24px auto 0;
}

.wp-preferred-source .wp-preferred-source__badge img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

body > .wp-preferred-source {
  display: none;
}



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

/* 冒頭LINE */
.h2-line-link{
  margin-bottom: 1.8em;
}

  .breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before{
    padding: .6em 2em;
  }
  .post-full{
    padding: 10px 70px;
    font-size: 15px;
  }
  .post{
    padding: 20px 5%;
  }
  .container{
    background-color: #fff;
  }
  .case-section img{
    width: 70%;
  }
  .case-section2 img{
    width: 70%;
  }
  .case-grid {
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 0;
  }
  .case-box {
    width: 60%;
    height: auto;
  }
  .voice-section {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0px;
  }
  .voice-card {
    width: 350px;
  }
  .voice-title.big {
    font-size: 20px;
  }
  .voice-btn{
    margin-bottom: 20px;
  }
  .chosen-section {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
  }
  .question-section{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .qa-4{
    width: 85%;
  }
  .pie-chart-3 > div {
    width: 150px;
    height: 150px;
  }
  .chat-box{
    width: 85%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .pie-chart-3{
    width: 85%;
    margin: 0 10% ;
  }
  /* ご解決までの流れページ */
  .flow-section{
    display: flex;
    justify-content: center;
  }
  .flow-section img{
    width: 150px;
    height: auto;
    margin: auto 0;
  }
  .frow-card{
    margin: auto 0;
  }
  .chat{
    margin-left: 5%;
    margin-right: 5%;
  }
  .chat-name{
    font-size: 10px;
  }
  .chat-icon {
  width: 60px;
  height: 60px;
}

/* 記事冒頭簡易プロフィール */
  .supervisor-card{
    padding:22px 18px;
  }
  .supervisor-photo{
    width:72px;
    margin-right:18px;
  }
  .supervisor-photo img{
    width:72px;
    height:72px;
  }
  .supervisor-label{
    font-size:11px;
  }
  .supervisor-name{
    font-size:18px;
    margin-bottom:8px;
  }
  .supervisor-job{
    font-size:13px;
  }
  .supervisor-text{
    margin-top:18px;
    font-size:14px;
    line-height:1.9;
  }
}


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