@charset "UTF-8";
/*
Theme Name: サワムラガク足立 投稿詳細ページ
Author: あそびラボ
*/

main {
  padding: 0 0 155px;
}

/*=======================================================
共通
　新着情報（single）
　お客様の声（single）
　コラム(archive・single)
=======================================================*/
#post-table {
  width: 1020px;
  min-height: 300px;
  margin: 0 auto;
  position: relative;
}
/**サイド**/
#post-table aside {
  width: 288px;
  position: absolute;
  right: 0;
  top: 0;
}
/*テーブル・検索*/
aside form .search-field,
#post-table aside .box {
  background: #fffbf4;
  border: 2px solid #3c2a10;
  border-radius: 10px;
}
/*検索*/
aside form {
  margin: 0 0 35px;
  position: relative;
}
aside .search-field {
  width: 100%;
  height: 46px;
  padding: 3px 50px 0 15px;
  font-size: 17px;
}
aside .search-field::placeholder {
  font-size: 17px;
}
aside .search-submit {
  width: 44px;
  height: 46px;
  background: #3c2a10;
  border: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
}
aside .search-submit:hover {
  opacity: 1;
}
aside .search-submit img {
  width: 27px;
  height: 21px;
}
/*テーブル*/
#post-table aside .box {
  background: #fffbf4;
  border: 2px solid #3c2a10;
  border-radius: 10px;
  margin-bottom: 40px;
}
#post-table aside .box h2,
#post-table aside .box h3 {
  padding: 15px 0 13px 60px;
  background: #3c2a10;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}
#post-table aside .box ul {
  padding: 30px 25px 15px;
}
#post-table aside .box a {
  font-weight: bold;
  text-decoration: underline;
}
/*一覧へ戻るボタン*/
#post-table aside .btn a {
  height: 50px;
  margin: 20px 0 0;
  padding: 2px 0 0 15px;
  background: #3c2a10;
  border-radius: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
#post-table aside .btn a::after {
  content: "\025b6";
  margin: 0 0 0 15px;
  font-size: 12px;
}
/***個別記事***/
.single #post-table section {
  width: 695px;
  margin: 0 0 30px;
  background: #fffbf4;
  border: 2px solid #3c2a10;
  border-radius: 10px;
  font-size: 17px;
  line-height: 1.5;
  position: relative;
}
@media screen and (max-width: 750px) {
  #post-table {
    width: 690px;
    min-height: none;
  }
  /**サイド**/
  #post-table aside {
    width: 100%;
    margin: 70px 0 0;
    position: static;
  }
  /*検索*/
  aside .search-field {
    width: 100%;
    height: 64px;
    padding: 3px 65px 0 15px;
    font-size: 32px;
  }
  aside .search-field::placeholder {
    font-size: 28px;
    line-height: 1.268;
  }
  aside .search-submit {
    width: 59px;
    height: 64px;
  }
  /*テーブル*/
  #post-table aside .box h2 {
    padding: 24px 0 24px 70px;
    font-size: 28px;
  }
  #post-table aside .box ul {
    padding: 40px 35px 25px;
  }
  /*一覧へ戻るボタン*/
  #post-table aside .btn a {
    width: 380px;
    height: 80px;
    margin: 50px auto 0;
    padding: 0 0 0 15px;
    font-size: 28px;
  }
  #post-table aside .btn a::after {
    margin: 0 0 0 25px;
    font-size: 20px;
  }
  /***個別記事***/
  .single #post-table section {
    width: 100%;
    font-size: 28px;
  }
}
/*=======================================================
投稿詳細
=======================================================*/
/***記事タイトル***/
section > h1 {
  margin: 0 0 40px;
  padding: 30px 0 15px;
  border-bottom: 2px solid #3c2a10;
  font-size: 26px;
  font-weight: bold;
}

/***投稿タグ***/
/*見出し*/
section .txt h2 {
  margin: 0 0 25px;
  padding: 11px 10px 7px 30px;
  background: #5db36e;
  border-radius: 10px;
  font-size: 24px;
  color: #fffbf4;
  font-weight: bold;
}
section .txt h3 {
  margin: 0 0 20px;
  padding: 0 0 10px 25px;
  border-bottom: 1px solid #3c2a10;
  font-size: 21px;
  font-weight: bold;
  position: relative;
}
section .txt h3::before {
  content: "";
  display: block;
  width: 10px;
  height: calc(100% - 10px);
  background: #dd8925;
  position: absolute;
  top: 0;
  left: 0;
}
/*テキスト*/
section .txt p {
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
section .txt strong {
  font-weight: bold;
}
section .txt em {
  font-family: "游ゴシック", "游ゴシック体";
  font-weight: 500;
  font-style: italic;
}
section .txt .f_12 {
  font-size: 0.8rem;
}
section .txt .f_14 {
  font-size: 0.9rem;
}
section .txt .f_16 {
  font-size: 1.05rem;
}
section .txt .f_20 {
  font-size: 1.3rem;
}
section .txt .f_22 {
  font-size: 1.4rem;
}
section .txt .f_24 {
  font-size: 1.5rem;
}
section .txt .mb_20 {
  margin-bottom: 20px;
}
section .txt .mb_30 {
  margin-bottom: 30px;
}
section .txt .mb_40 {
  margin-bottom: 40px;
}
section .txt .m_red {
  background: linear-gradient(transparent 60%, #ff7f7f 60%);
}
section .txt .m_blue {
  background: linear-gradient(transparent 60%, #66ccff 60%);
}
section .txt .m_green {
  background: linear-gradient(transparent 60%, #66ffcc 60%);
}
section .txt .m_yellow {
  background: linear-gradient(transparent 60%, #ffff66 60%);
}
/*画像*/
section .txt img {
  display: block;
}
img.alignright {
  margin: 0 0 0 auto;
}
img.alignleft {
  margin: 0 auto 0 0;
}
img.aligncenter {
  margin: 0 auto;
}
img.float-left {
  float: left;
}
img.float-right {
  float: right;
}
/*テーブル*/
section .txt table {
  border: 1px solid #3c2a10 !important;
}
section .txt table th,
section .txt table td {
  border: 1px solid #3c2a10 !important;
  padding: 10px !important;
  background: #fff !important;
}
/***キャラクター会話テーブル***/
.character {
  display: flex;
  margin: 0 0 30px;
}
.character > p:first-of-type {
  width: 110px;
}
.character div {
  width: 521px;
  padding: 5px 0 0;
}
.character div p:last-of-type {
  margin: 0;
}
/*はぐみちゃん*/
.character .hagumi {
  width: 82px;
}
.character .hagumi.worry {
  width: 81px;
}
/*先生*/
.character .adeward {
  width: 81px;
}
/*沢村秋岳*/
.character .sawamura {
  width: 81px;
}
@media screen and (max-width: 750px) {
  /***記事タイトル***/
  section > h1 {
    font-size: 32px;
  }
  /***投稿タグ***/
  /*見出し*/
  section .txt h2 {
    margin: 0 0 35px;
    font-size: 30px;
  }
  section .txt h3 {
    margin: 0 0 25px;
    padding: 0 0 15px 30px;
    font-size: 28px;
  }
  section .txt h3::before {
    width: 15px;
    height: calc(100% - 15px);
  }
  /*テキスト*/
  section .txt p {
    margin: 0 0 1rem;
  }
  /*画像*/
  section .txt img {
    width: 100%;
  }
  /*テーブル*/
  section .txt table {
    width: 100% !important;
  }
  section .txt table th,
  section .txt table td {
    padding: 10px 15px !important;
    vertical-align: middle;
  }
  /***キャラクター会話テーブル***/
  .character {
    margin: 0 0 40px;
  }
}
/*=======================================================
前・次の記事へ
=======================================================*/
.pageLink {
  width: 695px;
  padding: 3px 0 0;
  display: flex;
  justify-content: space-between;
}
.pageLink a {
  width: 159px;
  height: 39px;
  padding: 3px 15px 0;
  border-radius: 5px;
  color: #fffbf4;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
}
.pageLink .prev a {
  background: #a6a6a6;
}
.pageLink .next a {
  background: #dd8925;
  justify-content: flex-end;
}
.pageLink .prev a::before,
.pageLink .next a::after {
  font-size: 13px;
}
.pageLink .prev a::before {
  content: "\025c0";
  margin: 0 15px 0 0;
}
.pageLink .next a::after {
  content: "\025b6";
  margin: 0 0 0 15px;
}
@media screen and (max-width: 750px) {
  .pageLink {
    width: 100%;
  }
  .pageLink a {
    width: 230px;
    height: 56px;
    padding: 0;
    font-size: 24px;
  }
  .pageLink .prev a::before,
  .pageLink .next a::after {
    font-size: 16px;
  }
  .pageLink .prev a::before {
    margin: 0 20px 0 25px;
  }
  .pageLink .next a::after {
    margin: 0 25px 0 20px;
  }
}
