/* ----------------------------------
   1. 共通部分
---------------------------------- */

/**** 基本設定 ****/
:root {
  --color-primary: #DB6FAC;
  --color-sub: #fce8f3;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #F9E7F0;
  box-sizing: border-box;
}

/**** 全体枠 ****/
.wrapper {
  margin-top: -9%;
  padding: 0 20px 60px;
}

.main {
  position: relative;
  margin: auto;
}

img {
  max-width: 100%;
  height: auto;
}
.iw70 {
  width: 70%;
}

.nmb {
  margin-bottom: 0 !important;
}
.mb40 {
	margin-bottom: 40px !important;
}
.mb60 {
	margin-bottom: 60px !important;
}

.aright {
  text-align: right;
}

/**** ヘッダー ****/
.header__logo {
  position: absolute;
  top: -8px;
  right: 100px;
  z-index: 999;

  & img {
    width: auto;
    height: 62px;
  }
}

/**** フッター ****/
.footer {
  width: 100%;
  padding: 170px 0 0;
  background-color: #F9E7F0;
  background-image: url(../common/images/bg_footer.svg);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}

.sitemap {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color:#fff;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    padding: 40px;
    color: #0a2573;
    gap: 50px;
    height: auto;
    min-height: 300px;
    width: 100%;
}
.sitemap_top {
    display: flex;
    flex-direction: column;
    gap: 20px 0;
}
.sitemap_top_logo {
    height: 60px;
}

.sitemap_top_psoriasis {
    position: relative;
    padding: 0 0 10px 0;
    border-bottom: 1px dotted #333;
    font-size: 13px;
    font-weight: bold;
}
.sitemap_top_psoriasis::after {
  content: url(../common/images/list_bullet_allow_icon.svg);
  width: 20px;
  height: 20px;
  margin-left: 10px;
  margin-top: 5px;
  position: relative;
}
.sitemap_top_psoriasis.u12 {
  color: var(--color-primary);
}

.footer_wrapper {
  margin: 0 auto 0;
  width: auto;
  background: #F6F7F7;
}
.footer_contents {
  display: flex;
  justify-content: flex-start;
  width: 1024px;
  padding: 20px 0 0 0;
  margin: auto;
}

.ftlogo {
  height: 43px;
  margin: 0 16px 0 0;
}

.footer_list {
    display: flex;
    gap: 20px;
  margin: 0 0 0 auto;
}
.footer_list_item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #031F6F;
}
.footer_list_item::before {
    content: "";
    width: 6px;
    height: 10px;
    background: url(../common/images/footer_item.png) no-repeat;
}
.sitemap_menu {
    display: flex;
    flex-direction: column;
    gap: 16px 0;
}
.sitemap_menu_item {
    display: flex;
    font-size: 14px;
    font-weight: bold;
    align-items: baseline;
  
  & a {
    color: var(--color-primary);
  }
}
.sitemap_menu_item::before,
.sitemap_menu_list_item::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  background-image: url(../common/images/allow_icon_right01.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  top: 3px;
}
.sitemap_menu_heading {
  margin: 0 0 -10px 0;
  color: var(--color-primary);
}
.sitemap_menu_heading::before {
  content: none;
}
.sitemap_menu_list_item::before {
  transform: translateY(-3px);
}
.sitemap_menu_list {
    border-left: #E56CB5 1px solid;
    padding-left: 24px;
    font-size: 14px;
    font-weight: bold;
    & a {
      color: var(--color-primary);
  }
}
.sitemap_menu_list_item {
    display: flex;
    align-items: end;
    padding: 8px 0;
    font-size: 13px;
}
.sitemap_menu_vtama {
    margin-top: 40px;
}

.footer_divider {
  width: 1024px;
  margin: 20px auto 0 auto;
  color: #031F6F;
}
.footer_copyright_wrapper {
  width: 1024px;
    color: #031F6F;
    font-size: 12px;
    text-align: right;
    margin: 16px auto 0 auto;
}


/**** 下層基本 ****/
.main.under {
  width: 100%;
  max-width: 900px;
  margin: 50px auto 0 auto;
  padding: 0 0 10px 0;
  background: #fff;
  border-radius: 60px;
}
.utitle,
.uflex,
.uflex2,
.unormal,
.qalist {
  width: 100%;
  max-width: 800px;
}

.footer_contents,
.footer_divider,
.footer_copyright_wrapper {
  width: 100%;
  max-width: 1024px;
}

.utitle {
  position: relative;
  top: -30px;
  display: block;
  margin: 0 auto 20px auto;
  padding: 30px 20px 20px 20px;
  background: var(--color-primary);
  border-radius: 20px;
}
.utitle__h2 {
  padding: 0 40px 20px 40px;
  border-bottom: 4px solid #FDD002;
  text-align: center;
  font-size: 32px;
  font-family: "Mochiy Pop One", sans-serif;
  color: #fff;
}
.utitle__h3 {
  margin: 0 0 20px 0;
  font-size: 26px;
  color: var(--color-primary);
  font-weight: bold;
}
.utitle__h3-frame {
  margin: 0 0 20px 0;
  padding: 15px;
  border: 2px solid var(--color-primary);
  text-align: center;
  font-size: 26px;
  color: var(--color-primary);
  font-weight: bold;
}

.utext {
  margin: 0 0 30px 0;
  overflow-wrap: break-word;
  line-height: 2;
}

.utext ruby {
  line-height: 1;
  ruby-align: center;
}

.utext rt {
  font-size: 0.5em;
  line-height: 1;
}

.nextlink {
  margin: 60px 0 70px;
  text-align: center;
}
.nextlink a {
  display: inline-flex;
  align-items: end;
  gap: 12px;
  color: var(--color-primary);
  font-weight: bold;
  text-align: left;
}
.nextlink__prev::before,
.nextlink__next::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-image: url(../common/images/allow_icon_right01.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  top: 2px;
}
.nextlink ruby {
  ruby-align: center;
}
.nextlink--both {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  gap: 40px;
}
.nextlink--both a {
  min-width: 0;
}
.nextlink--both .nextlink__prev::before {
  transform: rotate(180deg);
}
.nextlink--both .nextlink__next {
  margin-left: auto;
}

.small {
  font-size: 13px;
}
.right {
  text-align: right;
}
.pcolor {
  font-weight: bold;
  color: var(--color-primary);
}
.br_onlypc {
  display: inline;
}

/* FLEX(右画像)の場合 */
.uflex {
  display: flex;
  margin: 0 auto 40px auto;
  gap: 30px;
}
.uflex__left {
  flex: 1;
}
.uflex__right {
  width: 250px;
  text-align: center;
  
  img {
    display: inline;
    width: 100%;
  }
}

.uflex.wsmall {
  width: 80%;
  margin: 70px auto 40px 50px;
}

.uflex2 {
  display: flex;
  margin: 0 auto 40px auto;
  gap: 30px;
}
.uflex2__left {
  width: 250px;
  text-align: center;
  
  img {
    display: inline;
    width: 100%;
  }
}
.uflex2__right {
  flex: 1;
}


/* FLEXなし */
.unormal {
  margin: 0 auto 40px auto;
  gap: 50px;
}
.unormal__illust {
  text-align: center;
  
  img {
    width: 70%;
    max-width: 90%;
  }
}

.unormal.wsmall {
  width: 80%;
  margin: -20px auto 40px 50px;
}

/* 注釈 */
.unormal.note {
  text-align: right;
}
.unormal.note .utext {
  font-size: 13px;
}


/* ----------------------------------
   2. 各ページのみのスタイル

---------------------------------- */

/**** トップページ ****/

/* 曲線背景 & キャッチコピー */
.topheader {
  position: relative;
  background-image: url(../common/images/header_background_img.svg);
  background-repeat: no-repeat;
  background-size: 1800px;
  background-position: center 14px;
  background-color: #db6fac;
  padding: 54px 20px 18vw;
  text-align: center;
  color: #fff;
}

.topheader__catch {
  text-align: center;
  
  & img {
    display: inline-block;
    width: auto;
    height: 180px;
  }
}

.topheader__note {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 280px;
  font-size: 12px;
  color: #333;
}

/* トップ コンテンツエリア */
.main.top {
  position: relative;
  z-index: 1;
}

.content {
  position: relative;
  margin: 0 auto;
  width: 1024px;
  max-width: 100%;
}

/* メインイラスト */
.visual {
  display: flex;
  margin: 0 0 80px 0;
  gap: 50px;
}
.visual__left {
  display: flex;
  width: 42%;

  & img {
    position: relative;
    top: -50px;
    width: 100%;
    height: auto;
    aspect-ratio: 960/766;
    object-fit: contain;
  }
}

.visual__right {
  flex: 1;
}

/* メインメニュー */
.visual__btn {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  margin: 0 0 30px 0;
}

.visual__item {
  width: 48%;
  margin-bottom: 10px;

  & a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 18px;
    text-align: center;
    font-weight: bold;
    color: var(--color-primary);
    white-space: nowrap;
  }
}

.visual__item a::after {
  position: absolute;
  bottom: -10px;
  content: "↓";
  width: 26px;
  line-height: 26px;
  background: var(--color-primary);
  border-radius: 50%;
  color: #fff;
}

/* 監修 */
.kanshu {
  width: 288px;
  height: 106px;
  margin: 0 0 20px auto;
  padding: 22px 0 0 0;
  background-image: url(../common/images/top_menu_img_yellow.png);
  background-size: cover;
  text-align: center;
  line-height: 2;
  font-size: 15px;
  
  & strong {
    font-size: 16px;
  }
}

/* 導線 */
.wire {
  display: block;
  position: relative;
  width: 370px;
  margin: 0 0 0 auto;
  padding: 13px 35px 13px 16px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  line-height: 1.4;
  color: #000;
  text-decoration: none;
  box-sizing: border-box;
}

.wire::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 100%;
  background: linear-gradient(180deg, #FDD002 0%, #E56CB5 100%);
  border-radius: 0 16px 16px 0;
}

.wire::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 10px;
  height: 10px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

.wire strong {
  font-weight: bold;
}

.kanshu ruby,
.wire ruby {
  ruby-align: center;
}


/* トップコンテンツ */
.main.top #about {
    scroll-margin-top: 60px;
}
.main.top #vtama {
    scroll-margin-top: 100px;
}
.main.top #qa {
  scroll-margin-top: 50px;
}

.topflex {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 40px;
}

.topflex__catch {
  width: 43%;
  margin: 30px 0 0 0;
}
.topflex__catch.tf2 {
  margin: 0;
}

.topflex__title {
  position: relative;
  margin: 0 0 10px 0;
  line-height: 1.4;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);

  & .allow_right {
    position: absolute;
    top: 10px;
    right: 0;
    width: 32px;
    height: 32px;
  }
}

.topflex__illust {
  position: absolute;
  top: -20px;
  right: 43%;
  z-index: 100;

  & img {
    width: 120px;
    height: 120px;
  }
}

.topflex__text {
  margin: 0 0 20px 0;
}

.topflex__text ruby {
  ruby-align: center;
}

/* 上下の距離 */
.topflex.top01 {
  margin: 50px 0 -30px 0;
}
.topflex.top02 {
  margin: 50px 0 -30px 0;
}

/* リンク部分の背景 */
.topflex__link {
  position: relative;
  top: -50px;
  flex: 1;
  aspect-ratio: 112/81;
  background-image: url(../common/images/top_menu_background_img01.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.topflex__link2 {
  position: relative;
  top: -80px;
  flex: 1;
  aspect-ratio: 638/564;
  background-image: url(../common/images/top_menu_background_img02.png);
  background-size: contain;
  background-repeat: no-repeat;
}

/* リンクの設定 */
.topflex__link .topflex__list, 
.topflex__link2 .topflex__list {
  & a {
    position: relative;
    display: block;
    padding: 20px 40px 20px 0;
    border-bottom: 1px dotted var(--color-primary);
    color: var(--color-primary);
    font-weight: bold;
    font-size: 18px;
  }
  & a::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 24px;
    aspect-ratio: 1/1;
    content: "";
    background-image: url(../common/images/allow_icon_right01.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
  }
}
.topflex__link .topflex__list {
  margin: 80px 80px 0 110px;
}
.topflex__link2 .topflex__list {
  margin: 60px 100px 0 110px;
}

.topflex__replace {
  position: absolute;
  top: 44px;
  left: 20px;
  color: red;
  font-size: 13px;
  font-weight: bold;
}


.topline {
  height: 48px;
  background-image: url(../common/images/top_menu_img_pen.png);
  background-size: 100%;
  background-repeat: no-repeat;
}

/* トップ QandA */
.topqa {
  position: relative;
  width: 540px;
  height: auto;
  margin: auto;
  padding: 60px 0 0 0;
  background-image: url(../common/images/top_menu_background_img03.png);
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1300/720;
}
.topqa__title {
  position: relative;
  margin: 0 0 40px 0;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  text-align: center;
}
.topqa__text {
  width: 50%;
  margin: auto;
}
.topqa__text ruby {
  ruby-align: center;
}
.topqa__link {
  position: absolute;
  right: 200px;

  & img {
    width: 32px;
    line-height: 32px;
  }
}
.topqa .topqa__illust {
  position: absolute;
  top: 110px;
  right: -30px;
  
  & img {
    width: 140px;
    aspect-ratio: 1/1;
  }
}


/**** アトピー性皮膚炎ってなあに？ ****/
.about-symptom-ruby {
  ruby-align: center;
}

.about-symptom-ruby rt {
  font-size: 0.4em;
}

/* 右に医者のイラスト */
.uflex__right.docter {
  width: 120px;
  img {
    width: 100%;
  }
}

/* 上に移動 */
.unormal.mvtop {
  margin-top: -80px;
}


/**** どうやって治すの？ ****/
/* 薬物療法 基本 */
.howto {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  padding: 30px;
  
  & h2 {
    position: relative;
    top: -28px;
    margin: 0 0 0 5px;
    font-size:22px;
    font-weight: bold;
  }
  
  & strong {
    position: relative;
    top: 4px;
    margin: 0 20px 0 0;
    font-size: 36px;
    -webkit-text-stroke: 5px #fff;
    paint-order: stroke fill;
  }
  
  & div {
    border-radius: 20px;
  }
}

/* 薬物療法 下を横並び */
.howto__btm {
  display: flex;
  gap: 20px;
}

/* 薬物療法 お薬の種類 */
.drug__list {
  display: flex;
  gap: 30px;
  margin: 0 0 20px 0;

    & li {
      display: flex;
      justify-content: center;
      align-items: center;
      
      flex: 1;
      aspect-ratio: 1 / 1;
      background: var(--color-primary);
      border-radius: 50%;
      text-align: center;
      font-size: 20px;
      font-weight: bold;
      color: #fff;
    }
  }

.drug__list .drug__item-nr,
.drug__list .drug__item-nm,
.drug__list .drug__item-ts {
  position: relative;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  background-position: center;
}

.drug__list .drug__item-nr {
  background-size: 40%;
  background-image: url(../common/images/about_img2.png);
}
.drug__list .drug__item-nm {
  background-size: 65%;
  background-image: url(../common/images/about_img3.png);
}
.drug__list .drug__item-ts {
  background-size: 67%;
  background-image: url(../common/images/about_img4.png);
}

.drug__item-nr span,
.drug__item-nm span,
.drug__item-ts span {
  position: absolute;
  top: -10px;
  left: 0;
  color: #333;
}

/* 薬物療法 各ブロック */
.drug {
  padding: 0 20px;
  background-color: #fce8f3;
  & strong {
    color:#D0128C;
  }
}
.skin   {
  flex: 5.5;
  padding: 0 20px 15px 20px;
  background-color: #e8f6fd;
  & strong {
    color:#00BBF2;
  }
}
.cause {
  flex: 4.5;
  padding: 0 20px 15px 20px;
  background-color: #fef6e3;
  & strong {
    color:#FEB811;
  }
}

/* スキンケア */
.skin__illust {
  padding: 10px 0 20px 0;
  text-align: center;
  
  & img {
    width: auto;
    height: 200px;
  }
}
.skin .utext {
  margin: 0 0 15px 0;
}

/* 原因をへらす */
.cause h2 {
  margin: 0;
}
.skin__list, .cause__list {
  margin: 0 0 10px 0;
  display: flex;
  align-items: baseline;
  gap: 0.3em;

  &::before {
    content: "●";
    flex-shrink: 0;
  }
}

.skin__list::before {
  color: #00BBF2;
}
.cause__list::before {
  color: #FEB811;
  }

/**** 治療のゴール ****/
.unormal.goal {
  padding: 50px 0 0 0;
}

/**** Q & A ****/
.qalist {
  margin: 0 auto 40px auto;
}
.qalist__title {
  display: flex;
  align-items: center;
  height: 60px;
  margin: 0 0 20px 0;
  padding: 0 0 0 80px;
  font-size: 26px;
  color: #444;
  font-weight: bold;
  background-image: url(../common/images/qa_icon_q.png);
  background-size: 60px;
  background-repeat: no-repeat;
}

.qalist__title ruby {
/*  ruby-align: center; */
}

.qa-symptom-ruby rt {
  font-size: 0.4em;
}

.qalist__text {
  display: flex;
  gap: 20px;
  margin: 0 0 20px 0;
}
.qalist__text-l {
  width: 60px;
  margin: 0 0 10px 0;
  padding: 24px;
  background-image: url(../common/images/qa_icon_a.png);
  background-size: 60px;
  background-repeat: no-repeat;
}

.qalist__text-r {
  flex: 1;
  margin: 0 0 10px 0;
  padding: 24px;
  overflow-wrap: break-word;
  background-color: #FFFAEE;
  border-radius: 10px;
}

.utext.vc {
  margin: -30px 0 40px 0;
  padding: 0 60px;
  text-align: right;
}


/**** 何回ぬるの？ ****/
.uflex__right {
  width: 250px;
  & img {
    width: 100%;
  }
}


/**** どのぐらいの量？ ****/
.unormal.vbg {
  padding: 20px;
  background: #fef6e3;
}

.unormal.vbg .utext {
  margin: 0;
}


/**** 使うときの注意 ****/
.htlist {
  padding: 20px 20px 10px 20px;
  background: #fef6e3;
  border-radius: 10px;
}
.htlist__item {
  display: flex;
  align-items: flex-start;
  margin: 0 0 10px 0;
}

.htlist__item span {
  flex: 0 0 20px;
  line-height: 1.6;
  color: #031F6F;
  padding: 5px 0 0 0;
}
.htlist__item p {
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: 1.6;
}

.htlist__item ruby {
  ruby-align: center;
}









