@charset "UTF-8";
/*!
 * ress.css • v4.0.0
 * MIT License
 * github.com/filipelinhares/ress
 */
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  word-break: normal;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-size: 62.5%;
  -ms-overflow-style: none;
  /* IE, Edge 対応 */
  scrollbar-width: none;
  /* Firefox 対応 */
}

html::-webkit-scrollbar {
  /* Chrome, Safari 対応 */
  display: none;
}

*,
::before,
::after {
  background-repeat: no-repeat;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

::before,
::after {
  text-decoration: inherit;
  vertical-align: inherit;
}

* {
  padding: 0;
  margin: 0;
}

hr {
  overflow: visible;
  height: 0;
  color: inherit;
}

details,
main {
  display: block;
}

summary {
  display: list-item;
}

small {
  font-size: 80%;
}

[hidden] {
  display: none;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: #222222;
  cursor: none;
}

a:active,
a:hover {
  outline-width: 0;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
}

pre {
  font-size: 1em;
}

b,
strong {
  font-weight: bolder;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  border-color: inherit;
  text-indent: 0;
}

input {
  border-radius: 0;
}

[disabled] {
  cursor: default;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  resize: vertical;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
}

optgroup {
  font-weight: bold;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
  color: inherit;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

select::-ms-value {
  color: currentColor;
}

legend {
  border: 0;
  color: inherit;
  display: table;
  max-width: 100%;
  white-space: normal;
  max-width: 100%;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  color: inherit;
  font: inherit;
}

img {
  border-style: none;
  max-width: 100%;
  vertical-align: top;
}

progress {
  vertical-align: baseline;
}

[aria-busy="true"] {
  cursor: none;
}

[aria-controls] {
  cursor: none;
}

[aria-disabled="true"] {
  cursor: none;
}

*:focus {
  cursor: none;
}
.no-scrollbar {
  /* 1. 全体のスクロール機能は生かす */
  overflow: scroll;

  /* 2. IE, Edge用 */
  -ms-overflow-style: none;

  /* 3. Firefox用 */
  scrollbar-width: none;
}

/* 4. Chrome, Safari用 */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}


.colorDiagnosis__header {
  background: #333333;
  padding: clamp(10px, calc(14 / 375 * 100vw), 25px) 0 ;
}
.colorDiagnosis__header h1 {
  width: clamp(80px, calc(100 / 375 * 100vw), 152px);
  margin: auto;
  line-height: 1;
}
.colorDiagnosis__header h1 img {
  width: 100%;
}

.colorDiagnosis__main {
  background: url(../images/bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  padding: clamp(8px, calc(10 / 375 * 100vw), 50px);
  height: calc(100svh - 45 / 375 * 100vw);
  position: relative;
}
.colorDiagnosis__main__content {
  background: #FDFDFD;
  border-radius: clamp(8px, calc(10 / 375 * 100vw), 10px);
  max-height: calc(97svh - 45 / 375 * 100vw);
  overflow-y: scroll;
  margin: auto;
  width: clamp(300px, calc(355 / 375 * 100vw), 470px);
  position: absolute;
  top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media screen and (min-width: 768px) {
  .colorDiagnosis__main {
        height: calc(100vh - 75px);
    }
    .colorDiagnosis__main__content {
        height: calc(90.5svh - 75 / 1920 * 100vw);
    }
}
.colorDiagnosis__main__start {
      padding: clamp(40px, calc(50 / 375 * 100vw), 50px) 0 clamp(50px, calc(50 / 375 * 100vw), 90px);
}
.colorDiagnosis__main__start__txtBox {
  padding: 0 clamp(15px, calc(20 / 375 * 100vw), 80px);
}
.colorDiagnosis__main__start__txtBox {
  font-family: "source-han-sans-jp-variable", sans-serif;
  font-variation-settings: "wght" 250;
  text-align: center;
}
.colorDiagnosis__main__start__header {
  font-weight: 200;
  margin-bottom: clamp(15px, calc(15 / 375 * 100vw), 20px);
  font-size: clamp(25px, calc(34 / 375 * 100vw), 41px);
  line-height: 1.5;
  letter-spacing: 5px;
  font-family: source-han-sans-japanese, sans-serif;
}
.colorDiagnosis__main__start__text {
  font-family: source-han-sans-japanese, sans-serif;
  font-size: clamp(10px, calc(14 / 375 * 100vw), 16px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 2px;
}
.colorDiagnosis__main__start__slider {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.colorDiagnosis__main__start__slider__img {
  display: flex;
  width: max-content;
}
.loop-img {
  height: auto;
  width: auto; 
  max-height: clamp(150px, calc(150 / 375 * 100vw), 210px);
  display: block;
}
/* アニメーションの定義 */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* 2枚並んだうちの1枚分左へ */
}

/* アニメーションの適用 */
.is-animating {
  animation: scroll 20s linear infinite; /* 20sを変えると速度が変わります */
}

/* マウスホップした時に止めたい場合（お好みで） */
.loop-slider:hover .loop-slider__track {
  animation-play-state: paused;
}

.colorDiagnosis__main__start__button {
  margin-top: clamp(20px, calc(25 / 375 * 100vw), 30px);
  padding: 0 clamp(15px, calc(25 / 375 * 100vw), 32px);
}

.colorDiagnosis__main__start__button button {
  background: #333333;
  color: #FFFFFF;
  font-size: clamp(18px, calc(22 / 375 * 100vw), 24px);
  text-align: center;
  letter-spacing: 2px;
  width: 100%;
  padding: clamp(10px, calc(13 / 375 * 100vw), 18px) 0 clamp(8px, calc(11 / 375 * 100vw), 15px);
  border-radius: 100px;
}


/* ------------------------------

ページ遷移の状態を作る

------------------------------ */
/* 初期状態：質問エリアを隠しておく */
.colorDiagnosis__main__question {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease; /* フェードの速度 */
  overflow-y: scroll;
  height: 100%;
  border-radius: calc(10 / 375 * 100vw);
  overflow-x: hidden;
}

/* フェードアウト用のスタイル */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* フェードイン用のスタイル */
.fade-in {
  display: block !important; /* JSで切り替えた後に適用 */
  opacity: 1 !important;
}


/* ------------------------------

診断コンテンツ

------------------------------ */
.hairType_diagnosis {
  background: inherit;
  height: 100%;
}
.hairType_diagnosis__content {
    position: relative;
    padding: clamp(20px, calc(30 / 375 * 100vw), 45px) clamp(25px, calc(30 / 375 * 100vw), 38px) clamp(40px, calc(55 / 375 * 100vw), 85px);
    text-align: center;
    height: auto;
}
.hairType_diagnosis__content#resultContent_color {
  height: auto;
}
.hairType_diagnosis__questionTitle {
    text-align: center;
    font-family: "Renner*", a-otf-gothic-bbb-pr6n, sans-serif;
    font-size: clamp(10px, calc(11 / 375 * 100vw), 13px);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: clamp(8px, calc(10 / 375 * 100vw), 20px);
}
.hairType_diagnosis__questionTitle__num {
    font-size: clamp(20px, calc(26 / 375 * 100vw), 34px);
}
.hairType_diagnosis__questionTxt {
  margin-bottom: clamp(15px, calc(20 / 375 * 100vw), 30px);
  font-size: clamp(14px, calc(15 / 375 * 100vw), 22px);
  font-family: source-han-sans-japanese, sans-serif;
  letter-spacing: 0px;
}
.hairType_diagnosis__questionTxt span {
  font-size: clamp(11px, calc(11 / 375 * 100vw), 14px);
}
.hairType_diagnosis__questionList__li {
    position: relative;
}
@media screen and (min-width: 768px) {
    .hairType_diagnosis__questionList__li {
        margin: auto;
    }
}
.hairType_diagnosis__questionList__li:last-of-type {
    padding: 0;
}
.hairType_diagnosis__questionList__li:not(:last-of-type) {
    margin-bottom: clamp(8px, calc(10 / 375 * 100vw), 15px);
    padding: 0;
}
@media screen and (min-width: 768px) {
    .hairType_diagnosis__questionList__li:not(:last-of-type) {
        margin: 0 auto 15px;
    }
}
.hairType_diagnosis__questionList__li:before {
    content: "A.";
    display: inline-block;
    position: absolute;
    font-family: "Renner*", a-otf-gothic-bbb-pr6n, sans-serif;
    font-weight: 400;
    color: #fff;
    left: clamp(12px, calc(16 / 375 * 100vw), 25px) !important;
    top: 58% !important;
    bottom: 0;
    margin: auto;
    font-size: clamp(15px, calc(19 / 375 * 100vw), 25px) !important;
    line-height: 1;
    transform: translateY(-50%) translateX(0%);
    -webkit-transform: translateY(-50%) translateX(0%);
    z-index: 2;
}
@media screen and (min-width: 768px) {
    .hairType_diagnosis__questionList__li:before {
      top: 58% !important;
    }
}
.hairType_diagnosis__questionList__li:nth-child(2):before {
    content: "B.";
}
.hairType_diagnosis__questionList__li:nth-child(3):before {
    content: "C.";
}
.hairType_diagnosis__questionList__li:nth-child(4):before {
    content: "D.";
}
.hairType_diagnosis__questionList__li:nth-child(5):before {
    content: "E.";
}
.hairType_diagnosis__questionList__li:nth-child(6):before {
    content: "F.";
}
.hairType_diagnosis__questionList__li:nth-child(7):before {
    content: "G.";
}
.hairType_diagnosis__questionList__li__btn {
    display: block;
    width: 100%;
    background: #333333;
    color: #fff;
    font-size: clamp(10px, calc(11 / 375 * 100vw), 14px);
    border-radius: 100px;
    padding: clamp(10px, calc(12 / 375 * 100vw), 18px) clamp(30px, calc(40 / 375 * 100vw), 50px);
    transition: 0.3s;
    font-family: source-han-sans-japanese, sans-serif;
    height: clamp(10px, calc(61.53 / 375 * 100vw), 81px);
}
.hairType_diagnosis__questionList__li__btn:hover {
    background: #333333;
    opacity: 0.7;
}
.hairType_diagnosis__questionNum {
    position: absolute;
    bottom: clamp(10px, calc(10 / 375 * 100vw), 30px);
    right: clamp(10px, calc(10 / 375 * 100vw), 20px);
}
.column-detail__article .hairType_diagnosis__questionNum p {
    margin-bottom: 0;
}
.hairType_diagnosis__questionNum__inner {
    position: relative;
    width: clamp(40px, calc(44 / 375 * 100vw), 56px);
    height: clamp(22px, calc(25 / 375 * 100vw), 30px);
}
.hairType_diagnosis__questionNum__inner:before {
    content: "";
    display: inline-block;
    width: clamp(18px, calc(21 / 375 * 100vw), 28px);
    height: clamp(1px, calc(1 / 375 * 100vw), 1px);
    transform: rotate(-45deg);
    background: #919191;
    right: clamp(5px, calc(9 / 375 * 100vw), 9px);
    top: clamp(15px, calc(17 / 375 * 100vw), 20px);
    position: absolute;
}
.hairType_diagnosis__questionNum__now {
    font-size: clamp(15px, calc(18 / 375 * 100vw), 23px);
    font-family: "Renner*", a-otf-gothic-bbb-pr6n, sans-serif;
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 0;
    color: #333333;
    line-height: 1;
}
.hairType_diagnosis__questionNum__all {
    font-size: clamp(9px, calc(10 / 375 * 100vw), 12px);
    font-family: "Renner*", a-otf-gothic-bbb-pr6n, sans-serif;
    font-weight: 400;
    position: absolute;
    right: 0;
    bottom: 0;
    color: #919191;
    line-height: 1;
}
.hairType_diagnosis__returnBtn {
    background: #fff;
    border: #333 1px solid;
    border-radius: 100px;
    width: clamp(130px, calc(140 / 375 * 100vw), 165px);
    margin: clamp(20px, calc(25 / 375 * 100vw), 30px) auto 0;
    font-size: clamp(10px, calc(11 / 375 * 100vw), 12px);
    font-family: "Renner*", a-otf-gothic-bbb-pr6n, sans-serif;
    font-weight: 600;
    text-align: center;
    line-height: 1;
    padding: clamp(10px, calc(11 / 375 * 100vw), 15px);
    position: relative;
    display: block;
    letter-spacing: 0px;
}
.hairType_diagnosis__returnBtn:before {
    content: "";
    display: inline-block;
    background: url(../images/returnArrow.png) no-repeat;
    width: clamp(15px, calc(18 / 375 * 100vw), 22px);
    height: clamp(5px, calc(6 / 375 * 100vw), 7px);
    position: absolute;
    top: 50%;
    left: clamp(13px, calc(16 / 375 * 100vw), 20px);
    transform: translateY(-50%) translateX(0%);
    -webkit-transform: translateY(-50%) translateX(0%);
    background-size: cover;
    transition: 0.3s;
}
@media screen and (min-width: 768px) {
    .hairType_diagnosis__returnBtn:hover:before {
        left: 15px;
    }
}
#resultContent_color .hairType_diagnosis__resultBack {
    width: clamp(140px, calc(165 / 375 * 100vw), 215px);
    font-family: a-otf-gothic-bbb-pr6n, sans-serif;
}
@media screen and (min-width: 768px) {
    #resultContent_color .hairType_diagnosis__resultBack {
        margin: 35px auto 0;
    }
}
.hairType_diagnosis__resultTitle {
    text-align: center;
    font-size: clamp(11px, calc(13 / 375 * 100vw), 19px);
    letter-spacing: 0px;
}
@media screen and (min-width: 768px) {
    .hairType_diagnosis__resultTxt {
        margin-bottom: 35px !important;
    }
}
.hairType_diagnosis__resultLink {
    background: #fff;
    font-size: calc(14 / 375 * 100vw);
    font-weight: bold;
    position: relative;
    letter-spacing: 0px;
    padding: calc(10 / 375 * 100vw) calc(10 / 375 * 100vw) calc(10 / 375 * 100vw) calc(50 / 375 * 100vw);
}
@media screen and (min-width: 768px) {
    .hairType_diagnosis__resultLink {
        padding: 20px 0;
        width: 465px;
        margin: auto;
        transform: scale(1);
        transition: 0.3s;
        outline: 2px solid rgba(51, 51, 51, 0);
    }
    .hairType_diagnosis__resultLink:hover {
        outline: 2px solid rgba(51, 51, 51, 1);
    }
}
.hairType_diagnosis__resultLink:before {
    content: "";
    display: inline-block;
    background: url(../img/svg/doubleArrow.svg) no-repeat;
    width: calc(16 / 375 * 100vw);
    height: calc(16 / 375 * 100vw);
    position: absolute;
    top: 50%;
    left: calc(20 / 375 * 100vw);
    transform: translateY(-50%) translateX(0%);
    -webkit-transform: translateY(-50%) translateX(0%);
    background-size: cover;
}
@media screen and (min-width: 768px) {
    .hairType_diagnosis__resultLink:before {
        left: 38px;
    }
}



/* ------------------------------

診断中のcss

------------------------------ */


/* ------------------------------

結果画面の調整

------------------------------ */
.hairType_diagnosis__content#resultContent_color {
  padding: clamp(20px, calc(30 / 375 * 100vw), 45px) clamp(25px, calc(25 / 375 * 100vw), 34px) clamp(40px, calc(55 / 375 * 100vw), 85px);
}
.hairType_diagnosis__resultTxt {
  font-size: clamp(11px, calc(13 / 375 * 100vw), 19px);
  margin-bottom: clamp(20px, calc(30 / 375 * 100vw), 45px);
}
.hairType_diagnosis__resultImage {
  margin-bottom: clamp(20px, calc(30 / 375 * 100vw), 45px);
}
.hairType_diagnosis__resultSearch {
  font-size: clamp(14px, calc(16 / 375 * 100vw), 21px);
  position: relative;
  padding-bottom: clamp(15px, calc(20 / 375 * 100vw), 30px);
  margin-bottom: clamp(10px, calc(15/ 375 * 100vw), 20px);
}
.hairType_diagnosis__resultSearch:before {
  content: "";
  display: inline-block;
  background: url(../images/arrow_dubble.png) no-repeat;
  background-size: contain;
  position: absolute;
  height: clamp(10px, calc(10.48/ 375 * 100vw), 15px);
  width: clamp(18px, calc(19.36/ 375 * 100vw), 27px);
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
.hairType_diagnosis__products-li {
  background: #F5F5F5;
  border-radius: clamp(10px, calc(10/ 375 * 100vw), 15px);
  padding: clamp(14px, calc(17/ 375 * 100vw), 20px);
}
.hairType_diagnosis__products-li:not(:last-child) {
  margin-bottom: clamp(10px, calc(10/ 375 * 100vw), 15px);
}
.hairType_diagnosis__products__inner {
  display: flex;
  align-items: center;
}
.hairType_diagnosis__products__img {
  margin-right: clamp(15px, calc(20/ 375 * 100vw), 25px);
}
.hairType_diagnosis__products__info__name {
  font-size: clamp(10px, calc(12/ 375 * 100vw), 16px);
  text-align: left;
  font-weight: bold;
}
.hairType_diagnosis__products__info__sub {
  font-size: clamp(10px, calc(10/ 375 * 100vw), 14px);
  text-align: left;
  font-weight: bold;
}
.hairType_diagnosis__products__info__link {
  margin-top: clamp(15px, calc(20/ 375 * 100vw), 25px);
    background: #333333;
    color: #fff;
    font-size: clamp(10px, calc(11/ 375 * 100vw), 13px);
    width: clamp(140px, calc(157/ 375 * 100vw), 210px);
    display: block;
    padding: clamp(5px, calc(5/ 375 * 100vw), 10px);
    border-radius: 100px;
    position: relative;
}
.hairType_diagnosis__products__info__link:before {
  content: "";
  display: inline-block;
  background: url(../images/linkArrow.png) no-repeat;
  position: absolute;
  width: clamp(5px, calc(6.63/ 375 * 100vw), 7px);
  height: clamp(10px, calc(11.82/ 375 * 100vw), 13px);
  background-size: cover;
  top: 0;
  bottom: 0;
  right: clamp(10px, calc(12/ 375 * 100vw), 16px);
  margin: auto;
}

.hairType_diagnosis__resultType {
    color: #fff;
    text-align: center;
    display: inline-block;
    padding: clamp(10px, calc(11 / 375 * 100vw), 20px) clamp(30px, calc(35 / 375 * 100vw), 45px);
    font-size: clamp(14px, calc(18 / 375 * 100vw), 22px);
    line-height: 1;
    margin: clamp(5px, calc(5 / 375 * 100vw), 15px) auto clamp(15px, calc(20 / 375 * 100vw), 25px);
    width: clamp(220px, calc(240 / 375 * 100vw),360px);
}
.hairType_diagnosis__resultType.resultColor-black {
    background: #333333;
}
.hairType_diagnosis__resultType.resultColor-gray {
    background-image: linear-gradient(90deg, #CACACA, #CECECE);
}
.hairType_diagnosis__resultType.resultColor-white {
    background-image: linear-gradient(90deg, #E3E3E3, #F4F4F4);
    color: #333333;
}
.hairType_diagnosis__resultType.resultColor-navy {
    background-image: linear-gradient(90deg, #4A67A2, #49639D);
}
.hairType_diagnosis__resultType.resultColor-beige {
    background-image: linear-gradient(90deg, #BDAB95, #B19A80);
}
.hairType_diagnosis__resultType.resultColor-green {
    background-image: linear-gradient(90deg, #D8E5D3, #A1C0C5);
}
.hairType_diagnosis__resultType.resultColor-pink {
    background-image: linear-gradient(90deg, #DEB2D5, #FFC3DB);
}
