﻿/*************************************************
ポップアップ表示
*************************************************/
.overlays {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 200ms;
    visibility: visible;
    opacity: 1;
    z-index: 1000;
    padding: 40px;
    display: none;
}

.cartInInfoModal {
    font-family: 'itc-avant-garde-gothic-pro', 'Noto Sans Japanese', 'Noto Sans JP', 'Noto Sans SC', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'osaka', 'Arial', sans-serif;
    width: 450px;
    height: 250px;
    border: solid 2px #acd6d6;
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -225px;
    margin-top: -125px;
    z-index: 2000;
    border-radius: 5px;
}

.cartInInfoModal_p_title {
    margin-bottom: 10px;
    font-size: 15px;
}

.cartInInfoModal_quantityBox {
    font-size: 15px;
}

@media(max-width: 767px){
    .cartInInfoModal {
        width: 350px;
        height: 250px;
        border: solid 2px #acd6d6;
        background-color: white;
        position: fixed;
        top: 40%;
        left: 50%;
        margin-left: -175px;
        margin-top: -125px;
        z-index: 2000;
        border-radius: 5px;
    }
    .cartInInfoModal_p_title {
        margin-bottom: 10px;
        font-size: 13px;
    }
    .cartInInfoModal_quantityBox {
        font-size: 13px;
    }
}

@media(max-width: 365px){
    .cartInInfoModal {
        width: 300px;
        height: 250px;
        border: solid 2px #acd6d6;
        background-color: white;
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -150px;
        margin-top: -125px;
        z-index: 2000;
        border-radius: 5px;
    }
    .cartInInfoModal_p_title {
        margin-bottom: 10px;
        font-size: 13px;
    }
    .cartInInfoModal_quantityBox {
        font-size: 13px;
    }
}

.cartInfoModal_ttl {
    width: 100%;
    background-color: #acd6d6;
    height: 40px;
    padding: 10px 10px 0;
    font-size: 15px;
    font-weight: normal;
}

.cartInInfoModal_close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 4px;
    right: 10px;
    opacity: 0.8;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #777;
    line-height: 1.2;
}

.cartInInfoModal_close a {
    color: rgb(230, 42, 42);
}

.cartInInfoModal .close a:hover,
.cartInInfoModal a:hover {
    cursor: pointer;
    opacity: 0.6;
}

.cartInInfoModal_product {
    width: 125px;
}

.cartInInfoModal_p_title span {
    display: block;
    font-size: 10px;
    color: #999;
    box-sizing: border-box;
    margin-bottom: 5px;
    line-height: 1;
}

.cartInInfoModal .next {
    width: 80%;
    margin: 10px auto;
}

/*.cartInInfoModal .next a,
.cartInInfoModal .next .interCartPageBtn {
    display: block;
    box-sizing: border-box;
    line-height: 100%;
    border: none;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 15px 10px;
    font-size: 16px;
    background: #51a9a9;
    border-radius: 5px;
    color: #FFF;
    text-align: center;
    box-shadow: 0px 3px 0px 0px #368282;
}

.cartInInfoModal .next a:hover,
.cartInInfoModal .next .interCartPageBtn:hover {
    background: #51a9a9;
    margin: 13px auto -3px;
    box-shadow: 0px 0px 0px 0px #82b9b9;
    transition: all 0.1s;
}
*/

.cartInInfoModal .next a {
  display: inline-block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0.8em 1em 0.5em;
  text-decoration: none;
  background: #51a9a9;/*ボタン色*/
  color: #FFF;
  font-size: 15px;
  text-align: center;
  border-bottom: solid 4px #368282;
  border-radius: 5px;
}
.cartInInfoModal .next a:hover {
    opacity: 0.8;
}
.cartInInfoModal .next a:active {   /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
  transition: all 0.8s;
}

.underline {
    font-weight: 600;
    text-decoration: underline;
}

b {
    color: #368282;
}

/*************************************************
ページ移転モーダル
*************************************************/
#pageMoveOverlay {
    position: fixed;
    height: 100vh !important;
}

#pageMoveOverlay .cartInInfoModal {
    height: auto;
}

.pageMoveModal_ttl {
    width: 100%;
    background-color: #acd6d6;
    height: 45px;
    padding: 10px;
    font-size: 15px;
    font-weight: normal;
    box-sizing: border-box;
}

.pageMoveModal_body {
    padding: 25px;
}

.pageMoveModal_heading {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #333;
}

.pageMoveModal_body p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* -------------------------------------
    CLICK する時、POPUPが表す
---------------------------------------- */
.news-overlay {
    position: fixed;
    height: 100vh !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 200ms;
    visibility: visible;
    opacity: 1;
    z-index: 1000;
    padding: 40px;
    display: none;
}

.news-content{
    font-family: 'itc-avant-garde-gothic-pro', 'Noto Sans Japanese', 'Noto Sans JP', 'Noto Sans SC', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'osaka', 'Arial', sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    /*margin-left: -225px;
    margin-top: -125px;*/
    margin-left: -100px;
    z-index: 2000;
    border-radius: 5px;
}

.pop_scroll {
    width: 350px;
    height: 220px;
    border: solid 2px #acd6d6;
    background-color: white;
    position: fixed;
    top: 40%;
    left: 50%;
    margin-left: -175px;
    margin-top: -125px;
    z-index: 2000;
    border-radius: 5px;
}

.scroll_stop{
    overflow: hidden;
    height: 100%;
}
.news-open a:after{
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: 900;
    color:#999;
    margin-left: 3px;
}

.news-close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 4px;
    right: 10px;
    opacity: 0.8;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #777;
    line-height: 1.2;
}

.news-close a {
    color: rgb(230, 42, 42);
}

.news-close .close a:hover,
.news-close a:hover {
    cursor: pointer;
    opacity: 0.6;
}

.news-content_body {
    padding: 35px;
}

.news-content_body p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

@media (max-width: 420px) {
    .news-content{
        height: auto;
    }
}    

.news-content_ttl {
    width: 100%;
    background-color: #acd6d6;
    height: 45px;
    padding: 10px;
    font-size: 15px;
    font-weight: normal;
    box-sizing: border-box;
}

.news-content .next a {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 0.8em 1em 0.5em;
  text-decoration: none;
  background: #51a9a9;/*ボタン色*/
  color: #FFF;
  font-size: 15px;
  text-align: center;
  border-bottom: solid 4px #368282;
  border-radius: 5px;
}
.news-content .next a:hover {
    opacity: 0.8;
}
.news-content .next a:active {   /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
  transition: all 0.8s;
}

.head-news01, .head-news02, .head-news03 {
    cursor: pointer;
}


    

    