@charset "UTF-8";
/*
Theme Name: pt02
Description: メインとサイドの2カラム表示。最新2記事は横長、以下の記事は表示サイズが小サイズ。メインカラー：白。アソートカラー：青。
Theme URI: テーマの URL
Author: Mikio Anezaki
Author URI: https://plustrick.com/
Version: バージョン
License: ライセンス
License URI: ライセンスの URL
*/

/* common ---------------------*/

html {
  font-size: 62.5%;
}

body {
  background-color: #F1F1F1;
  color: #252525;
  line-height: 1.8;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  font-weight: normal;
}

a {
  color: #1CA8DD;
}

a:hover {
  text-decoration: underline;
}

#wrap_page {
  height: 100%;
}

@media screen and (max-width: 960px) {
  #wrap_page {
    width: 100%;
    overflow: hidden;
  }
}


/* header ---------------------*/
#header {
  position: relative;
  width: 100%;
  padding: 32px 0 287px;
}

@media screen and (max-width: 960px) {
  #header {
    padding: 24px 0 231px;
  }
}

#header::before {
  content: '';
  position: absolute;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12vw), 0 100%);
  background-color: #1CA8DD;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  #header::before {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15vw), 0 100%);
  }
}

@media screen and (max-width: 640px) {
  #header::before {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 37vw), 0 100%);
  }
}

#header::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 75%;
  background-color: #C6E2ED;
  z-index: -2;
}

#header .header_contents {
  width: 1108px;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  #header .header_contents {
    width: 100%;
  }
}

#header .header_ttl {
  text-align: center;
}

#header .header_logo {
  display: inline-block;
  width: 129px;
}

#header .header_logo img {
  max-width: 100%;
}


/* footer ---------------------*/
#footer {
  position: relative;
  color: #FFF;
  font-size: 1.2rem;
  padding: 170px 0 0;
}

#footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  clip-path: polygon(0 calc(0% + 12vw), 100% 0, 100% 100%, 0 100%);
  background-color: #1CA8DD;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  #footer::before {
    clip-path: polygon(0 calc(0% + 15vw), 100% 0, 100% 100%, 0 100%);
  }
}

@media screen and (max-width: 640px) {
  #footer::before {
    clip-path: polygon(0 calc(0% + 37vw), 100% 0, 100% 100%, 0 100%);
  }
}

#footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 85%;
  background-color: #C6E2ED;
  z-index: -2;
}


#footer a {
  color: #FFF;
}

#footer a:hover {
  text-decoration: underline;
}

#footer .footer_upper {
  padding: 48px 0;
}

@media screen and (max-width: 960px) {
  #footer .footer_upper {
    padding: 24px 4%;
  }
}

#footer .footer_upper_contents {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  width: 1108px;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  #footer .footer_upper_contents {
    display: block;
    width: 100%;
    margin: 0;
  }
}

#footer .footer_item {
  margin-right: 32px;
  width: 443px;
}

@media screen and (max-width: 960px) {
  #footer .footer_item {
    margin-right: 0;
    width: auto;
  }
}

@media screen and (max-width: 960px) {
  #footer .footer_item:first-child {
    margin-bottom: 32px;
  }
}

#footer .footer_item--about {
  margin-right: 0;
  width: 538px;
}

@media screen and (max-width: 960px) {
  #footer .footer_item--about {
    width: 100%;
  }
}

@media screen and (max-width: 960px) {
  #footer .footer_item:last-child {
    margin-bottom: 32px;
  }
}

#footer .footer_item_ttl {
  margin-bottom: 8px;
}

#footer .footer_item_ttl h3 {
  font-size: 2.0rem;
  font-weight: bold;
}

#footer .footer_profile {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  border-bottom: 1px solid #FFF;
  margin-bottom: 24px;
  padding-bottom: 24px;
}

#footer .footer_profile_thumb {
  margin-left: 16px;
  width: 79px;
  text-align: center;
}

@media screen and (max-width: 960px) {
  #footer .footer_item_profile_thumb {
    width: 70px;
  }
}

#footer .footer_profile_thumb img {
  max-width: 100%;
}

#footer .footer_item_profile_thumb img {
  margin-bottom: 8px;
  width: 100%;
}

@media screen and (max-width: 960px) {
  #footer .footer_item_profile_thumb img {
    margin-bottom: 4px;
    width: 70px;
  }
}

#footer .footer_profile_thumb em {
  font-style: normal;
}

#footer .footer_item_profile_thumb em {
  display: block;
}

@media screen and (max-width: 960px) {
  #footer .footer_item_profile_thumb em {
    font-size: 1.2rem;
  }
}

#footer .footer_profile_txt {
  flex: 1;
}

@media screen and (max-width: 960px) {
  #footer .footer_item_profile_txt {
    width: auto;
  }
}

#footer .footer_profile_txt p {
  margin-bottom: 8px;
}

#footer .footer_logo {
  display: inline-block;
  width: 129px;
}

#footer .footer_logo img {
  max-width: 100%;
}

#footer .footer_nav ul {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

#footer .footer_lower {
  background-color: #04181F;
  padding: 16px 0;
  color: #FFF;
}

#footer .footer_lower_contents {
  width: 1108px;
  margin: 0 auto;
  text-align: center;
}

@media screen and (max-width: 960px) {
  #footer .footer_lower_contents {
    width: 100%;
    font-size: 1.2rem;
  }
}


/* #wrap_contents ---------------------*/
#wrap_contents {
  position: relative;
  width: 1108px;
  margin: -262px auto 40px;
  padding: 0;
}

@media screen and (max-width: 960px) {
  #wrap_contents {
      margin: -230px auto 40px;
    width: 100%;
  }
}


/* #main /.main_post ------------------*/
#main {
  width: 1108px;
}

@media screen and (max-width: 960px) {
  #main {
    width: auto;
    margin: 4%;
    float: none;
  }
}

.column_2 {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

@media screen and (max-width: 960px) {
  .column_2 {
    display: block;
  }
}

.post_large {
  width: 1108px;
}

@media screen and (max-width: 960px) {
  .post_large {
    width: 100%;
  }
}

.post_base {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 728px;
}

@media screen and (max-width: 960px) {
  .post_base {
    width: 100%;
    }
}

.post_item {
  background-color: #FFF;
  border-radius: 8px;
  box-shadow: 0 0px 8px rgba(255, 255, 255, 0.05);
  margin-bottom: 32px;
  width: 348px;
}

@media screen and (max-width: 960px) {
  .post_item {
    flex-direction: column;
    width: 100%;
    margin-bottom: 16px;
  }
}

.post_item > a {
  display: block;
  padding: 24px;
}

@media screen and (max-width: 960px) {
  .post_item > a {
    padding: 0;
  }
}

.post_item > a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.post_item--large {
  width: 100%;
}

.post_item--large > a {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  width: 100%;
  padding: 32px;
}

@media screen and (max-width: 960px) {
  .post_item--large > a {
    display: block;
    padding: 0;
  }
}

@media screen and (max-width: 960px) {
  .post_large .post_item {
    width: 100%;
    padding: 0;
  }
}

.post_large .post_item .post_data {
  margin-right: 32px;
}

@media screen and (max-width: 960px) {
  .post_large .post_item .post_data,
  .post_item .post_data {
    margin: 0 0 8px;
  }
}

.post_item .post_data_thumb {
  background-image: url(./image/thumb_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 6px;
  width: 300px;
  height: 168px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 16px;
}

@media screen and (max-width: 960px) {
  .post_large .post_item .post_data_thumb,
  .post_item .post_data_thumb {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
  }
}

.post_item .post_data_thumb a {
  display: block;
}

.post_item .post_data_thumb img {
  width: 300px;
  height: 168px;
}

@media screen and (max-width: 960px) {
  .post_item .post_data_thumb img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}

.post_item--large .post_data_thumb {
  width: 443px;
  height: 248px;
  margin-bottom: 0;
}

.post_item--large .post_data_thumb img {
  width: 443px;
  height: 248px;
}

@media screen and (max-width: 960px) {
.post_item--large .post_data_thumb img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}

@media screen and (max-width: 960px) {
  .post_item .post_description {
    padding: 0 16px 16px;
  }
}

.post_item .post_description_ttl {
  margin-bottom: 8px;
}

.post_item > a:hover .post_description_ttl {
  text-decoration: underline;
}

.post_item .post_description_ttl h2 {
  font-size: 2.0rem;
  font-weight: bold;
  line-height: 1.5;
}

.post_large .post_description_ttl h2 {
  font-size: 2.4rem;
  line-height: 1.6;
}

@media screen and (max-width: 960px) {
  .post_large .post_description_ttl h2 {
    font-size: 2.0rem;
  }
}

.post_item .post_data_label {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  margin-bottom: 16px;
  color: #252525;
}

@media screen and (max-width: 960px) {
  .post_item .post_data_label {
    margin-bottom: 0;
  }
}

.post_base .post_item .post_data_label {
  margin-bottom: 0;
}

.post_item .post_data_label_category,
.post_item .post_data_label_time {
  font-size: 1.2rem;
}

.post_item .post_data_label_category {
  border: 1px solid #1CA8DD;
  padding: 0 24px;
  color: #1CA8DD;
}

.post_item .post_data_label_time {
  margin-left: 8px;
}

.post_item .post_data_label em {
  font-style: normal;
}

.post_large .post_description_lead {
  color: #252525;
}


/* #main /.main_single ----------------*/
.main_single {
  margin-bottom: 32px;
}

.main_single_post,
.main_page_post {
  width: 728px;
}

@media screen and (max-width: 960px) {
  .main_single_post,
  .main_page_post {
    width: 100%;
  }
}

.main_single_post article,
.main_page_post article {
  background-color: #FFF;
  border-radius: 8px;
  box-shadow: 0 0px 8px rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
  padding: 40px;
}

@media screen and (max-width: 960px) {
  .main_single_post article,
  .main_page_post article {
    padding: 0;
  }
}

.main_single header {
  margin-bottom: 24px;
}

.main_page_post header {
  padding-top: 24px;
}

.main_single header .single_thumb {
  position: relative;
  background-image: url(./image/thumb_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 4px;
  margin-bottom: 24px;
  width: 100%;
  overflow: hidden;
}

.main_single header .single_thumb:before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

@media screen and (max-width: 960px) {
  .main_single header .single_thumb {
    border-radius: 8px 8px 0 0;
    margin-bottom: 16px;
    height: auto;
  }
}

.main_single header .single_thumb img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

@media screen and (max-width: 960px) {
  .main_single header .single_thumb img {
    border-radius: 8px 8px 0 0;
  }
}

.main_single header .single_ttl {
  border: none;
  margin-bottom: 8px;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.6;
}

@media screen and (max-width: 960px) {
  .main_single header .single_ttl {
    padding: 0 16px;
    font-size: 2.4rem;
    line-height: 1.5;
  }
}

.main_single header .single_post {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

@media screen and (max-width: 960px) {
  .main_single header .single_post {
    padding: 0 16px;
  }
}

.main_single header .single_post li {
  margin-right: 12px;
  font-size: 1.2rem;
}

.main_single header .single_post li.single_data_category {
  border: 1px solid #1CA8DD;
  margin-right: 8px;
  padding: 0 24px;
  font-weight: bold;
}

@media screen and (max-width: 960px) {
  .main_single_wrap {
    padding: 0 16px 24px;
  }
}

.main_single_wrap h2 {
  border-bottom: 3px solid #1CA8DD;
  margin: 40px 0 24px;
  padding-bottom: 8px;
  font-size: 2.4rem;
  font-weight: bold;
}

@media screen and (max-width: 960px) {
  .main_single_wrap h2 {
    margin: 40px 0 24px;
    padding-bottom: 8px;
    font-size: 2.0rem;
    font-weight: bold;
  }
}

.main_single_wrap h3 {
  margin-bottom: 16px;
  padding-top: 24px;
  font-size: 2.0rem;
  font-weight: bold;
}

.main_single_wrap h4 {
  margin-bottom: 16px;
  padding-top: 24px;
  font-size: 1.6rem;
  font-weight: bold;
}

.main_single_wrap p,
.main_single_wrap figure {
  margin-bottom: 16px;
}

@media screen and (max-width: 960px) {
  .main_single_wrap p {
    margin-bottom: 16px;
  }
}

.main_single_wrap p a {
  margin-bottom: 16px;
}

.main_single_wrap p a[target=_blank]::after {
  content: "";
  display: inline-block;
  margin: 0 8px 0 5px;
  width: 11px;
  height: 11px;
  background: url(/wp-content/themes/pt02/image/icon_window.png) no-repeat center / contain;
}

.main_single_wrap em {
  font-style: normal;
  color: #157CA4;
}

@media screen and (max-width: 960px) {
  .main_single_wrap img {
    max-width: 100%;
    height: auto;
  }
}

.main_single_wrap table {
  border: solid 1px #157CA4;
  margin-top: 16px;
}

.main_single_wrap th {
  border: solid 1px #157CA4;
  padding: 8px 16px;
  font-size: 1.4rem;
  background-color: #8DD3EE;
  font-weight: normal;
  color: #FFF;
}

@media screen and (max-width: 960px) {
  .main_single_wrap th {
    padding: 4px 8px;
    width: 30%;
    font-size: 1.2rem;
  }
}

.main_single_wrap td {
  border: solid 1px #157CA4;
  padding: 8px 16px;
  font-size: 1.4rem;
}

@media screen and (max-width: 960px) {
  .main_single_wrap td {
    padding: 4px 8px;
    font-size: 1.2rem;
  }
}

.main_single_wrap .note {
  font-size: 1.4rem;
  color: #999;
  padding-left: 1.4rem;
  text-indent: -1.4rem;
}

.main_single .post_reference {
  margin-top: 40px;
}

.main_single .post_reference em {
  display: inline-block;
  margin-bottom: 16px;
  color: #252525;
  font-weight: bold;
}

.main_single .post_reference a {
  word-wrap: break-word;
}

.main_single .post_reference::before {
  display: block;
  content: '●　●　●';
  color: #252525;
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 24px;
}

.post_info {
  margin-bottom: 64px;
}

.post_info::before {
  display: block;
  content: '●　●　●';
  color: #252525;
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 32px;
}

.post_info_ttl {
  font-weight: bold;
}

.post_info dd + dt {
  margin-top: 24px;
}

.post_code {
  margin-bottom: 16px;
}

.post_code p {
  margin-bottom: 8px;
}

.post_code > div {
  margin-top: 8px;
  font-size: 1.2rem !important;
}

.post_code div .syntaxhighlighter {
  border: dashed 1px #DDD;
  border-radius: 3px;
  margin: 2px 0 !important;
  padding: 8px;
}

.post_code + p {
  margin-top: 24px;
}

.main_single_post .syntaxhighlighter {
  border: dashed 1px #DDD;
  border-radius: 3px;
  margin: 2px 0 !important;
  padding: 8px;
}

.main_single_post .wp-block-syntaxhighlighter-code {
  margin: -10px 0 24px;
  font-size: 1.2rem;
}


/* #side /.side_item ------------------*/
#side {
  width: 348px;
}

@media screen and (max-width: 960px) {
  #side {
    width: 100%;
    float: none;
  }
}

#side .side_item {
  margin-bottom: 32px;
  padding: 0;
}

@media screen and (max-width: 960px) {
  #side .side_item {
    padding: 0;
  }
}

#side .side_item_ttl {
  margin-bottom: 11px;
}

#side .side_item_ttl h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.0rem;
  font-weight: bold;
}

#side .side_item_ttl h3::before,
#side .side_item_ttl h3::after {
  content: '';
  height: 2px;
  background-color: #1CA8DD;
  flex-grow: 1;
}

#side .side_item_ttl h3::before {
  margin-right: 15px;
}

#side .side_item_ttl h3::after {
  margin-left: 15px;
}

#side .side_item ul {
  padding: 0;
}

#side .side_item ul li {
  margin-bottom: 16px;
  font-size: 1.4rem;
  line-height: 1.5;
}

#side .side_item ul li span {
  display: none;
}

#side .side_item ul.wpp-list li {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  font-size: 1.4rem;
}

#side .side_item ul.wpp-list img {
  width: 155px;
  height: 88px;
  margin-right: 8px;
  border-radius: 4px;
}

@media screen and (max-width: 960px) {
  #side .side_item ul.wpp-list img {
    width: 122px;
    height: 68px;
  }
}


/* .ad --------------------------------*/
.main_ad {
  margin-bottom: 16px;
  text-align: center;
}

.main_ad_thumb {
  background-color: #D1D1D1;
  padding: 10px;
  width: 488px;
  height: 80px;
  display: inline-block;
}

@media screen and (max-width: 960px) {
  .main_ad_thumb {
    background-color: transparent;
    width: 100%;
    height: auto;
  }
}

.side_ad {
  margin-bottom: 32px;
  padding: 24px 0;
  text-align: center;
  background: repeating-linear-gradient(45deg, #d9d9d9 0, #d9d9d9 4px, #e3e3e3 4px, #e3e3e3 8px);
  border-radius: 8px;
}

@media screen and (max-width: 960px) {
  .side_ad {
    background: none;
    border-top: 1px solid #D1D1D1;
    border-radius: 0;
    margin: 24px 0 0;
    padding: 24px 0;
  }
}

.side_ad_thumb {
  background-color: #333;
  width: 300px;
  height: 250px;
  display: inline-block;
}

@media screen and (max-width: 960px) {
  .side_ad_thumb {
    background-color: transparent;
    width: 100%;
    height: auto;
  }
}

.side_ad_thumb--responsive {
  background-color: transparent;
}

.single_ad {
  text-align: center;
}

.single_ad_column_2 {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
}

.single_ad_thumb {
  display: inline-block;
  width: 100%;
  height: auto;
}

.single_ad--top {
  border-top: 1px solid #D1D1D1;
  border-bottom: 1px solid #D1D1D1;
  margin: 24px 0;
  padding: 24px 0;
}

.single_ad--top p {
  margin-bottom: 0;
  font-size: 1.0rem;
  text-align: left;
}

@media screen and (max-width: 960px) {
  .single_ad--top p {
    padding-top: 4px;
    text-align: center;
  }
}

.single_ad--bottom {
  padding: 24px;
  background: repeating-linear-gradient(45deg, #d9d9d9 0, #d9d9d9 4px, #e3e3e3 4px, #e3e3e3 8px);
  border-radius: 8px;
}


/* #p_nav -----------------------------*/
#p_nav {
  margin-bottom: 32px;
}

#p_nav li {
  display: inline;
  font-size: 1.4rem;
}

#p_nav li:after {
  content: ">";
  margin: 0 16px;
}

#p_nav li:last-child:after {
  content: "";
  margin: 0;
}


/* #contents_pager --------------------*/
#contents_pager {
  margin-top: 24px;
}

#contents_pager span {
  background-color: #1CA8DD;
  border-radius: 3px;
  margin-right: 4px;
  padding: 4px 12px;
  color: #FFF;
}

#contents_pager a {
  border: solid 1px #1CA8DD;
  border-radius: 3px;
  background-color: #FFF;
  margin-right: 4px;
  padding: 4px 12px;
  color: #1CA8DD;
}


/* pagetop.js -------------------------*/
.pagetop {
  position: fixed;
  bottom: -50px;
  right: 55px;
  display: none;
}

@media screen and (max-width: 960px) {
  .pagetop {
    display: none;
  }
}

.pagetop a {
  background-position: 0 -178px;
  width: 82px;
  height: 71px;
  display: block;
}


/* .pager -----------------------------*/
.pager {
  margin: 0;
  width: 100%;
}

@media screen and (max-width: 960px) {
  .pager {
    margin-top: 8px;
    text-align: center;
  }
}

.pager span,
.pager a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #CCC;
  border-radius: 8px;
  margin-right: 8px;
  width: 50px;
  height: 50px;
}

@media screen and (max-width: 960px) {
  .pager span,
  .pager a {
    margin: 4px;
  }
}

.pager span {
  background-color: #F1F1F1;
}

.pager a {
  background-color: #FFF;
}


/* .clearfix --------------------------*/
.clearfix:after {
  content: "";
  clear: both;
  display: block;
}


/* display:none --------------------------*/
.sp_none {
  display: block;
}

@media screen and (max-width: 960px) {
  .sp_none {
    display: none;
  }
}

.pc_none {
  display: none;
}

@media screen and (max-width: 960px) {
  .pc_none {
    display: block;
  }
}

