@charset "UTF-8";
/* ==========================================================================
   画像実装だった箇所のコーディング（2026.11）
   - ED薬の種類：比較表（旧 img/kind/ed.png / ed-sp.png）
   - よくある質問：公式LINEボタン（旧 img/faq/line.png / line-sp.png）
   ========================================================================== */

.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- ED薬の種類：比較表 ---------- */
.p-kind__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 2px;
  table-layout: fixed;
  color: #121852;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}
.p-kind__corner {
  width: 24%;
  background: transparent;
}
.p-kind__head:last-child {
  width: 26%;
}
.p-kind__head {
  padding: 12px 8px;
  background-color: #3e4383;
  color: #fff;
  font-size: min(16px, 1.6vw);
  font-weight: 700;
  vertical-align: middle;
}
.p-kind__drug,
.p-kind__cell {
  vertical-align: middle;
  background-color: #fbfbfb;
}
.p-kind__drug {
  padding: 16px 12px;
  background-color: #f8f9fb;
}
.p-kind__drug-img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  margin: 0 auto 8px;
}
.p-kind__drug-name {
  display: block;
  font-size: min(20px, 2vw);
  letter-spacing: 0.04em;
}
.p-kind__drug-brand {
  display: block;
  font-size: min(16px, 1.6vw);
}
.p-kind__cell {
  padding: 16px 8px;
  font-size: min(15px, 1.5vw);
}
.p-kind__num {
  font-size: min(22px, 2.2vw);
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.p-kind__cell--rec {
  font-size: min(15px, 1.5vw);
  line-height: 1.5;
}
/* ○ / ◎ */
.p-kind__mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid #3e4383;
  border-radius: 50%;
  vertical-align: middle;
}
.p-kind__mark--double::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 3px solid #3e4383;
  border-radius: 50%;
}

@media screen and (max-width: 760px) {
  /* SPは「薬＝列／項目＝行」に入れ替え */
  .p-kind__table {
    display: grid;
    grid-template-columns: 40px repeat(3, minmax(0, 1fr));
    gap: 2px;
    border-spacing: 0;
  }
  .p-kind__table thead,
  .p-kind__table tbody,
  .p-kind__table tr {
    display: contents;
  }
  .p-kind__table thead > tr > :nth-child(1) { grid-area: 1 / 1; }
  .p-kind__table thead > tr > :nth-child(2) { grid-area: 2 / 1; }
  .p-kind__table thead > tr > :nth-child(3) { grid-area: 3 / 1; }
  .p-kind__table thead > tr > :nth-child(4) { grid-area: 4 / 1; }
  .p-kind__table thead > tr > :nth-child(5) { grid-area: 5 / 1; }
  .p-kind__table tbody > tr:nth-child(1) > :nth-child(1) { grid-area: 1 / 2; }
  .p-kind__table tbody > tr:nth-child(1) > :nth-child(2) { grid-area: 2 / 2; }
  .p-kind__table tbody > tr:nth-child(1) > :nth-child(3) { grid-area: 3 / 2; }
  .p-kind__table tbody > tr:nth-child(1) > :nth-child(4) { grid-area: 4 / 2; }
  .p-kind__table tbody > tr:nth-child(1) > :nth-child(5) { grid-area: 5 / 2; }
  .p-kind__table tbody > tr:nth-child(2) > :nth-child(1) { grid-area: 1 / 3; }
  .p-kind__table tbody > tr:nth-child(2) > :nth-child(2) { grid-area: 2 / 3; }
  .p-kind__table tbody > tr:nth-child(2) > :nth-child(3) { grid-area: 3 / 3; }
  .p-kind__table tbody > tr:nth-child(2) > :nth-child(4) { grid-area: 4 / 3; }
  .p-kind__table tbody > tr:nth-child(2) > :nth-child(5) { grid-area: 5 / 3; }
  .p-kind__table tbody > tr:nth-child(3) > :nth-child(1) { grid-area: 1 / 4; }
  .p-kind__table tbody > tr:nth-child(3) > :nth-child(2) { grid-area: 2 / 4; }
  .p-kind__table tbody > tr:nth-child(3) > :nth-child(3) { grid-area: 3 / 4; }
  .p-kind__table tbody > tr:nth-child(3) > :nth-child(4) { grid-area: 4 / 4; }
  .p-kind__table tbody > tr:nth-child(3) > :nth-child(5) { grid-area: 5 / 4; }

  .p-kind__corner,
  .p-kind__head:last-child {
    width: auto;
  }
  .p-kind__head {
    display: block;
    align-content: center;
    text-align: center;
    padding: 12px 4px;
    font-size: 13px;
    line-height: 1.3;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.1em;
  }
  .p-kind__drug {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px 12px;
  }
  .p-kind__drug-img {
    max-width: 100%;
    margin-bottom: 6px;
  }
  .p-kind__drug-name {
    font-size: 15px;
    line-height: 1.3;
  }
  .p-kind__drug-brand {
    font-size: 11px;
    margin-top: 2px;
  }
  .p-kind__cell {
    min-height: 88px;
    padding: 12px 4px;
    font-size: 14px;
    display: block;
    align-content: center;
  }
  .p-kind__num {
    font-size: 18px;
  }
  .p-kind__cell--rec {
    font-size: 13px;
    line-height: 1.5;
  }
  .p-kind__mark {
    width: 26px;
    height: 26px;
  }
}

@media screen and (max-width: 374px) {
  .p-kind__table {
    grid-template-columns: 34px repeat(3, minmax(0, 1fr));
  }
  .p-kind__head {
    font-size: 12px;
  }
  .p-kind__drug-name {
    font-size: 13px;
  }
  .p-kind__drug-brand {
    font-size: 10px;
    white-space: nowrap;
    letter-spacing: -0.02em;
  }
  .p-kind__cell,
  .p-kind__cell--rec {
    font-size: 12px;
  }
  .p-kind__num {
    font-size: 15px;
  }
}

/* ---------- よくある質問：公式LINEボタン ---------- */
.p-faq__link-btn.c-button {
  display: flex;
  width: min(663px, 64.3689320388vw);
  max-width: none;
  height: 100px;
  margin: 16px auto 0;
  column-gap: 16px;
  text-decoration: none;
}
.p-faq__link-btn-text {
  line-height: 1.3;
  text-align: center;
}
.p-faq__link-badge {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 4px;
  background-color: #fff;
  color: #d6790f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

@media screen and (max-width: 760px) {
  .p-faq__link-btn.c-button {
    width: 100%;
    max-width: 340px;
    height: 72px;
    margin-top: 12px;
    column-gap: 8px;
  }
  .p-faq__link-btn-text {
    font-size: 17px;
  }
  .p-faq__link-badge {
    padding: 3px 8px;
    font-size: 15px;
  }
}
