*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  font-size: 14px;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
}
ul, ol{
  list-style: none;
}
img{
  display: block;
  width: 100%;
}
a{
  color: inherit;
  text-decoration: none;
}
.inner{
  width: 1140px;
  max-width: 100%;
  margin: auto;
  padding: 0 15px;
}
@media (max-width: 1199px) {
  .inner{
    width: 960px;
  }
}
@media (max-width: 991px) {
  .inner{
    width: 720px;
  }
}
@media (max-width: 767px) {
  .inner{
    width: 540px;
  }
}


/* header */
#header{
  background: #fff;
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  box-shadow: 0 5px 10px rgba(50, 50, 50, .06);
}
#header .row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}
#header .site_ttl{
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 1px;
}
#header .menu_btn{
  position: relative;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
 #header .menu_btn span, #header .menu_btn::before, #header .menu_btn::after{
  background: #000;
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  transition: .2s;
}
#header .menu_btn span{
  inset: 50% auto auto 0;
  translate: 0 -50%;
}
#header .menu_btn::before{
  content: '';
  inset: 0 auto auto 0;
}
#header .menu_btn::after{
  content: '';
  inset: auto auto 0 0;
}
#header.menu_open span{
  display: none;
}
#header.menu_open .menu_btn::before{
  transform: rotate(45deg);
  inset: 50% auto auto 0;
  translate: 0 -50%;
}
#header.menu_open .menu_btn::after{
  transform: rotate(-45deg);
  inset: 50% auto auto 0;
  translate: 0 -50%;
}


/* footer */
#footer{
  background: #222;
  position: relative;
  padding: 35px 0;
  text-align: center;
}
#footer .copy{
  color: #bbb;
  font-size: 14px;
}
#footer .pagetop{
  background: #222;
  color: #999;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: -25px 60px auto auto;
  width: 50px;
  height: 50px;
  border-radius: 0 20px 0 0;
  rotate: -45deg;
  transition: .2s;
}
#footer .pagetop:hover{
  color: #03c4eb;
}
#footer .pagetop::before{
  content: '\f102';
  display: block;
  font-size: 30px;
  font-weight: 900;
  font-family: 'Font Awesome 6 Free';
  rotate: 45deg;
}
@media (max-width: 767px) {
  #footer .pagetop{
    inset: -25px auto auto 50%;
    translate: -50% 0;
  }
}


/* main */
main{
  padding-top: 75px;
}
.page_head{
  background: #f8f9f9;
  padding: 30px 0px;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
}
.page_head .h1{
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
}
.page_body{
  padding: 40px 0 80px;
}
.page_body .row{
  display: flex;
}
.page_body .main{
  width: 74%;
}
.page_body .aside{
  width: 26%;
  padding-left: 20px;
}
.page_body .aside .bnr_area li + li{
  margin-top: 20px;
}
.page_body .aside .bnr_area a{
  display: block;
}
.page_body .aside .bnr_area .thumb{
  margin-bottom: 5px;
}
.page_body .aside .bnr_area .name{
  color: #777;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 991px) {
  .page_body .row{
    flex-direction: column;
  }
  .page_body .main{
    width: 100%;
  }
  .page_body .aside{
    width: 100%;
    padding: 40px 0 0;
  }
  .page_body .aside .bnr_area{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page_body .aside .bnr_area li + li{
    margin-top: 0;
  }
}


/* 記事一覧 */
.post_list{
  display: flex;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e9e9e9;
}
.post_list + .post_list{
  padding-top: 25px;
}
.post_list a{
  transition: .2s;
}
.post_list a:hover{
  opacity: .7;
}
.post_list .thumb{
  width: 30%;
}
.post_list .thumb a{
  display: block;
  height: 100%;
}
.post_list .thumb img{
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post_list .content{
  width: 70%;
}
.post_list .content .cat{
  padding-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.post_list .content .cat a{
  color: #03c4eb;
}
.post_list .content .ttl{
  color: #333;
  margin-bottom: 10px;
  font-size: 22px;
}
.post_list .content .txt{
  color: #777;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.7;
}
@media (max-width: 1199px) {
  .post_list .content .txt{
    -webkit-line-clamp: 2;
  }
}
@media (max-width: 767px) {
  .post_list .thumb{
    display: none;
  }
  .post_list .content{
    width: 100%;
  }
}


/* 記事詳細 */
.post_detail .post_head{
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9e9e9;
}
.post_detail .post_head .ttl{
  color: #333;
  padding-bottom: 10px;
  font-size: 32px;
  font-weight: 400;
}
.post_detail .post_head .date{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.post_detail .post_body{
  color: #777;
  line-height: 1.7;
}
.post_detail .post_body > * + *{
  margin-top: 15px;
}
.post_detail .post_body pre{
  color: #292b2c;
  padding: 15px;
  white-space: normal;
}
.post_detail .post_body a{
  color: #03c4eb;
}
@media (max-width: 991px) {
  .post_detail .post_head .ttl{
    font-size: 25px;
  }
}
