@charset "utf-8";

/* PC ここから */
  body {
      width: 100%;
      font-family: 'Zen Kaku Gothic New', sans-serif;
    }
    
    /* ヘッダー */
    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: 24px;
      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 {
      display: table-cell;
      min-width: 50px;
    }
    nav a {
      display: block;
      width: 100%;
      text-decoration: none;
      color: #555;
      padding-top: 8px;
      padding-bottom: 3px;
      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;
    }


  /* ハンバーガーアイコン（スマホのみ） */
  .hamburger {
      display: none;
    }
    
    /* フッター */
    footer {
      width: 100%;
      height: 40px;
      background-color: #cdc3ca;
      text-align: center;
      padding-top: 5px;
      font-size: 20px;
    }
  
/* PC ここまでまで */
 
/* スマホ用スタイル（画面幅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;
  }

  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;
  }

  /* フッター */
  footer {
    width: 100%;
    margin: 0 auto;
  }
  footer p{
    display: block;
    text-align: center;
    padding: 5px 0;
    background-color: #cdc3ca;
  }
}

/* differenceのcss */

/* ページトップへ戻るボタンを押したときの動きがスムーズになります */
html {
    scroll-behavior: smooth;
}
.backTop{
    position: fixed;
    top: 80%;
    right: 40px;
}
body{
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 20px;
}
#container{
    width: 100%;
    max-width: 910px;/*画面幅1366pxに対する数値。実際は1280px*/
    margin: 0 auto; /* 中央寄せ */
    padding: 30px 20px; /* 余白調整 */
}
/*ページトップの画像*/
.difference{
    display: block;
    width: 90%;
    margin:  0 auto 50px;
}
/*h2の共通設定*/
#three h2,#more h2,#point h2{
    display: block;
    margin: auto;
    text-align: center;
    font-size: 30px;
    width: 350px;
    border-bottom: 1px solid #808080;
    padding-bottom: 8px;
}
/*大きな違いは主に3つ！のリスト*/
#three ul{
    width: 550px;
    margin: 30px auto;
    padding: 30px 40px;
    line-height: 2em;
    border: 1px dotted #f636ff;
    font-size: 20px;
}
#three h3{
    font-size: 25px;
}
/* 大きな違いについての詳しい説明の大枠 */
.threedocument{
    width: 700px;
    height: 700px;
    justify-content: center;
    background-image: url(../img/note.png);
    background-color:rgba(255,255,255,0.5);
    background-blend-mode:lighten;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding-top: 20px;
    margin: 0 auto;
}
/* 成分、価格、濃度それぞれの文章 */
#three article{
    width: 500px;
    margin: 35px auto;
    font-size: 20px;
}
/* 下線 */
.threedocument span{
    border-bottom: 1px solid #f636ff;
}
/* 大きな違いは主に3つ！の大枠 */
#three{
    margin-bottom: 50px;
}
/* さらに詳しく解説の大枠 */
#more{
    background-image: url(../img/sarani_back.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    text-align: center;
    width: 800px;
    height: 800px;
    padding-top: 100px;
    margin: 0 auto;
    margin-bottom: 50px;
}   
/* 「さらに詳しく解説」の文章のまとまり */
#more div{
    width: 700px;
    margin: 20px auto 20px;
    line-height: 1.9em;
    font-size: 20px;
}
/* ラインマーカー */
#more span{
    background-color: rgba(246, 54, 255, 0.5);
}
/* 選び方のポイントの大枠 */
#point{
    height: 1000px;
    background-image: url(../img/note2.png);
    background-repeat: no-repeat;
    background-size: 860px;
    background-position: center;
    padding-top: 30px;
}
/* 「選び方のポイント」 */
#point h2{
    width: 300px;
    height: 50px;
    padding-top: 10px;
    background-image: url(../img/light.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: right 7px;
    margin-top: 15px;
    margin-bottom: 15px;
}
/* 成分表の先頭から５番目以内にこの成分があれば◎！ */
.h3Seibun{
    width: 570px;
    margin: 0 auto;
    background-image: url(../img/checkbox.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: left;
    padding-left: 35px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 24px;
}
/* 成分が羅列されている箇所 */
.fifth{
    width: 560px;
    height: 190px;
    border: 1px dotted #808080;
    margin: 0 auto;
    padding: 20px 20px;
    font-size: 20px;
    line-height: 1.2em;
}
.fifth_smp{
  display: none !important;
}
/* 成分の注釈 */
.small{
    margin-left: 59%; 
    font-size: 18px;
}
/* 髪質・頭皮タイプに合った成分をチェック！ */
.h3Type{
    width: 440px;
    margin: 0 auto;
    background-image: url(../img/checkbox.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: left;
    padding-left: 35px;
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 24px;
}
/* ３つのタイプについて */
.type{
    width: 500px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.2em;
}
.type1,.type2,.type3{
    display: inline;
    width: auto;
    background-color: rgba(246, 54, 255, 0.5);
}
/* タイプ別の空間調整ここから */
.waku1{
    width: auto;
    margin-top: -30px;
    margin-bottom: 5px;
}
.waku2{
    width: auto;
    margin-top: -30px;
}
.waku3{
    width: auto;
    margin-top:  -40px;
    margin-bottom: 5px;
}
.waku4{
    width: auto;
    margin-top:  -30px;
}
.waku5{
    width: auto;
    margin-top: -40px;
    margin-bottom: 20px;
}
/* タイプ別の空間調整ここから */
/* 価格とコスパを考える！ */
.h3Kakaku{
    width: 270px;
    margin: 0 auto;
    background-image: url(../img/checkbox.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: left;
    padding-left: 35px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 24px;
}
.cospa1{
    width: 590px;
    text-align: center;
    margin: 0 auto 10px;
    font-size: 20px;
}
.cospa1 span{
    border-bottom: 1px solid #f636ff;
}
.cospa2{
    width: 530px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 0.8em;

}
.cospa2 span{
    border-bottom: 1px solid #f636ff;
}
.conclusion{
    display: block;
    margin: 60px auto 0;
}


/* スマホ用 */
@media screen and (max-width: 481px) {
#container {
    padding: 20px 10px;
}

.backTop {
    right: 15px;
    top: 85%;
}

.difference {
    width: 100%;
    margin-bottom: 30px;
}

#three h2,
#more h2,
#point h2 {
    width: 90%;
    font-size: 22px;
}

#three ul {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    line-height: 1.6em;
}

#three h3 {
    font-size: 18px;
}

.threedocument {
    background-image: url(../img/note_smp.png);
    background-color:rgba(255,255,255,0.7);
    background-blend-mode:lighten;
    height: 470px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 14px;
    width: 100%;
    padding: 20px 20px;
}
#three article {
    width: 100%;
    font-size: 16px;
    margin-left: 20px;
}

#more {
    height: auto;
    background-size: cover;
    width: 100%;
    padding: 50px 10px;
}

#more div {
    width: 100%;
    font-size: 16px;
    line-height: 1.6em;
}

#point {
    width: 100%;
    background-size: contain;
    background-image: url(../img/note2_smp.png);
    padding: 10px 30px;
}
#point h2{
    width: 240px;
    height: 40px;
    padding-top: 10px;
    background-position: right 0px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.h3Seibun,
.h3Type,
.h3Kakaku {
    width: 100%;
    padding-left: 35px;
    font-size: 18px;
}

.fifth,
.cospa1,
.cospa2,
.type {
    width: 100%;
    font-size: 16px;
    padding: 15px;
}

.small {
    margin-left: 0;
    display: block;
    text-align: right;
    font-size: 14px;
}

.conclusion {
    margin-top: 30px;
    width: 100%;
}

.type{
    padding-top: 0;
}
/* タイプ別の空間調整ここから */
.waku1{
    width: auto;
    margin-top: -10px;
    margin-bottom: 5px;
}
.waku2{
    width: auto;
    margin-top: -10px;
}
.waku3{
    width: auto;
    margin-top:  -38px;
    margin-bottom: 5px;
}
.waku4{
    width: auto;
    margin-top:  -10px;
}
.waku5{
    width: auto;
    margin-top: -35px;
    margin-bottom: -20px;
}
/* タイプ別の空間調整ここまで */
.h3Kakaku{
    margin-top: -20;
    margin-bottom: 0;
}
.cospa2{
  line-height: 1.4em;
}
} 