
/* ここにデスクトップ向けのスタイルを指定します */
h1.h1-index {
    font-size: 14px !important;
    margin: 0;
    line-height: 30px;
}
h1.h1-tag{
    border-bottom: 2px solid #ed848c;
    margin: 0 0 31px 0;
    font-size: 26px;
    background: #7f7f7f;
    padding: 5px 10px 0;
    color: #fff;
    font-weight: unset;
}
h1.h1-tag.page-title span{
    font-size: 26px;
    color: #fff;
}
#branding{
    margin: 0 auto;
    width: 1380px;
    text-align: center;
}
#wrapper {
    background: #282828;
    margin-top: 20px;
    margin:0 auto;
    padding: 0 ;
    width: 100%;
}
#afi-area-head,#afi-area-footer{
    width:1380px;
    text-align: center;
    margin:0 auto;
}
#afi-area-head p{
    font-size:20px;
    margin-botom:20px;
}
#side-r{
    margin:0 0 0 10px;
    max-width: 300px;    
}
#side-l {
    margin: 0 10px 0 0;
    max-width: 300px;    
}
#side-r{
    margin:0 0 0 10px;
    max-width: 300px;    
}
p.side-r-search {
    margin: 0;
}
div#side-r input[type="text"] {
    background: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    padding: 0 5px;
    width: 96%;
    font-size: 18px;
}
div#side-r input[type="submit"] {
    color: #fff;
    background: #ed848c;
    border: 1px solid #fff;
    width: 40%;
    margin: 10px auto 0;
    padding: 4px;
    display: block;
    font-size: 15px;
}
#content-wrapper {
    display: grid;
    grid-template-columns: 0.83fr 760px 0.83fr;
    width: 1380px;
    margin: 0 auto;
}
#main {
    clear: both;
    //overflow: hidden;
    padding: 0 0;
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    width: 720px;
    margin: 0 auto 50px;
}
.home h3{
    margin:0 0 15px 0;
    font-weight: bold;
}
.home h3 a {
    text-decoration-line: none;
}

/*要素*/
#custom-image{
    text-align: center;
    width: 100%;
    max-width: 720px;
    height: 100%;
    max-height: 460px;
    margin: 0 auto 20px;
}
div#custom-image a:hover{
    opacity: 0.7;
}

div#custom-image img {
    width: 100%;
    max-width: 720px;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

div.bloglist-block{
    margin: 0 0 30px 0;
    border-bottom: 1px solid #db7979;
    padding: 0 0 24px 0;
}
.bloglist-block p {
    font-size: 15px;
    line-height: 22px;
    margin: 0 0 8px 0;
}
a.aclass_afflink p.pclass_afflink {
    margin: 0 0 0 0 !important;
    text-align: left !important;
    font-size: 20px !important;
}
div.divclass_afflink ul.ulclass_afflink {
    display: list-item;
    list-style: none !important;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0px;
}
li.liclass_afflink a.aclass_afflink {
    text-decoration: none;
    display: block;
    color: #ffa0a0 !important;
}
div.mgs_widget_affiliate_afflink {
    margin: 0 auto;
}
div.mgs_widget_affiliate_afflink .divclass_afflink {
    padding-top: 0 !important;
}
a.aclass_afflink p.pclass_afflink:hover {
    color: #ffd7d7;
}
div.divclass_afflink li.liclass_afflink img:hover { opacity: 0.6; filter: brightness(110%); }

div#side-l p,div#side-r p  {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 18px;
    padding: 0 !important;    
}
div#side-l p img,div#side-r p img {
    width: 100%;
    height: auto;
}

div#side-l iframe,div#side-r iframe {
    width: 300px !important;
}
.bloglist-block dl{
    font-size: 15px;
    line-height: 22px;
}

/*** button ***/
.blog-btn{
    width:100%;
    height:65px;
    line-height: 68px;
}
.blog-btn a{
    display:block;
    width:100%;
    height:100%;
    text-decoration: none;
    background:#ed848c;
    text-align:center;
    color:#FFFFFF;
    font-size:24px;
}
.blog-btn a:hover{
    background:#f3cdf6;
    color:#FFFFFF;
    margin-left:5px;
    margin-top:5px;
    box-shadow:none;
}
.blog-btn a:visited{
    color:#FFFFFF;
}
.blog-btn a span {
    background: #f1b0b0;
    font-size: 15px;
    padding: 6px 11px;
    margin: 0 5px;
}
.blog-btn a span i{
    margin:0 9px 0 0;
}
.blog-btn-arrow{
    text-align:center;
    font-size: 40px;
}

.blog-btn-arrow span{
    margin:0 20px 0;
}
.afi-catch,.erotare-catch{
    text-align: center;
    font-size: 25px;
    margin: 20px 0;
    line-height: 50px;
}
.afi-catch span{
    color: #fff;
}
.afi-catch{
    background: #ed848c;
    border: 3px solid #ff5f5f;
    padding: 15px 0;
}
#footer #custom-logo .copy {
    margin: 10px 0 0;
}
#footer #custom-logo .copy a{
    color: #fff;
    margin: 0 0 0;
    font-size: 14px;
}
p.navi {
    text-align: center;
    line-height: 211%;    
}
p.navi span, .navi a {
    padding: 5px 15px;
    background: #db7979;
}

span.search-highlight {
    background: #919925;
}

.afi-main{
    text-align: center;    
}


/*** pc sp display ***/

.pc-display{display:block;}
.sp-display{display:none;}

/*** fontawesome ***/

.fontawesome {
    color: #ed848c;
}
.blog-btn a span .fontawesome{
    color:#FFF
}


#side-l .contact-btn{
    color: #FFF;
    font-size: 16px;
    text-align: center;
    background: #ed848c;
    padding: 6px 1px !important;
}


#side-l .contact-icon{
    font-size:25px;
    text-align:center;
}

.single #side-index{
    display:none;
}

a.bloglist-more {
    color: #ffa0a0 !important;
    font-weight: bold;
    text-decoration: underline;
    white-space: nowrap;
}
a.bloglist-more:hover {
    color: #ffd7d7 !important;
}
.single-desc {
    margin: 0 0 16px;
}
.single-desc p {
    font-size: 15px;
    line-height: 22px;
    margin: 0 0 8px;
}
ins.widget-banner {
    background: none;
}



/* タブレット向けのスタイル */
@media screen and (max-width: 959px)  {
  /* ここにタブレット向けのスタイルを指定します */

h1.h1-index {
    font-size:  100% !important;
    margin: 0;
    line-height: 190%;
}

#wrapper {
    width: 100%;
    padding: 0;
}
#branding {
    width: 100%;
}
#afi-area-head {
    width: 100%;
}

#branding img {
    width: 100%;
}
#afi-area-head,#afi-area-footer{
    width:100%;
}
#afi-area-head p,#afi-area-footer p{
    text-align: center;
    line-height:220%;
    font-size: 130%;
}
#content-wrapper {
    display: grid;
    grid-template-columns: unset;
    padding: 0 2%;
    width: 100%;    
}
#main {
    clear: both;
    overflow: hidden;
    padding: 0 0;
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    width: 100%;
    margin: 0 auto;
}
#side-l p,#side-r p{text-align:center;}
.home h3 {
    font-size: 110%;
    line-height: 150%;
    margin: 0 0 1% 0;
}
#custom-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: 0 auto 2%;
    text-align: center;    
}
div#custom-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;

}
.bloglist-block p {
    font-size: 100%;
    line-height: 150%;
    margin: 0 0 1% 0;
}
.bloglist-block dl {
    font-size: 100%;
    line-height: 140%;
}

.blog-btn a{
    font-size: 90%;

}
#slideshow-container {
    max-width: 100% !important;
    height: auto !important;
}
.afi-catch, .erotare-catch {
    font-size: 100%;
    margin: 5% 0;
    line-height: 160%;
}
div.divclass_afflink ul.ulclass_afflink{margin-left:0 !important;}
.pc-display{display:none;}
.sp-display{display:block;}

#side-l,
#side-r {
    margin: 0 auto 0;
}
#side-l .contact-btn {
    font-size: 150%;
    padding: 3% 2%;
}
#side-l .contact-icon {
    font-size: 300%;
}

div#side-l p img, div#side-r p img {
    width: auto;
    max-width: 300px;
    height: auto;
}

#main {
    clear: both;
    overflow: hidden;
    padding: 0;
    font-size: 150%;
    line-height: 150%;
    color: #fff;
    width: 100%;
    margin: 0 auto;
}


}





/* スマートフォン向けのスタイル */
@media screen and (max-width: 480px) {
  /* ここにスマートフォン向けのスタイルを指定します */
  #wrapper {
    width: 100%;
    padding: 0;
}
#branding {
    width: 100%;
}

#branding img {
    width: 100%;
}
#afi-area-head, #afi-area-footer {
    width: auto;
    max-width: 480px;
    margin: 0 auto 0;
    padding: 0 3%;
}
#afi-area-head p,#afi-area-footer p{
    text-align: center;
}
#content-wrapper {
    display: grid;
    grid-template-columns: unset;
    padding: 0;
}

#side-l p,#side-r p{
    text-align:center;
}
div.bloglist-block{
    padding: 0 2% 5%;
}
div#side-l p,div#side-r p  {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 18px;
}
.home h3 {
    font-size: 110%;
    line-height: 150%;
    margin: 0 0 1% 0;
}
#custom-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: 0 auto 2%;
    text-align: center;    
}
div#custom-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;

}
.bloglist-block p {
    font-size: 100%;
    line-height: 150%;
    margin: 0 0 1% 0;
}
.bloglist-block dl {
    font-size: 100%;
    line-height: 140%;
}

.blog-btn a{
    font-size: 90%;

}
#slideshow-container {
    max-width: 100% !important;
    height: auto !important;
}
.afi-catch, .erotare-catch {
    font-size: 100%;
    margin: 5% 0;
    line-height: 160%;
}
div.divclass_afflink ul.ulclass_afflink{margin-left:0 !important;}
.pc-display{display:none;}
.sp-display{display:block;}


#side-l .contact-btn {
    font-size: 150%;
    padding: 3% 2%;
}
#side-l .contact-icon {
    font-size: 300%;
}
.afi-main p img {
    width: 80%;
    height: auto;
}
}

body.page-template-page-contact #branding,
body.page-template-page-contact #content-wrapper.contact-layout {
    width: 100%;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
body.page-template-page-contact #content-wrapper.contact-layout {
    display: block;
    margin-top: 24px;
    margin-bottom: 48px;
    padding: 0;
}
body.page-template-page-contact #content-wrapper.contact-layout #main {
    width: 720px;
    max-width: 100%;
    margin: 0 auto 24px;
    padding: 0 16px;
    box-sizing: border-box;
}
.contact-page h1 {
    font-size: 26px;
    line-height: 1.4;
    color: #fff;
    border-bottom: 2px solid #ed848c;
    margin: 0 0 18px;
    padding: 0 0 8px;
}
.contact-lead {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
}
.contact-notice {
    margin: 0 0 18px;
    padding: 12px 14px;
    line-height: 1.6;
}
.contact-notice.is-success {
    background: #2f4f3a;
}
.contact-notice.is-error {
    background: #6b3030;
}
.contact-form label {
    display: block;
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.4;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #f9f9f9;
    border: 1px solid #ccc;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 12px;
    margin: 0;
}
.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}
.contact-form p {
    margin: 0 0 16px;
}
.contact-form button {
    display: block;
    width: 100%;
    background: #ed848c;
    color: #fff;
    border: 0;
    font-size: 20px;
    line-height: 1.4;
    padding: 14px 16px;
    cursor: pointer;
}
.contact-form button:hover {
    background: #f3cdf6;
    color: #fff;
}
.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}