@charset "UTF-8";
/* =============================================================
   trial-banner.css — 体験会LP（https://cica-lab.com/icd/trial/）へ送るバナー
   旧サイト（incellderm.co.jp）用。HTMLは各ページの
   <!-- ICD-TRIAL-BANNER:START --> 〜 <!-- ICD-TRIAL-BANNER:END --> の中。

   注意：このサイトは style.min.css で html{font-size:62.5%}（1rem=10px）。
        remで書くと意図の6割の大きさで出るので、ここは全部 px で書く。
   衝突よけ：クラス名はすべて icdnavi- で始める。

   色は旧サイトの緑 #2f564a を軸に、LPの生成り #f3f1e8 と真鍮 #a98f5c を添える。
   ============================================================= */

/* ── 器（本文と同じ幅・フッターの手前に置く） ── */
.icdnavi-trial {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 15px 52px;
}
@media screen and (min-width: 768px) {
  .icdnavi-trial { padding: 60px 6% 70px; }
}

/* ── バナー本体 ── */
a.icdnavi-banner,
a.icdnavi-banner:link,
a.icdnavi-banner:visited,
a.icdnavi-banner:hover {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 18px 18px 20px;
  background: #f3f1e8;
  border: 1px solid rgba(169, 143, 92, .5);
  border-radius: 12px;
  color: #23302a;
  font-weight: 400;
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
a.icdnavi-banner:hover {
  box-shadow: 0 12px 28px rgba(30, 42, 34, .14);
  transform: translateY(-2px);
  opacity: 1;
}
a.icdnavi-banner:focus-visible { outline: 2px solid #7a6134; outline-offset: 3px; }
.icdnavi-banner .icdnavi-ib { display: inline-block; }

/* スマホ：「小見出し ／ 大きな文字＋葉 ／ 説明・補足・ボタン」 */
.icdnavi-banner__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  grid-template-areas:
    "eb eb"
    "ld lf"
    "bd bd";
  gap: 4px 10px;
  align-items: center;
}

.icdnavi-banner__eyebrow {
  grid-area: eb;
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.5;
  color: #7a6134;
}

.icdnavi-banner__lead {
  grid-area: ld;
  align-self: center;
  display: block;
  margin: 0;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.55;
  color: #23302a;
}

.icdnavi-banner__body {
  grid-area: bd;
  min-width: 0;
  margin-top: 10px;
}
.icdnavi-banner__d {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.8;
  color: #3a463d;
}
.icdnavi-banner__m {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .05em;
  line-height: 1.6;
  color: #66705f;
}
.icdnavi-banner__btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #2f564a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease;
}
.icdnavi-banner__btn::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 1px;
}
a.icdnavi-banner:hover .icdnavi-banner__btn { background: #23302a; }

.icdnavi-banner__leaf {
  grid-area: lf;
  display: block;
  width: 84px;
  height: auto;
  max-width: 100%;
  margin: 0;
  align-self: center;
  justify-self: end;
}
a.icdnavi-banner:hover .icdnavi-banner__leaf { opacity: 1; }

/* 幅の狭い端末（360px以下）。大きな文字が1文字だけ折れないように少し詰める */
@media screen and (max-width: 374px) {
  a.icdnavi-banner,
  a.icdnavi-banner:link,
  a.icdnavi-banner:visited,
  a.icdnavi-banner:hover { padding: 16px 14px 18px; }
  .icdnavi-banner__in { grid-template-columns: minmax(0, 1fr) 72px; }
  .icdnavi-banner__lead { font-size: 18px; }
  .icdnavi-banner__leaf { width: 72px; }
  .icdnavi-banner__d { font-size: 12.5px; }
}

/* ── PC ─────────────────────────────────────── */
@media screen and (min-width: 768px) {
  a.icdnavi-banner,
  a.icdnavi-banner:link,
  a.icdnavi-banner:visited,
  a.icdnavi-banner:hover { padding: 30px 36px 32px; }

  .icdnavi-banner__in {
    grid-template-columns: minmax(0, 1fr) 190px;
    grid-template-areas:
      "eb eb"
      "ld lf"
      "bd lf";
    gap: 0 36px;
    align-items: start;
  }
  .icdnavi-banner__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: .14em;
    margin-bottom: 14px;
  }
  .icdnavi-banner__eyebrow::after {
    content: "";
    flex: 1;
    min-width: 12px;
    height: 1px;
    background: #a98f5c;
    opacity: .55;
  }
  .icdnavi-banner__lead {
    font-size: 30px;
    letter-spacing: .08em;
    line-height: 1.5;
  }
  .icdnavi-banner__body { margin-top: 16px; }
  .icdnavi-banner__d { font-size: 15px; margin-bottom: 8px; }
  .icdnavi-banner__m { font-size: 13px; margin-bottom: 20px; }
  .icdnavi-banner__btn {
    display: inline-flex;
    width: auto;
    min-height: 48px;
    padding: 0 30px;
    font-size: 15px;
  }
  .icdnavi-banner__leaf {
    width: 190px;
    align-self: center;
    justify-self: center;
  }
}

/* =============================================================
   ここから：細い帯（ページ上部）
   HTMLは各ページの <!-- ICD-TRIAL-STRIP:START --> 〜 :END の中。
   置き場所は <div id="header-container"></div> の直後。

   仕組みのメモ：
   このサイトの .header は position:absolute（＝流れから浮いて
   いちばん上に重なる）。帯をそのまま置くとヘッダーの下に隠れるので、
   ヘッダーを帯のぶん（48px）だけ下げる。
   スクロールで .header.scroll（position:fixed）になったときは
   top:0 に戻して、今までどおり画面の上に貼り付くようにする。
   固定はしない。帯はスクロールで流れていく。
   ============================================================= */

.icdnavi-strip {
  box-sizing: border-box;
  width: 100%;
  background: #2f564a;
  border-bottom: 1px solid rgba(169, 143, 92, .55);
}

a.icdnavi-strip__link,
a.icdnavi-strip__link:link,
a.icdnavi-strip__link:visited,
a.icdnavi-strip__link:hover {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 14px;
  color: #f3f1e8;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: background .25s ease;
}
a.icdnavi-strip__link:hover { background: #27483e; opacity: 1; }
a.icdnavi-strip__link:focus-visible { outline: 2px solid #f3f1e8; outline-offset: -4px; }

.icdnavi-strip__t {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.icdnavi-strip__sub {
  position: relative;
  padding-left: 13px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  color: rgba(243, 241, 232, .82);
}
.icdnavi-strip__sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(243, 241, 232, .38);
}
.icdnavi-strip__arrow {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: .9;
}

/* スマホ：短い文言だけにして、1行に必ず収める */
.icdnavi-strip__t--pc { display: none; }
@media screen and (max-width: 767px) {
  .icdnavi-strip__sub { display: none; }
  .icdnavi-strip__t { font-size: 12.5px; }
}
@media screen and (max-width: 359px) {
  .icdnavi-strip__t { font-size: 11.5px; }
}
@media screen and (min-width: 768px) {
  .icdnavi-strip__t--pc { display: inline; }
  .icdnavi-strip__t--sp { display: none; }
  .icdnavi-strip__t { font-size: 14px; letter-spacing: .06em; }
  .icdnavi-strip__sub { font-size: 13px; padding-left: 16px; }
  a.icdnavi-strip__link,
  a.icdnavi-strip__link:link,
  a.icdnavi-strip__link:visited,
  a.icdnavi-strip__link:hover { gap: 14px; }
}

/* ── ヘッダーを帯のぶんだけ下げる（重なり防止） ── */
.header { top: 48px; }
.header.scroll { top: 0; }

/* スマホのドロワーメニューも、下がったヘッダーに合わせる
   （素のCSSが !important なので、こちらも !important で上書き） */
@media screen and (max-width: 992px) {
  .header .header_menu_drawer_wrap {
    top: 108px !important;
    height: calc(100vh - 108px) !important;
  }
  .header.scroll .header_menu_drawer_wrap {
    top: 60px !important;
    height: calc(100vh - 60px) !important;
  }
}

/* faq.html と partner.html は reset.css を読んでいないので、
   body に初期マージン8pxが残る。帯だけ、そのぶん外へ広げて端まで届かせる。 */
.icdnavi-strip--flush { margin: -8px -8px 0; width: auto; }
