@charset "UTF-8";

/* グリッド全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin:1rem;
    font-size: 62.5%;
}

body {
    color:#333631;
    font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    background:#fff;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    margin:0;
	padding:0;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}

/* リンク
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
    display:block;
    color:#333631;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

/* 見出し
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;}
  h1 { font-size: 3.2rem; line-height: 1.2;  letter-spacing: -.1rem;}
  h2 { font-size: 3.0rem; line-height: 1.25; letter-spacing: -.1rem; }
  h3 { font-size: 2.8rem; line-height: 1.3;  letter-spacing: -.1rem; }
  h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
  h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
  h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }
  
  /* PC表示 */
  @media (min-width: 550px) {
    h1 { font-size: 3.0rem; }
    h2 { font-size: 2.8rem; }
    h3 { font-size: 2.5rem; }
    h4 { font-size: 2.0rem; }
    h5 { font-size: 1.8rem; }
    h6 { font-size: 1.5rem; }
  }
  
  p {
    margin-top: 0; }

/*ヘッダー PC表示
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 0 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 0.8rem;
}
#lang {
  font-size: 1.5rem;
	padding: 0;
  text-align: center;
  display: flex;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 0 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0;
}


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

#navi {
    display: block !important;
}
}

/*ヘッダー スマホ
-------------------------------------*/
@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 1rem;
}
.header #open,#close  {
    position: absolute;
    top: 2rem;
    right: 1.2rem;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 5rem;
    border: none;
    position: absolute;
    top: 2rem;
    right: 1.2rem;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*ここからbody */

/*トップ　肌荒れ診断画像　PC表示
-------------------------------------*/
@media screen and (min-width: 768px){
.mainimg {
    position: relative;/*相対配置*/
}
.mainimg img {
    width: 100%;
}
.mainimg h2 {
  position: absolute;/*絶対配置*/
  color: black;/*文字*/
  text-shadow:5px 5px 5px white;
  font-size: 3rem;
  font-weight: bold; /*太字に*/
  top: 15%;
  width: 100%;
  text-align: center;
}
/*startbtn*/
.mainimg a {
  position:absolute;
  display: block;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  font-weight: bold;
  padding: 0.1em 0.5em;
  border-radius: 5px;
  text-decoration: none;
  background: #0000cd;/*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #627295;
}
.mainimg a:hover {
  background-color: #fff;
  color: #7f7fff;
   -webkit-transition: 0.7s;
   -moz-transition: 0.7s;
   -o-transition: 0.7s;
   transition: 0.7s;
 }
}

/*トップ肌荒れ診断画像　スマホ
-------------------------------------*/
@media screen and (max-width: 768px){
    .mainimg {
        position: relative;/*相対配置*/

    }
    .mainimg img {
        width: 100%;
        height: 20rem;
    }
    .mainimg h2 {
      position: absolute;/*絶対配置*/
      color: black;/*文字*/
      text-shadow:5px 5px 5px white;
      font-size: 2.5rem;
      font-weight: bold; /*太字に*/
      top: 10%;
      width: 100%;
      text-align: center;
    }
    /*startbtn*/
    .mainimg a {
      position:absolute;
      display: block;
      top: 65%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 3rem;
      font-weight: bold;
      padding: 0.1em 0.5em;
      border-radius: 5px;
      text-decoration: none;
      background: #0000cd;/*ボタン色*/
      color: #FFF;
      border-bottom: solid 4px #627295;
    }
    .mainimg a:hover {
      background-color: #fff;
      color: #7f7fff;
       -webkit-transition: 0.7s;
       -moz-transition: 0.7s;
       -o-transition: 0.7s;
       transition: 0.7s;
     }
    }


/*トップ　日焼け止め診断　画像　PC表示
-------------------------------------*/
@media screen and (min-width: 768px){
    .beach1 {
        position: relative;/*相対配置*/
    }
    .beach1 img {
        width: 100%;
    }
    .beach1 h2 {
      position: absolute;/*絶対配置*/
      color: black;/*文字*/
      text-shadow:5px 5px 5px white;
      font-size: 3rem;
      font-weight: bold; /*太字に*/
      top: 15%;
      width: 100%;
      text-align: center;
    }
    /*startbtn*/
    .beach1 a {
      position:absolute;
      display: block;
      top: 65%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 3.5rem;
      font-weight: bold;
      padding: 0.1em 0.5em;
      border-radius: 5px;
      text-decoration: none;
      background: #00cd29;/*ボタン色*/
      color: #FFF;
      border-bottom: solid 4px #627295;
    }
    .beach1 a:hover {
      background-color: #fff;
      color: #7f7fff;
       -webkit-transition: 0.7s;
       -moz-transition: 0.7s;
       -o-transition: 0.7s;
       transition: 0.7s;
     }
    }
    
    /*トップ日焼け止め診断画像　スマホ
    -------------------------------------*/
    @media screen and (max-width: 768px){
        .beach1 {
            position: relative;/*相対配置*/
    
        }
        .beach1 img {
            width: 100%;
            height: 20rem;
        }
        .beach1 h2 {
          position: absolute;/*絶対配置*/
          color: black;/*文字*/
          text-shadow:5px 5px 5px white;
          font-size: 2.5rem;
          font-weight: bold; /*太字に*/
          top: 10%;
          width: 100%;
          text-align: center;
        }
        /*startbtn*/
        .beach1 a {
          position:absolute;
          display: block;
          top: 65%;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 3rem;
          font-weight: bold;
          padding: 0.1em 0.5em;
          border-radius: 5px;
          text-decoration: none;
          background: #0000cd;/*ボタン色*/
          color: #FFF;
          border-bottom: solid 4px #627295;
        }
        .beach1 a:hover {
          background-color: #fff;
          color: #7f7fff;
           -webkit-transition: 0.7s;
           -moz-transition: 0.7s;
           -o-transition: 0.7s;
           transition: 0.7s;
         }
        }
    
    

/*メインコンテンツ
-------------------------------------*/
main {

    margin: 3rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #f9fcff;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h3 {
    padding-bottom: 1rem;
}
.under {
    padding:0 1rem 1rem 1rem;
    background: linear-gradient(transparent 70%, #e0ffef 70%);
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*横並びスキンケアコンテンツ
-------------------------------------*/
.container center {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/*About
-------------------------------------*/
.profile {
  text-align: center;
	margin-bottom: 1rem;
}

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

/*ページトップへ戻るボタン
-------------------------------------*/
#page_top {
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
}
#page_top a {
    background-color: #ff8ec6;
    color: #ffff8e;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    padding: 1.5rem 1.5rem;
}
#page_top a:hover {
    background-color: #ff8ec6;
    text-decoration: none;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
}
/*フッター
------------------------------------*/
.footer-menu{
    width: 100%;
    height: auto;
    list-style: none; 
    background-color: deepskyblue; 
}
.footerlist {
background-color: deepskyblue;
color: white;
text-align: center;
}

/* グリッド
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    margin: 0 auto;
    max-width: 120rem;
    padding: 0;
    position: relative;
}
/* ブロックを縦に表示 */
.row {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.col {
    display: block;
    flex: 1 1 auto;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

/* 768px以上の表示 */
@media ( min-width : 768px ) {
.row {
    display: flex;
    flex-direction: row;
    padding: 0;
}
.col {
    margin-left: 4%;
}
	
.col:first-child { 
    margin-left: 0; 
}

.row .col.span-1 {
    flex: 0 0 4.66666666667%;
    max-width: 4.66666666667%;
}
.row .col.span-2 {
    flex: 0 0 13.3333333333%;
    max-width: 13.3333333333%;
}
.row .col.span-3 {
    flex: 0 0 22%;
    max-width: 22%;
}
.row .col.span-4 {
    flex: 0 0 30.6666666667%;
    max-width: 30.6666666667%;
}
.row .col.span-5 {
    flex: 0 0 39.3333333333%;
    max-width: 39.3333333333%;
}
.row .col.span-6 {
    flex: 0 0 48%;
    max-width: 48%;
}
.row .col.span-7 {
    flex: 0 0 56.6666666667%;
    max-width: 56.6666666667%;
}
.row .col.span-8 {
    flex: 0 0 65.3333333333%;
    max-width: 65.3333333333%;
}
.row .col.span-9 {
    flex: 0 0 74.0%;
    max-width: 74.0%;
}
.row .col.span-10 {
    flex: 0 0 82.6666666667%;
    max-width: 82.6666666667%;
}
.row .col.span-11 {
    flex: 0 0 91.3333333333%;
    max-width: 91.3333333333%;
}
.row .col.span-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* オフセット */
.row .col.offset-1 {
    margin-left: 8.66666666667%;
}
.row .col.offset-2 {
    margin-left: 17.3333333333%;
}
.row .col.offset-3 {
    margin-left: 26%;
}
.row .col.offset-4 {
    margin-left: 34.6666666667%;
}
.row .col.offset-5 {
    margin-left: 43.333333333%;
}
.row .col.offset-6 {
    margin-left: 52%;
}
.row .col.offset-7 {
    margin-left: 60.6666666667%;
}
.row .col.offset-8 {
    margin-left: 69.3333333333%;
}
.row .col.offset-9 {
    margin-left: 78.0%;
}
.row .col.offset-10 {
    margin-left: 86.6666666667%;
}
.row .col.offset-11 {
    margin-left: 95.3333333333%;
}    
}
  
  /* ボタン
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .button,
  button,
  input[type="submit"],
  input[type="reset"],
  input[type="button"] {
    display: inline-block;
    height: 3.8rem;
    padding: 0 3rem;
    color: #555;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 3.8rem;
    letter-spacing: .1rem;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 1px solid #bbb;
    cursor: pointer;
    box-sizing: border-box; }
  .button:hover,
  button:hover,
  input[type="submit"]:hover,
  input[type="reset"]:hover,
  input[type="button"]:hover,
  .button:focus,
  button:focus,
  input[type="submit"]:focus,
  input[type="reset"]:focus,
  input[type="button"]:focus {
    color: #333;
    border-color: #888;
    outline: 0; } 
  
    /* リスト
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  ul {
    list-style: circle inside; }
  ol {
    list-style: decimal inside; }
  ol, ul {
    padding-left: 0;
    margin-top: 0; }
  ul ul,
  ul ol,
  ol ol,
  ol ul {
    margin: 1.5rem 0 1.5rem 3rem;
    font-size: 90%; }
  li {
    margin-bottom: 1rem; }
  
  
  /* コード
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  code {
    padding: .2rem .5rem;
    margin: 0 .2rem;
    font-size: 90%;
    white-space: nowrap;
    background: #F1F1F1;
    border: 1px solid #E1E1E1;
    border-radius: 4px; }
  pre > code {
    display: block;
    padding: 1rem 1.5rem;
    white-space: pre; }
  
  /* スペース
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  button,
  .button {
    margin-bottom: 1rem; }
  input,
  textarea,
  select,
  fieldset {
    margin-bottom: 1.5rem; }
  pre,
  blockquote,
  dl,
  figure,
  p,
  ul,
  ol,
  form {
    margin-bottom: 1rem; }
  