/** styles for post detail content **/

/*ブロックエディター調整*/
/* 管理画面側 */
.is-root-container .detail a{
  color: #0693e3;
  text-decoration: underline;
  transition: .3s;
}

.is-root-container table img{
  margin: 0 auto;
}

/** root **/
.is-root-container {
  color: #282828;
  font-family: kozuka Gothic Pro, sans-serif;
  font-size: 14px;
  letter-spacing: 1.2px;
}

.is-root-container cite {
  font-size: 10px;
  letter-spacing: normal;
  color: #777777;
}
.is-root-container cite a {
  text-decoration: underline;
  color: #777777;
}

.is-root-container figcaption {
  text-align: left;
}

/**
 * inline
 */

 /** sub **/
 .is-root-container sub,
 .is-root-container sup {
   font-size: 0.6em;
 }

/**
 * text blocks
 */

/* heading */
.is-root-container h1,
.is-root-container h2,
.is-root-container h3,
.is-root-container h4 {
  margin: 60px 0 20px;
}

.is-root-container h1 {
  font-size: 3em;
}

.is-root-container h2 {
  font-size: 2em;
}

.is-root-container h3 {
  font-size: 1.6em;
}

.is-root-container h3::after {
  display: block;
  content: "";
  width: 32px;
  height: 2px;
  background-color: #dd3a76;
}

.is-root-container h4 {
  font-size: 1.4em;
}

/* paragraph */
.is-root-container p {
  margin: 20px 0;
  line-height: 1.85;
}

/* code */
.is-root-container code,
.is-root-container kbd {
  margin: 0 2px;
  border-radius: 5px;
  padding: 2px 4px;
  background-color: #eaeaea;
  letter-spacing: 0.9;
  font-size: 0.8em;
}

/* kbd */
.is-root-container kbd {
  font-weight: bold;
}

/* quote */
.is-root-container .wp-block-quote {
  border-left: .25em solid #eaeaea;
  padding-left: 1em;
}

/* list */
.is-root-container ul:not([class]) {
  list-style-type: circle;
  margin: 20px 0;
  padding-left: 20px;
}

.is-root-container ol:not([class]) {
  list-style-type: decimal;
  margin: 20px 0;
  padding-left: 20px;
}


.is-root-container ul:not([class]) ul,
.is-root-container ul:not([class]) ol,
.is-root-container ol:not([class]) ul,
.is-root-container ol:not([class]) ol {
  margin: 10px 0;
}


/* table */
.is-root-container .wp-block-table {
  margin: 20px auto;
}
.is-root-container .wp-block-table.is-style-stripes {
  border: none;
}

.is-root-container .wp-block-table table {
  margin: 20px auto!important;
}

.is-root-container .wp-block-table td,
.is-root-container .wp-block-table th {
  margin: 20px auto;
  border: 1px solid #eaeaea;
  padding: 5px;
}

/* preformatted */
/* pull quote */
.is-root-container .wp-block-pullquote {
  border-top: 4px solid;
  border-bottom: 4px solid;
}
.is-root-container .wp-block-pullquote.is-style-solid-color {
  border: none;
}

.is-root-container .wp-block-pullquote__citation,
.is-root-container .wp-block-pullquote cite,
.is-root-container .wp-block-pullquote footer　{
  text-transform: initial;
}
/* verse */

/**
 * media blocks
 */
 /* image */
 /* gallery */
 /* media text */
 .is-root-container .wp-block-media-text {
   margin: 20px 0;
 }

/**
 * design blocks
 */
/* column */
.is-root-container .wp-block-column {
  margin: 20px 0;
}

/* link-list */
.is-root-container .link-list li {
  font-size: 12px;
  color: #5297C7;
}

/* group */
.is-root-container .wp-block-group {
  margin: 10px auto;
}

.is-root-container .wp-block-group__inner-container {
  overflow: hidden;
}
/* separator */
/* buttons */
.is-root-container .wp-block-buttons {
  margin: 20px auto;
}

.is-root-container .wp-block-button__link {
  color: #fff;
  background-color: #282828;
  transition: .2s box-shadow ease-in;
}

.is-root-container .wp-block-button__link:hover {
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.is-root-container .is-style-outline .wp-block-button__link {
  border-color: #282828;
}

/* categories */
.is-root-container .wp-block-categories {
  margin: 10px 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 10px;
}
  
.is-root-container .wp-block-categories a {
  border: 1px solid #DD3A76;
  border-radius: 50px;
  padding: 5px 10px;
  text-decoration: none;
  color: #DD3A76;
  transition:
    .2s color ease-in,
    .2s background-color ease-in;;
}

.is-root-container .wp-block-categories a:hover {
  background-color: #DD3A76;
  color: #fff;
}


/**
 * embedded blocks
 */

.is-root-container .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.is-root-container .wp-embed-aspect-16-9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/** custom **/

.is-root-container .box1 {
  margin: 2em 0;
  padding: 1.5em 1em;
  border: solid 2px #000;
  font-weight: bold;
}

.is-root-container .box2 {
  margin: 2em 0;
  padding: 1.5em 1em;
  border: solid 2px #d1d1d1;
  border-radius: 5px;
  background: #fff;
}

.is-root-container .box3 {
  margin: 2em 0;
  padding: 1.5em 3em;
  background: #edf6ff;
  color: #2c2c2f;
}

.is-root-container .box4 {
  margin: 2em 0;
  padding: 1.5em 1em;
  border-top: solid 3px #6bb6ff;
  border-bottom: solid 3px #6bb6ff;
  background: #eef7ff;
  color: #2c2c2f;
}

.is-root-container .box5 {
  margin: 2em 0;
  padding: 1.5em 1em;
  border: double 5px #4ec4d3;
  color: #474747;
}

.is-root-container .box6 {
  margin: 2em 0;
  padding: 1.5em 1em;
  border: dashed 2px #6bb6ff;
  background: #edf6ff;
}

.is-root-container .box7 {
  margin: 2em 0;
  padding: 1.5em 1em;
  border-right: double 7px #4ec4d3;
  border-left: double 7px #4ec4d3;
  background: whitesmoke;
  color: #474747;
}

.is-root-container .box8 {
  margin: 2em 0;
  padding: 1.5em 1em;
  border-left: solid 6px #ffc06e;
  background: #fff8e8;
  color: #232323;
}

.is-root-container .box9 {
  margin: 2em 0;
  padding: 1.5em 1em;
  border-top: solid 6px #DD3A76;
  background: #fceded;
  color: #DD3A76;
  font-weight: bold;
}

.is-root-container .box10 {
  margin: 2em 10px;
  padding: 1.5em 1em;
  border: dashed 2px white;
  background: #d6ebff;
  box-shadow: 0 0 0 10px #d6ebff;
}