@charset "UTF-8";
/*
Theme Name: baby photo theme
Theme URI: https://baby-photo.net/
Description: ベビスタのオリジナルテーマ
Version: 1.0
Author: kanaeri
Author URI: 
*/
/********************************************
    基本
********************************************/
:root{
    --main-color: #797979;
    --sub-color: #000;
    --bg-color: #000;
    --outer-height: 100vh;
}
*{
    margin: 0;
    padding: 0;
}
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    font-weight:normal;
}
html{
    font-size: 62.5%;/* フォントサイズ 10px */
}
body{
    box-sizing: border-box;
    color: #797979;
    font-size: 1.6em;/* フォントサイズ 16px */
    font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}
body*{
    box-sizing : border-box;
}
.wrapper {width:100%;margin: 0 auto;}
.maxwidth{max-width: 1280px;margin: 0 auto;}
ul,li{list-style: none;}
a{text-decoration: none;color: #797979;transition: all 0.3s ease 0s; font-weight: bold;}
a:hover{transition: all 0.3s ease 0s;}
.flexbox{display: flex;display: -webkit-flex;}
.clearfix::after {content: "";display: block;clear: both;}
.aligncenter{text-align: center;}
.center{
    margin: 0 auto;
    text-align: center;
}
h2{
    text-align: center;
}
h2 p:nth-child(1) img{
    width: 60px;
}
h2 p:nth-child(2){
    color: #C76F54;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 1.4rem 0 0.5rem;
    letter-spacing: 2px;
}
h2 p:nth-child(3) img{
    width: 90px;
}
.red{color: #C76F54;}
.aligncenter{text-align: center;}
/********************************************************************
    common
********************************************************************/
.header-sp{
    padding: 2rem 3rem 1rem;
}
.post h2, .page h2{
    position: relative;
    font-weight: bold;
    color: #C76F54;
    margin: 14rem 0 6rem;
}
.post h2:before, .post h2:after, .page h2:before, .page h2:after{
    content: "";
    position: absolute;
    width: 72px;
    height: 67px;
}
.post h2:before, .page h2:before{
    top: -9rem;
    background: url(images/h2.png) no-repeat;
    left: 49.5%;
    transform: translateX(-49.5%);
    -webkit-transform: translateX(-49.5%);
    -ms-transform: translateX(-49.5%);    
}
.post h2:after, .page h2:after{
    top: 5rem;
    background: url(images/h2-line.png) no-repeat;
    background-size: contain;
    opacity: .8;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);    
}

/********************************************************************
    top page
********************************************************************/
/* top */
.wrapper > div{
    max-width:1260px;
    margin: 0 auto;
    background: #fff;
}
.pick-up{
    margin: 0 0 2rem;
}
.pick-up a{
    display: block;
    padding: 1rem;
    background: #C76F54;
    color: #fff;
    text-align: center;
    font-weight: normal;
}
/*************
    sidebar
*************/
    .side {
      width: 280px;
      height: 100vh;
      display: flex;
      flex-direction: column;
      position: fixed;
      padding: 3rem 4rem;
      z-index: 10;
    }
.header{padding: 0 0 2.4rem;}
/*検索*/
.search_container {
    box-sizing: border-box;
    position: relative;
    border: 2px solid #E8E8E8;
    display: block;
    padding: 1rem 2rem 4rem;
    border-radius: 40px;
    height: 3em;
    overflow: hidden;
    width: 100%;
    background: #fff;
}
.search_container input[type="text"]{
  border: none;
  height: 2.0em;
  background: transparent;
    font-size: 1.6rem;
}
::placeholder{
    color: #cacaca;
}
.search_container input[type="text"]:focus {
  outline: 0;
}
.search_container input[type="submit"]{
    cursor: pointer;
    background: url(images/search.png) no-repeat;
    background-size: contain;
    border: none;
    position: absolute;
    width: 46px;
    height: 46px;
    top: 0px;
    right: 14px;
}
.sidebar-category{padding: 2rem 0;}
.sidebar-category > p:first-child{
    padding: 1rem 0;
}
.sidebar-category nav{gap: 1rem;}
.sidebar-category nav p{
    display: grid;
    width : calc(100% / 3) ;
}
.sidebar-category nav p a{
    padding: 2rem 0;
    border: 2px solid #E8E8E8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 2rem;
    background: #fff;
    font-size: 1.4rem;
}
.sidebar-category nav p a:hover{
    background: #C76F54;
    border: 2px solid #C76F54;
    color: #fff;
}
.banner{
    padding: 1rem 0;
}
.banner img{
    width: 100%;
    height: auto;
    padding: 0.5rem 0;
}
.sidebar-menu{
  position: absolute;
    bottom: 15%;
    width: 89%;
}
.sidebar-menu a{
    display: block;
    padding: .6rem 1rem;
}
.sidebar-menu a p{
    font-weight: bold;
}
.sidebar-menu a p:hover, .setsumei a:hover{
    color: #C76F54;
    transition : 1s;
}
.sidebar-menu li:last-child{
    font-weight: normal;
    font-size: 1.4rem;
    opacity: .6;
}

/*************
    slider
*************/
.top-slide{
    max-width: 800px;
    width: 85%;
    margin: 10rem auto 6rem;
    position: relative;
}
.slider {
  width: 100%;
  height: 100%;
}

.slider img {
  width: 100%;
  object-fit: cover;
}
.slick-list{
    border-radius: 16px;
}
.slide-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
    text-align: center;
    width: 100%;
}
.slide-logo img{
    width: 300px;
    margin: 0 0 1rem;
}
.slide-logo p{
    color: #fff;
    letter-spacing: 3px;
}
/*************
    main
*************/
.main{
    width:100%;
}
/* trend */
.trend-yellow .trend-contents{
    margin-top: -7rem;
}
.trend-blue .trend-contents{
    margin-top: -4.8rem;
}
.trend-yellow .trend-contents div:nth-child(1){
    padding: 2.2rem;
}
.trend-yellow .trend-contents div:nth-child(2),
.trend-blue .trend-contents div:nth-child(1){
    font-weight: bold;
    color: #C76F54;
}
.trend-yellow .trend-contents div:nth-child(1){
    flex: 1;
}
.trend-yellow .trend-contents div:nth-child(2){
    padding: 3rem 0 3rem 9rem;
    border-radius: 54px 0 0 54px;
    flex: 2;
    background: #FAF6E6;
}
.trend-blue .trend-contents div:nth-child(1){
    flex: 2;
    padding: 3rem 12rem 3rem 0;
    background: #DFE6F1;
    border-radius: 0 54px 54px 0;
    text-align: right;
}
.trend-blue .trend-contents div:nth-child(2){
    flex: 1;
    padding: 3rem;
}
.trend-title{
    position: relative;
    width: 300px;
    margin: 0 auto;
}
.trend-title img{
    width: 100%;
}
.trend-title p:nth-child(2){
    position: absolute;
    left: 27%;
    font-family :Quicksand, sans-serif;
    font-weight: bold;
  margin:0;
  padding:0;
}
.trend-yellow .trend-title p:nth-child(2){
    top: 30%;
}
.trend-blue .trend-title p:nth-child(2){
    top: 37%;
}
/* 投稿リンク */
.trend-post{
    margin: 3rem 0 5rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.trend-post a{
    color: #797979;
    margin: 1rem;
    display: block;
}
.trend-post a:hover{
    color: #C76F54;
}
.trend-post img{
    border-radius: 16px;
    height: 200px;
    object-fit: cover;
}
.trend-post img, .trend-post p:last-child{
    width: 200px;
}
.trend-post a p:nth-child(2){
    margin: 1rem 0 0;
    font-size: 1.5rem;
}
/* 準備中 */
.zyunbi{
    border: 1px dashed #79797952;
    border-radius: 16px;
    width: 80% !important;
    padding: 4rem 0;
    box-sizing: border-box;
    text-align: center;
    margin: 0 0 3rem;
    font-size: 1.3rem;
    letter-spacing: 2px;
}
/* ベビスタとは？ */
.what-bebisuta{
    text-align: center;
}
.what-bebisuta > div{
    margin-top: 5rem;
}
.what-bebisuta div p{
    margin: 2rem 0;
    line-height: 2.6rem;
}
.what-bebisuta div p:last-child{
    margin-bottom: 0;
}
.what-bebisuta .main-button{
    margin: 1rem 0 8rem;
}
.main-button, .wpcf7 input[type="submit"]{
    border-radius: 16px;
    border: 1px dashed #C76F54;
    background: none;
    transition: all 0.3s ease 0s;
    margin: 4rem 0;
}
.main-button a, .wpcf7 input[type="submit"]{
    color: #C76F54;
    display: block;
    padding: 2rem 8rem;
    font-size: 1.6rem;
    letter-spacing: 3px;
}
.main-button:hover, .wpcf7 input[type="submit"]:hover{
    background: #C76F54;
    transition: all 0.3s ease 0s;
}
.main-button a:hover, .wpcf7 input[type="submit"]:hover{
    color: #fff;
}
/* ランキング */
.ranking{
    background: #F2E9E9;
    padding: 4rem 0;
}
.ranking a:hover{
    color: #C76F54;
}
.ranking h2{
    color: #797979;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.ranking h2 p:nth-child(2){
    margin: 0 0 1rem;
}
.ranking-post{
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
}
.ranking-post > div{
    width: calc((100% - 1px) / 5);
    flex: 0 0 auto;
    margin: 1rem;
}
.ranking-post div:first-child{
  margin-left: 4rem;
}
.ranking-post div:last-child{
  margin-right: 4rem;
}
.ranking-post img{
    width: 100%;
    max-width: 160px;
    border-radius: 16px;
    height: 160px;
    object-fit: cover;
}
/* label */
.label{
    display: block;
    position: relative;
    box-sizing: border-box;
}
.label span{
    display: inline-block;
  position: absolute;
  top: 0;
  right: 30px;
  margin: 0;
  padding: 5px 0 4px;
  z-index: 2;
  width: 40px;
  text-align: center;
  font-size: 17px;
  color: white;
}
.label span:after{
    content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-bottom: 10px solid transparent;
}
.label01 span{
  background: #C76F54;
}
.label01 span:after{
  border-left: 20px solid #C76F54;
  border-right: 20px solid #C76F54;
}
.label02 span{
  background: #797979;
}
.label02 span:after{
  border-left: 20px solid #797979;
  border-right: 20px solid #797979;
}
/*************
    footer
*************/
.footer ul{
    width: 100%;
    text-align: center;
    background: #F2E9E9;
}
.footer ul a{
    display: block;
    padding: 2rem 0;
    border-bottom: 1px solid #79797942;
    width: 80%;
    margin: 0 auto;
}
.footer ul a:hover{
    color: #C76F54;
}
.footer ul li:last-child a{
    border-bottom: none;
}
.copyright{
    background: #4D4D4D;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    letter-spacing: 3px;
}
/********************************************************************
    投稿
********************************************************************/
/* common */
.post-template .contents a{
    color: #7698c8;
    font-size: 1.5rem;
    text-decoration: underline;
}
.post-template .contents a:hover{
    color: #C76F54;
}
.breadcrumb a{
    padding: 2rem;
    display: block;
    font-weight: unset;
}
.breadcrumb a:hover{
    color: #C76F54;
}
.main-illust{
    padding: 0 2rem;
}
.post h1{
    font-size: 2rem;
    padding: 4rem 0 3rem;
    text-align: center;
}
.thumbnail{
    text-align: center;
}
.thumbnail img{
    border-radius: 16px;
    max-height: 600px;
    width: auto;
}
.ad{
    margin: 10rem 0;
}
.post .contents{
    padding: 6rem 5rem;
    background: #F8F8F8;
}
.setsumei a{
    display: block;
    padding: 1rem 0;
    font-weight: bold;
}
.has-text-align-center{
    margin-bottom: 1.8em;
    font-size: 1.8rem;
}
#navigation{
    overflow: hidden;
    margin: 3em 0 3em;
    padding-left: 0;
    list-style: none;
    background: #CCC;
}
#navigation li{
    display: block;
    width: 50%;
    line-height: 1.6em;
    font-size: 13px;
    float:left;
    background: #FFF;
}
#navigation:after{
    clear: both;
}
#navigation a{
    display: block;
    height: 60px;
    margin: 10px 5px;
    font-weight: normal;
}
#navigation li:hover{
    background: #C76F54;
    transition: all 0.3s ease 0s;
}
#navigation a:hover{
    color: #fff;
}
#navigation li:first-child{
    margin: 1px 0px 0px -1px;
}
#navigation li:first-child img {
    margin-right: 1em;
    float:left;
}
#navigation li:last-child{
    margin: 1px -1px 1px 1px;
    text-align:right;
}
#navigation li:last-child img {
    margin-left: 1em;
    float:right;
}
/********************************************************************
    投稿　ブログ記事
********************************************************************/
.post-template-single-default-php .contents{
    background: #fff;
}
.post-template-single-default-php .contents p{
    margin-bottom: 1.8rem;
}
.bold-red{
    color: #C76F54;
    font-weight: bold;
}
.post-template-single-default-php h2{
    color: #797979;
    background: #EFEFEF;
    padding: 3rem 3rem 3rem 10rem;
    font-size: 2rem;
    text-align: left;
    margin: 10rem 0 4rem;
}
.post-template-single-default-php h2:before{
    left: 8%;
    top: 20%;
    background-size: 50px;
}
.post-template-single-default-php h2:after{
    background: none;
}
.post-template-single-default-php .contents ul{
    border: 1px solid #ccc !important;
    padding: 0.5em 0.5em 0.5em 1.6em;
    margin: 0 0 2rem;
}
.post-template-single-default-php .contents ul li{
    line-height: 1.5;
  padding: 0.5em 0;
}
.post-template-single-default-php .contents ul li::before{
    content:  "";
    width:  6px;
    height:  6px;
    display:  inline-block;
    background-color: #C76F54;
    border-radius:  50%;
    position:  relative;
    top: -3px;
    margin-right: 7px;
}
/*************
    目次
*************/
.mokuzi{
    padding: 4rem 5rem;
    background: #FAF6E6;
    border-radius: 16px;
    margin: 0 0 5rem;
    font-weight: bold;
    color: #C76F54;
}
#mokuzi .mokuzi-title{
    margin: 0 0 5rem;
    text-align: left;
    position: relative;
    letter-spacing: 4px;
    font-weight: bold;
    color: #C76F54;
}
#mokuzi .mokuzi-title:after{
    content: "";
    left: 0;
    top: 4rem;
    background: url(images/h2-line.png) no-repeat;
    background-size: contain;
    opacity: .8;
    position: absolute;
    width: 72px;
    height: 67px;
}
.mokuzi ol{
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
}
.mokuzi ol ol{
    padding-left: 1em;
}
.mokuzi li{
    text-indent: -1.3em;
    padding-left: 1.3em;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.mokuzi li:before {
  counter-increment: item;
  content: counter(item)'.';
  /* 以下は自由に装飾... */
  padding-right: .5em;
  font-weight: bold;
  color: #C76F54;
}
#mokuzi li a{
    padding: 1rem 0;
    color: #797979;
}
#mokuzi ol li a:hover{
    color: #C76F54;
}
/*************
    吹き出し
*************/
/******* 吹き出しスタイル *******/
.wp-block-columns.is-not-stacked-on-mobile{
    margin: 3rem 0;
}
/* キャラアイコン部分 共通設定 */
.n-fuki-icon {
text-align: center !important ; /* キャラアイコンを左右中央に */
}
/* 【マスク不要なら削除可】キャラアイコン部分 丸マスク設定 ※キャラアイコンが正方形でないと丸くなりません */
.n-fuki-icon img {
border-radius: 50% !important;
    background: #d4d4d4;
    border: 2px solid #d4d4d4;
}
/* 【デフォルトで良いなら削除可】キャラアイコン下の名前テキスト設定（キャプション） */
.n-fuki-icon figure figcaption {
color: #666 !important ; font-size: 0.8rem !important ; text-align: center !important ;
}
/* 吹き出し部分 共通設定 */
.n-fuki {
position: relative ; /* 吹き出しの三角位置設定用 */
margin: 0 !important ; /* デフォルト設定リセット */
padding: 40px 20px ; /* 吹き出しの内側余白設定 */
border-radius: 20px ; /* 吹き出しの角丸設定 */
}
/* 吹き出し三角部分 共通設定 */
.n-fuki::before {
content: "";
position: absolute ;
top: 20%; /* 吹き出し三角部分の位置 */
border: 10px solid transparent; /* 吹き出し三角部分サイズ */
}
/* 吹き出し 左右個別設定 */
.n-fuki-left { background: #c7daf345; } /* 左からの吹き出しの色 */
.n-fuki-left::before { left: -20px; border-right: 10px solid #c7daf345; } /* 左からの吹き出し三角部分の位置・サイズ・色 */
.n-fuki-right { background: #c7daf345; } /* 右からの吹き出しの色 */
.n-fuki-right::before { right: -20px; border-left: 10px solid #c7daf345; } /* 右からの吹き出し三角部分の位置・サイズ・色 */
/* ブロックエディタ カラム再設定 */
.col1-fuki-l .wp-block-column:first-child{ flex-basis:15% !important; } /* 左から吹き出しのキャラアイコン カラム幅 */
.col1-fuki-l .wp-block-column:not(first-child){ flex-basis:78% !important; } /* 左から吹き出しの吹き出し カラム幅 */
.col1-fuki-r .wp-block-column:first-child{ flex-basis:78% !important; } /* 右から吹き出しのキャラアイコン カラム幅 */
.col1-fuki-r .wp-block-column:not(first-child){ flex-basis:15% !important; } /* 右から吹き出しの吹き出し カラム幅 */
/* レスポンシブ設定 */
@media (max-width: 599px){
.n-fuki-icon figure img { width: 80%;} /* キャラアイコンサイズ調整 */ 
.n-fuki { padding: 15px;} /* 吹き出しの内側余白設定 */ 
.n-fuki-left { margin-left: 10px !important;} /* 左からの吹き出しとキャラアイコンとの余白設定 */ 
.n-fuki-right { margin-right: 10px !important;} /* 左からの吹き出しとキャラアイコンとの余白設定 */
}
/********************************************************************
    固定ページ
********************************************************************/
.h1-camera{
    position: relative;
    text-align: center;  
    font-weight: bold;
    color: #C76F54;
}
.h1-camera p:nth-child(1) img{
    width: 100%;
}
.h1-camera p:nth-child(2), .h1-camera p:nth-child(3){
    position: absolute;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
    width: 100%;
}
.h1-camera p:nth-child(2){
    top: 66%;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 3px;
}
.h1-camera p:nth-child(3){
    top: 85%;
    font-size: 1.4rem;
    letter-spacing: 6px;
    color: #c76f5461;
}
.page .contents{
    padding: 0 14rem;
}
.page .contents figure{
    text-align: center;
}
.page .contents p{
    margin: 2.5rem 0;
}
.profile{
    background: #F2E9E9;
    border-radius: 16px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
}
.profile .title{
    font-size: 1.6rem;
    font-weight: bold;
}
.profile .title02{
    font-weight: bold;
}
.profile img{
    width: 100%;
    max-width: 150px;
}
.page .contents img{
    width:80%;
    border-radius: 16px;
}
/********************************************************************
    お問い合わせ
********************************************************************/
.wpcf7{
    max-width: 500px;
    margin: 0 auto;
}
.wpcf7 input, .wpcf7 textarea{
    width: 90%;
    border: 1px solid #7979794d;    
    padding: 1rem;
    margin: 1rem 0 2rem;
}
.wpcf7 input[type="submit"]{
    cursor: pointer;
    width: 80%;
    margin: 0 auto;
}
/********************************************************************
    search
********************************************************************/
.search h2{
    font-size: 2rem;
    text-align: left;
    padding: 0 2rem;
    letter-spacing: 2px;
}
.wrap-col{
    padding: 3rem;
}
/********************************************************************
    category
********************************************************************/
.category .h1-camera p:nth-child(3){
    text-transform: uppercase;
}

/********************************************************************
    responsive
********************************************************************/
@media (min-width:1260px){
    .wrapper{
        background: url(images/background.png);
        background-attachment: fixed;
        background-position: center;
        display: flex;
        min-height: 100vh;
    }
    .top-visual img:nth-child(1){
        height: 85vh;
    }
    .side{ background: #fff;}
}
@media (max-width:1260px){
    .sidebar{background: url(images/background.png);}
    .side{background: url(images/background.png);}
}
@media (min-width:996px){
    .pc{display: block;}
    .sp{display: none;}
    .main {flex: 1;padding: 0 0 0 360px;} 
}
@media (max-width:996px){
    .pc{display: none;}
    .sp{display: block;}
    .ranking-post > div{
        width: calc((100% - 1px) / 3);
    }
    .breadcrumb a{background: #F0F0F0;}
    .thumbnail img{max-width: 100%;height: auto;}
    .top-slide{margin: 2rem auto 2rem;}
    .page .contents{padding: 0 3rem;}
    .footer{margin: 3rem 0 0;}
    .post-template-single-default-php .contents{padding: 6rem 2rem;}
    .post-template-single-default-php h2{font-size: 1.8rem;padding: 6rem 1.5rem 3rem;}
    .post-template-single-default-php h2:before{top: 10%;background-size: 37px;left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);}
}
@media (max-width:450px){
    .slide-logo img{width:180px;}
    .slide-logo p{font-size: 1.1rem;letter-spacing: 1px;}
    .trend-post img{height: 150px;}
    .trend-post img, .trend-post p:last-child{width: 150px;}
    .trend-yellow .trend-contents div:nth-child(2), .trend-blue .trend-contents div:nth-child(1){flex: 30;}
}