@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}

.linkintextline a{
    display:inline;
}

a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*文字の色
-------------------------------------*/
.red {
	color: crimson;
}

.gray {
	color: #282828;
}


/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
	font-weight: 700;
	letter-spacing: 3px;
}

/*nav設定
-------------------------------------*/
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
	margin-bottom: 0.5rem;
}
nav li {
    display: block;
    flex: 0 20%;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    text-decoration: underline;
}
nav a {
    padding: 1rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*キャッチタイトル
-------------------------------------*/
h2.catch {
	text-align: center;
	color: #666;
	font-size: 4.0rem;
	margin-bottom: 3rem;
}


/*コスメアイコン
-------------------------------------*/

.icon_cosme_midashi{
	padding: 10px;
	width: 100px;
    height: 100px;
	text-align: center;
	margin: 0 auto;
}


.icon_cosme_text {
    padding: 5px;
    text-align: center;
}

.icon_cosme_1::before {
    content: "";
    display: inline-block;
background: url("../img/etenicon_cream.png") no-repeat 0 0 / 80px auto;
	width: 80px;
    height: 80px;
    margin-right: 1.3rem;
    vertical-align: middle;
}

.icon_cosme_2::before {
    content: "";
    display: inline-block;
background: url("../img/etenicon_brush3.png") no-repeat 0 0 / 80px auto;
	width: 80px;
    height: 80px;
    margin-right: 1.3rem;
    vertical-align: middle;
}

.icon_cosme_3::before {
    content: "";
    display: inline-block;
background: url("../img/etenicon_byu.png") no-repeat 0 0 / 80px auto;
	width: 80px;
    height: 80px;
    margin-right: 1.3rem;
    vertical-align: middle;
}

/*プロフィールの横並びメニュー
-------------------------------------*/

.profile_menu{
  font-size: 1.5rem;
	padding-left:3%;
	display: inline-block;
  margin: 0 .8rem;
text-decoration:underline;
text-decoration-color:#FF0000;
}

/*お客様の声　罫線
-------------------------------------*/

#news dl{
  margin: 20px 0;
  border-top: 1px dotted #333333;
  padding-top: 20px;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f2cdc0;
    padding: 1rem 0;
}
footer h5 {
    border-bottom: 1px solid #ccc;
}


/*上に戻るボタン
-------------------------------------*/
#page-top {
  position: fixed;
  bottom: -3px;
  right: 20px;
  font-size: 3.4rem;
  line-height: 1;
  z-index: 99;
}

#page-top a {
  text-decoration: none;
  color:#e2937e;
  width: 78px;
  padding: 20px 8px;
  text-align: center;
  display: block;
	border:solid 2px;
  border-radius: 90px;
  opacity: 0.8;
  transition: all .3s ease;
}

#page-top a:hover {
  text-decoration: none;
  opacity: .5;
	background: #e2937e;
	color:#fff;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #666;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #999;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}