/*!
Theme Name: Merce Blog Theme
Theme URI: 
Description: ブログ用テーマ
Author: SAI inc.
Version: 1.0.0
License: 
License URI: 
Tags: 
*/

/* pタグのマージン調整 */
p {
  margin-bottom:10px !important;
}




/* 投稿系のKVサイズ調整 */
.p-blog__detail--kv img {
max-width: 910px !important;
margin:0 auto !important;
display: block !important;
}





/* 開閉式の目次 */
.toc-002 {
    margin-bottom: 30px;
    border: 2px solid #b4a983;
    border-radius: 3px;
}

.toc-002 div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #b4a983;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
}

.toc-002 div::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}

.toc-002 label::after {
    margin-left: 7px;
    font-weight: 500;
    font-size: .7em;
    color: #fff;
    content: "[開く]";
    cursor: pointer;
}

.toc-002:has(:checked) label::after {
    content: "[閉じる]";
}

.toc-002 input {
    display: none;
}

.toc-002 ol {
    list-style-type: disc;
    margin: 0;
    overflow: hidden;
}

.toc-002 > ol {
    height: 0;
}

.toc-002:has(:checked) > ol {
    height: auto;
    padding: 1em 1em 1em 3em;
}

.toc-002 ol ol {
    margin-top: 5px;
    padding-left: 1.1em;
}

.toc-002 li {
    padding: 5px 0;
    font-weight: 600;
}

.toc-002 ol ol li {
    font-weight: 500;
    font-size: .9em;
}

.toc-002 a {
    color: #333;
    text-decoration: none;
}


/* タイトル付き囲み */
.box26 {
    position: relative;
    margin: 2em 0;
    padding: 1em 1em;
    border: solid 3px #b4a983;
    border-radius: 8px;
}
.box26 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #b4a983;
    font-weight: bold;
}
.box26 p {
    margin: 0; 
    padding: 0;
}


/* 下線マーカー */
.marker-animation {
    background: linear-gradient(transparent 70%, rgb(245,222,179) 50%);
}


/* 2024/08/15 新しいh3 */
.heading19 {
	padding-bottom: 5px;
	margin-bottom: 15px;
	margin-top: 20px;
	font-size: 18px;
	background-image: repeating-linear-gradient(90deg, #b4a983 0, #b4a983 2px, rgba(0,0,0,0) 2px, rgba(0,0,0,0) 4px);
	background-size: 4px 4px;
	background-repeat: repeat-x;
	background-position: center bottom;
	display: inline-block;
    font-weight: bold;
}


/* 2026/02/17 新しいh3 */
h3.wp-block-heading {
    /* --- 既存の全体設定を強制リセット --- */
    border-left: none !important; /* スマホでも強制的に線を消す */
    padding: 0 !important;       /* 余白も強制リセット */
    
    /* --- 今回ご指定のスタイル --- */
    padding-bottom: 5px;
    margin-bottom: 15px;
    margin-top: 20px;
    font-size: 18px;
    
    /* 破線の下線設定 */
    background-image: repeating-linear-gradient(90deg, #b4a983 0, #b4a983 2px, rgba(0,0,0,0) 2px, rgba(0,0,0,0) 4px);
    background-size: 4px 4px;
    background-repeat: repeat-x;
    background-position: center bottom;
    
    display: inline-block;
    font-weight: bold;
}



/* 2024/08/15 h2 */
.heading100 {
padding: 1rem;
margin-top: 15px;
border-left: 6px double #b4a983;
font-size: 20x;
text-align: justify;
font-weight: bold;
}


/* 2024/09/09 カスタム投稿用h2 */
.wp-block-heading {
padding: 1rem;
border-left: 6px double #b4a983;
font-size: 20x;
margin-top: 15px;
text-align: justify;
font-weight: bold;
}



/* 下に二重線 */
.d-line {
  /*線の種類（二重線）太さ 色*/
  border-bottom: double 5px #b4a983;
  margin-bottom: 15px;
  margin-top: 20px;
  font-weight: bold;
  display: inline-block;
}


/* 箇条書き（囲みアリ） */
.list-001 {
    list-style-type: disc;
    padding: 1em 1em 1em 2.5em;
	margin-bottom: 15px;
    border: 2px solid #b4a983;
}

.list-001 li {
    padding: .3em .3em .3em 0;
}

.list-001 li::marker {
    color: #b4a983;
    font-size: 1.1em;
}


/* 2024/08/27 h4 斜めの四角 */
.d-box {
    padding-left: 20px;
    margin-bottom: 15px;
    margin-top: 20px;
	font-weight: bold;
    font-size: 1.6rem;
    color: #0a0f22;
    background-image: repeating-linear-gradient(45deg, #b4a983 0, #b4a983 2px, transparent 2px, transparent 4px);
    background-repeat: no-repeat;
    background-size: 15px 15px;
    background-position: center left;
}


/* 何分で読めるか */
.time {
  background: #ededed;/*背景色*/
  padding: 0.5em;/*文字まわり（上下左右）の余白*/
  font-size: 12px;
  display: inline-block;
}

/* 詳細はこちらボタン */
.background_btn01 {
  display: inline-block;
  width: 100%;
  max-width: 350px; /* ボタン幅 */
  position: relative;
  background: #848FB5; /* 背景色 */
  border: 2px solid #848FB5;
  padding: 1em 2em;
  font-weight: bold;
  color: #fff; /* 文字色 */
  text-decoration: none;
  text-align: center;
  transition-duration: 0.3s;
}

.background_btn01:before {
  /* content: ''; */
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #fff; /* 矢印の色 */
  border-right: 2px solid #fff; /* 矢印の色 */
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 25px;
  margin-top: -6px;
}


/* プロダクトカード */
.card__f {
  display: flex;
  border: 1px solid rgb(200,200,200);
  line-height: 1.5;
}
.card__f-image {
  display: flex;
  justify-content: center;
  align-items: center;/* 上辺合わせにしたい場合は center を flex-start に変更 */
  width: 40%;/* 画像の横幅専有パーセンテージ */
  margin: 0 auto;
  padding: 1em;
  border-right: 1px solid rgb(200,200,200);/* 画像とテキストの間にボーダー不要の場合はこの一行削除 */
}
.card__f-text {
  flex: 1;
  min-width: 0;
  display: flex;
  /* 上下中央合わせにしたい場合はこの一行削除 1/2
  align-items: center;
  上下中央合わせにしたい場合はこの一行削除 2/2 */
  padding: 1em;
}

.card__f-image img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .card__f {
    display: block;
  }
  .card__f-image {
    width: 60%;
    border: 0;
  }
  .card__f-text {
    border-top: 1px solid rgb(200,200,200);
  }
}

/* プロダクトカードここまで */


/* アコーディオン1 */
.accordion-003 {
    max-width: 900px;
    margin-bottom: 7px;
    border-bottom: 2px solid #d0d0d0;
}

.accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 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 .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}



/* アコーディオン2 */
.accordion-008 {
    max-width: 500px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 7px 15px -5px rgb(0 0 0 / 5%);
    background-color: #fff;
}

.accordion-008 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion-008 summary::-webkit-details-marker {
    display: none;
}

.accordion-008 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 .3s;
}

.accordion-008[open] summary::after {
    transform: rotate(225deg);
}

.accordion-008 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-008[open] p {
    transform: none;
    opacity: 1;
}



/* チェックアイコン */
.checkicon {
    display: flex;
    align-items: center;
    gap: 0 7px;
    color: #333;
}

.checkicon::before {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%232589d0%22%20d%3D%22M8.2%2C20.6l-7.8-7.8c-0.5-0.5-0.5-1.2%2C0-1.7L2%2C9.4c0.5-0.5%2C1.2-0.5%2C1.7%2C0L9%2C14.7L20.3%2C3.4c0.5-0.5%2C1.2-0.5%2C1.7%2C0l1.7%2C1.7%20c0.5%2C0.5%2C0.5%2C1.2%2C0%2C1.7L9.8%2C20.6C9.4%2C21.1%2C8.6%2C21.1%2C8.2%2C20.6L8.2%2C20.6z%22%2F%3E%3C%2Fsvg%3E');
    content: '';
}


/* 囲み */
.box-001 {
    padding: 14px;
    border: 2px solid #b4a983;
}


/* 空白10px */
.mgr-10{
    margin-right : 10px;
}


.fontcollar {
    color: #333333;     /* 文字色指定 */
}


/* この記事でわかること */
.list-8 {
    position: relative;
    padding: 1.5em 1em 1em 2.5em;
    border: 2px solid #2589d0;
}

.list-8 > div {
    position: absolute;
    top: -.75em;
    left: 1em;
    padding: 0 .5em;
    background-color: #fff;
    color: #2589d0;
    font-weight: 600;
}

.list-8 ul {
    list-style-type: disc;
    margin: 0;
    padding: 0;
}

.list-8 li {
    padding: .3em .3em .3em 0;
}

.list-8 li::marker {
    color: #2589d0;
    font-size: 1.1em;
}

