@charset "UTF-8";
/*---------------------------------------------------------------------------------------------
初期設定 
----------------------------------------------------------------------------------------------*/
body {
  font-family: "Shimanami JIS2004", sans-serif, "M PLUS Rounded 1c", "Sawarabi Gothic",serif;
  word-wrap: break-word;
  font-size: 1.2em;
  line-height: 2.1em; }

@media screen and (min-width: 768px) {
  .pc-dsp {
    display: block; }

  .sp-dsp {
    display: none; }

  .br-pc {
    display: block; }

  .br-sp {
    display: none; } }
@media screen and (max-width: 768px) {
  .pc-dsp {
    display: none; }

  .sp-dsp {
    display: block; }

  .br-pc {
    display: none; }

  .br-sp {
    display: block; } }
/*---------------------------------------------------------------------------------------------
パンくず
----------------------------------------------------------------------------------------------*/
.breadcrumbs {
  font-size: 0.8em; }

.breadcrumbs ul {
  display: flex;
  padding-left: 0px; }

.breadcrumbs ul li {
  list-style: none;
  margin-left: 0px; }

.wf-acta {
  font-size: small; }

.bg-orange {
  background-color: #FFFFF0 !important; }

/* -------------------------------------
〇Topへ戻る
 * ---------------------------------- */
#page-top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0px;
  bottom: 65px;
  color: white;
  background: rgba(52, 58, 64, 0.9);
  border-radius: 10%;
  z-index: 1000; }

#page-top span {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
  cursor: pointer;
  cursor: hand; }

#page-top span::before {
  font-family: 'bootstrap-icons';
  font-weight: 900;
  content: '\F281';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -12px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center; }

/*---------------------------------------------------------------------------------------------
ページ送り表示
----------------------------------------------------------------------------------------------*/
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; }

.nav-links {
  display: flex; }

.pagination .page-numbers {
  display: inline-block;
  margin-right: 20px;
  padding: 10px 15px;
  color: #333;
  border-radius: 3px;
  box-shadow: 0 3px 3px #999;
  background: #fff; }

.pagination .current {
  padding: 10px 15px;
  background: #cccccc;
  color: #fff; }

.pagination .prev,
.pagination .next {
  background: transparent;
  box-shadow: none;
  color: #69a4db; }

.pagination .dots {
  background: transparent;
  box-shadow: none; }

.top-sticky2 {
  position: -webkit-sticky;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100; }

.header-menu {
  background-color: #000000;
  color: #ffffff; }

@media screen and (min-width: 768px) {
  .logo-area {
    width: "180px"; }

  .logo {
    width: 180px;
    margin-left: 2em; }

  .main-menu {
    width: calc(100% - 180px); }

  .NavMenu {
    justify-content: flex-end;
    lex-wrap: wrap; }

  .menu {
    font-size: 1.0em; }

  .menu ul {
    height: 20px;
    /* display: table-cell; */
    vertical-align: middle;
    padding-left: 0; }

  .menu li {
    display: inline-block;
    text-align: center;
    vertical-align: middle; }

  .menu ul li a {
    text-decoration: none;
    /*color: #000000;*/ }

  .menu ul li a:hover {
    /*color: #000000;*/ } }
@media screen and (min-width: 768px) {
  .header-area {
    font-size: 0.8em;
    line-height: 1em;
    display: flex; }

  .menu .btn2 {
    padding: 0 0.6rem;
    vertical-align: top;
} }
@media screen and (max-width: 768px) {
  .header-area {
    font-size: 0.9em;
    display: flex; }

  .menu .btn2 {
    padding: 0 1.0rem; } }
@media screen and (min-width: 768px) {
  .btn2 a {
    position: relative;
    color: #ffffff; }

  .current a,
  .blog a,
  .example a {
    color: #D97500; } }
.btn2 a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #000000;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s; }

.btn2 a:hover::after {
  transform: scale(1, 1); }

@media screen and (max-width: 768px) {
  .logo-area {
    width: 100%; }

  .logo {
    padding: 0 5px; }

  .main-menu {
    z-index: 8; }

  .NavMenu {
    position: fixed;
    z-index: 107;
    top: 46px;
    left: 0;
    width: 100%;
    -webkit-transform: translateX(300%);
    transform: translateX(300%);
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    /*border-bottom: 1px solid #dcdcdc;
    background: rgba(51, 112, 121, 0.4);*/
    background-color: #ffffff;
    height: 100%; }

  .NavMenu.active {
    -webkit-transform: translateY(0%);
    transform: translateY(0%); }

  .NavMenu ul {
    background: #ffffff;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border-top: 1px dotted #333; }

  .NavMenu ul li {
    padding: 0px;
    text-align: left;
    font-size: 0.8em;
    list-style-type: none;
    padding-left: 15px;
    width: 100%;
    border-bottom: 1px dotted #333; }

  .NavMenu ul li:last-child {
    padding-bottom: 0.5em; }

  .NavMenu ul li a {
    color: #000000;
    text-decoration: none;
    display: block;
    padding: 0.5em 0; } }
@media screen and (max-width: 980px) {
  .sp-menu {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 55px;
    z-index: 1100;
    background-image: url("<?php echo get_parent_theme_file_uri('/image/menu-back-sp.png'); ?>");
    background-size: cover;
    background-color: chocolate; }

  .sp-menu ul {
    display: table;
    table-layout: fixed;
    list-style-type: none;
    padding: 0;
    width: 100%;
    height: 100%; }

  .sp-menu li {
    display: table-cell;
    vertical-align: middle;
    word-wrap: break-word;
    height: 100%;
    text-align: center; }

  .Tmenu {
    display: block;
    position: absolute;
    padding-bottom: 2px;
    width: 30px;
    border-bottom: solid 2px #ffffff;
    -webkit-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    right: 150px; } }
/*--------------------------------------------------------------------------
スマホ
--------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .Toggle {
    display: block;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 80px;
    height: 65px;
    cursor: pointer;
    z-index: 150;
    /**/
    background-color: #000000; }

  .Toggle span {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 10px;
    margin-right: 25px;
    padding-bottom: 2px;
    border-bottom: solid 2px #ffffff;
    -webkit-transition: .35s ease-in-out;
    transition: .35s ease-in-out; }

   /*
    .Toggle:after{
	//親要素を起点に配置
    position: absolute;
	//表示名
    content: "MENU";	
	//表示名のデザイン
    color: #fff;
    font-size: 0.6em;	
    //親要素内の上からと左右の表示位置
    top:32px;
	right: 24px;
    margin-top: 5px;
	}
      */
  .Toggle span:nth-child(1) {
    top: 10px;
    width: 30px; }

  .Toggle span:nth-child(2) {
    top: 19px;
    width: 25px; }

  .Toggle span:nth-child(3) {
    top: 28px;
    width: 30px; }

  .Toggle.active span:nth-child(1) {
    top: 19px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg); }

  .Toggle.active span:nth-child(2) {
    opacity: 0; }

  .Toggle.active span:nth-child(3) {
    top: 19px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg); } }
/*---------------------------------------------------------------------------------------------
共通
----------------------------------------------------------------------------------------------*/
@media screen and (min-width: 768px) {
  .h2-title {
    font-size: 2.0em;
    margin-bottom: 1.0em;
    font-weight: bold;
    color: #57a2c7; } }
@media screen and (max-width: 768px) {
  .h2-title {
    font-size: 1.6em;
    margin-bottom: 1.0em;
    font-weight: bold;
    color: #57a2c7; } }
/*---------------------------------------------------------------------------------------------
トップページ
----------------------------------------------------------------------------------------------*/
/*--------------------------------------
RIMスキンケアの特徴
---------------------------------------*/
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 4em; }

.youtube iframe {
  width: 80%;
  height: 100%; }

/*--------------------------------------
商品
---------------------------------------*/
@media screen and (min-width: 768px) {
  .product {
    background-color: #dddddd;
    border-radius: 2em 0 0 2em; }

  .product-box {
    background-color: #ffffff;
    border-radius: 0 2em 2em 0; } }
@media screen and (max-width: 768px) {
  .product {
    background-color: #dddddd; }

  .product-comment {
    background-color: #ffffff;
    border-radius: 2em;
    padding: 2em;
    margin: 0 1em;
    margin-top: -3em; } }
/*--------------------------------------
RIMシリーズ使い方
---------------------------------------*/
.accordion-box {
  margin: 10px 0;
  padding: 0; }

.accordion-box label {
  display: block;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  padding: 5px;
  background-color: #f5deb3;
  /*color: #ffffff;*/ }

.accordion-box input {
  display: none; }

.chopen {
  height: 0;
  overflow-y: hidden;
  transition: 0.8s;
  opacity: 0; }

.accordion-box input:checked + label + .chopen {
  height: auto;
  opacity: 1;
  background-color: #ffffff; }

.accordion-box label::before {
  content: "＋";
  padding-right: 8px; }

.accordion-box input:checked + label::before {
  content: "－"; }

/**********************************************/
.accordion-box label::after {
  content: "＋"; }

.accordion-box input:checked + label::after {
  content: "＋"; }

/*	  
.accordion-box label::after {
  font-family: 'bootstrap-icons';
  content: '\F27E';
}
.accordion-box input:checked + label::after {
  font-family: 'bootstrap-icons';
  content: '\F281';
}  
*/
/**********************************************/
.kihon-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: li; }

.kihon-list ol li {
  position: relative;
  /*font-size: 16px;*/
  padding-left: 2.0em;
  line-height: 1.5; }

.kihon-list ol li:not(:first-child) {
  margin-top: 1.5em; }

.kihon-list ol li::before {
  counter-increment: li;
  content: counter(li);
  position: absolute;
  left: 0;
  top: -2px;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #D53336;
  font-size: 15px;
  color: #fff;
  line-height: 30px;
  text-align: center; }

.menuSub {
    height: 100% !important;
    margin-top: 0px !important;
    font-size: 1em !important;
}

.menuSubItem {
    display: block !important;
    padding-left: 50px;
}

body {
    position: relative;
    .sp-menu-wrapper {
        width: 100%;
        height: 100vh;
        position: absolute;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
        display: flex;
        .menu2 {
        z-index: -1;
        position: absolute;
        top: 20px;
        left: 10px;
        width: 35px;
        height: 4px;
        background: #ffffff;
        cursor: pointer;

        &:before, &:after {
            display: block;
            position: absolute;
            content: '';
            left: 0;
            height: 4px;
            width: 35px;
            background: #ffffff;
        }

        &:before {
            top: -8px;
        }

        &:after {
            bottom: -8px;
        }
        }
    }
    .overlay {
    position: -webkit-sticky;
    position: absolute;
    bottom: -99%;
    height: 100%;
    background: #000000;
    left: 0;
    width: 100%;
    transition: all 0.5s ease;

    &.anim {
        left: 0;
        bottom: 0;
        animation: menu-anim 1.5s 1 ease-out forwards;
        width: 50%;
        transition: all 0.5s ease;

        &.reverse-anim {
        left: 0;
        bottom: 0;
        animation: menu-anim 1.5s 1 ease-out reverse;
        width: 50%;
        transition: all 0.5s ease;
        }
    }

    ul {
        width: 100%;
        padding-left: 0;
        margin-left: -10px;
        font-size: 1.5em;
        font-weight: 800;

        li {
            margin: 10px 0;

            a {
                text-decoration: none;
                color: white;
                position: relative;
                display: inline-block;
                padding: 10px 0;
                overflow: hidden;

                &:after {
                display: block;
                border-radius: 2px;
                content: ''; 
                left: 0;
                bottom: -10px;
                height: 5px;
                background: #ffffff;
                transform: translateX(-101%);
                }

                &:hover {
                text-decoration: none;

                &:after {
                    animation: border-anim 0.5s 1 ease normal;
                    transform: translateX(0);
                }
                }
            }

            @-webkit-keyframes border-anim {
                0% {
                transform: translateX(-100%);
                }

                100% {
                transform: translateX(0);
                }
            }

        }
    }
    }

    @-webkit-keyframes menu-anim {

    0% {
        left: 0;
        bottom: -99%;
        width: 100%;
    }

    33% {
        left: -99.5%;
        bottom: -99%;
        width: 100%;
    }

    66% {
        left: -99.5%;
        bottom: 0;
        width: 100%;
    }

    100% {
        bottom: 0;
        left: 0;
        width: 25%;
    }
    }
}

@media (max-width: 768px) {
    .sp-menu-wrapper {
        z-index: 99999 !important;
        .menu2 {
            z-index: 9999 !important;
        }
    }
}