:root {
  --page: 1040px;
  --navy: #152957;
  --placeholder: #a3a3a3;
  --placeholder-text: #f5f5f5;
  --copy: 14px;
  color: #151515;
  background: #fff;
  font-family:
    "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    sans-serif;
  font-synthesis: none;
}

html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  
}
a img{
  -webkit-tap-highlight-color: transparent;
  outline: none;
  
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
footer {
  max-height: 100px;
  background-color: #e1e2e9;
}
footer.dummy img {
  max-height: 100px;
}
.dummy img {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.shell {
  width: min(100% - 48px, var(--page));
  margin-inline: auto;
}
.shell-wide {
  width: min(100% - 48px, 1260px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a picture{
  transition: opacity 0.3s ease;
}
a:hover picture{
  opacity: 0.7;
}

/* Numbered image placeholders */
.ph {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--placeholder);
  color: var(--placeholder-text);
}
.ph::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: attr(data-file);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

/* MiCOL header */
.site-header {
  border-top: 8px solid var(--navy);
  color: var(--navy);
}
.header-main {
  min-height: 86px;
  display: grid;
  grid-template-columns: 150px minmax(330px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
}
.ph-logo {
  width: 145px;
  height: 48px;
}
.search {
  height: 42px;
  display: grid;
  grid-template-columns: 118px 1fr 54px;
  overflow: hidden;
  border: 2px solid var(--navy);
  border-radius: 8px;
}
.search select,
.search input,
.search button {
  min-width: 0;
  border: 0;
  background: #fff;
  color: var(--navy);
}
.search select {
  padding: 0 12px;
  border-right: 1px solid #d8dce7;
}
.search input {
  padding: 0 12px;
}
.search button {
  font-size: 11px;
  font-weight: 800;
}
.benefits,
.global-nav ul,
.breadcrumb ol,
.facts,
.color-index {
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefits {
  display: flex;
  gap: 8px;
}
.benefits li {
  padding: 13px 14px;
  background: #f0f2fa;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.utility {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.utility a + a::before {
  content: "/";
  margin-right: 10px;
  color: #a4aaba;
}
.utility button {
  min-width: 58px;
  height: 36px;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}
.global-nav {
  overflow-x: auto;
  border-block: 1px solid #dfe1e7;
  background: #fafafa;
}
.global-nav ul {
  min-height: 56px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(8, auto);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.global-nav a {
  display: block;
  padding: 18px 0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.breadcrumb {
  margin-top: 26px;
  font-size: 12px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 6px;
  color: #8c8c8c;
}
.breadcrumb a {
  color: #2d74b7;
  font-weight: 600;
}

/* Hero */
.hero {
  margin-top: 58px;
}
.hero-grid {
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr 0.72fr 1fr;
}
.collage {
  display: grid;
  grid-template: 1fr 1fr / 1fr 0.76fr;
  gap: 3px;
}
.collage .tall {
  grid-area: 1 / 2 / 3 / 3;
}
.collage.right {
  grid-template-columns: 0.76fr 1fr;
}
.collage.right .tall {
  grid-area: 1 / 1 / 3 / 2;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
  text-align: center;
}
.hero-copy p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.24em;
}
.hero-copy h1 {
  height: 270px;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 3.5vw, 50px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}
.hero-copy h1 span {
  color: #c42d68;
  font-size: 1.15em;
  font-style: italic;
}
.hero-copy small {
  margin-top: 20px;
  color: #777;
  font-size: 9px;
  letter-spacing: 0.24em;
}
.palette {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.palette i {
  width: 11px;
  height: 11px;
}
.palette i:nth-child(1) {
  background: #765033;
}
.palette i:nth-child(2) {
  background: #57a343;
}
.palette i:nth-child(3) {
  background: #bf326d;
}
.palette i:nth-child(4) {
  background: #9ba0a1;
}
.palette i:nth-child(5) {
  background: #cbd1e3;
}
.palette i:nth-child(6) {
  background: #eee9f3;
  border: 1px solid #ddd;
}
.movie-grid {
  width: 90%;
  margin: 92px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}
.ph-movie {
  aspect-ratio: 16 / 5.7;
  border-radius: 3px;
}
.intro {
  padding: 100px 0;
  text-align: center;
}
.intro-lead {
  margin: 0 auto;
  font-size: 24px;
  line-height: 1.9;
  letter-spacing: 0.14em;
  background-image: url(../images/lead.svg);
  background-repeat: no-repeat;
  background-position: center center;
  max-width: 562px;
  height: 62px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.facts {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin: 50px auto 0;
  width: fit-content;
}
.facts li {
  width: 184px;
  aspect-ratio: 1;
  place-content: center;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.facts li.fact1 {
  background-image: url(../images/edol-001.png);
}
.facts li.fact2 {
  background-image: url(../images/edol-002.png);
}
.facts li.fact3 {
  background-image: url(../images/edol-003.png);
}
.facts strong {
  font-size: 17px;
}
.facts sup {
  margin-left: 4px;
  font-size: 8px;
}
.note {
  max-width: 636px;
  margin: 20px auto 0;
  font-size: 10px;
  text-align: right;
}
.color-index {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.color-index a {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  aspect-ratio: 144/360;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-size: contain;
  background-repeat: no-repeat;
}
.color-index a.brown {
  background-image: url(../images/edol-004.jpg);
}
.color-index a.matt {
  background-image: url(../images/edol-005.jpg);
}
.color-index a.fuchsia-pink {
  background-image: url(../images/edol-006.jpg);
}
.color-index a.mono-tone {
  background-image: url(../images/edol-007.jpg);
}
.color-index a.white-ash {
  background-image: url(../images/edol-008.jpg);
}
.color-index a.pearl {
  background-image: url(../images/edol-009.jpg);
}

/* Six repeating case sections */
.story {
  margin-top: 120px;
}
.story-bar {
  height: 58px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 8px 46px;
  background: var(--accent);
  color: #fff;
  position: relative;
}
.pale .story-bar {
  color: #555;
}
.story-bar b {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}
.story-bar span {
  font-size: 13px;
  letter-spacing: 0.25em;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  position: relative;
  top: -4px;
}
.story-visual {
  min-height: 560px;
  display: grid;
  grid-template-columns: 2.14fr 1fr;
  aspect-ratio: 1040/740;
  background-size: contain;
  background-repeat: no-repeat;
}
#brown .story-visual {
  background-image: url(../images/edol-011-pc.jpg);
}
#matt .story-visual {
  background-image: url(../images/edol-021-pc.jpg);
}
#fuchsia-pink .story-visual {
  background-image: url(../images/edol-031-pc.jpg);
}
#mono-tone .story-visual {
  background-image: url(../images/edol-041-pc.jpg);
}
#white-ash .story-visual {
  background-image: url(../images/edol-052-pc.jpg);
}
#pearl .story-visual {
  background-image: url(../images/edol-061-pc.jpg);
}
.model {
  position: relative;
  min-width: 0;
}
.case-no {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 42px;
  line-height: 1;
  min-width: 188px;
  letter-spacing: -0.04em;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 376/263;
}
#brown .case-no {
  background-image: url(../images/edol-012.png);
}
#matt .case-no {
  background-image: url(../images/edol-022.png);
}
#fuchsia-pink .case-no {
  background-image: url(../images/edol-032.png);
}
#mono-tone .case-no {
  background-image: url(../images/edol-042.png);
}
#white-ash .case-no {
  background-image: url(../images/edol-051.png);
}
#pearl .case-no {
  background-image: url(../images/edol-062.png);
}
.case-no small {
  margin-left: 10px;
  color: #191919;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.ph-model {
  width: 100%;
  height: 100%;
}
.recipe {
  display: flex;
  flex-direction: column;
  padding: 100px 0px 0 0px;
  width: 280px;
}
.recipe img {
  width: 100%;
}
.movie-btn {
  align-self: flex-start;
  min-width: 220px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3 ease;
}
.movie-btn :hover{
  opacity: 0.7;
}
.movie-btn span {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 700;
}
.recipe dl {
  margin: 44px 0 16px;
  font-size: 12px;
  line-height: 2;
}
#mono-tone .recipe dl {
  margin-top: 32px;
}
#pearl .recipe dl {
  margin-top: 32px;
}
.recipe dt {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 800;
}
.recipe p b {
  font-weight: 800;
}
.recipe dd {
  margin: 0;
}
.ph-swatch {
  width: 100%;
  aspect-ratio: 2.15 / 1;
}
.recipe p {
  margin: 12px 0 10px;
  font-size: 10px;
  line-height: 1.45;
}
.ph-before {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 0.85 / 1;
  transform: translateY(64px);
}
.catch {
  width: 67%;
  margin: 54px 0 60px 46px;
  font-size: 23px;
  line-height: 1.65;
  letter-spacing: 0.08em;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 500;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: 0 46px;
}
.features h2 {
  margin: 0 0 30px;
  padding: 8px 9px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 700;
}
.pale .features h2 {
  color: #3f3f3f;
}
.features h3 {
  font-size: 18px;
}
.guide h3,
.salon h3 {
  margin: 0 0 14px;
  font-size: 15px;
}
.features p,
.guide p,
.salon p {
  margin: 0;
  font-size: var(--copy);
  line-height: 2;
  letter-spacing: 0.02em;
}
.guide,
.salon {
  padding: 80px 0px 0;
}
.rule-title {
  position: relative;
  margin: 0 0 34px;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.09em;
  font-family: Arial, Helvetica, sans-serif;
  padding-bottom: 4px;
}
.rule-title::before {
  position: absolute;
  z-index: -1;
  bottom: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: #909090;
}
.rule-title span {
  padding: 0 22px;
  background: #fff;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}
.guide-grid h3,
.voice h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}
.tone {
  height: 44px;
  display: flex;
  margin-bottom: 16px;
}
.tone i {
  flex-grow: var(--grow);
  background: var(--tone);
}
.guide-grid > div:first-child > p {
  min-height: 105px;
}
.guide-grid > div:first-child > h3:nth-of-type(2) {
  margin-top: 23px;
}
.ph-chart {
  width: 66%;
  aspect-ratio: 1.4 / 1;
  margin: 0 auto;
}
#mono-tone .ph-chart {
  width: 66%;
  aspect-ratio: 1.4 / 1;
  margin: 0 auto;
}
.ph-chart img {
  width: 100%;
}
.guide small {
  display: block;
  width: 66%;
  margin: 1px auto 0;
  font-size: 12x;
  text-align: right;
}
.ph-voice {
  aspect-ratio: 1.52 / 1;
  margin-bottom: 18px;
}
.voice {
  width: 100%;
}
.voice img {
  width: 100%;
}
.salon {
  padding-top: 86px;
}
.salon-inner {
  max-width: 940px;
  margin: 0 auto;
}
.salon-grid {
  min-height: 196px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
}
.salon-grid div p.lead {
  margin-bottom: 30px;
}
.salon h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-family: Arial, Helvetica, sans-serif;
}
.salon-grid .stylist {
  display: block;
  font-size: 16px;
  text-align: left;
  margin-bottom: 40px;
  font-weight: 600;
  text-decoration: underline;
  margin: 40px 0;
}
.salon-media {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  align-items: end;
  gap: 16px;
}
.salon-media img {
  width: 100%;
}
.ph-stylist {
  width: 100%;
  aspect-ratio: 0.58 / 1;
  position: relative;
}
.ph-stylist img {
  position: absolute;
  bottom: 0;
}
.ph-salon {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  align-self: start;
}
.ph-salon.-sp{
  display: none;
}
.accent-rule {
  height: 14px;
  margin-top: -14px;
  background: var(--accent);
}
.ad {
  max-width: 840px;
  width: 94%;
  margin: 92px auto 0;
}
.ad img {
  width: 100%;
}
.page-footer {
  margin-top: 120px;
  padding: 28px 0 46px;
  border-top: 1px solid #dedede;
  display: flex;
  justify-content: space-between;
  color: #676767;
  font-size: 11px;
}
.page-footer p {
  margin: 0;
}

.ippon {
  background-image: url(../images/edol-070.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  aspect-ratio: 2246/3488;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 100px;
}
.sale {
  display: block;
  background-image: url(../images/edol-071.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  aspect-ratio: 2176/1653;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 100px;
  position: relative;
}
.sale a {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  width: 57.69%;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px;
  background-color: #b8366f;
  border-radius: 50px;
}
.main {
  display: block;
  max-width: 1040px;
  margin: 40px auto 100px;
  background-image: url(../images/edol-000-pc.jpg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 1040/400;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.thumb-grid {
  display: flex;
  gap: 4%;
  padding-left: 20px;
  padding-right: 20px;
}
.thumb-grid img {
  width: 100%;
}
.-sp {
  display: none;
}
.model-sp {
  display: none;
}
.buy{
  margin-top: 100px;
}

@media screen and (max-width: 767px) {
  .story-visual{
    background-image: none !important;
  }
  .model {
    display: none;
  }

  .model-sp {
    display: block;
  }

  .model-sp-image {
    position: relative;
  }

  .model-sp-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .model-sp-item.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
  }

  .model-sp-item > img {
    display: block;
    width: 100%;
    height: auto;
  }

  .model-sp-toggle {
    position: absolute;
    right: 8%;
    bottom: 4%;

    width: 100px;
    height: 100px;

    padding: 0;
    border: 0;
    background: none;

    cursor: pointer;
    animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
  }
   
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

  .model-sp-toggle img {
    display: block;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 1040px) {
  .ippon {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }
  .ippon img{
    width: 100%;
  }
  .sale {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }
  .sale a {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    width: 57.69%;
    color: #fff;
    font-weight: 500;
    font-size: 2dvw;
    bottom: 10dvw;
    padding: 1.75dvw;
  }
}

@media (max-width: 980px) {
  .header-main {
    grid-template-columns: 128px 1fr auto;
  }
  .benefits {
    display: none;
  }
  .ph-logo {
    width: 120px;
    height: 42px;
  }
  .global-nav ul {
    width: max-content;
    min-width: 100%;
    padding-inline: 24px;
    gap: 28px;
  }
  .color-index {
    grid-template-columns: repeat(3, 1fr);
  }
  .color-index a {
    min-height: 300px;
  }
  .story-visual {
    aspect-ratio: inherit;
  }
  .catch {
    width: calc(100% - 300px);
    margin: -10dvw 0 60px 46px;
  }
}

@media (max-width: 767px) {
  .-sp {
    display: block;
  }
  .recipe.-pc {
    display: none;
  }
  .main {
    display: block;
    max-width: 1040px;
    margin: 40px auto 100px;
    background-image: url(../images/edol-000-sp.jpg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 750/500;
  }

  .thumb-grid img {
    width: 100%;
  }
  .intro-lead {
    margin: 0 auto;
    font-size: 24px;
    line-height: 1.9;
    letter-spacing: 0.14em;
    background-image: url(../images/lead-sp.svg);
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 562px;
    height: inherit;
    aspect-ratio: 324/96;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
  }

  .shell,
  .shell-wide {
    width: min(100% - 0px, 620px);
  }
  .site-header {
    border-top-width: 5px;
  }
  .header-main {
    min-height: 72px;
    grid-template-columns: 100px 1fr auto;
    gap: 10px;
  }
  .ph-logo {
    width: 96px;
    height: 36px;
  }
  .search {
    height: 38px;
    grid-template-columns: 1fr 42px;
  }
  .search select,
  .search input {
    display: none;
  }
  .search::before {
    display: flex;
    align-items: center;
    padding: 0 10px;
    content: "商品を検索";
    color: #71768a;
    font-size: 11px;
  }
  .utility a {
    display: none;
  }
  .utility button {
    min-width: 48px;
  }
  .global-nav ul {
    min-height: 46px;
    padding-inline: 14px;
    gap: 22px;
  }
  .global-nav a {
    padding: 14px 0;
    font-size: 11px;
  }
  .breadcrumb {
    margin-top: 18px;
    font-size: 10px;
  }
  .hero {
    margin-top: 34px;
  }
  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .collage {
    min-height: 220px;
  }
  .hero-copy {
    order: -1;
    padding: 42px 20px;
  }
  .hero-copy h1 {
    height: 250px;
    font-size: 42px;
  }
  .movie-grid {
    width: 100%;
    margin-top: 42px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .thumb-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .intro {
    padding: 70px 20px 60px;
  }
  .intro-lead {
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.07em;
  }
  .facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    width: 100%;
  }

  .facts .fact1 {
    grid-column: 1 / 3;
    justify-self: center;
  }

  .facts li {
    margin: 0 auto;
  }
  .facts li {
    width: 50%;
  }
  .facts li.fact2 {
    width: 100%;
  }
  .facts li.fact3 {
    width: 100%;
  }
  .facts strong {
    font-size: 11px;
  }
  .color-index {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 20px;
  }
  .color-index a {
    min-height: 280px;
  }
  .story {
    margin-top: 60px;
  }
  .story-bar {
    height: 60px;
    padding: 0 22px 12px;
  }
  .story-bar b {
    font-size: 34px;
  }
  .story-visual {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .model {
    min-height: 430px;
  }
  .case-no {
    top: 25px;
    left: 24px;
    font-size: 72px;
  }
  .case-no small {
    font-size: 13px;
  }
  .recipe {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px 28px;
  }
  .movie-btn,
  .recipe dl {
    grid-column: 1 / -1;
  }
  .movie-btn.-sp{
    margin: 40px auto;
    width: 94%;
  }
  .recipe dl {
    margin: 12px 0 2px;
    font-size: 16px;
  }

  .recipe p {
    grid-column: 2;
    margin: 0;
  }
  .ph-before {
    grid-column: 2;
    transform: none;
  }
  .catch {
    width: auto;
    margin: 34px 20px;
    font-size: 22px;
  }
  .features,
  .guide-grid,
  .salon-grid {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }
  .features {
    gap: 28px;
    padding-inline: 20px;
  }
  .guide,
  .salon {
    padding: 58px 0px 0;
  }
  .rule-title {
    font-size: 19px;
  }
  .guide-grid {
    gap: 50px;
  }
  .guide-grid > div:first-child > p {
    min-height: 0;
  }
  .salon-grid {
    gap: 24px;
    position: relative;
  }
  .salon-grid a.stylist{
    position: absolute;
    bottom: 20px;
    left: 36%;
    font-size: 18px;
  }
  .salon-media {
    grid-template-columns: 0.45fr 1fr;
  }
  .salon h3{
    text-align: center;
    margin-bottom: 8px;
    font-weight: 500;
  }
  .ph-salon{
    display: none;
  }
  .ph-salon.-sp{
    display: block;
    margin-bottom: 20px;
  }
  .ph-salon.-sp img{
    width: 100%;
  }
  .ph-stylist {
    width: 100%;
    aspect-ratio: 0.8 / 1;
    position: relative;
}
  .guide-grid h3,
  .voice h3 {
    font-size: 20px;
  }
  .rule-title span {
    font-size: 28px;
    padding: 0 22px;
    background: #fff;
  }
  .ad {
    max-width: 520px;
    margin-top: 64px;
  }
  .page-footer {
    margin-top: 80px;
  }

  .ippon {
    width: 94%;
    margin-bottom: 60px;
  }
  .sale {
    width: 94%;
  }
  .case-no.-sp {
    position: absolute;
    margin: 10px 0;
    z-index: 2;
    top: 22px;
    left: 22px;
    line-height: 1;
    min-width: 5dvh;
    width: 22dvw;
    aspect-ratio: 174/349;
    letter-spacing: -0.04em;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  #brown .case-no.-sp {
    background-image: url(../images/edol-012-sp.png);
  }
  #matt .case-no.-sp  {
    background-image: url(../images/edol-022-sp.png);
  }
  #fuchsia-pink .case-no.-sp  {
    background-image: url(../images/edol-032-sp.png);
  }
  #mono-tone .case-no.-sp  {
    background-image: url(../images/edol-042-sp.png);
  }
  #white-ash .case-no.-sp  {
    background-image: url(../images/edol-051-sp.png);
  }
  #pearl .case-no.-sp  {
    background-image: url(../images/edol-062-sp.png);
  }
  .before-photo {
    display: none;
  }
  .features h2 {
    font-size: 20px;
  }
  .features h3 {
    font-size: 18px;
  }
  .features p,
  .guide p,
  .salon p {
    font-size: 16px;
  }
}

@media(max-width: 375px){
  .salon-grid a.stylist{
    position: absolute;
    bottom: 20px;
    left: 36%;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  --mainColor: #232c6d;
  --miRed: #e02020;
  --fontSizeM: 14px;
  --fontSizeS: 12px;
  --fontSizeSS: 10px;
  --nav-height:58px;
  --from-input-height:30px;
  --icon-size:30px;
}

#fixedheader {
    height: auto;
}

.top-header {
    height: 7px;
    padding: 5px 0;
    background-color: #232c6d;
    color: #FFF;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 1.05px;
    align-items: center;

    div {
        font-size: 12px;
        overflow-y: visible;
        scroll-behavior: smooth;
        white-space: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;

        &::-webkit-scrollbar {
            display: none;
        }
    }

    @media (max-width: 1250px) {
        padding: 0 10px;
        height: 25px;
    }

    @media (max-width: 750px) {
        padding: 0 16px;
    }
}

.stroke-effect {
  margin: 0.2px 14.3px 0 16px;
  padding: 0.8px 4.7px 1.2px 5.3px;
  border: solid 1px #fff;
  border-radius: 4px;
}

.mid-header {
    background-color: #fff;
    min-height: 45px;
    color: #232c6d;
    flex-wrap: wrap;
    padding: 5px 0;

    @media (min-width: 800px) {
            padding: 15px 0;
        }

    .header-content {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        white-space: nowrap;
        align-items: center;

        @media (max-width: 400px) {
            gap: 6px;
        }
    }

    .flex-grow-1 {
        flex-grow: 1;
    }

    &-wrap{
        padding-top: 10px;
        padding-bottom: 15px;
        position: relative;
        height: min(15.3vw, 75px);

        @media (max-width: 1250px) {
            padding: 0 10px;
        }

        @media (max-width: 750px) {
            padding: 0;
        }

    }

    &-icon {
        color: #232c6d;
        cursor: pointer;
        font-size: 46px;
        height: 46px;
        width: 46px;

        @media (max-width: 750px) {
            margin-left: 10px;
        }

        @media (max-width: 380px) {
            font-size: 28px;
            width: 28px;
            height: 28px;
            margin-left: 6px;
        }
    }

    .ship {
        border-radius: 5px;
        padding: 9px 16px 10px 16px;
        line-height: 1.75;
        font-weight: bold;
        background-color: #e9ebfb;
    }
}

.okinawa {
    margin-right: 60px;

    .micol-logo {
        margin-right: 10px !important;

        @media (max-width: 440px) {
            margin-right: 3px !important;
	        width: min(20vw, 132px);
        }
    }

    .okinawa-logo {
        width: 40px;

        @media (max-width: 440px) {
            width: 20px;
        }

        @media (max-width: 350px) {
            width: 15px;
        }
    }

    @media (max-width: 750px) {
        margin-right: 0;
    }
}

.micol-logo {
    width: 140px;
    height: 43px;
    margin-right: 60px;

    @media (max-width: 440px) {
        width: min(24vw, 132px);
        margin-right: 20px;
    }
}

.top-menu-icon.mb {
    display: none;
    margin-left: 0;
}

.login .top-menu-icon.mb {
    position: absolute;
    left: 20px;
}

.link {
    &:hover {
        opacity: 0.7;
    }
}

.search-popup {
    width: 100%;
    position: fixed;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    top: 0;
    left: 0;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translate(0, -32px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.search-list {
    width: 220px;
    height: 26px;
    border: 0;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    color: #232c6d;
    padding-right: 5px;

    &:focus-visible {
        outline: 0;
    }

    @media (max-width: 575px) {
        width: 150px;
    }

    @media (max-width: 440px) {
        padding-right: 0;
        font-size: 9px !important;
    }

}

.search-wrap {
    position: absolute;
    top: 68px;
    right: 30px;
    width: 542px;
    background-color: #fff;
    padding: 20px;
    padding-bottom: 32px;
    color: #232c6d;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translate(0, -32px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(1px 1px 4px #666);

    .label-search {
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        letter-spacing: 0.7px;
        margin-bottom: 14px;
    }

    .close-popup-icon{
        position: absolute;
        top: 20px;
        right: 16px;
        color: #232c6d;
        cursor: pointer;
        font-weight: bold;
        font-size: 30px;
        height: 30px;
        width: 30px;
    }

    .input-search{
        width: 100%;
        padding: 8px 0;
        border: solid 2px #232c6d;
        border-radius: 8px;
        height: 40px;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        position: relative;

        input {
            border: 0;
            height: 36px;
            width: 100%;
            color: #232c6d;
            flex: 1;

            &:focus-visible , &:focus{
                outline: none;
            }
        }

        &-icon {
            width: 36px;
            height: 36px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }

    @media (max-width: 600px) {
        right: 20px;
        width: calc(100vw - 40px);

        .label-search {
            margin-bottom: 10px;
            line-height: 32px;
        }
    }

    @media (max-width: 440px) {

        .input-search {
            padding-right: 8px;
        }

        .input-search-icon {
            width: 32px;
            font-size: 22px;
        }

        .input-search input, .input-search, .input-search-icon {
            height: 32px;
        }

        .input-search {
            height: 38px;
        }
    }

    @media (max-width: 380px) {
        right: 5px;
        width: calc(100vw - 10px);
        top: 50px;

        .close-popup-icon {
            font-size: 24px;
            height: 24px;
            width: 24px;
        }
    }
}

::ng-deep {
    .search-container .search-list .mat-select-trigger::after{
        content: '';
        appearance: none;
        width: 12px;
        height: 12px;
        background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23232c6d%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);
        background-repeat: no-repeat;
        background-position: right;
        background-size: 12px auto;
    }

    .search-container .mat-icon {
        padding-right: 25px !important;
    }

    .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
        background: #232c6d
    }
}

.top-menu-header {
    max-width: 910px;
    width: 100%;
    position: absolute;
    background-color: #fff;
    top: 100%;
    right: 0;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translate(0, -32px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    padding: 30px 40px 30px 40px;
    visibility: hidden;
    height: calc(100vh - 60px);
    max-height: 784px;

    &.logout{
        height: auto;

        @media (max-width: 750px) {
            height: calc(100vh - 80px);
        }
    }

    @media (max-width: 750px) {
        height: calc(100vh - 80px);
        max-height: 1035px;
    }

    &-container {
        position: relative;
        overflow-y: auto;
        overflow-x: hidden;
        height: 100%;
        width: 100%;

        &::-webkit-scrollbar {
            width: 2px;
        }
    }

    .close-menu-icon {
        position: absolute;
        top: 28px;
        right: 4px;
        color: #232c6d;
        cursor: pointer;
        font-weight: bold;
        font-size: 28px;
        height: 28px;
        width: 28px;
    }

    .nav-icon-next {
        font-weight: bold;
        font-size: 26px;
        height: 26px;
        width: 26px;
    }

    .login-wrap {
        padding: 0 20px;

        .btn-login {
            margin-bottom: 20px;
            border: solid 3px #232c6d;
            font-weight: bold;
            height: 68px;
            max-width: 325px;
            width: 100%;
            color: #232c6d !important;

            &:first-child {
                margin-right: 40px;

                @media (max-width: 750px) {
                    margin-right: 20px;
                }
            }

            @media (max-width: 750px) {
                height: 48px;
            }
        }
    }

    .top-menu-member-info {
        margin-bottom: 25px;

        .column-2.customer-id {
            display: none;

            @media (max-width: 750px) {
                display: block;
            }
        }

        .column-2 .customer-id {
            display: inline-block;
            margin-right: 16px;

            @media (max-width: 750px) {
                display: none;
            }
        }

        &-header {
            min-height: 88px;
            padding-top: 15px;

            .item:nth-child(odd) {
                padding-right: 55px;
                padding-left: 27px;
            }

            .item:nth-child(even) {
                padding-left: 42px;
                padding-right: 40px;
            }

            .item span:last-child {
                @media (max-width: 750px) {

                    flex: 1 1 100%;
                }
            }

            .item:last-child {
                @media (max-width: 750px) {
                    margin-top: 4px;
                    padding-left: 20px;
                }
            }

            .item:first-child {
                padding-right: 20px;

                @media (max-width: 750px) {
                    padding-right: 0;
                    padding-left: 20px;
                }
            }
        }

        &-content {
            flex-wrap: wrap;
            padding: 16px 0 16px 0;
        }

        &.diamond {
            .top-menu-member-info-header {
                background-color: #e8e5d7;
            }

            .top-menu-member-info-content {
                background-color: #f1efe8;
            }
        }

        &.gold {
            .top-menu-member-info-header {
                background-color: #ebe1d0;
            }

            .top-menu-member-info-content {
                background-color: #fbf7e9;
            }
        }

        &.platinum {
            .top-menu-member-info-header {
                background-color: #d0e4eb;
            }

            .top-menu-member-info-content {
                background-color: #e9f9fb;
            }
        }

        &.regular {
            .top-menu-member-info-header {
                background-color: #d0d3eb;
            }

            .top-menu-member-info-content {
                background-color: #e9ebfb;
            }
        }

        &-nav:first-child {
            padding-right: 55px;
            padding-left: 27px;
        }

        &-nav:last-child {
            padding-left: 42px;
            padding-right: 40px;
        }

        &-nav {
            flex: 1 1 50%;
            box-sizing: border-box;
            font-weight: 500;
            font-stretch: normal;
            font-style: normal;


            div {
                margin-bottom: 8px;

                &:last-child {
                    margin-bottom: 0;
                }
            }
        }

        .cus-name {
            font-weight: bold;
        }

        .rank {
            .badge-adjust {
                position: relative;
                top: 0;
                right: -5px;

                @media (max-width: 750px) {
                    padding-left: 6px;
                }
            }
        }
    }

    .top-menu-system {
        flex-wrap: wrap;

        &-nav {
            flex: 1 1 50%;
            box-sizing: border-box;
            font-weight: 500;
            font-stretch: normal;
            font-style: normal;

            .title {
                padding-left: 27px;
                background-color: #232c6d;
                color: #fff;
                font-weight: bold;
                font-stretch: normal;
                font-style: normal;
                line-height: 53px;
                cursor: pointer;
                position: relative;

                .expand-icon {
                    position: absolute;
                    right: 16px;
                    top: 14px;

                    @media (max-width: 750px) {
                        right: 20px;
                    }
                }

                @media (max-width: 750px) {
                    padding-left: 20px;
                }
            }

            &:first-child {
                padding-right: 15px;
            }

            &:last-child {
                padding-left: 15px;
            }

            &-content {
                max-height: 0;
                transition: max-height 0.3s ease-in-out;
                overflow: hidden;

                div {
                    padding-left: 27px;
                    padding-right: 40px;
                    margin-bottom: 8px;

                    &:last-child {
                        margin-bottom: 0;
                    }

                    &:first-child {
                        margin-top: 16px;
                    }

                    @media (max-width: 750px) {
                        padding-right: 20px;
                        padding-left: 20px;
                    }
                }

                &.active {
                    max-height: 500px;
                }
            }

        }
    }
}

.ship-mb {
    display: none;
    height: 62px;
    width: 100%;
    background-color: #232c6d;

    .ship {
        background-color: #fff;
        height: 43px;
        line-height: 24px;
        border: solid 1px #232c6d;
        border-radius: 4px;
        padding: 9px 16px 10px 16px;
        line-height: 1.75;
        font-weight: bold;

        &:first-child {
            margin-right: 30px;
        }

        @media (max-width: 750px) {
            height: 40px;
        }
    }

    @media (max-width: 750px) {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.show-menu{
    z-index: 101;
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

.column-2 {
    flex: 1 1 50%;
    box-sizing: border-box;
}

.f-50 {
    flex: 1 1 50%;
}

.logout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;

    &.mobi {
        display: none;
    }
}

@media (max-width: 750px) {
    .logout-item {
        display: none;

        &.mobi {
            display: flex;
        }
    }

    .column-2 {
        flex: 1 1 100%;
    }

    .top-menu-icon.mb {
        display: block;
    }

    .mid-header {
        &-wrap {

            .ship {
                display: none;
            }

            >div {
                padding: 0 20px;
                justify-content: space-between;
                position: relative;
            }

            .micol-logo {
                margin-right: 10px;
            }

            .header-content {
                flex-grow: 0;
            }

        }

        &-wrap.login {
            >div {
                justify-content: center;
            }

            .header-content {
                position: absolute;
                top: 0;
                right: 20px;
            }
        }
    }

    .top-menu-header {
        padding: 0 0 56px 0;

        .member-point{
            flex-direction: column-reverse;
            flex-wrap: nowrap !important;
            padding-left: 0 !important;
            padding-right: 20px !important;

            @media (max-width: 550px) {

                flex: 1 1 40%;
                &.item {
                    padding-right: 10px !important;
                }
            }
        }

        .member-name {
            @media (max-width: 550px) {

                flex: 1 1 60%;
            }
        }

        .close-menu-icon {
            display: none;
        }

        .top-menu-member-info-content {
            padding: 20px 0 40px 0;
        }

        .top-menu-member-info-nav {
            flex: 1 1 100%;
            padding: 0 40px 0 40px !important;
        }

        .top-menu-system {
            padding: 0 20px;

            &-nav {
                padding: 0 !important;
                flex: 1 1 100%;
                margin-bottom: 35px;

            }
        }
    }

}

@media (max-width: 600px) {
    .mid-header-wrap.login .search-wrap {
        right: 0;
    }
}

@media (max-width: 380px) {
    .mid-header-wrap > div {
        padding: 0 10px;
    }

    .mid-header-wrap.login .search-wrap {
        right: -15px;
    }

    .ship-mb .ship:first-child {
        margin-right: 20px;
    }
}

/* Apply only to iOS devices */
@media screen  and (-webkit-min-device-pixel-ratio: 0){
    .mid-header-icon:focus, img:focus, input:focus {
      outline: none;
    }
}

@media screen  and (-webkit-min-device-pixel-ratio: 0) {
    .mid-header-icon:focus, img:focus, input:focus {
        outline: none;
    }
}


#header-component {
    height: auto;
    font-family:'Noto Sans JP';
    @media print{
            display: none;
    }
}

#fixedheader {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;

}

#headerSpacer {
    height: 170px;

    @media (max-width: 1250px) {
        height: 210px;
    }

    @media (max-width: 749px) {
        height: 195px;
    }

    @media (max-width: 441px) {
        height: 155px;
    }
}


.autocomplete-results {
    border: 1px solid #ccc;
    background-color: white;
    display: block;
    z-index: 1000;
    width: 100%;
    padding: 0px;
    border-radius: 8px;
    position: absolute;
    top: 60px;
    left: 0;

    .autocomplete-wrap {
        overflow-y: auto;
        overflow-x: hidden;
        height: 100%;
        width: 100%;
        border-radius: 8px;

        &::-webkit-scrollbar {
            width: 4px;
        }

        &::-webkit-scrollbar-thumb, ::-webkit-scrollbar-track {
            border-radius: 8px;
        }
    }

    a {
        color: #232c6d;
    }

    .suggestion-item {
        padding-left: 15px;
        padding-right: 15px;
        margin: 0;
        font-size: var(--fontSizeM);
        cursor: pointer;
        border-bottom: 1px solid #dcdcdc;
        min-height: 40px;

        &:hover {
            text-decoration: underline;
        }

        &:first-child {
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }

        &:last-child {
            border-bottom: 0px solid #ffffff;
            border-end-end-radius: 8px;
        }
    }

    .color-chart-suggestion {
        left: 0px;
        bottom: 0px;
        position: absolute;
        font-size: 11px;
        min-width: 40px;
        text-align: center;
        line-height: 16px;
        color: #fff;
        background-color: #377fd8;
    }

    .variation-suggestion {
        left: 0px;
        bottom: 0px;
        position: absolute;
        font-size: 11px;
        min-width: 40px;
        text-align: center;
        line-height: 16px;
        color: #fff;
        background-color: #d88a37;
    }

    .ui-autocomplete-category {
        padding: 0 15px;
        text-align: left;
        border-bottom: 1px solid #dcdcdc;
        background-color: #e9ebfb;
        font-weight: bold;
        cursor: initial !important;
        text-decoration: none !important;
    }

    .thumb {
        display: table-cell;
        position: relative;
        text-align: center;
        border: 1px solid #eee;
        img {
            width: 65px;
        }
    }

    .search-item {
        display: flex;
    }

    @media (max-width: 440px) {
        top: 50px;
    }

    @media (max-height: 805px) {
        max-height: calc(100vh - 240px);
        height: 595px;
    }
}

.search-container {
    display: flex;
    align-items: center;
    border: 2px solid var(--mainColor);
    border-radius: 8px;
    padding: 5px 10px;
    width: 380px;
    background: white;

    mat-icon {
        width: 25px;
        height: 25px;
        font-size: 25px;
    }

    @media (max-width: 650px) {
        width: 270px;
    }

    @media (max-width: 550px) {
        width: 230px;
    }

    @media (max-width: 525px) {
        width: 217px;
        padding: 2px 5px;
    }

    @media (max-width: 440px) {
        width: 197px;
    }

    @media (max-width: 380px) {
        padding: 2px 5px;
        width: 187px;
    }

    @media (max-width: 360px) {
        width: 188px;
    }

    @media (max-width: 345px) {
        width: 170px;
    }
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: var(--fontSizeS);
}

.menu-login-block {
    line-height: 32px;
    display: inline;

    a { color: var(--mainColor); }

    @media (max-width: 1250px) {
        display: none;
    }

    .rank {
        gap: 5px;

        .badge-adjust {
            position: relative;
            top: -5px;
        }

        .customer-name {
            overflow: clip;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 150px;
        }

        .customer-name:hover {
            text-decoration: underline;
        }
    }
}

.menu-top-login-block {
    display: none;

    a { color: #fff; }

    @media (max-width: 1250px) {
        display: inline;
    }
}

.mid-header-nav {
    background-color: #f7f7f7;
}

.nav {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 10px;
    gap: 6px;

    @media (min-width: 700px)  {
      gap: 25px !important;
      padding: 5px 0 !important;
    }
    

    a:link,a:visited,a:active {
        font-size: var(--fontSizeS);
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.07;
        letter-spacing: 1.05px;
        text-align: center;
        color: #222;
    }

    a:hover{
        text-decoration: none;
    }

    .nav-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    li{
        height: 40px;
        text-align: center;

        .menu-icon{
            display: inline-block;
            position: relative;
            img{
                width: 26px;
                margin: 0 5px 10px 0;
            }

            .maker-icon {
                margin: 0 0 10px 0;
            }

            .bookmark-icon {
                width: 29px;
                margin: 0 2px 16px 0px;
                cursor: pointer;
            }

            .webinar-icon {
                margin: 0 0 5px 0;
            }

            .cart-icon {
                width: 28px;
                margin: 0 0 5px 0;
            }

            .badge-count {
                position: absolute;
                top: -3px;
                right: -2px;
                font-size: 10px;
                color: white;
                background-color: var(--miRed);
                height: 14px;
                min-width: 14px;
                line-height: 0;
                letter-spacing: 0;
                padding: 3px;
                border-radius: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }
        p {
            font-size: var(--fontSizeS);
            font-weight: bold;
            height: 10px;
            display: block;
            cursor: pointer;
        }
        .sm-p{
            font-size: var(--fontSizeSS) - 2px;
        }
    }
}

@media (max-width: 1250px) {
    .mid-header {
        .ship {
            display: none;
        }

        .header-content {
            flex-grow: 0;
        }
    }

    .mid-header-icon {
        font-size: 65px;
        height: 65px;
        width: 33px;
        margin: 0 25px 0 20px;
    }

    .nav {
        height: 70px;
        margin: 0 10px;
        a:link,a:visited,a:active {
            font-size: 13px;
            margin: 0;
        }

        .nav-item {
            display: block;
            margin-bottom: 10px;
        }

        .cart-icon-main {
            margin-top: 8px;
        }

        a:hover{
            text-decoration: none;
        }

        li{
            .menu-icon{
                img{
                    width: 29px;
                    margin: 0 0 4px 0;
                }

                .maker-icon {
                    margin: 0 0 4px 0;
                }

                .bookmark-icon {
                    width: 28px;
                    margin: 0 0 5px 0;
                }

                .webinar-icon {
                    margin: 5px 0 6px 0;
                }

                .cart-icon {
                    margin: 1px 0 0 0;
                }
            }
        }
    }
}

@media (max-width: 749px) {
    .mid-header-icon {
        margin: 0 20px 0 0px;
    }
    .nav {
        height: 54px;
        margin: 0 8px;

        .cart-icon-main {
            margin-top: 1px;
        }

        li{
            .menu-icon{
                img{
                    width: 25px;
                    margin: 0 0 4px 0;
                }

                .maker-icon {
                    margin: 0 0 4px 0;
                }

                .bookmark-icon {
                    width: 24px;
                    margin: 0 0 5px 0;
                }

                .webinar-icon {
                    margin: 5px 0 5px 0;
                }

                .cart-icon {
                    margin: 1px 0 0 0;
                }
            }
        }
    }
}

@media (max-width: 600px) {
    .nav {
        a:link,a:visited,a:active {
            font-size: 8px;
        }
    }
}

@media (max-width: 525px) {
    .mid-header-icon {
        font-size: 36px;
        height: 36px;
        width: 32px;
        margin: 0 0 0 4px;
    }
}

::ng-deep {
    .mat-select {
        padding-left: 0 !important;
    }

    .search-container .mat-select-trigger {
        width: 130px !important;
        margin-left: 0 !important;

        @media (max-width: 900px) {
            width: 110px !important;
        }

        @media (max-width: 750px) {
            width: 100px !important;
        }

        @media (max-width: 590px) {
            width: 100px !important;
        }

        @media (max-width: 440px) {
            width: 90px !important;
        }

        @media (max-width: 380px) {
            right: 0px;
        }
    }
}

.language-selector-sm{
    display: none;
    cursor: pointer;

    @media (max-width: 1250px) {
        display: block;
    }
}

.language-selector-lg{
    display: block;
    cursor: pointer;

    @media (max-width: 1250px) {
        display: none;
    }
}

mat-option {
    font-size: clamp(0.875rem, 0.875rem + 0vw, 0.875rem) !important;
}

@media (max-width: 749px) {
  .mid-header-nav ul.nav li.nav-item p.sm-p {
    line-height: 0;
  }
}

.cover {
    object-fit: cover;
}

.product-description span {
    padding-left: 20px;
    padding-right: 20px;
}

.product-description a {
    font-size: clamp(0.75rem, 0.5946rem + 0.663vw, 1.125rem); }

#outbus, #inbus, #fragrance, #bodycare, #skincare, #makeup, #others {
  scroll-margin-top: 120px;
}

html, body, #page {
  max-width: 100%;
  overflow-x: hidden;
}

/* topへ戻るボタン
========================*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

.gotop {
  display: block;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  background: #FFF;
  border: 1px solid #999;
  padding-top: 30px;
  text-align: center;
  letter-spacing: -1px;
  font-size: 85%;
  text-decoration: none;
  color: #333;
  opacity: 0.5;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000; }

.gotop::before {
  content: "";
  display: block;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  width: 25%;
  height: 25%;
  top: 25%;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg); }

.gotop:hover {
  opacity: 1; }

@media (max-width: 750px) {
  .gotop {
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    opacity: 1;
    border: none;
    background: none;
    bottom: 10px;
    right: 10px; }

  .gotop::before {
    bottom: 0; } }
/* 表示画像切り替え
====================================================*/


/*---------------------------------
 Typography & Fonts
---------------------------------*/
.font-m {
  font-size: 14px; 
}

.t-small {
  font-size: 18px;
  font-weight: bold; 
}

/*---------------------------------
 Spacing (Margins)
---------------------------------*/
.mt-40 {
  margin-top: 40px; 
}

.mb-20 {
  margin-bottom: 20px; 
}

.mb-10 {
  margin-bottom: 10px; 
}

/*---------------------------------
 Images
---------------------------------*/
.img-w300 {
  width: 100%;
  max-width: 300px;
  margin: auto; 
}

/*---------------------------------
 Display & Responsive 
 (PC vs Smartphone toggle)
---------------------------------*/
.sp {
  display: none !important; 
}

@media only screen and (max-width: 768px) {
  .sp {
    display: block !important; 
  } 
}

/*---------------------------------
 Video Area (Vimeo Embed)
---------------------------------*/
.p-movie-area {
  width: 60%;
  margin: auto; 
}

.p-movie-wrap {
  position: relative;
  height: 0;
  padding-top: 30px;
  padding-bottom: 56.25%;
  overflow: hidden; 
}

.p-movie-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
}

/*---------------------------------
 Buttons
---------------------------------*/
.btn-micol-lp {
  /*tagmanager連動*/
  padding: 10px;
  border-radius: 25px; /*角の丸み*/
  background: #232F72; /*MiCOLブルー*/
  color: #FFF;
  width: 60%;
  margin: auto;
  text-align: center;
  margin-top: 20px; 
}

/* --- フッター --- */
.siteFooter {
  background-color: #E1E2E9;
  margin: 0 auto;
  overflow-y: hidden;
}
.siteFooter__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.siteFooter__inner img {
  margin: 0px;
  padding: 20px 0 10px;
  max-width: 216px;
}
.siteFooter__inner p {
  font-weight: bold;
  color: #253371;
  padding-bottom: 1rem;
  margin: 0;
}

/* パンくず */
.pankuzu {
  font-size: 14px;
  margin-top: 8px;
  margin-left: 20px;
  z-index: 100;
}
.pankuzu a {
  color: #2d74b7;
}
.pankuzu a:link, .pankuzu a:visited, .pankuzu a:hover, .pankuzu a:active {
  color: #2d74b7;
  text-decoration: none;
}