/*
Theme Name: PhotoJourney
Theme URL: https://photo-journey.site;
Description: フリーランスwebエンジニア、石井正悟の写真置き場
Author: shogo
Version: 1.0
*/
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
}
body {
font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic'  
}
li {
  list-style: none;
}
.h-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
}
.header-logo {
  width: 20%;
}
.header-logo h1 {
  height: 100%;
}
.header-logo img {
  transition: 0.3s;
}
.header-logo img:hover {
  opacity: 0.7;
  transform:scale(1.1);
}
.nav {
  margin-top: 80px;
  width: 70%;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  display: flex;
  justify-content: left;
}
.nav > li {
  position: relative;
  list-style: none;
  width: 25%;
}
.nav li a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #21a937;
  font-size: 18px;
  line-height: 2.8;
  transition: 0.3s;
  text-decoration: none;
  border-right: 1px solid #eee;
  box-sizing: border-box;
}
.nav li:hover > a {/*layer-1*/
  opacity: 0.8;
}
.nav li ul {
  top: 60px;
  position: absolute;
  width: 100%;
  z-index: 9999;
}
.nav li ul li {
  overflow: hidden;
  height: 0;
  transition: 0.2s;
  background-color: #fff;
  opacity: 0.8;
}
.nav li ul li a {
  border-top: 1px solid #eee;
}
.nav li:hover > ul > li {
  overflow: visible;
  height: 60px;
  border-left: 1px solid #eee;
}
.main {
  width: 100%;
  text-align: center
}
.main img {
  width: 75%;
}
.swiper-pagination-bullet {
  width: 12px!important;
  height: 12px!important;
}
.swiper-pagination-bullet-active {
  background-color: #21a937!important;
}
.news {
  margin-top: 50px;
}
.news-ttl {
  color: #21a937;
  font-size: 24px;
  text-align: center;
  margin: 0 auto;
  letter-spacing: 2px;
  border-bottom: 2px solid #21A937;
  width: 200px;
  padding: 50px 0;
}
.news-inner {
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 10px;
}
.news-inner article {
  width: 30%;
  margin: 20px 0;
}
.news-card {
  width: 100%;
  padding-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,.48);
  transition: 0.5s;
}
.news-card h2 {
  font-size: 18px;
  color: #222;
  margin: 20px 10px;
}
.news-card img {
  object-fit: cover;
  width: 100%;
  height: 250px;
}
.news-card time {
  font-size: 12px;
  color: #222;
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.news-card:hover {
opacity: 0.8;
transform:translateY(-5px);
}
.category-ttl {
  color: #21a937;
  font-size: 24px;
  text-align: center;
  margin: 0 auto;
  letter-spacing: 2px;
  border-bottom: 2px solid #21A937;
  width: 200px;
  padding: 50px 0;
}
.category-box {
  margin: 30px 0;
}
.category-box > ul {
  display: flex;
  justify-content: center;
}
.cat-item-domestic > a{
  padding: 0.6em 0.7em;/*文字の上下 左右の余白*/
  color: #494949;/*文字色*/
  background: #f4f4f4;/*背景色*/
  border-left: solid 5px #21a937;/*左線*/
  border-bottom: solid 3px #d7d7d7;/*下線*/
  display: block;
}
.cat-item-global > a{
  padding: 0.6em 0.7em;/*文字の上下 左右の余白*/
  color: #494949;/*文字色*/
  background: #f4f4f4;/*背景色*/
  border-left: solid 5px #21a937;/*左線*/
  border-bottom: solid 3px #d7d7d7;/*下線*/
  display: block;
}
.cat-item a {
  color: #444;
  transition: 0.3s;
}
.cat-item a:hover {
  opacity: 0.7;
  transform: translateX(5px);
}
.children {
  padding: 40px 0;
}
.children .cat-item {
  color: #333;/*文字色*/
  /*線の種類（点線）2px 線色*/
  border-bottom: dashed 2px #21a937;
  padding: 10px 0;
}
.cat-item-asia {
  border: none!important;
}
.cat-item-global {
  padding-left: 60px;
}
footer {
  background-color: #21a937;
}
.footer-inner {
  max-width: 1180px;
  padding: 30px;
  text-align :center;
  margin: 0 auto;
}
.footer-inner small {
  color: white;
}
/* single.phpのcss */
.container {
  width: 60%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 0;
}
.container h1 {
  font-size: 28px;
  color: #222;
  border-bottom: 2px solid #21a937;
  display: block;
  margin: 60px;
  line-height: 1.5;
}
.post-navigation {
    overflow: hidden;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 60px 0;
}
 .post-navigation a {
  color: #333;
 }
.prev {
    float: left;
}
 
.next {
    float: right;
}
.wp-pagenavi {
  text-align: center;
}
/* 投稿ページのstyle*/
.container h2 {
  background: #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border: dashed 1px #96c2fe;
  padding: 0.5em 0.7em;
  color: #454545;
  font-size: 24px;
  margin: 40px 0;
}
.container h3 {
  background: linear-gradient(transparent 70%, #a7d6ff 70%);
  font-size: 22px;
  margin: 40px 0;
  color: #333;
}
.container h4 {
 position: relative;
  padding: 0.6em;
  background: #e0edff;
}
.container h4:after {
	position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
  width: 0;
  height: 0;
}
.container p {
  font-size: 16px;
  margin: 20px 0;
  color: #333;
  line-height: 1.5;
}
.container time {
	display: block;
}
.breadcrumbs a {
  color: #666;
}
/*serchform*/
.searchform {
  width: 250px;
  margin: 0 auto;
  padding: 0 0 40px;
}
#s {
}
#searchsubmit {
  display       : inline-block;
  border-radius : 20%;          /* 角丸       */
  font-size     : 12pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 8px 8px;   /* 余白       */
  background    : #21a938;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  box-shadow    : 1px 1px 6px #666666;  /* 影の設定 */
  transition: 0.5s;
}
#searchsubmit:hover {
  opacity: 0.7;
  transform: scale(1.1);
}
input {
  line-height: 1.5;
  font-size: 14px;
}
