@charset "utf-8";
/* CSS Document */

/*メインのテンプレみたいの*/
main{
max-width: 1000px;
width: 98%;
margin-right: auto;
margin-left: auto;
}

main img{
margin-left: auto;
margin-right: auto;
max-width: 100%;
height:auto;
}

@media screen and (min-width: 1001px) {
main img{max-width: 80%;}}

/*-------------------*/


/*---------旧設定
main{
font-size: 1.8em; 旧2.2em

/*おそらくテンプレ(スマホの文字)
@media screen and (max-width: 1000px) {
main{font-size: 1.9rem;}}/*旧2vmax

----------*/

/*-------------------*/


/*タイトル画像*/
.title-img{max-width: 100%;}

main p{margin-top: 1.7em;}
main h4{margin-top: 1.7em;}
main h3{margin-top: 1.7em;}

/*スペース-----------*/

/*上に間隔開ける*/
.top-space01{
margin-top: 1.7em;}

/*狭い間隔*/
.top-space02{
margin-top: 0.6em;}

/*-------------------*/

/*---記事別の調整-----*/

.mokuzi-00 {
  max-width: 680px;
  margin: 2em auto;
  padding: 1em 1.5em;
  background: #F0F0F0;/*追記*/
  border-top: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
  border-left: 4px solid #444;
  border-radius: 4px;
  font-size: 0.95em;
}

.mokuzi-00 h3 {
  margin-top: 0;
  font-size: 1.1em;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5em;
}

.mokuzi-00 ul {
  padding-left: 1em;
  margin: 1em 0;
}

.mokuzi-00 ul li {
  margin: 0.5em 0;
  list-style: none;/*noneへ変更*/
}

.mokuzi-00 a {
  text-decoration: none;
  color: #333;
  border-bottom: 1px dotted transparent;
  transition: all 0.2s ease;
}

.mokuzi-00 a:hover {
  border-bottom: 1px dotted #999;
  color: #000;
}

@media (max-width: 600px) {
  .mokuzi-00 {
    padding: 1em;
    font-size: 0.9em;
  }
}

/* 記事14の画像＋説明文のやつ*/
.A-14-flex{
  display: flex;
  justify-content: flex-start; /* 横方向は左揃え */
  align-items: flex-start;     /* 縦方向は上揃え */
  gap: 1em; /* 画像とテキストの間隔を確保 */
  margin: 1em 0;
}

.A-14-flex .text14{
flex: 1;/* 余ったスペースを均等に使う、これが無いとずれる */
}

/* サイト全体にかかってるやつキャンセル*/
.A-14-flex p{
font-size: 0.8em;
margin: 0;
}


/*----------------------------*/

/*youtubeのリンク調整*/
.yt_iframe{height:52.87vw;max-height:425px;width:94vw;max-width:670px;}

/*Twitterのリンク調整*/
.twitter-tweet{
padding-top:0.6em;
padding-bottom: 0.6em;}


/*amazonのリンク調整*/
.amazon_link00{display: flex;
margin: 0 auto;
border: solid 1px #000000;
background-color: #FFFFFF;
width: 80%;}
.amazon_link00 a{text-decoration: none;
color: #000000;}
.amazon_link00 img{
    object-fit:contain;
    height:52.87vw;max-height:200px;width:52.87vw;max-width:200px;
    align-items: center; justify-content:center;}

/*amazonのリンク調整 画像リンクが廃止されたので対応させる*/
.amazon_link01{
    margin: 0 auto;
    border: solid 1px #000000;
    background-color: #FFFFFF;
    width: 80%;}
.amazon_link01 a{text-decoration: none;
    color: #000000;}
.amazon_link01 p{margin: 0;}
.amazon_link01 img{margin: 0;}

/*----------------------------*/

/*関連記事のやつ*/
.related-article-00{
display: block;
background-color:#999999;
width: 50%;
}

.related-article-00 a{
color:#000000;
text-decoration: none;
}

.related-article-00 img{
max-width: 100%;
padding: 0;
}

.related-article-00 p{
margin: 0;
height: 3em;
font-weight: 550;/*太字*/
line-height: 1.35em;
overflow: hidden;
}



/*おわりのやつ*/
.article-end01{
text-align: center;
margin-top: 2em;
margin-bottom: 2em;
}

/*ツイートシェアボタンテンプレ*/
.twitter-share {
cursor: pointer;
text-decoration: none;
}
.twitter-share img{
width: 7em;
margin-bottom: 1em;
}