/* カスタマイズ用CSS */
body {
  font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.pc-only {
  display: block;
}
.txt_white{
    color: #fff!important;
}
.sp-only {
  display: none;
}
.bg-load-overlay{
    opacity: 0!important;
}
.ec-headerNavigation_media_pc li {
    width: calc(100% / 4);
}
.answer{
    background: #fff!important;
    padding-left: 1.8em !important;
    text-indent: -1em;
    letter-spacing: -0.05em;
}
.ec-pager .ec-pager__item--active {
    background: #336b87;
}
header{
  max-width: 100%!important;
}
.icon-item.line img {
    width: auto!important;
    margin-top: 0!important;
    margin-bottom: 0!important;
}
.icon-item img {
    width: auto!important;
    height: 30px!important;
}
.ec-logoRole__copy {
    font-size: 1.2rem!important;
    margin-bottom: 5px!important;
}
.ec-logoRole__logo{
    width: 100% !important;
    margin-bottom: 0px!important;
}
.ec-layoutRole__main{
  width: 100%;
  padding: 0;
}
.ec-layoutRole {
  width: 100%!important;
}
.ec-layoutRole__contents{
  max-width: 100%!important
}
.ec-siteBackground {
     display: none!important;
 }

.ec-headingTitle {
  font-size: 18px!important;
  text-align: center!Important;
}
.ec-shopRankingItem{
    max-width: 33.33%!important;
}

.ec-shelfRole .ec-shelfRole__tags {
    padding-bottom: 8px!important;
}
.ec-shelfGrid__item-name {
  display: -webkit-box;        /* 必須: ボックスモデル */
  -webkit-box-orient: vertical; /* 必須: 垂直方向に配置 */
  overflow: hidden;            /* 溢れたテキストを隠す */
  text-overflow: ellipsis;     /* 「...」を表示 */
  -webkit-line-clamp: 2;       /* 表示する行数を指定（例: 2行） */
}

#RelatedProduct-product_area .ec-shelfGrid .ec-shelfGrid__item img{
     border: 1px solid #c0c0c0;
     width: 100%!important;
     height: auto!important;
}
#page_product_list .ec-shelfGrid .ec-shelfGrid__item img{
    border: 1px solid #c0c0c0;
    width: 100%!important;
}
.ec-Sp-headerSearch {
    margin-bottom: 1rem!important;
}
 /***************************
 
 会員ランク
 
 ****************************/
 #customer_rank {
  margin-bottom: 0px!important;
}

#customer_rank .heading02 {
  background: #f8f8f8;
  padding: 16px;
  margin-top: 0!important;
  font-size: 2rem!important;
}

#customer_rank .current-rank {
  font-size: 1.6rem!important;
  margin-bottom: 0px!important;
}

#customer_rank span {
  color: #c0392b;
  font-weight: bold;
}

#customer_rank .rank {
  color: #2981ba;
  font-weight: bold;
}

#customer_rank .next_info {
  background: #f7f7f9;
  padding: 10px 25px;
  border: 1px solid #e1e1e8;
}
/*****************************
利用規約ボックススクロール
******************************/
.terms-box {
  width: 100%; /* ボックスの横幅 */
  max-height: 100vh; /* ボックスの高さを制限 */
  overflow-y: auto; /* 縦スクロールを有効化 */
  padding: 15px; /* 内側の余白 */
  border: 1px solid #ccc; /* 枠線を追加 */
  border-radius: 5px; /* 角を丸める */
  background-color: #f9f9f9; /* 背景色を設定 */
  font-size: 14px; /* テキストサイズ */
  line-height: 1.5; /* 行間 */
}

 /****************************
 
 TOP検索
 
 *****************************/
 .ec-input-raw{
    position: relative;
    border: 3px solid #518889;
    border-radius: 0 8px 8px 0;
    display: flex;
    width: 50vw;
    flex-wrap: nowrap;
    align-items: center;

 }
 .ec-input-raw input{
     margin-bottom: 0!important;
 }
 .ec-headerSearch__keywordBtn {
    width: 45px;
    height: 40px;
    padding: 8px;
    background: #518889;
}
.ec-headerSearch__keywordBtn svg.cb {
    font-size: 2rem;
    color: #fff;
}
/* 商品名称 */
.ec-shelfGrid__item-name {
  word-wrap: break-word !important;
}
/* レビュー */
i.fas.fa-star {
  color: #f4ac00;
}
i.fas.fa-star-half-alt {
  color: #f4ac00;
}
i.far.fa-star {
  color: #deded9;
}
.item_tag li {
  border: 0 !important;
  color: #fff !important;
  background: rgb(237,119,119,.7) !important;
}
.icon {
  position: absolute;
  right: 10px;
  display: inline-block;
  width: 20px;
  height: 20px;
  top: 50%;
    transform: translateY(-50%);
}
.icon:before, .icon:after {
  position: absolute;
  content: "";
  display: block;
  transition: all 0.4s;
  background: #fff;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 2px;
  transform: translate(-50%, -50%);
}
.icon:before {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.4s;
}
.icon.open:before {
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 0.4s;
}
.ec-reportDescription{
  line-height: 1.7;
}
.ec-headerNavigation > ul > li {
  background:#518889 !important;
}
.ec-headerNavigation > ul {
  border-bottom: none!important;
}
.front_page .ec-layoutRole__contents h2 {
  border-left: none;
  border-bottom: none;
  text-align: center;
  font-size: 3.4vh;
}
.top__kv .top_item_nav{
  display: none!important
}
.ec-layoutRole__contents .ec-sliderRole{
  display: none!important
}
  .top__kv{
  height: 100%!important;
  overflow: hidden;
}
.product-item-left {
        display: flex!important;
        align-items: stretch;  /* すべての子要素を同じ高さに伸ばす */
    }
    .ec-shelfGrid__item-image img {
        height: 100%!important;  /* 高さを150pxに設定 */
        width: auto!important;    /* 幅は元の比率を保持 */
        object-fit: cover; /* 画像が設定された領域を埋めるように調整 */
    }
.ec-headerNavigation_media_pc .mega_menu {
  font-size: 1.4rem!important;
  width: 25%!important;
  margin: .5rem 0;
  position: relative;
  padding-left: 1em;
}
.ec-headerNavigation_media_pc .mega_menu::before{
  position: absolute;
  left: 0;
  width: .6em;
  height: 0.5em;
  content: "";
  background: url("/html/user_data/assets/img/common/icon_menu.png") no-repeat center center;
  background-size: contain;
  top: 50%;
  transform: translateY(-50%);
}
.ec-layoutRole__header {
  margin-bottom: 0px!important;
}
.ec-headerNavigation > ul {
  margin-bottom: 0!important;
}
.ec-layoutRole__contents .ec-newItem{
  background: #c4dfe6!important;
  padding: 3rem!important;
}
.ec-shelfGrid__item-image img{
  background: #fff!important;
}
.product-item{
  background: #f1f1f2!important;
  display: flex;
  flex-flow: column;
}
.product-item-right{
  padding: 1rem 1.4rem;
  min-height: 200px;
}
.ec-topicsItemRole__list,.ec-role,.ec-newItem{
  padding: 0rem 1.4rem!important;
}
.faq-lineup{
  margin: 0 auto;
  width: 90%;
}
.front_page .ec-layoutRole__contents h2 {
  margin-bottom: 12px;
}
.question {
  padding: 1.1rem 0!important;
  padding-left: 1.8em !important;
  text-indent: -1em;
  padding-right:2em!important;
  background: #a1d6e2!important;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.4!important;
  letter-spacing: -0.02em;
}
.ec-shelfGrid__item-name{
  color: #336b87!important;
  text-decoration: none!important;
  font-weight: bold!important;
}
.ec-shelfRole .ec-shelfRole__tag{
  font-size: 60% !important;
  color: #fff !important;
  background: #336b87 !important;
  border-radius: 3px !important;
  border: none !important;
  line-height: 1.1!important;
  padding: 3px 3px!important;
}
.ec-pickupProducts p.ec-shelfGrid__item-image{
  height: 100%!important;
}
.faq-lineup{
  width: 80%!important;
}
.ec-shelfRole {
  margin-left: auto;
  margin-right: auto;
  max-width: 960px!important;
  padding: 3rem!important;
  padding-left: 3rem!important;
  padding-right: 3rem!important;
}
.ec-logoRole{
  margin-bottom: 0!important;
}
.ec-role{
  width: 100%!important
}
.ec-hotProducts p.ec-shelfGrid__item-image {
  height: 100%!important;
}
.ec-searchnavRole{
  max-width: 100%!important;
  padding-left: 3rem!important;
  padding-right: 3rem!important;
}
@media only screen and (max-width: 768px) {
.ec-shopRankingItem{
    padding-top: 0!important;
    max-width: 100%!important;
}
}
.ec-shopRankingItem:nth-of-type(1),
.ec-shopRankingItem:nth-of-type(2),
.ec-shopRankingItem:nth-of-type(3),
.ec-shopRankingItem:nth-of-type(4){
    background: none!important
}
.ec-shopRankingItem{
    position: relative;
}
.ec-shopRankingItem:nth-of-type(1)::before,
.ec-shopRankingItem:nth-of-type(2)::before,
.ec-shopRankingItem:nth-of-type(3)::before,
.ec-shopRankingItem:nth-of-type(4)::before{
    position: absolute;
    content: "";
    left: 20px;
    top:10%;
    /* transform: translateY(-50%); */
    background: url(/html/user_data/assets/img/common/rank1.svg) no-repeat center;
    background-size: contain;
    width: 40px;
    height: 40px;
}
.ec-shopRankingItem:nth-of-type(2)::before{
    background: url(/html/user_data/assets/img/common/rank2.svg) no-repeat center;
}
.ec-shopRankingItem:nth-of-type(3)::before{
    background: url(/html/user_data/assets/img/common/rank3.svg) no-repeat center;
}
.ec-shopRankingItem:nth-of-type(4)::before{
    background: url(/html/user_data/assets/img/common/rank4.svg) no-repeat center;
}
.ec-shoppingFlow__title,
.ec-shoppingGuide__title{
    background: #518889 !important;
}
.ec-shoppingFlow__title,
.ec-shoppingGuide__title{
    font-size: 1.2em!important;
    font-weight: bold;
    margin-bottom: 3rem
}
.flow04 {
  padding-left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.flow04 > li {
  list-style-type: none;
  width: 100%;
  max-width: 26%;
  display: flex;
}

.flow04 > li .icon04 {
  line-height: 2;
  width: 2em;
  height: 2em;
  text-align: center;
  color: #fff;
  background: #E26B5D;
  margin: 0 auto 10px;
  display: block;
  border-radius: 100vh;
  position: relative;
}

.flow04 > li .icon04::before {
  content: "";
  border: solid transparent;
  border-width: 7px;
  border-top-color: #E26B5D;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.flow04 > li dl {
  padding: 30px 20px;
  margin: 0;
  border: 3px solid #E26B5D;
  position: relative;
}

.flow04 > li:not(:first-child) dl::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 10px;
  display: inline-block;
  border-top: 4px solid #E26B5D;
  border-right: 4px solid #E26B5D;
  position: absolute;
  top: calc(50% - 14px);
  left: -45px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.flow04 > li dl dt {
  font-size: 1.1em;
  font-weight: 600;
  color: #E26B5D;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  margin-bottom: 10px;
  text-align: center;
}

.flow04 > li dl dd {
  margin-left: 0;
  font-size: .9rem;
}
.l-pankz div.container {
    max-width: 100%!important;
    margin-left: 2%!important;
}
.l-pankz{
    margin-top: 2rem!important;
}
.ec-shelfRole .ec-shelfRole__tags {
    padding-bottom: 8px;
}
/****************************************

商品ページ

*****************************************/
#itl_contents {
    margin: auto;
    max-width: 100%!important;
}
.ec-productRole .ec-productRole__tags {
    padding-bottom: 16px;
    margin-bottom: 14px;
    padding-top: 16px!important;
}
.ec-productRole .ec-productRole__tag {
    border: none;
    color: #fff;
    background: #336b87 !important;
    border-radius: 10px;
}
.ttitle {
    padding: 5px 10px!important;
    background: #518889 !important;
}
.tvalue {
    padding: 10px!important;
    background: #fff!important;
}
#page_product_detail h2{
    padding-bottom: 5px;
    font-size: 1.2em;
    font-weight: bold;
    width: 100%!important;
    margin: 0;
    margin-bottom: 10px;
    padding-top: 10px;
    /* border-left: 10px solid #518889; */
    border-bottom: 1px solid #67d059;
    border: 2px solid #518889;
    text-align: left;
    color: #505050;/*文字色*/
    padding: 0.5em!important;/*文字周りの余白*/
    padding-left: 1em!important;
    display: inline-block!important;/*おまじない*/
    line-height: 1.3!important;/*行高*/
    background: #dbebf8;/*背景色*/
    vertical-align: middle!important;
    border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
}
#page_product_detail h2::before {
  content: '●';
  color: white;
  margin-right: 8px;
}
#item_order h3 {
    width: 90%!important;
    margin: 20px auto 2px auto!important;
}
.order_tbl{
    width: 90%!important;
    margin: 0 auto!important;
}
.order_tbl th {
    background: #598881!important;
}
.order_tbl .btn{
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%)!important;
    border-radius: 20px;
    border: none;
}
.ec-productRole{
    max-width: 100%!important;
}
.item_text {
    padding: 5px!important;
    background: #fff!important;
    padding-left: 2rem!important;
}
.RelatedProduct_title{
    background: #598889!important;
    color: #fff!important;
    border: none!important;
}
.ec-layoutRole__footer{
    padding: 5rem 0!important;
}
#item_order,.ec-productRole__description,#item_howto,#item_sideeffect,#item_caution,#item_keep,
#item_maker,#item_shipped,#item_review{
    padding: 0 5%!important;
}
.flow_design04{
    padding: 3rem;
}
.ec-productRole > .ec-grid2{
    padding: 0 5%!important;
}
/****************************************

スマホなど

*****************************************/

@media only screen and (max-width:768px){
.front_page .ec-layoutRole__contents h2 {
  border-left: none;
  border-bottom: none;
  text-align: center;
  font-size: 2.4vh;
}
  .top__kv{
  height: auto!important;
}
.ec-headerNavigation > ul > li > a {
    font-weight: bold;
    line-height: 1.2!important;
}
.ec-headerRole__title {
    width: 35%!important;
}
.icon-item {
    width: calc(100% / 3)!important;
}
.ec-shelfRole .ec-shelfRole__tags {
    padding-bottom: 8px;
}

.ec-shelfGrid__item-image img {
    height: calc(100vh* 0.21) !important;
}
.ec-pickupProducts .ec-shelfGrid__item-image img{
    height: calc(100vh* 0.18) !important;
}
.ec-hotProductsItem .ec-shelfGrid__item-image img{
    height: calc(100vh* 0.17) !important;
}
.ec-shopRankingItem .ec-shelfGrid__item-image img{
    height: calc(100vh* 0.16) !important;
}
.ec-headerNavigation_media_sp li {
        width: calc(100% / 3) !important;
        text-align: center;
    }
.ec-shopRankingItem:nth-of-type(1)::before,
.ec-shopRankingItem:nth-of-type(2)::before,
.ec-shopRankingItem:nth-of-type(3)::before,
.ec-shopRankingItem:nth-of-type(4)::before{
    position: absolute;
    content: "";
    left: 10px;
    top: 5px;
    /* transform: translateY(-50%); */
    background: url(/html/user_data/assets/img/common/rank1.svg) no-repeat center;
    background-size: contain;
    width: 25px;
    height: 25px;
}
.ec-shopRankingItem {
    max-width: 33.333% !important;
}

.ec-shopRankingItem:nth-of-type(2)::before{
    background: url(/html/user_data/assets/img/common/rank2.svg) no-repeat center;
}
.ec-shopRankingItem:nth-of-type(3)::before{
    background: url(/html/user_data/assets/img/common/rank3.svg) no-repeat center;
}
.ec-shopRankingItem:nth-of-type(4)::before{
    background: url(/html/user_data/assets/img/common/rank4.svg) no-repeat center;
}
.ec-shopRankingItem .product-review{
    font-size: 12px!important;
}
.ec-shelfGrid__item-name {
    margin: 0px 0 5px 0;
}
.ec-shelfRole .ec-shelfRole__tags{
    line-height: 1!important;
}
.ec-shelfRole .ec-shelfRole__tag {
    font-size: 50%!important;
    letter-spacing: -.05em!important;
}
.searchform {
    flex-flow: column;
}
.searchform .search-ttl{
    height: auto!important;
}
.ec-input-raw {
    border-radius: 5px 5px 5px 5px!important;
}
.ec-Sp-headerSearch .ec-headerSearch__keywordBtn {
    border-radius: 0!important;
}
.ec-headerCart {
    position: absolute;
    right: 0!important;
    bottom: initial;
    width: 20%!important;
    height: 45px!important;
}
.ec-headerCart .ec-cartRole .ec-cart__badge {
    right: 5px!important;
}
.icon-item img {
    width: auto !important;
    height: 25px !important;
    margin-bottom: 3px!important;
}
.mail-icon img{
    height: 23px !important;
    margin-bottom: 5px!important;
}
.ec-headerSearch__keywordBtn{
  position: relative!important;
}
.searchform .search-ttl {
    padding: 4px 12px!important;
    width: 100%!important;
    text-align: center;
    height: 100%;
    line-height: 1.557!important;
}
.search-_menu_wrap {
    width: 100%!important;
}
.search_menu{
    padding: .5em 0;
    display: flex!important;
    justify-content: space-around!important;
}
.l-pankz ul{
    flex-wrap: wrap!important;
}
.search_menu {
    align-items: center!important;
}
.radio-search{
    margin-bottom: 0!important;
    width: 40%!important;
}
.ec-headerNavigation > ul > li > a {
    padding: 10px 0!important;
    color: #fff;
}
.ec-input-raw {
    width: 100%!important;
}
.ec-shelfRole {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}
.ec-topicsItemRole__list, .ec-role, .ec-newItem {
    padding: 1rem 0rem !important;
}
.ec-Sp-headerSearch .ec-input input[type="search"] {
    border: none!important;
    font-size: 16px!important;
}
.ec-Sp-headerSearch .ec-headerSearch__keywordBtn {
    background: #518889!important;
    border-radius: 0 3px 3px 0;
}
.ec-newsRole{
    margin-bottom: 0;
}
.ec-shelfGrid__item-name {
    margin: 0px!important;

}
.attention-raw {
    font-size: 1.1rem!important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 5px;
    padding: .5em !important;
    background: #FFF0F5;
}
.icon-item.line img {
    margin-bottom: 3px !important;
}
/*カート*/
.ec-headerCart .ec-cartRole .ec-cart__icon{
    font-size: 3rem!important;
    line-height: 1!important;
}
.cb {
    width: 1em!important;
    height: 1em!important;
}
.ec-layoutRole__main {
    width: 100%;
    padding: 0 8px!important;
}
.ec-hotProducts__list {
    flex-wrap: wrap!important;
}
.ec-hotProductsItem {
    flex-basis: calc(33.3% - 6.6px);
    max-width: calc(33.3% - 6.6px);
    margin: 0 10px 15px 0;
}
.ec-pickupProductsItem {
    flex-basis: calc(33.3% - 6.6px)!important;
    max-width: calc(33.3% - 6.6px)!Important;
    margin: 0 10px 15px 0;
}
.product-item-right {
    padding: 0.8rem .5rem!Important;
    min-height: 140px;
}
.ec-shelfGrid__item-name {
    font-size: 16px !important;
}
.faq-lineup {
    width: 100% !important;
    margin-left: 0;
}
.ec-productRole > .ec-grid2{
    padding: 0!important;
}
#item_order, .ec-productRole__description, #item_howto, #item_sideeffect, #item_caution, #item_keep, #item_maker, #item_shipped, #item_review{
    padding: 0!important;
}
.order_tbl {
    width: 100% !important;
}
#item_order h3 {
    width: 100% !important;
}
.ec-shelfGrid .ec-shelfGrid__item {
    width: calc(100% / 2)!important;
}
.l-pankz ul {
    padding: .5em 0!important;
}
.ec-searchnavRole {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.ec-shelfGrid__item-name{
    font-size: 16px!important;
    line-height: 1.3;
    letter-spacing: -.03em;
}
.ec-shelfRole{
    padding: 0!important;
}
#item_review{
    padding: 0 8px!important;
}
}

@media only screen and (max-width: 1023px) {
  .pc-only {
      display: none;
  }
  .sp-only {
      display: block;
  }
  .ec-hotProducts,
  .ec-pickupProducts {
      padding-left: 0;
      padding-right: 0;
  }
  /* 商品一覧 */
  .product-item {
      margin: 0 !important;
  }
  /* 商品名称 */
  .ec-shelfGrid__item-name {
      font-size: 12px !important;
  }
  /* タグの文字サイズ */
  .item_tag li {
      margin: 1px 2px 1px 0px !important;
      padding: 1px !important;
      font-size: 5px !important;
  }
  /* 料金 */
  .ec-shelfGrid__item-price.price02-default {
      margin-bottom: 3px !important;
      font-size: 12px !important;
 }
 .ec-siteBackground {
     display: none!important;
 }
 .ec-layoutRole {
  width: 100%!important;
}
 .ec-header {
     width: 100%!important;
 }
}
@media only screen and (max-width: 430px) {
 .ec-headerNavigation_media_sp li {
     width: calc(100% / 4)!important;
}
}

@media only screen and (max-width: 375px) {
    .ec-hotProductsItem .ec-shelfGrid__item-image img{
    height: calc(100vh* 0.18) !important;
}
    
}

/* ハンバーガーメニュー */
.ec-headerNaviRole__hamburger {
    width: 40px;
    height: 40px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: none; /* スマホのみで表示 */
}

.ec-headerNaviRole__hamburgerBtn {
    display: block;
    width: 100%;
    height: 100%;
    background: #333;
    border: none;
    border-radius: 3px;
    padding: 8px;
    cursor: pointer;
}

.ec-headerNaviRole__hamburgerLine {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: transform 0.3s;
}

/* ドロワーメニュー */
.ec-drawerRole {
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0;
    left: -90%;
    background: #fff;
    z-index: 1001;
    transition: left 0.3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ec-drawerRole.is-active {
    left: 0;
}

.ec-drawerRole__header {
    padding: 15px;
    background: #222;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ec-drawerRole__title {
    font-size: 18px;
    font-weight: bold;
}

.ec-drawerRole__close {
    font-size: 18px;
    cursor: pointer;
}

.ec-drawerRole__content {
    padding: 0;
}

.ec-drawerMenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ec-drawerMenu li {
    border-bottom: 1px solid #eee;
    position: relative;
}

.ec-drawerMenu li a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
}

.ec-drawerMenu__icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.ec-drawerMenu__categoryChild,
.ec-drawerMenu__guideChild,
.ec-drawerChildMenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f8f8;
}

.ec-drawerMenu__categoryChild li,
.ec-drawerMenu__guideChild li {
    border-top: 1px solid #eee;
    border-bottom: none;
}

.ec-drawerMenu__categoryChild li a,
.ec-drawerMenu__guideChild li a {
    padding-left: 30px;
}

.ec-drawerChildMenu li a {
    padding-left: 45px;
}

/* オーバーレイ */
.ec-drawerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.ec-drawerOverlay.is-active {
    display: block;
}

/* スマホ表示設定 */
@media only screen and (max-width: 767px) {
    .ec-headerNaviRole__hamburger {
        display: block;
    }
    
    /* 他のヘッダーアイテムの位置調整 */
    .ec-headerRole {
        padding-top: 5px;
        padding-left: 60px; /* ハンバーガーメニュー分の余白 */
    }
}
/* ドロワーオーバーレイ */
.ec-drawerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.ec-drawerOverlay.is-active {
    display: block;
}

/* ドロワーメニュー */
.ec-drawerRole {
    position: fixed;
    top: 0;
    left: -80%;
    width: 80%;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: left 0.3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ec-drawerRole.is-active {
    left: 0;
}

body.have-fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ドロワーメニュー内部スタイル */
.ec-drawerRole__header {
    padding: 15px;
    background: #222;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.ec-drawerRole__title {
    font-size: 18px;
    font-weight: bold;
}

.ec-drawerRole__close {
    font-size: 18px;
    cursor: pointer;
}

.ec-drawerMenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ec-drawerMenu li {
    border-bottom: 1px solid #eee;
    position: relative;
}

.ec-drawerMenu li a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
}

.ec-drawerMenu__icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* サブメニュー */
.ec-drawerMenu__categoryChild,
.ec-drawerMenu__guideChild,
.ec-drawerChildMenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f8f8;
}

.ec-drawerMenu__categoryChild li,
.ec-drawerMenu__guideChild li {
    border-top: 1px solid #eee;
    border-bottom: none;
}

.ec-drawerMenu__categoryChild li a,
.ec-drawerMenu__guideChild li a {
    padding-left: 30px;
}

.ec-drawerChildMenu li a {
    padding-left: 45px;
}
/* ロゴの上寄せ調整 */
.ec-headerRole__title {
    margin-top: 0;
    padding-top: 0;
    align-self: flex-start; /* 上揃えにする */
}

.ec-logoRole__logo {
    margin-top: 0;
    padding-top: 0;
}

.ec-logoRole__logo img {
    margin-top: 0;
    padding-top: 0;
    vertical-align: top;
}

/* ヘッダー全体の配置調整 */
.header2 {
    align-items: flex-start; /* 上揃えに変更 */
    padding-top: 0;
}

/* スマホ表示の調整 */
@media only screen and (max-width: 767px) {
    .ec-headerRole__title {
        margin-top: 0;
        padding-top: 0;
    }
    
    .ec-logoRole__logo {
        margin-top: 0;
        padding-top: 0;
    }
}