

/*
 * text
 */
.entry-content strong.positive {
    color:#413e75;
}


/*
 * href
 */
.entry-content a{
  color:#4169E1;
}
.entry-content a:visited{
  color:#4169E1;
}
.entry-content a:hover{
  color:#0000ff;
}
.entry-content a {
  text-decoration:none;
}
.entry-content a:hover {
  text-decoration: none;
}


/*
 * question
 */
.entry-content .question {
    position: relative; /* ★重要：これを追加して基準点にします */
    border: solid 2px #82955d;
    padding: 45px 35px;
    margin: 20px 0 40px 0;
    font-weight: bold;
    background-color: #fefff6;
    font-size: 1.35rem;
    border-radius: 50px;
    color: #82955d;
}

/* 共通設定：三角形の基本形 */
.entry-content .question::before,
.entry-content .question::after {
    content: "";
    position: absolute;
    top: 100%; /* ボックスの下に配置 */
    left: 70%; /* 左右中央に配置 */
    transform: translateX(-50%); /* 中央揃えの補正 */
    border: solid transparent; /* 透明な線で三角形を作る */
    height: 0;
    width: 0;
    pointer-events: none;
}

/* 外側の三角形（枠線の色） */
.entry-content .question::before {
    border-color: rgba(130, 149, 93, 0);
    border-top-color: #82955d; /* ★枠線の色 */
    border-width: 20px; /* 三角形の大きさ */
    margin-left: 0; 
}

/* 内側の三角形（背景の色） */
.entry-content .question::after {
    border-color: rgba(254, 255, 246, 0);
    border-top-color: #fefff6; /* ★背景色 */
    border-width: 17px; /* 枠線(2px)分だけ小さくする */
    margin-left: 0;
}

.entry-content .question:first-child{
    margin-top:0px;
}
.entry-content .question p:last-child{
    margin-bottom:0px;
}


/*
 * ul,ol,li
 */
body .entry-content ul, body .entry-content ol{
    border:0;
    padding:0;
    margin:30px 0;
}
.entry-content .borderbox ul, .entry-content .borderbox ol{
    margin:0;
}

.entry-content ul li:first-child,
.entry-content ol li:first-child
{
    margin-top:0px;
}
.entry-content ul li:last-child,
.entry-content ol li:last-child
{
    margin-bottom:0px;
}
.entry-content li{
    padding:5px;
    margin-bottom:0px;
    margin-top:18px;
    font-weight:bold;
}
.entry-content ul{
    padding-inline-start:0px;
}
.entry-content ul li{
    list-style: none;
    text-indent: -1.8em;
    padding-left: 1.8em;
}
.entry-content ul li:before {
    font-family: FontAwesome;
    content: '\f10c';
    padding-right:10px;
    font-size:1.0em;
}
.entry-content ul p{
    margin-left:23px;
    margin-top:0px;
    margin-bottom:10px;
    font-size:1em;
}

.entry-content ol{
    padding-inline-start:0px;
    counter-reset: item;
}
.entry-content ol li{
    list-style: none;
    text-indent: -1.8em;
    padding-left: 1.8em;
}
.entry-content ol li:before{
    counter-increment: item;
    content: counter(item);
    background-color:#fff;

    display: inline-block;

    font-size:80%;
    font-weight:normal;
    line-height:1.7;
    width: 1.6em;
    height: 1.6em;

    text-align: center;
    border-radius:3px;
    border:1px solid #555;
    margin-right:10px;

    text-indent:0;
}
.entry-content ol p{
    margin-left:31px;
    margin-top:0px;
    margin-bottom:10px;
    font-size:1em;
}

.entry-content ol.normal li,
.entry-content ul.normal li
{
    font-weight:normal;
}
.entry-content ul.simple{
    list-style-type: none;
}
.entry-content ul.simple li:before{
    content:"";
}
.entry-content ul.simple p{
    margin-left:10px;
}


/*
 * borderbox
 */
.entry-content .borderbox{
    border:solid 1px #ddd6ce;
    background-color:#fdfbf8;
    padding:30px;
    margin:20px 0 20px 0;
    border-radius:0 ;

    position:relative;
}

.entry-content .borderbox + .borderbox {
    /*margin-top:40px;*/
}

@media screen and (max-width: 650px) {
    .entry-content .borderbox {
        padding:20px;
    }
}

.entry-content .borderbox h3,
.entry-content .borderbox h4,
.entry-content .borderbox h5
{
    /*
    position:absolute;
    top:-20px;
    left:0px;
    transform: translateY(0%) translateX(-50%);
    -webkit-transform: translateY(0%) translateX(-50%);
    white-space: nowrap;
    display: inline;
    background-color:#fff;
     */

    margin-bottom:20px;
    font-size:1.05rem;
    border:0;
    padding:5px;
}

@media screen and (max-width: 650px) {
    .entry-content .borderbox h3,
    .entry-content .borderbox h4,
    .entry-content .borderbox h5 {

    }
}

.entry-content .borderbox h3:first-child,
.entry-content .borderbox h4:first-child,
.entry-content .borderbox h5:first-child
{
    margin-top:0;
}
.entry-content .borderbox p:first-child{
    margin-top:0px;
}
.entry-content .borderbox p:last-child{
    margin-bottom:0px;
}


/*
 * orderbox
 */
.entry-content .orderbox{
    counter-reset: number 0;
}
.entry-content .orderbox p{
    margin-left:0px;
}
.entry-content .orderbox > h4::before
{
    counter-increment: number 1;
    content: counter(number)" ) ";
}
.entry-content .orderbox > h4{
    border-left:0;
    padding-left:0;
}
.entry-content .orderbox.h5 > h5::before
{
    counter-increment: number 1;
    content: counter(number)" .";
}


/*
 * graybox
 */
.entry-content .graybox{
    border-radius:10px;
    background-color:#f4f4f4;
    border:solid 3px #f4f4f4;
    padding:20px;
    margin:20px 0 20px 0;
}

/*
 * related-article
 */
.entry-content  .related-article{
    border-radius:0px;
    background-color:#f4f4f4;
    border:solid 3px #f4f4f4;
    padding:20px;
    margin:20px 0 20px 0;
}

/*
 * related-box
 */
.entry-content .related-box{
    display: flex;

    position: relative;
    border:solid 5px #e1e1e1;
    padding:20px;
    margin:20px 0 20px 0;
}
.entry-content .related-box img{
    padding:0;
    border:0;
    width:100%;
    max-width:300px;
    min-width:100px;
}
.entry-content .related-box > div{
    margin:0 10px;
}
.entry-content .related-box > div:first-child{
    margin-left:0;
}
.entry-content .related-box > div:last-child{
    margin-right:0;
}
.entry-content .related-box .title{
    font-weight:bold;
    margin-bottom:5px;
}
.entry-content .related-box .desc{
    line-height:150%;
}
.entry-content .related-box:before{
    content: "よく読まれている記事";
    position:absolute;
    top:-12px;
    left:5px;
    background-color:#555;
    color:#fff;
    font-size:13px;
    padding:3px 5px;
    line-height:100%;
}
@media screen and (max-width: 600px){
    .entry-content .related-box .title{
        font-size:95%;
        line-height:130%;
        margin-bottom:5px;
    }
    .entry-content .related-box .desc{
        font-size:85%;
        line-height:140%;
    }
}


/* 引用 */
.entry-content .blockquote {
    font-size:0.90rem;
    background-color: #fafafa;
    padding-top: 40px;
    padding-right: 20px;
    padding-bottom: 40px;
    padding-left: 20px;
    margin-top: 20px;
    margin-right: 0px;
    margin-bottom: 20px;
    border-left-width: 8px;
    border-left-style: solid;
    border-left-color: #f1f1f1;
    line-height:200%;

    position:relative;
}
.entry-content .blockquote:after {
    color: #eee;
    content: "”";
    font-family: serif;
    font-size: 600%;
    line-height: 0;
    position: absolute;
    right: 5px;
    bottom: -5px;
}

.entry-content .blockquote p{
    font-size:0.95rem;
    line-height:180%;
}
.entry-content .blockquote .small{
    margin-top:15px;
    line-height:130%;
}

/*
 * scroll-box
 */
.scroll-box{
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.scroll-box .tbl td,.scroll-box .tbl th{
    white-space: nowrap;
    font-size:0.9rem;
    padding:15px;
}

/* scroll-box bunkatu */
.scroll-box.bunkatu .center{
    text-align:center;
}
.scroll-box.bunkatu table td{
    text-align:right;
    padding:5px;
}
.scroll-box.bunkatu table tr.totals td{
    font-weight:bold;
}

/*
 * table
 */

.entry-content th {
    padding: 15px;
    background: #f8f9fa;
    border-right: 1px solid #aaa;
    word-break: break-all;
}
.entry-content td{
    padding: 15px;
    border-right: 1px solid #aaa;
    word-break: break-all;
}

.entry-content table{
    width: 100%;
    border:1px solid #aaa;
    border-collapse: collapse;
}
.entry-content table.table th {
    border-bottom: 1px solid #aaa;
}
.entry-content tr:not(:last-child) {
    border-bottom: 1px solid #aaa;
}

table.table {
    width:100%;
    margin:30px 0;
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
table.table .tbody{
}
table.table tr:nth-child(even) {
}
table.table{
    border-collapse:collapse;
}
table.table tr{
}
table.table th,table.table td{
    width:100%;
    padding:10px;
    border-spacing:0px;
    white-space: nowrap;
    font-size:0.9rem;
}
table.table th.right,
table.table td.right{
    text-align:right;
}
table.table th.center,
table.table td.center{
    text-align:center;
}

table.table th{
    text-align:left;
    background-color:#f8f9fa;
}
.entry-content p:empty {
    margin:0;
    padding:0;
    height:0px;
}


/*
 * text modify
 */
.entry-content b{
    color:#f44336;
}
.entry-content .small{
    font-size:80%;
    color:#999;
    text-align:center;
    margin-top:5px;
}
.entry-content .small a{
    color:#999;
    text-decoration:none;
}
.entry-content p{
    margin-top:20px;
    margin-bottom:20px;
    font-size:1rem;
}
.entry-content > p {
    line-height: 1.93;
}
.entry-content span.head {
    margin-top:1rem;
    font-weight:bold;
    font-size:0.8rem;
    display:block;
}

/*
 * h1
 */
h1{
    font-size: 1.55em;
    line-height: 1.6;
}

/*
 * h
 */
.entry-content h3{
    margin:20px 0;
    font-size:1.35rem;
    line-height:1.6;
    position: relative;

    background-color:#f8f9fa;

    padding:45px 35px;
    border-radius: 15px;
}

.entry-content h3.info{
  background-color:#55c500;
  color:#fff;
  border-radius: 5px;
  margin-top:40px;
}
@media screen and (max-width: 650px) {
    .entry-content h3{
        margin:20px -15px;
        padding:25px 15px;

        border-radius: 0px;
    }
}
@media screen and (max-width: 481px) {
    .entry-content h3{
        margin:20px -15px;
    }
}
.entry-content h4{
    font-size:1.3rem;
    font-weight:bold;
    line-height:1.5;

    margin-top:20px;
    margin-bottom:20px;

    padding:20px 0;
    border-bottom:2px #444 solid;

}
@media screen and (max-width: 650px) {
    .entry-content h4{
        margin-top:15px;
        margin-bottom:15px;
        padding:15px 0;
    }
}
.entry-content h5{
    font-size: 1.2rem;
    line-height:1.8em;
    font-weight:bold;

    margin-top:30px;
    margin-bottom:15px;
    padding:0 0 0 0px;
    /*border-left:5px solid #252525;*/
}


/* h6 */
.entry-content h6 {
    font-size: 1.1rem;
    margin-top:20px;
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid #555;
}
.entry-content h6 + .borderbox {
    margin-top:0px;
}

.entry-content h6 + .graybox{
    margin-top:0px;
}
/*
 * btn-ad
 */

.btn-wrap{
    text-align:center;
}
a.btn-ad {
    width:100%;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    font-size:1.2rem;
    color: #ffffff;

    background-color: #ff6f00;
    border-bottom: 5px solid #d84315;

    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    padding:20px 0px 20px 0px;
    text-decoration: none;
    font-weight:bold;
    position:relative;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
a.btn-ad::after {
    font-family:'FontAwesome';
    content: "\f105";
    position:absolute;
    right:20px;
    top:50%;
    transform: translateY(-50%) translateX(0);
    -webkit-transform: translateY(-50%) translateX(0);
}
a.btn-ad:hover {
    background-color: #f57f17;
    color: #ffffff;
}
a.btn-ad:visited {
    color: #fff;
}

@media only screen and (max-width: 500px) {
    a.btn-ad {
        font-size:1.1rem;
    }
}


.btn-ad2 {
    display: block;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    color: #ffffff;
    font-size: 1.5rem;
    background: #f44336;
    padding: 10px 20px;
    text-decoration: none;
    box-shadow: 4px 4px 0 0 #666;
    -moz-box-shadow: 4px 4px 0 0 #666;
    -webkit-box-shadow: 4px 4px 0 0 #666;
    text-align:center;
}
.btn-ad2:visited {
    color:#fff;
}
.btn-ad2:hover {
    background: #009688;
    text-decoration: none;
    color: #fff;
}
@media (max-width: 768px) {
    .btn-ad2 {
        font-size:1rem;
    }
}

/*
 * フッターウィジェット（全ページに表示）
 */
.footer {
  position: relative;
  clear: both;
  font-size: 0.95em;
}
.inner-footer {
  padding-top: 2em;
}
.ft_title {
  margin: 0 0 0.7em;
  padding: 2px 0 2px 10px;
  border-left: solid 3px;
  font-size: 1.2em;
}
.footer .widget ul li a,
.footer .my-widget__text {
  opacity: 0.75;
}
.footer .widget .my-widget li a {
  opacity: 1;
}
.footer p {
  line-height: 1.55;
}
.footer p a {
  text-decoration: underline;
}
.footer p a:hover {
  opacity: 0.7;
}
.footer .ft_widget,
.footer .my_popular_posts {
  margin: 1.5em 0 3em;
  background: transparent;
}
.footer .widget h4 + * {
  padding: 0;
}
.footer .my-widget__img img {
  border: none;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}
.footer .widget ul li a {
  position: relative;
  padding: 8px 0 8px 13px;
}
.footer .widget ul li a:hover {
  background: transparent;
  text-decoration: underline;
}
.footer .widget .my-widget li a {
  padding-left: 0;
}
.footer .widget .my-widget li a:hover {
  text-decoration: none;
}
.footer .widget ul:not(.my-widget) li a:before {
  position: absolute;
  left: 0;
  font-family: FontAwesome;
  content: "\f105";
}
.footer .widget ul li ul li a {
  margin-left: 15px;
}
.footer .tagcloud a {
  background: rgba(0, 0, 0, 0.18);
  text-decoration: none;
}
.footer select {
  background-color: #fff;
}
#footer-menu {
  padding: 20px 10px 10px;
  text-align: center;
}
#footer-menu a {
  color: #fff;
  text-decoration: none;
}
.footer-menu__btn {
  font-size: 20px;
  transition: 0.3s ease-in-out;
}
.footer-menu__btn:hover {
  opacity: 0.7;
}
#footer-menu nav,
.footer-links {
  display: inline-block;
}
#footer-menu ul {
  margin: 0.5em;
}
#footer-menu li,
.privacy-policy-link {
  display: inline-block;
  padding: 0 6px;
  font-size: 14.5px;
}
.privacy-policy-link {
  padding-left: 0;
}
#footer-menu li a:hover,
#footer-menu .privacy-policy-link:hover {
  text-decoration: underline;
}
.copyright {
  margin: 5px 0 0;
  font-size: 13.5px;
  opacity: 0.7;
}

#footer-menu ul{
    padding:0;
}
#footer-menu {
    background-color:#444;
}
#footer-menu .copyright {
    color:#fff;
}

/*
 * mt,mb
 */
.mt10{
  margin-top:10px;
}
.mt20{
  margin-top:20px;
}
.mt30{
  margin-top:30px;
}
.mt40{
  margin-top:40px;
}
.mt50{
  margin-top:50px;
}
.mt60{
  margin-top:60px;
}
.mt70{
  margin-top:70px;
}
.mt80{
  margin-top:80px;
}
.mt90{
  margin-top:90px;
}
.mt100{
  margin-top:100px;
}

.mb10{
  margin-bottom:10px;
}
.mb20{
  margin-bottom:20px;
}
.mb30{
  margin-bottom:30px;
}
.mb40{
  margin-bottom:40px;
}
.mb50{
  margin-bottom:50px;
}
.mb60{
  margin-bottom:60px;
}
.mb70{
  margin-bottom:70px;
}
.mb80{
  margin-bottom:80px;
}
.mb90{
  margin-bottom:90px;
}
.mb100{
  margin-bottom:100px;
}

/*
 * lightbox-img.cover
 */
.entry-content .lightbox-img.cover {
  position: relative;
  width: 100%;
  height: 300px;
}
.entry-content .lightbox-img.cover amp-img,
.entry-content .lightbox-img.cover img {
  object-fit: cover;
  object-position: 100% 0;
  cursor: pointer;
  width: 100%;
  max-width: 350px;
  height: 400px;
}
@media screen and (max-width: 600px) {
  .entry-content .lightbox-img.cover amp-img,
  .entry-content .lightbox-img.cover img {
    object-fit: cover;
    object-position: 100% 0;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    height: 350px;
  }
}

/*
 * cols img
 */
.entry-content .cols {
  display: flex;
  justify-content: left;
  margin-top: 20px;
  margin-bottom: 20px;
}
.entry-content .cols amp-img,
.entry-content .cols img {
  border: 1px #ccc solid;
  width: 100%;
}
.entry-content .cols > div {
  min-width: 250px;
  width: 50%;
}

@media screen and (max-width: 600px) {
  .entry-content .cols {
    display: block;
    max-width: 250px;
  }
}

/*-------------------------
  ブログカード
-------------------------*/
.blog-card {
  border: 1px solid #999;
  word-wrap: break-word;
  max-width: 100%;
  border-radius: 0px;
  margin: 30px 0;
  padding: 18px 18px;
  position: relative;
}
.blog-card p {
  margin: 0px;
}
.blog-card:hover {
  background: #fffff1;
}
.blog-card a {
  text-decoration: none;
  /* Flexbox for vertical centering */
  display: flex;
  align-items: center;
}
.blog-card-title {
  color: #01579b;
  display: block;
}
.blog-card-thumbnail {
  /* float: left; Removed for Flexbox */
  margin-right: 18px; /* Increased margin for better spacing */
  width: 90px;
  flex-shrink: 0; /* Prevent thumbnail shrinking */
}
.blog-card-thumbnail amp-img,
.blog-card-thumbnail img {
  display: block;
  padding: 0;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.blog-card-content {
  line-height: 100%;
  flex-grow: 1; /* Take remaining space */
}
.blog-card-title {
  font-size: 1.0rem;
  font-weight: normal;
  line-height: 1.3em;
  text-decoration: underline;
}
.blog-card-excerpt {
  margin-top: 8px;
  font-size: 1rem;
  color: #888;
  line-height: 1.5em;
}
.blog-card .clear {
  /* clear: both; Unnecessary with Flexbox */
  display: none;
}

.blog-card .blog-card-header {
  position: absolute;
  top: -10px;
  left: 6px;
  background-color: #fff;
  font-size: 0.8rem;
  border: 0px #eee solid;
  padding: 0px 10px;
}
