﻿html {
  scroll-behavior: smooth;
  scroll-padding-top: 52px;
}

.hd {
    position: relative;
  }
  
  .hd .s {
    position: absolute;
    right: 0;
  }

  .panel section a {
    color: #333;
  }
  
  .panel_el {
    /* padding-top: 6px; */
    overflow: hidden;
    position: relative;
  }

  .panel_el_leg {
    padding: 0.3125rem;
    position: relative;
    float: left;
    display: block;
    overflow: hidden;
    background: #fff no-repeat 0 0;
    border-radius: 4px;
    color: #333;
    height: 8rem;
  }

  .panel_arrow_leg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 34px;
    overflow: hidden;
  }

  .panel_arrow_leg:before {
    content: "";
    position: absolute;
    width: 3.125rem;
    height: 3.125rem;
    -webkit-transform: rotate(45deg) translate(14px);
    -ms-transform: rotate(45deg) translate(14px);
    transform: rotate(45deg) translate(14px);
}

  .panel_el_leg .panel_arrow_leg:after {
    content: ".";
    visibility: hidden;
    display: block;
    min-width: 100%;
  }
  
  .panel-print .panel_el_leg .panel_arrow_leg:before {
    background-color: #00c2ff;
    border-color: transparent transparent #00c2ff transparent;
  }
  
  .panel-print .panel_el_leg.panel-main h1 i {
    color: #00c2ff;
  }
  
  .panel-print .panel-main_point li {
    background-color: #00c2ff;
  }
  
  .panel-hanko .panel_el_leg .panel_arrow_leg:before {
    background-color: #18b16b;
    border-color: transparent transparent #18b16b transparent;
  }
  
  .panel-hanko .panel_el_leg.panel-main h1 i {
    color: #18b16b;
  }
  
  .panel-hanko .panel-main_point li {
    background-color: #18b16b;
  }
  
  .panel-naire .panel_el_leg .panel_arrow_leg:before {
    background-color: #f79413;
    border-color: transparent transparent #f79413 transparent;
  }
  
  .panel-naire .panel_el_leg.panel-main h1 i {
    color: #f79413;
  }
  
  .panel-naire .panel-main_point li {
    background-color: #f79413;
  }
  
  .panel-medical .panel_el_leg .panel_arrow_leg:before {
    background-color: #f9b5c2;
    border-color: transparent transparent #f9b5c2 transparent;
  }
  
  .panel-medical .panel_el_leg.panel-main h1 i {
    color: #f9b5c2;
  }
  
  .panel-medical .panel-main_point li {
    background-color: #f9b5c2;
  }
  
  .panel-main {
    background-image: url(/sp/j3a/images/ST001/pic_main.jpg);
    background-repeat: no-repeat;
    background-position: 100% 0;
  }
  
  .panel-main h1 {
    margin-bottom: 15px;
    font-size: 32px;
    line-height: 1;
  }
  
  .panel-main h1 small {
    font-size: 1.7rem;
  }
  
  .panel-main h1 i {
    margin-right: 15px;
    position: relative;
    background-color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 34px;
    line-height: 50px;
    text-align: center;
  }
  
  .panel-main_desc {
    font-size: 1.6em;
    line-height: 1.5;
  }
  
  .panel-main_point {
    overflow: hidden;
  }

  .g-cover-ttl_xl .panel-main_point {
    width: 76%;
  }
  
  .panel-main_point li {
    margin: 0 0 0.3125rem 0.3125rem;
    float: left;
    font-size: 1.2em;
    line-height: 1.3;
    color: #fff;
    font-weight: bold;
    border-radius: 0.375rem;
    display: inline-table;
    width: 42%;
  }
  
  .panel-main_point li:first-child,
  .panel-main_point li:last-child {
    margin-left: 0;
  }

  .panel-main_point li:last-child {
    margin-bottom: 0;
    width: 92.5%;
    display: inline-table;
  }
  
  .panel-main_point div {
    padding: 0.3125rem;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 4em;
  }
  
  .panel-main_point div span.s {
    margin-bottom: 0.625rem;
  }
  
  .panel_inner {
    padding: 20px 380px 0 35px;
  }
  
  .panel_el {
    padding: 0.625rem;
    display: block;
    border-top: 1px solid;
    position: relative;
  }
  
  .panel section:last-child {
    border-bottom: 1px solid; 
  }
  
  .panel-print .panel_el,
  .panel.panel-print section:last-child {
    border-color: #00c2ff;
  }
  
  .panel-hanko .panel_el,
  .panel.panel-hanko section:last-child {
    border-color: #18b16b;
  }
  
  .panel-naire .panel_el,
  .panel.panel-naire section:last-child {
    border-color: #f79413;
  }

  .panel-medical .panel_el,
  .panel.panel-medical section:last-child {
    border-color: #f38fa3;
  }

  .panel-print-bg {
    background-color: #91e5ff; 
  }

  .panel-hanko-bg {
    background-color: #a4f0cc;
  }

  .panel-naire-bg {
    background-color: #f8d16f;
  }

  .panel-medical-bg {
    background-color: #fdd8df;
  }

  
  /* .panel_el-type1 {
    width: 471px;
    height: 230px;
  }
  
  .panel_el-type2 {
    width: 471px;
    height: 112px;
  }
  
  .panel_el-type3 {
    width: 948px;
    height: 230px;
  }
  
  .panel_el-type3 .panel_desc {
    padding-right: 480px;
  }
  
  .panel_el-type4 {
    width: 32.33%;
  }

  .panel_el-type4 a {
    height: 7rem;
  }
  
  .panel_el-type4 .panel_hd {
    font-size: 1.5em;
  }
  
  .panel_el-type4 .panel_desc {
    padding-right: 0;
  }
   */

  .panel .panel_pic {
    width: 30%;
    height: auto;
    display: inline-block;
    vertical-align: top;
    padding-top: 4vw;
  }

  /* .panel_el-type4 .panel_pic {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
  }
  
  .panel_el-type5 {
    width: 642px;
    height: 120px;
  }
  
  .panel_el-type5 .panel_hd {
    margin-bottom: 10px;
    font-size: 22px;
  }
  
  .panel_el-type5 .panel_pic {
    right: 25px;
  }
  
  .panel_el-type5 .panel_notice {
    margin-bottom: 7px;
  }
  
  .panel_el-type5 .s {
    margin-right: 5px;
    position: static !important;
  }
  
  .panel_el-type6 {
    width: 300px;
    height: 120px;
  }
  
  .panel_el-type6 .panel_hd {
    font-size: 14px;
  }
  
  .panel_el-type6 .panel_pic {
    right: 9px;
    z-index: 0;
  }
  
  .panel_el-type6 .panel_pic-2 {
    top: auto;
    right: auto;
    bottom: 10px;
    left: 0;
  }
  
  .panel_el-type6 .panel_notice {
    margin-bottom: 5px;
    position: relative;
    z-index: 50;
  }
  
  .panel_el-type6 .panel_price {
    margin-top: 5px;
    position: relative;
    z-index: 50;
  }
  
  .panel_el-type6 .panel_desc {
    margin-top: 0 !important;
    padding-right: 100px;
    position: relative;
    z-index: 50;
  } */

  .panel .panel-contents .s-group {
    height: auto;
  }

  .panel .panel-contents {
    width: 60%;
    display: inline-block;
    margin-left: 0.3125rem;
  }

  .panel .panel-contents.panel-txt-only {
    width: 90%;
    margin-left: 0;
  }


  
  /* 標準幅でスリム3つ分の高さ */
  .panel_el-type8 {
    width: 471px;
    height: 348px;
  }
  
  /* .panel_el .s {
    position: absolute;
    right: 17px;
    top: 15px;
  } */
  
  .panel_el.spacer {
    visibility: hidden !important;
  }
  .panel_el .s-group {
    width: 100%;
  }

  .panel_el .s-group .s {
    position: relative;
    margin-bottom: 0.5em;
  }
  
  .panel_focus {
    border: 0 solid;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: border-width .05s ease-out;
    transition: border-width .05s ease-out;
  }

  .panel_arrow {
    position: absolute;
    right: 0;
    bottom: 40%;
  }
  
  .panel_arrow:before {
    font-family: "icon";
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    display: inline-block;
    height: 1em;
    vertical-align: middle;
    letter-spacing: 0;
    text-transform: none;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    speak: none;
    content: "\EA04";
    width: 1.3em;
    font-size: 2.5em;
  }

  .panel-center {
    overflow: hidden;
    display: table !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 0.625rem;
  }
  
  .panel-center:after {
    content: ".";
    height: 0;
    visibility: hidden;
    display: block;
  }

  .panel-print .panel_arrow {
    color: #00c2ff;
  }

  .panel-hanko .panel_arrow {
    color: #18b16b;
  }
  
  .panel-naire .panel_arrow {
    color: #f79413;
  }

  .panel-medical .panel_arrow {
    color: #f38fa3;
  }

  .panel_arrow_leg i {
    font-size: 0.75rem;
    color: #fff;
    position: absolute;
    right: 0.9vw;
    bottom: -3.9vw;
  }
  
  .panel_hd {
    color: #333;
    margin-bottom: 0.2em;
    font-size: 1.6em;
    line-height: 1.2;
    font-weight: bold;
  }

  .panel_lead {
    margin-bottom: 0.5em;
    position: relative;
    display: table;
    height: 3em;
  }
  
  .panel_hd + .panel_desc {
    margin-top: 7px;
  }

  /**

 * ST系列 パネル内価格表示用クラス

 *

 * 先祖クラスにcolor依存

 * .panel_price-saleでアテンションカラー強制

 *

 * @example

 * <p class="panel_price-label">{商品名} </p>

 * <p class="panel_price-price">通常価格（税込）￥<span>{価格} </span>～</p>

 *

 */

.panel_price-label {
  font-size: 1.3em;
  font-weight: 800;
  line-height: 1.6;
}

.panel_price-price {
  font-size: 1.6em;
  line-height: 1.4;
  font-weight: 800;
}

.panel_price-price span {
  font-size: 0.6em;
}

.panel-hanko .panel_price-label, .panel-hanko .panel_price-price {
  color: #18b16b;
}

.panel-print .panel_price-label, .panel-print .panel_price-price {
  color: #00c2ff;
}

.panel-naire .panel_price-label, .panel-naire .panel_price-price {
  color: #f79413;
}

.panel-medical .panel_price-label, .panel-medical .panel_price-price {
  color: #f38fa3;
}

.panel_price-label.panel_price-sale, .panel_price-price.panel_price-sale {
  color: #ed0000 !important;
}
  
.panel_price {
  color: #ed0000;
  font-weight: bold;
  font-size: 1.6em;
  line-height: 1.4;
}
  
.panel_price strong {
  margin: 0 2px;
  font-size: 16px;
  line-height: 1.5;
}
  
.panel_price span {
  margin-left: 3px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: normal;
  color: #333;
}
  
.panel_el-sp1 {
  background: url(/sp/j3a/images/top/pic-inmen1.jpg);
  color: #fff;
}
  
  .panel_el-sp2 {
    background: url(/sp/j3a/images/top/pic-inmen2.jpg);
    color: #fff;
  }

  .ranking li {
    margin-left: 0.4375rem;
    width: 16%;
    float: left;
  }

  .ranking .g-media_hd {
    font-weight: normal;
    font-size: 1.2em;
    color: #333;
  }
  
  .ranking li:first-child {
    margin-left: 0;
  }
  
  .ranking .g-media_hd {
    position: relative;
  }

  .ranking_icon {
    position: relative;
  }
  
  .ranking .s {
    margin: auto;
    position: absolute;
    top: -11vw;
    left: 39%;
  }
  
  .recommend .g-carousel_item a {
    display: block;
    color: #333;
  }
  
  .recommend li {
    margin-left: 0.9375rem;
    width: 30%;
    float: left;
  }
  
  .recommend li:first-child {
    margin-left: 0;
  }
  
  .recommend .g-media_hd {
    margin-bottom: 0.4375rem;
    font-size: 1.6em;
    line-height: 1.2;
    color: #333;
  }
  
  .recommend .g-media_text {
    line-height: 1.4;
  }
  
  .g-html-ie8.g-html-small .g-breadcrumbs {
    margin: auto;
    max-width: 100%;
  }
  
  .g-html-ie8.g-html-small .g-sidebar {
    display: none;
  }
  
  .g-html-ie8.g-html-small .g-main {
    margin: auto !important;
    width: 100%;
    float: none !important;
  }
  
  .g-body .g-main {
    min-width: 100%;
  }
  
  /*swipe*/
  .sp_swipe_box {
    position: relative;
    width: 100%;
    max-width: 1000vw;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .sp_swipe {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
  }

  .recommend {
    height: 90vw;
  }

  .recommend .sp_swipe {
    width: 126rem;
  }

  .recommend .sp_swipe li {
    width: 13rem !important;
  }

  .ranking {
    height: 74vw;
  }

  .ranking .sp_swipe {
    width: 40rem;
  }

  .ranking .sp_swipe li {
    padding-top: 13vw;
  }


  /*modal*/
  .modal-wrapper {
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 10px;
    text-align: center
  }
  
  .modal-wrapper:not(:target) {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  
  .modal-wrapper:target {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s, visibility .4s;
  }
  
  .modal-wrapper::after {
    display: inline-block;
    height: 100%;
    margin-left: -.05em;
    vertical-align: middle;
    content: ""
  }
  
  .modal-wrapper .modal-window {
    box-sizing: border-box;
    display: inline-block;
    z-index: 20;
    position: relative;
    width: 95%;
    padding: 0.625rem 0.625rem 1.375rem 0.625rem;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .6);
    border-radius: 4px;
    text-align: left;
  }
  
  .modal-wrapper .modal-window .modal-content {
    font-size: 1.3em;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .modal-overlay {
    z-index: 10;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8)
  }
  
  .modal-wrapper .modal-close {
    z-index: 20;
    position: absolute;
    top: -6vh;
    right: 0vw;
    max-width: 10%;
  }
  
  .modal-wrapper .modal-close:hover {
    color: #2b2e38 !important
  }

  .modal-window .g-disclaimer_hd {
    margin: 0.75rem 0;
    text-align: center;
    font-weight: bold;
  }
  
  .modal-window ul.g-blist {
    padding-left: 1.3em !important;
  }

@media screen and ( min-width:413px) and (max-width:1024px) {
  .recommend {
    height: 20rem;
  }
  .ranking {
    height: 20rem;
  }
}