/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/*吹き出し*/
  .talk-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 2em 0;
  }
  .talk-box.left { flex-direction: row; }
  .talk-box.right { flex-direction: row-reverse; }

  .talk-box .icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
  }
  .talk-box .icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }

  .talk-box .talk-content {
    max-width: 75%;
  }

  .talk-box .bubbles {
    background: #ebebeb;
    padding: 1.5em 1em;
    border-radius: 10px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
  }

  .talk-box.left .bubbles::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #ebebeb;
  }

  .talk-box.right .bubbles::before {
    content: "";
    position: absolute;
    right: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #ebebeb;
  }

/*著者情報*/
.Author {
	position: relative;
	margin: 3em 0 2em 0;
	padding: 1em 1em;
	line-height: 26px;
	border: solid 3px #62c1ce;
  display: grid;
  grid-template:
    "img name" auto
    "img title" auto
    /100px 1fr
  ;
  gap: 0 10px;
  padding: 10px;
  border-radius: 4px;
  background-color: #fff;
	border: solid 2px #62c1ce;
}

.Author_Img {
  grid-area: img;
  border-radius: 100%;
  background-color: #ccc;
}

.Author_Name {
  grid-area: name;
  align-self: end;
}

.Author_Title {
  grid-area: title;
  align-self: start;
  font-size: 0.8em;
}

.Author_box {
	position: absolute;
	display: inline-block;
	top: -30px;
	left: -1px;
	padding: 0 9px;
	height: 30px;
	line-height: 30px;
	vertical-align: middle;
	font-size: 15px;
	background: #62c1ce;
	border-radius: 5px 5px 0 0;
	color: #ffffff;
}

/*セール情報枠*/
.boxsell {
	  margin: 0.5em 0em 2.0em 0em;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}
.boxsell .box-title {
    font-size: 1.1em;
    background: #BE0032;
    padding: 2px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.boxsell p {
	padding: 10px 10px;
	margin: 0;
}

/*フォント*/
body, html {
    font-family: Lato, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/*テーブル（エディタ用）*/
table td, table th {
    padding: .5rem 1rem;
}

/*コピーライト削除*/
.site-footer-copyright p:nth-child(2) {
    display: none;
}

/*テーブル*/
:where(:not(.wp-block-table))>table {
    border: 1px solid rgb(0 0 0 / 15%);
}

:where(:not(.wp-block-table))>table :is(th,td) {
    border: 1px solid;
    font-size: 15px;
}

/* レビュースター*/
.review_star {
    position: relative;
    display: inline-block;
    height: 16px;
    padding-left: 90px;
    font-size: 16px;
    line-height: 1;
}

.review_star::before {
    color: #ddd;
}

.review_star::before, .review_star::after {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    line-height: 16px;
    font-weight: normal;
    content: '★★★★★';
}

.review_star::after {
    overflow: hidden;
    color: #ffc71c;
    white-space: nowrap;
}

.star50::after {
    width: 80px;
}

.star45::after {
    width: 72px;
}

.star40::after {
    width: 64px;
}

.star35::after {
    width: 56px;
}

.star30::after {
    width: 48px;
}

.star25::after {
    width: 40px;
}

.star20::after {
    width: 32px;
}

.star15::after {
    width: 24px;
}

.star10::after {
    width: 16px;
}



.review_star::before, .review_star::after {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    line-height: 16px;
    font-weight: normal;
    content: '★★★★★';
}

.star05::after {
    width: 8px;
}

.star00::after {
    width: 0;
}

/* 文字 */
body {
  font-size: 16px;
  color: #505050;
}

/* 段落 */
p {
  line-height: 1.8;
}

/* マーカー */
.marker_yellow_hoso {
background: linear-gradient(transparent 60%, #ff9 60%);
}

.line-yellow {
    background: linear-gradient(transparent 60%, #ff9 50%);
}

/* リンクカラー */
a {
    color: #0329ce;
}

li a, p a {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    text-decoration-color: #0329ce;
    text-decoration-thickness: 1px;
}

/*テーブル*/
table {
    margin-bottom: 20px;
}
tbody th {
    background: #f7f7f7;
    border: 1px solid #ddd;
    color: #505050;
    text-align: center;
}
tbody td {
    border: 1px solid #ddd;
   color: #505050;
}


/*キャラ*/
.circle {
    border-radius: 50%;
}

.bubble {
    display: inline-block;
    position: relative;
    min-height: 60px;
    min-width: 60px;
    padding: .75em;
    border: 1px solid #ccc;
    border-radius: 8px !important;
    box-sizing: border-box;
    background: #fff;
    font-size: 1.2rem;
 margin: 0px 15px 0px 0px;

}

.talker b {
    display: inline-block;
    height: auto;
    line-height: 1.6;
    font-weight: normal;
    font-size: 1.0rem;
    text-align: center !important;
    vertical-align: top;
}

/*関連記事*/
.box28 {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #00324c;
background: #ffffff;
}
.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    background: #00324c;
    color: #efaa2b;
font-size: 0.8em;
}
.box28 p {
    margin: 0;
    padding: 0;
}

/*CTAボタンについて*/
.button {
margin-top: 5px;
font-size: 1.05em;
padding: 0.6em 1em;
    display: block;
    color: #fff;
font-weight: bold;
    background: #fe9833;
    text-align: center;
    transition: 0.3s ease-in-out;
text-decoration:underline;/*下線を引く*/
border-radius: 30px;
width:90%;
margin: auto;
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
}

.button:hover {
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.6);
    transition: 0.4s;
    transform: translateY(-2px);
opacity: 0.8;
}

.button{
  position: relative;
  display: inline-block;
}

.button::before{
  content: '';
  width: 9px;
  height: 9px;
  border: 0px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
right: 8%;
  margin-top: -4px;
}

/*けんいBOX設定*/
.box_style_title span {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
}
.box_style_title span::before {
    position: absolute;
    top: 100%;
    left: 0;
    height: 0;
    width: 0;
    border: 3px solid transparent;
    border-top-color: #d6d6d6;
    border-right-color: #d6d6d6;
    content: "";
}

.box_style_blue .box_inner, .box_style_green .box_inner, .box_style_orange .box_inner, .box_style_red .box_inner, .box_style_pink .box_inner, .box_style_yellow .box_inner, .box_style_gray .box_inner {
    padding: 15px;
}

.box_style_blue .box_style_title, .box_style_green .box_style_title, .box_style_orange .box_style_title, .box_style_red .box_style_title, .box_style_pink .box_style_title, .box_style_yellow .box_style_title, .box_style_gray .box_style_title {
    margin: -8px 0 5px -27px;
    color: #fff;
    line-height: 1.4;
}

.box_inner {
    background-color: #fafafa;
}


/*けんいイエローBOX*/
.box_style.box_style_yellow {
    background-image: none;
    border: 1px solid #cabb8d;
}

.box_style_yellow .box_style_title span {
    background-color: #bda010;
}

.box_style_yellow {
    margin-bottom: 30px;
    padding: 6px;
    background-size: 4px 4px;
    background-repeat: repeat;
    font-size: 0.9rem;
}

.box_style_yellow .box_inner {
    background-color: #fffdf3;
}


/*けんいグレーBOX*/
.box_style.box_style_gray {
    background-image: none;
    border: 1px solid #7e7e7e;
}

.box_style_gray {
    margin-bottom: 30px;
    padding: 6px;
    background-size: 4px 4px;
    background-repeat: repeat;
    font-size: 0.9rem;
}

.box_style_gray .box_style_title span {
    background-color: #999999;
}


/*グレー背景枠*/
.boxgray {
margin: 2em auto;  
    padding: 0.5em 0.5em;
width: 95%; /*幅の調節*/
    color: #2c2c2f;
    background: #f5f5f5;/*背景色*/
}

/*グレー背景枠に画像を抑える*/
.wp-caption {
    max-width: 100%;
text-align:center
margin: 0em 0;
 font-size: 0.85em;
    color: #4f4f4f;
 text-align:center
}

.wp-caption p{
   margin-bottom: 0px;
}

/*画像センター寄せ*/
.aligncenter {
    display: block;
    float: none;
    margin-right: auto;
    margin-bottom: 0.5em;
    margin-left: auto;
}

/* 運営者情報 */
.box27 {
    position: relative;
    margin: 3em 0 2em 0;
    padding: 1em 1em;
		line-height: 26px;
    border: solid 3px #62c1ce;
}
.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -30px;
    left: -3px;
    padding: 0 9px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    font-size: 15px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box27 p {
    margin: 0; 
    padding: 0;
}

/*こんな環境で作っています*/
.title-box1{
  margin: 1em 0;
  padding: 1em;
  position: relative;
  border: 1px solid #555;
}

.title-box1-title{
  position: absolute;
  top: -0.8em;
  left: 20px;
  font-weight: bold;
  font-size: 1.2em;
  background: #fff;
  padding: 0 0.5em;
}

.title-box1 p{
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/*グレー枠テキスト用*/
.boxtext {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #2c2c2f;
    background: #eeeeee;/*背景色*/
}
.boxtext p {
    margin: 0; 
    padding: 0;
}

/*見出し*/
h1{
margin-top: 0;
}

h2{
padding: 1rem 2rem 1rem 1rem;
  background: #00324c;
color: #fff;
margin-top: 60px;
font-size: 1.4em;
}


h3 {
padding: 1rem 2rem 1rem 0rem;
  border-top: 2px solid #28354c;
  border-bottom: 2px solid #28354c;
font-size: 1.3em;
}


h4{
padding: 1rem 1rem 1rem 1rem;
  border-left: 3px solid #000;
font-size: 1.1em;
}

h5{
margin-bottom: 12px;
color: #505050;
font-size: 1.3rem;
}

h6{
margin-bottom: 12px;
color: #505050;
font-size: 1.3rem;
}

h6{
margin-top: 10px;
}