@charset "utf-8";

/* PC ここから */
@media screen and (min-width: 481px){
body {
width: 100%;
font-family: 'Zen Kaku Gothic New', sans-serif;
margin: 0 auto;
}

/* ヘッダー */
header {
width: 100%;
background-color: #ffffff;
height: 80px;
}
#headerContentsBlock {
width: 70%;
display: flex;
margin: 0 auto;
}
#mainlogo {
margin-top: 20px;
}
#shop_login {
display: flex;
margin-left: auto;
}
#onlineShop {
margin-top: 25px;
margin-right: 60px;
}
#login {
    margin-top: 15px;
}

/* ナビゲーション（PC用） */
nav {
height: 45px;
background-color: #cdc3ca;
  }
nav ul {
display: table;
margin: 0 auto;
padding: 0;
width: 70%;
text-align: center;
}
nav li {
font-family: 'system-ui', sans-serif;
display: table-cell;
min-width: 50px;
padding-top: 11px;
padding-bottom: 7px;
}
nav a {
display: block;
width: 100%;
text-decoration: none;
color: #555;
font-size: 20px;
}
nav li.current {
border-bottom: 4px solid #ffffff;
}
nav li:hover {
color: #f636ff;
border-bottom: 4px solid #f636ff;
}
.mobile-only {
display: none;
}

#chartARea {
width: 100%;
max-width: 910px;
margin: 0 auto 100px; 
}
.chartnav2 {/*チャートのナビの設定*/
top: 0;
left: 0;
width: 100%;
}               
.chartnav2 ul {
display: flex;
justify-content: space-around;
list-style-type: none;
width: 1000px;
margin-top: -75px;
margin-left: -60px;
}               
.chartnav2 ul li a{ 
font-size: 18px;
color: #330000;
text-decoration: none;/*ナビの下線を消す*/
}       
.chartnav2 ul li a:hover/*ナビを押したら下線が表示*/{
text-decoration: underline #f636ff 2px
}   
.chartnav2 span {/*ナビの1・2・3の色の変更*/
color: #f636ff;
font-size: 30px;
}

.hairnav img {
width: 1000px;
height: 100px;
margin-left: -50px;
margin-top: 150px;
}

.border1 img{/*見出し1を囲む上線の配置*/
width: 1000px;
margin-top: 60px;
margin-left: -50px;
padding-top: 100px;
}
.border2 img{/*見出し1を囲む下線の配置*/
width: 1000px;
margin-left: -50px;
}
h1 {/*見だし１*/
font-size: 25px;
margin-left: 270px;
margin-bottom: 10px;
margin-top: 10px;
font-weight: lighter;
}
h1 span { /*見出し１の数字の色の変更*/
color: #f636ff;
font-size: 40px;
font-weight: lighter;
}
.h2p {/*小見出し*/
margin-top: 140px;
font-size: 25px;
margin-bottom: 10px;
}
h2 {/*見出し2の配置*/
margin-right: 80px;
margin-bottom: 80px;
font-size: 28px;
}
.box { /*シャンプーとチャートを横並びに*/
display: flex;
}
.shampoo  img{ /*シャンプーの画像設定*/
width: 400px;
margin-left: -10px;
padding-right: 60px;
}
.chart img{ /*チャートの画像設定*/
width: 460px;
padding-top: 20px;
}
.point {/*ポイントの文字*/
color: #f636ff;
font-size: 30px;
margin-left: 65px;
margin-top: 25px;
}
.point_img {/*ポイントの画像*/
margin-left: 170px;
margin-top: -50px
}
.hairP {/*説明文*/
font-size: 20px;
text-align: left;
margin-left: 30px;
margin-top: -156px;
line-height: 1.7;
}
.hairP span {/*説明文の下線*/
text-decoration: underline #f636ff;
}
.border3 img {/*説明文を囲む枠*/
width: 920px;
height: 180px;
margin-top: -10px;
}
/* ハンバーガーアイコン（スマホのみ） */
.hamburger {
display: none;
}

/* ページトップへ戻るボタンを押したときの動きがスムーズになります */

html {
scroll-behavior: smooth;
}
.backTop{
position: fixed;
top: 85%;
right: 40px;
}
        
/* フッター */
footer {
width: 100%;
height: 40px;
background-color: #cdc3ca;
text-align: center;
padding-top: 10px;
font-size: 20px;
}
footer p{
margin-top: 0;
}
}

/* PC ここまでまで */


/*レスポンシブ対応SP*/

/* スマホ用スタイル（画面幅480px以下） */
@media screen and (max-width: 480px) {
body {
font-family: 'Zen Kaku Gothic New', sans-serif;
background-color: #fff;
}
header {
background-color: #fff;
height: 60px;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
#headerContentsBlock {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#mainlogo img {
height: 40px;
}
#shop_login {
display: none;
}
.hamburger {
position: absolute;
right: 15px;
top: 15px;
width: 30px;
height: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
cursor: pointer;
z-index: 1001;
}
.hamburger span {
display: block;
height: 2px;
background: #000;
border-radius: 1px;
}
  
/* ナビゲーションの設定（スマホ表示時） */
nav {
display: none;
flex-direction: column;
width: 100%;
position: fixed;
top: 60px; /* ヘッダーの高さに合わせる */
left: 0;
z-index: 1000;
padding-top: 20px;
padding-bottom: 20px; /* メニューが画面いっぱいに広がらないように余白を設定 */
}
  
nav.active {
display: flex;
}
  
nav ul {
width: 100%; /* メニューの横幅を100%にする */
}
  
nav li {
display: block;
list-style: none;
text-align: center;
height: 60px;
padding: 20px 0;
border-bottom: 1px solid #aaa; /* メニュー項目の間に罫線 */
background-color: #ffffffe4;
}
  
header nav li:hover {
background-color: #f685fc;
}
  
nav li a {
text-decoration: none;
color: #3f3e3e;
font-size: 16px;
}
  
nav li a:hover {
color: #ffffff;
font-weight: 500;
}
nav li.mobile-only {
display: block;
}
nav li.current {
background-color: #dddcdc;
}
  
/* スクロール禁止 */
body.no-scroll {
overflow: hidden;
}
  
#chartARea {
width: 100%;
margin: 0 auto 100px;
}
    
.chartnav2 {/*チャートのナビの設定*/
top: 0;
left: 0;
width: 100%;
}               
.chartnav2 ul {
display: flex;
justify-content: space-around;
list-style-type: none;
width: 300px;
margin-top: -85px;
margin-left: 37px;
margin-bottom: 50px;
}               
.chartnav2 ul li a{ 
font-size: 10px;
color: #330000;
text-decoration: none;/*ナビの下線を消す*/
}       
.chartnav2 ul li a:hover/*ナビを押したら下線が表示*/{
text-decoration: underline #f636ff 2px
}   
.chartnav2 span {/*ナビの1・2・3の色の変更*/
color: #f636ff;
font-size: 15px;
}
    
.hairnav img {/*ナビを囲む枠線の配置*/
width: 300px;
height: 50px;
margin-left: 40px;
margin-top: 50px;
margin-bottom: 50px;
}
.border1 img{/*見出し1を囲む上線の配置*/
width: 300px;
margin-left: 40px;
}
.border2 img{/*見出し1を囲む下線の配置*/
width: 300px;
margin-left: 40px;
}
h1 {/*見だし１*/
font-size: 10px;
margin-left: 10px;
font-weight: lighter;
margin-top: 10px;
text-align: center;
}
h1 span { /*見出し１の数字の色の変更*/
color: #f636ff;
font-size: 20px;
font-weight: lighter;
}
.h2p {/*小見出し*/
margin-top: 40px;
margin-right: 100px;
margin-left: 40px;
margin-bottom: -7px;
font-size: 12px;
}
h2 {/*見出し2の配置*/
font-size: 13px;
margin-left: 40px;
margin-top: 10px;
}
.box {
display: block;
}
.shampoo  img{ /*シャンプーの画像設定*/
width: 250px;
margin-top: 30px;
margin-left: 60px
}
.chart img{ /*チャートの画像設定*/
width: 250px;
padding-top: 20px;
margin-left: 65px
}
.point {/*ポイントの文字*/
color: #f636ff;
font-size: 15px;
margin-left: 65px;
padding-bottom: 5px;
margin-top: 20px;
}
.point_img {/*ポイントの画像*/
display: none;
}
.hairP {/*説明文*/
font-size: 10px;
text-align: left;
margin-left: 55px;
margin-top: -155px;
margin-bottom: 80px;
width: 270px;
line-height: 1.6;
}
.hairP span {/*説明文の下線*/
text-decoration: underline #f636ff;
}
.border3 img {/*説明文を囲む枠*/
width: 300px;
height: 140px;
margin-top: -10px;
margin-left: 40px;
margin-bottom: 30px;
}

 /* フッター */
 footer {
width: 100%;
margin: 0 auto;
}
footer p{
display: block;
text-align: center;
padding: 5px 0;
background-color: #cdc3ca;
margin: 0 auto;
}
/* ページトップへ戻るボタンを押したときの動きがスムーズになります */

html {
scroll-behavior: smooth;
}
.backTop{
position: fixed;
top: 85%;
right: 40px;
}
}