p a:hover{ color:red;}
p a{ text-decoration: none;}
.heading1{
  margin-bottom: 1em;
  width: 100%;
  padding: 5px 0;
  position: relative;
}
.heading1 .heading_adjust{
  max-width: 1440px;
  padding-left: 10%;
  padding-right: 10%;
  margin: 0 auto;
}
.heading1-center-align{
  position: relative;
  padding-bottom: 50px;
}
.heading1-center-align h1{
  text-align: center;
  margin-top: 50px;
  color: #fff;
  font-weight: 300;
  line-height:1.2em;
}
.heading1 p{
  margin: 0;
  position: absolute;
  bottom: 0;
  right: 10px;
  color: #fff;
}
/*パンくず設定*/
.breadcrumb {
  margin-left: 0;
  padding-left: 0;
}

.breadcrumb li{
  position: relative;
  display:inline-block;/*横に並ぶように*/
  list-style: none;
  font-weight: bold;/*太字*/
  padding: 0;
  height: 28px;
  line-height: 28px;
  font-size: 13px;

}
.breadcrumb li a{
  color: #fff;
}
.breadcrumb li a:hover {
  color: #000;
}
.breadcrumb li:not(:last-child):after{/*三角の部分*/
  content: '＞';
  padding: 0 0.2em;
  color: #fff;
}
main .center-align{
  display: flex;
  display:-webkit-flex;
  display: -ms-flexbox;
  /*flex-direction: row-reverse;*/
  margin-left: auto;
  margin-right: auto;
  /*justify-content: space-around;*/

}
.red{
  color:red;
  font-weight: 800;
  background: linear-gradient(transparent 75%,#FFC6C6 60%);
  padding:2px;
}
.blue{
  font-weight: 800;
  background: linear-gradient(transparent 65%,#FFDDBB 0%);
  padding:2px;
}

main .main{
  width:1040px;
  text-align: justify;
  text-justify:distribute;
  display: block;
  margin:0 1em;
  padding-left: 6em;
  padding-right: 6em;
  padding-top: 1.8em;
  background-color: rgb(255,255,255);
  border-radius: 1em;
  text-align: justify;
  text-justify:distribute;
}
.article-pic{
  width:836px;
  height:418px;
  border-radius: 1em;
  margin-bottom:3em;
}
aside{
  display: block;
  width: 335px;
}

.tables{
  margin-bottom:3em;
}
.tables h2{ text-align: center; background-color: rgb(248,145,116); padding:0.3em 0; color:white; margin-top: 1em;}
.tables>ul{ padding:1em; border:3px solid rgb(248,145,116); border-top:0px solid rgb(248,145,116);}
.tables ul{ list-style-type: none; line-height: 1.5em;}
.tables ul>li{ margin-top: 5px;}
.tables>ul>li>a{ font-size:1.2em; text-decoration: none; }
.tables>ul>li li{ padding-left: 1.5em;}
.tables a{ color:rgb(0,0,0); text-decoration: none;}
.tables a:hover{ color:rgb(0,255,0);}
/*h2の装飾*/
.paper::before {
  position: absolute;
  display: block;
  pointer-events: none;
  content:"";
  top: 3px;
  left: -6px;
  width: 110%;
  height: calc(100% + -10px);
  box-sizing: content-box;
  border-top: solid 2px white;
  border-bottom: solid 2px white;
}
.paper{ position: relative; padding: 1em 1em; margin: 1em 0; margin-bottom:3em;background: #f4f4f4; border-left: solid 6px rgb(248,145,116); color: white; text-align: center;}
.main-pic{width: 100%;max-width:500px;margin-top:0.5em;margin-bottom: 2.5em;}
section h3{margin-top: 1em;margin-bottom: 2em;padding-left: 0.5em;border-left: 6px solid rgb(255,199,120); border-bottom: 1px solid rgb(200,200,200);padding-bottom: 0.2em;}
.point {position: relative;margin-top: 4em;margin-bottom: 3em;padding: 1em 1em 0.5em 1em;border: solid 3px #62c1ce;}
.point a {
  text-decoration: none;
}
.point a:hover {
  color:red;
}
.point .point-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    padding-top: 2px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.point p {margin: 0; padding: 0;margin-left:1em;}
.point i{margin-left:-1em;}

/*引用*/
blockquote {
    position: relative;
    padding: 10px 15px 30px 60px;
    box-sizing: border-box;
    font-style: italic;
    background: #efefef;
    color: #555;
    margin-bottom:2em;
}

blockquote:before{
    display: inline-block;
    position: absolute;
    top: 18px;
    left: 15px;
    vertical-align: middle;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    color: #cfcfcf;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}
blockquote:after{display: inline-block;position: absolute;bottom: 18px;right: 25px;vertical-align: middle;content: "\f10d";font-family: "Font Awesome 5 Free";color: #cfcfcf;font-size: 30px;line-height: 1;font-weight: 900;}
blockquote p {padding: 0;margin: 10px 0;line-height: 1.7;}
blockquote cite {display: block;text-align: right;color: #888888;font-size: 0.9em;}

/*引用終わり*/
.link-box{margin: 3em 0;position:relative;display:-webkit-flex;display: -ms-flexbox;display:flex;align-items: center;width:100%;  padding-right: 1em;  height: 120px; background-color: #f7f7f7}
/*.link-box:hover{opacity:0.5;}*/
.link-box p{margin:0 0 0 10px;font-size:1em;  font-weight: bold;color: #000;}
.link-pic{width:25%;height: 100%;border: solid 1px rgb(240,235,235);}
.link-a:hover{opacity: 0.5;}
.link-a{width:100%;text-decoration: none;display: block;}

#matome{border:5px solid #62c1ce;border-radius: 1em;width:100%;margin-bottom: 1em;padding-bottom: 1em;padding-top: 0.5em;padding-left: 1em;}
#matome ul{list-style-type: none;}
#matome li{padding-left:2.5em;line-height: 1.2em;}

/*吹き出し用*/
.balloon5 {width: 100%;margin: 5em 0;overflow: hidden;}
.balloon5 .faceicon {float: left;margin-right: -110px;width: 100px;}
.balloon5 .faceicon-right{float:right;margin-left:-110px;width:100px;}
.balloon5 .faceicon img{width: 100%;height: auto;border: solid 3px #d7ebfe;border-radius: 50%;padding:0.5em 0;}
.balloon5 .faceicon-right img{width: 100%;height: auto;border: solid 3px #d7ebfe;border-radius: 50%;padding:0.5em 0;}
.balloon5 .chatting {width: 100%;}
.says {display: inline-block;position: relative;margin: 5px 0 0 115px;padding: 17px 13px;border-radius: 12px;background: #d7ebfe;}
.says-left {display: inline-block;position: relative;margin: 0px 115px 0 5px;padding: 17px 13px;border-radius: 12px;background: #d7ebfe;}
.says:after {content: "";display: inline-block;position: absolute;top: 18px;left: -24px;border: 12px solid transparent;border-right: 12px solid #d7ebfe;}
.says-left:after {content: "";display: inline-block;position: absolute;top: 18px;right: -24px;border: 12px solid transparent;border-left: 12px solid #d7ebfe;}
.says p {margin: 0;padding: 0;}
.says-left p{margin:0;padding:0;}
/*吹き出し用終わり*/

/* プログラミングコード用 */
.new_code{margin-bottom:2em;}
.code{margin-bottom: 2em;display:block;width:100%;padding:1rem;overflow-x:scroll;color:rgb(216,216,216);background-color:rgb(64,64,64);
  background-image:repeating-linear-gradient(
       to bottom,
       rgb(64,64,64) 0px,
       rgb(64,64,64) 2px,
       rgb(80,80,80) 2px,
       rgb(80,80,80) 3px  );
  text-shadow: 0px 0px 2px rgb(0,0,0),
    0px 0px 10px rgba(0,0,0,0.6);
  font-size:1em;line-height:1.3em;overflow-x:auto;}
code{font-family:Consolas, monospace;}
/* 英会話 */
.conversation, .conversation-example{position:relative;border:3px solid #95ccff;border-radius: 8px;width:100%;margin-top:3em;margin-bottom: 2em;padding: 1em;padding-top:2em;padding-right: 2em;}
.conversation .box-title, .conversation-example .box-title{position: absolute;display: inline-block;top: -50px;left: 10px;padding: 0 9px;line-height: 1;font-size: 19px;color: #95ccff;font-weight: bold;}
.conversation p, .conversation-example p{padding:0px;margin:0px;}
.conversation-example p:nth-of-type(2n+1)::before{content: "● ";}
.situation{position:relative;margin-top: 2em;margin-bottom: 3em;padding: 0.5em 1em;background:  rgb(255,255,255);border: dashed 2px #95ccff;border-radius: 8px;width:100%;}
.situation .situ-title{position: absolute;display: inline-block;top: -20px;left: 10;padding: 0 9px;line-height: 1;font-size: 19px;color: #95ccff;font-weight: bold;background-color: rgb(255,255,255);}
.situation p{margin:0px;padding:0px;margin-top:0.5em;}
.related-word{display:-webkit-flex;display:flex;padding-left: 1em;padding-right: 1em;border:1px dotted black;border: dashed 2px #95ccff;border-radius: 8px;width:100%;margin-bottom: 1em;}
.related-word .left{width:50%;}
.related-word .right{padding-left: 1em;position:relative;border-left:dashed 2px #95ccff;width:50%;}
.check{margin-bottom:1.5em;}
.check p{line-height: 1.0em;padding: 0;margin: 0;margin-bottom:0.5em;}
.example{border:3px dotted rgb(240,240,240);width:80%;margin-bottom: 2em;}
.example p{padding: 0;margin: 0.5em;}
.example ul{list-style-type:none;margin-left: 1em;margin-bottom: 0.5em;line-height: 1.3em}

/* このファン */
.status table{
  width:50%;
  margin:10px 0;
  font-size: 13px;
  border-collapse: collapse;
  border-spacing: 0px;
  border: 1px solid #ccc;
}
.status table th{
  padding: 4px 8px;
  color: #fff;
  font-weight: 700;
  border: 1px solid #000;
  text-align: center;
  font-size: 12px;
  /*box-shadow: inset 0px 1px 1px rgba(255,255,255,0.3);*/
  /*background-image: linear-gradient(90deg, rgb(105, 84, 62), rgb(118, 97, 75))*/
  background-color: rgb(104,142,200);
}
.status table td{
  padding:4px 8px;
  border:1px solid #7c6a56;
  text-align: center;
}
.status .skill{
  text-align:left;
  font-weight:bold;
  color:#fff;
  background-color: rgb(104,142,200);
}
.status .skill_detail{
  text-align: left;
}

.option-explain{
  border-collapse: collapse;
  border: solid 1px #ccc;
  line-height: 1.5;
  margin-bottom: 2em;
}
.option-explain th{
  padding: 10px;
  font-weight: bold;
  vertical-align: top;
  background: #62c1ce;
  color: #fff;
  border:solid 1px white;
}
.option-explain td{
  padding: 10px;
  vertical-align: top;
  text-align: left;
  border:dashed 1px gray;
}
.option-explain tr:nth-child(odd){
  background: #eee;
}
.how-to{
  padding: 2em 2em 2em 4.5em;
  background: #fdf1dd;
  margin-bottom:2em;
}
.how-to li{
  font-weight: 700;
}
.how-to img{
  margin-left: -1em;
}
.case{
  background:#99ff99;
  padding: 1em 2em 2em 2em;
  margin-bottom:2em;
}
.case p{
  margin-bottom:0;
}
.point-box {
    position: relative;
    margin: 3em 0;
    padding: 1em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}
.point-box .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}
.point-box p {
    margin: 0;
    padding: 0;
}

/*最新記事*/
#related{text-align: center;margin-top:2em;margin-bottom:2em;}
#related>p{width:100%;border-bottom:3px solid rgba(0,0,0,0.3);font-weight: bold;font-size: 1.5em;}
#related>p>img{width:50px;margin-bottom:-0.5em;margin-right: 0.3em;}
#related a{color:rgb(0,0,0);text-decoration: none;}

/* aside */
/*カテゴリー*/
#category{text-align:center;background-color:rgb(250,250,250);margin-bottom:20px;}
#category p{background-color:rgba(200,200,200,0.8);font-size:20px;color:#7b501c;padding:10px 0;font-weight: bold;margin:0;}
#category ul{list-style:none;padding:10px;}
#category ul li:not(:first-child){margin-top:10px;}
#category ul li a{position:relative;display:block;padding:15px 0;color:#fff;text-align:center;font-size:16px;font-weight:bold;text-decoration:none;}
#category ul li:hover{opacity: 0.8;}
#category .arrow-right{position:absolute;top:15px;right:15px;}
/*人気記事ランキング*/
h2.popular-article {font-size:20px;padding:10px 0;color:#7b501c;background:rgba(200,200,200,0.8);line-height: 1.7em;margin-bottom:10px;text-align: center;}
.new {margin-bottom:1em;font-size: 17px;display:block;border-bottom:1px solid #ddd;border-top:1px solid #ddd; color:rgb(0,0,0); padding:5px 0;position:relative;font-weight: bold;}
.new a{display:block;text-decoration:none;color:#000;}
.new:hover{opacity:0.5;}


/*広告用*/
.adv-pc{
  display:block;
  text-align: center;
  background-color: rgba(204, 254, 255, 1);
  padding: 20px 0px;
  margin: 10px 0px;
}
.adv-pc p{
  margin-top:0;
  margin-bottom: 0.5em;
}
.adv-smart{
  text-align:center;
  display:none;
  padding: 10px 0px;
  background-color: #EEEEEE;
}
.ad-for-pc{
  display: flex;
  justify-content: space-around;
}
.ad-for-smart{
  display:none;
}

@media screen and (max-width:1400px){
  main .main{
    width:900px;
    padding-left:3em;
    padding-right:3em;
  }
  .article-pic{
    height: 399px;
    width: 798px;
  }
}
/* ipad Pro */
@media screen and (max-width:1025px){
  aside{
    display:none;
  }
  main .main{
    padding-left:1em;
    padding-right:1em;
    margin: 0;
    display:block;
    width:100%;
    border-radius: 0;
  }
  .article-pic{
    height: 466.5px;
    width: 933px;
  }
}
/* ipad */
@media screen and (max-width: 770px) {
  .article-pic{
    height: 357px;
    width: 714px;
  }
}
/* Surface Duo */
@media screen and (max-width: 550px) {
  .article-pic{
    height: 243px;
    width: 486px;
  }
}
@media screen and (max-width: 500px) {
  .heading1{
    margin-bottom: 10px;
  }
  .breadcrumb li{
    font-size: 8px;
  }
  .heading1 .heading_adjust{
    padding-left: 3%;
    padding-right: 3%;
  }
  .heading1-center-align h1{
    margin-top: 20px;
  }
  /*main .center-align{
    padding-left: 3%;
    padding-right: 3%;
  }*/
  .related-word{display:block;}
  .related-word .left{width:100%;}
  .related-word .right{padding-left: 0em;position:relative;border-left:dashed 0px #95ccff;width:100%;}
  .link-box{height:65px;}
  .adv-pc{
    display:none;
  }
  .ad-for-pc{
    display:none;
  }
  .ad-for-smart{
    display:block;
    text-align: center;
  }
  .adv-smart{
    width:100%;
    margin: 0 auto;
    display:block;
  }
  .adv-smart p{
    margin-bottom: 0;
  }
}

/* iphone8plus */
@media screen and (max-width: 415px) {
  .article-pic{
    height: 180.5px;
    width: 361.2px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* iphoneX */
@media screen and (max-width: 375px) {
  .article-pic{
    height: 162.25px;
    width:324.5px;
  }
}
/* iphoneX */
@media screen and (max-width: 360px) {
  .article-pic{
    height: 155.2px;
    width:310.4px;
  }
}
/* iphone5/SE */
@media screen and (max-width: 320px) {
  .article-pic{
    height: 136.4px;
    width:272.81px;
  }
}

/* iphoneX */
@media screen and (max-width: 280px) {
  .article-pic{
    height: 117.6px;
    width:235.22px;
  }
}
