/*
Theme Name:original_photoAC
Theme URI:
Description:ブログ
Version: 1.0
Author: Fujino
Author URI:
*/


h1 {
  text-shadow: 2px 2px 3px #4d4d4d; 

}


/* ------   追加ＣＳＳ  ----- */
.add_font08 {
  font-size: 0.8em;
  color: red;
}

/* ------   キャプションの文字サイズ  ----- */
figcaption {
  font-size: 0.9em;
}




html {
  background: #ffffff;
}

/* ------   pタグの中のaタグはアンダーラインあり  基本  ----- */
p a {
  text-decoration: underline;
}

/* ------   a  基本  ----- */
a {
  text-decoration: none;
  color: #1d54a7;
}

a:visited {
  text-decoration: none;
  color: #adbce0;
}

a:hover {
  color: #988000;
  text-decoration: underline;
}

a:active {
  color: red;
}

/* ブログタイトルカラー */
#head-title a {
  color: #00D9FF;
}

/* メニューカラー */
#menu-menu li a {
  color: #0088FF;
}

.tag-cloud-link {
  font-size: 0.8em !important;
}

.attachment-thumbnail {
  margin-top: 30px;
}

.size-thumbnail {
  height: auto;
}

.tagcloud a {
  border: solid 1px #000080;
  border-radius: 5px;
  display: inline-block;
  padding: 2px 5px;
  margin-bottom: 5px;
}

.div_center {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/*-------------------------上部スライド*/
/*-----------スライド高さpadding-topで--------------*/
.slideshow {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  padding-top: 33%;
}

.slideshow img {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: 4s;
  width: 100%;
}

.slideshow .show {
  opacity: 1;
  z-index: 1;
}

/*-------------レスポンシブWeb　max-width: 768------------*/
@media screen and (max-width:768px) {

  body {
    background: #ffffff;
    color: #656565;
    margin: 0;
    width: 100%;
    max-width: 1023px;
    margin-left: auto;
    margin-right: auto;
  }

  header {
    display: block;
    margin: 0px;
    padding: 0px;
    position: relative;
  }

  /* ブログタイトル */
  #head-title {
    font-size: 140%;
    padding: 10px 0px 0px 0px;
    margin-bottom: 8px;
    text-align: center;
    font-family: メイリオ;
    line-height: 130%;
  }

  /* ブログタイトル　ここまで */

  /*  上部メニュー  */
  .menu {
    margin-top: 0px;
    margin-bottom: 0px;
    width: 96%;
  }

  #menu-menu {
    display: flex;
    background-color: #ffffff;
    width: 96%;
  }

  #menu-menu li {
    margin-right: 15px;
    list-style-type: none;
  }

  #menu-menu li a {
    font-size: 12px;
    font-weight: bold;
  }

  /*------------お勧め記事-------------*/
  .recommendation {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .tab {
    width: fit-content;
    background-color: #ffa000;
    color: white;
    padding: 3px 5px 0px 5px;
    border-radius: 7pt 7pt 0pt 0pt;
  }

  .honbun {
    border: 3px solid #ffa000;
    color: #979797;
    background-color: #ffffff;
    padding: 10px 20px 15px 20px;
    border-radius: 0pt 5pt 5pt 5pt
  }

  .title {
    font-size: 100%;
    margin: 0 0 0 30px;
    color: #0000CD;
  }

  .excerpt {
    color: #474747;
    margin: 5px 0 0 0;
    font-size: 90%;
  }

  /*------------お勧め記事　ここまで-------------*/

  .top_photo {
    margin-bottom: 30px;
  }

  /* ------   h1, h2, h3, h4, h5  リセット  ----- */
  h1,
  h2,
  h3,
  h4,
  h5 {
    margin: 0;
    padding: 0;
    font-size: 100%;
  }

  /* YouTubeやGoogleマップをブログに埋め込んだときに、画面からはみ出し */
  iframe {
    width: 100%;
  }

  /*------------キャプションを入力すると、コンテンツ枠からはみ出してしまう不具合の修正-------------*/
  .wp-caption {
    text-align: center;
    max-width: 100% !important;
  }

  footer {
    background-color: #f5f5f5;
    text-align: center;
    display: block;
    height: 50px;
    text-align: center;
    font-size: 70%;
    padding-top: 15px
  }

  .wrapper {
    display: flex;
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
  }

  main {
    width: 100%;
  }

  aside {
    width: 100%;
  }

  .blogcard {
    display: flex;
    padding-bottom: 10px;
    padding-left: 0px;
  }

  .posts {
    padding-right: 10px;
    padding-left: 10px;
  }

  .attachment-thumbnail {
    width: 80px;
    height: 80px;
  }

  /* アイキャッチと記事の幅 */
  .eyecatch-width {
    width: 20%;
    padding-right: 5px;
  }

  .article-width {
    width: 80%;
    padding-left: 5px;
  }

  /* 記事タイトル */
  .posts h1 {
    font-size: 130%;
    border-bottom: 5px ridge #4fb8d2;
    margin-bottom: 50px;
  }

  .posts h1 a {
    color: #4970d8;
  }

  /* 記事内見出し */
  .posts h2 {
    font-size: 130%;
    padding: 0.4em 0.5em;
    /*文字の上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: #f4f4f4;
    /*背景色*/
    border-left: solid 5px #7db4e6;
    /*左線*/
    border-bottom: solid 3px #d7d7d7;
    /*下線*/
    margin-bottom: 20px;
  }

  /* 記事内見出し */
  .posts h3 {
    font-size: 110%;
    color: #808000;
  }


  /*  ページネーション */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 130%;
    margin-top: 30px;
    margin-bottom: 50px;
  }

  /* ---  ページ番号  --- */
  .page-numbers {
    display: inline-block;
    border: 1px solid #35a377;
    border-radius: 3pt;
    width: 27px;
    height: 31px;
    padding: 1px 1px 1px 1px;
    text-align: center;
    
    font-weight: bold;
    color: #35a377;
  }

  .page-numbers.current {
    padding: 1px 1px 1px 1px;
    background: #35a377;
    color: #ffffff;
  }

  .page-numbers.next {
    padding: 1px 1px 1px 1px;
    color: #35a377;
  }

  /*  個別ページ送り　ページネーション　 */
  #prenext {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  #prenext a {
    color: #006600;
  }

  .next {
    text-align: right;
    padding-right: 10px;
    color: red
  }

  .pre {
    text-align: left;
    padding-left: 10px;
    color: blue;
  }

  /*  ウイジェットの間隔  */
  .widget {
    margin-bottom: 20px;
  }

  li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  img {
    /*  vertical-align: bottom;		画像の下の空白を消す    */
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
  }

  .posts img {
    max-width: 100%
  }

}



/*----------------- @media screen and (min-width:769px) ---------------*/
@media screen and (min-width:769px) {

  body {
    background: #ffffff;
    color: #656565;
    margin: 0;
    width: 100%;
  }

  header {
    display: block;
    margin: 0px;
    padding: 0px;
    width: 100%;
    position: relative;
  }

  .wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start
  }

  /*  メイン区割り  */

  main {
    width: 75%;
    max-width: 900px;
  }

  aside {
    width: 25%;
    max-width: 300px;
    position: sticky;
    top: 0;
  }

  #main-body-right {
    position: sticky;
    top: 0;

  }

  /* トップページの記事card */
  .blogcard {
    display: flex;
    padding-bottom: 30px;
    padding-left: 30px;
    align-items: start;
  }

  .blogcard_posts {
    padding-right: 30px;
    padding-left: 30px;
    width: 80%;
  }

  .blogcard_posts h2 {
    font-size: 140%;
    padding: 0.4em 0.5em;
    /*文字の上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: #f4f4f4;
    /*背景色*/
    border-left: solid 5px #7db4e6;
    /*左線*/
    border-bottom: solid 3px #d7d7d7;
    /*下線*/
    margin-bottom: 20px;
    margin-top: 0px;
  }

  /* アイキャッチの幅 */
  .eyecatch-width {
    width: 250px;
    background-color: #e8faf3;
    width: 20%;
  }

  /* article記事の幅 */
  .article-width {
    width: 80%;
  }

  /* ここまで　トップページの記事card */

  /* 関連記事 */
  .kanren {
    display: flex;
    align-items: start;
    margin-top: 30px;
  }

  .kanren_posts h2 {
    font-size: 100%;
    padding: 0.1em 0.3em;
    /*文字の上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: #f4f4f4;
    /*背景色*/
    border-left: solid 3px #7db4e6;
    /*左線*/
    border-bottom: solid 2px #d7d7d7;
    /*下線*/
    margin-bottom: 10px;
    margin-top: 0px;
  }



  /*  上部メニュー  */
  .menu {
    margin-top: 0px;
    margin-bottom: 5px;
  }

  #menu-menu {
    display: flex;
    background-color: #ffffff;
  }

  #menu-menu li {
    margin-right: 50px;
    list-style-type: none;
  }

  #menu-menu li a {
    font-size: 18px;
    font-weight: bold;
  }

  /*  上部メニュー  ここまで　*/

  .posts {
    padding-right: 30px;
    padding-left: 30px;
  }

  .attachment-thumbnail {
    width: 150px;
    height: 150px;
  }

  footer {
    width: 100%;
    background-color: #f5f5f5;
    text-align: center;
    display: block;
    height: 100px;
    text-align: center;
    font-size: 100%;
    padding-top: 20px
  }

  /* ------   h1, h2, h3, h4, h5  リセット  ----- */
  h1,
  h2,
  h3,
  h4,
  h5 {
    margin: 0;
    padding: 0;
    font-size: 100%;
  }

  h2 {
    margin-top: 60px;
    margin-bottom: 20px;
  }

  h3 {
    margin-top: 60px;
  }

  /* ブログタイトル */
  #head-title {
    font-size: 200%;
    padding: 20px 0px 0px 100px;
    margin-bottom: 20px;
    font-family: メイリオ;
  }

  /* 記事タイトル */
  .posts h1 {
    font-size: 170%;
    border-bottom: 5px ridge #4fb8d2;
    margin-bottom: 30px;
  }

  .posts h1 a {
    color: #4970d8;
  }

  /* 記事内見出し */
  .posts h2 {
    margin-top: 200px;
    font-size: 140%;
    padding: 0.4em 0.5em;
    /*文字の上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: #f4f4f4;
    /*背景色*/
    border-left: solid 5px #7db4e6;
    /*左線*/
    border-bottom: solid 3px #d7d7d7;
    /*下線*/
    margin-bottom: 20px;
  }

  /* 記事内見出し */
  .posts h3 {
    font-size: 130%;
    color: #808000;
  }

  li {
    list-style: none;
    margin: 0;
    padding: 0;
  }


  /* YouTubeやGoogleマップをブログに埋め込んだときに、画面からはみ出し */
  iframe {
    width: 100%;
  }

  /*-----------------------サイドバーCSS----------------------------------------------*/

  /*------------ブロックタイトル-------------*/
  .wp-block-heading {
    margin-bottom: 0px;
  }

  /*------------検索ボックス-------------*/
  #wp-block-search__input-1 {
    height: 30px;

  }

  /*------------検索ボタン-------------*/
  .wp-block-search__button {
    height: 30px;

  }

  /*------------検索ボタン内テキスト　これで縦中央できた-------------*/
  .wp-block-search__button {
    padding-top: 1px;
    padding-bottom: 1px;
  }


  /*-----------wp-block-search__input-1-カテゴリー
 .wp-block-categories {

 }

  /*------------タグ
.wp-block-tag-cloud {

}
  /*------------最近の投稿
.wp-block-latest-posts {

}
  /*------------アーカイブ
.wp-block-archives {
}-------------*/
  /*------------サイドバーCSS　ここまで-------------*/



  /*------------お勧め記事-------------*/
  .recommendation {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .tab {
    width: fit-content;
    background-color: #ffa000;
    color: white;
    padding: 3px 5px 0px 5px;
    border-radius: 7pt 7pt 0pt 0pt;
  }

  .honbun {
    border: 3px solid #ffa000;
    color: #979797;
    background-color: #ffffff;
    padding: 10px 20px 15px 20px;
    border-radius: 0pt 5pt 5pt 5pt
  }

  .title {
    font-size: 100%;
    margin: 0 0 0 30px;
    color: #0000CD;
  }

  .excerpt {
    color: #474747;
    margin: 5px 0 0 0;
    font-size: 90%;
  }

  /*------------お勧め記事　ここまで-------------*/

  .top_photo {
    margin-bottom: 30px;
  }

  /*------------キャプションを入力すると、コンテンツ枠からはみ出してしまう不具合の修正-------------*/
  .wp-caption {
    text-align: center;
    max-width: 100% !important;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
  }

  .posts img {
    max-width: 100%
  }

  /*  ページネーション */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 130%;
    margin-top: 30px;
    margin-bottom: 50px;
  }

  /* ---  ページ番号  --- */
  .page-numbers {
    display: inline-block;
    border: 1px solid #35a377;
    border-radius: 3pt;
    width: 27px;
    height: 31px;
    padding: 1px 1px 1px 1px;
    text-align: center;
    font-weight: bold;
    color: #35a377;
  }

  .page-numbers.current {
    padding: 1px 1px 1px 1px;
    background: #35a377;
    color: #ffffff;
  }

  .page-numbers.next {
    padding: 1px 1px 1px 1px;
    color: #35a377;
  }

  /*  個別ページ送り(ページネーション) */
  #prenext {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  #prenext a {
    color: #006600;
  }

  .next {
    text-align: right;
    padding-right: 10px;
    color: red
  }

  .pre {
    text-align: left;
    padding-left: 10px;
    color: blue;
  }

  /*  ウイジェットの間隔  */
  .widget {
    margin-bottom: 50px;
  }


}