@charset "UTF-8";
/*
$c_main: #DB0000;
$c_sub: #E9A87D;
$c_accent: #E64D4D;
$c_btn: #FF7043;
$c_btn_hover: #F4511E;
$c_sns_line: #06C755;
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap&family=Oswald&display=swap");
/* ============================================================
   common.scss (refactored: BEM + mobile-first)
   - Base / Utilities
   - Containers (.h-container / .c-container / .f-container)
   - Header (.site-header)
   - Footer (.site-footer)
   - PageTop Button / FadeIn / Ornaments（汎用）
============================================================ */
/* ------------------------------------------------------------
   CSS Vars（グローバル）
------------------------------------------------------------ */
:root {
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Kozuka Mincho Pro",
    "Noto Serif JP", "IPAexMincho", serif;
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
  --safe-right: env(safe-area-inset-right);
  --bg-white: #FFFFFF;
}

/* ------------------------------------------------------------
   Base
------------------------------------------------------------ */
html {
  /* 1rem = 10px */
  font-size: 10px !important;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: "kozuka-gothic-pr6n", "Noto Sans JP", -apple-system, system-ui, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1.6rem;
  line-height: 2;
  color: #222;
  background: #fff;
  min-height: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

picture {
  display: block;
  line-height: 0;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: opacity 0.15s ease-out;
  transition: opacity 0.15s ease-out;
}
a:hover {
  opacity: 0.9;
}

/* ------------------------------------------------------------
   Containers
   - ヘッダー専用: .h-container
   - コンテンツ専用: .c-container
   - フッター専用: .f-container
------------------------------------------------------------ */
.h-container, .site-header__inner {
  position: relative;
  width: 100%;
  max-width: 1072px;
  margin-inline: auto;
  padding-inline: 16px;
}

.c-container {
  position: relative;
  width: 100%;
  max-width: 1072px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 1400px) {
  .c-container {
    padding-inline: 0;
  }
}

.f-container, .site-footer__inner {
  position: relative;
  width: 100%;
  max-width: 1072px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 1400px) {
  .f-container, .site-footer__inner {
    padding-inline: 0;
  }
}

/* ------------------------------------------------------------
   inner
------------------------------------------------------------ */
.c-inner, .page-hero__inner, .page-title__inner {
  position: relative;
  width: 100%;
  max-width: 1072px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 1400px) {
  .c-inner, .page-hero__inner, .page-title__inner {
    padding-inline: 0;
  }
}

/* ------------------------------------------------------------
   Visibility helpers (mobile-first)
   - .sp : show on < xl, hide on >= xl
   - .pc : hide on < xl, show on >= xl
------------------------------------------------------------ */
.sp {
  display: block !important;
}

.pc {
  display: none !important;
}

@media (min-width: 1200px) {
  .sp {
    display: none !important;
  }
  .pc {
    display: initial !important;
  }
}
/* ------------------------------------------------------------
   共通パーツ：円形右矢印（▶）
------------------------------------------------------------ */
.c-arrow {
  /* 既定値 */
  --arrow-size: 1.2em;
  --arrow-bg: #6b6b6b;
  --arrow-ink: #fff;
  --tri-w: 8px;
  --tri-h: 5px;
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  display: inline-block;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border-radius: 50%;
  background: var(--arrow-bg);
  vertical-align: middle;
}
.c-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: var(--tri-w) solid var(--arrow-ink);
  border-top: var(--tri-h) solid transparent;
  border-bottom: var(--tri-h) solid transparent;
  -webkit-transform: translate(-38%, -50%);
          transform: translate(-38%, -50%);
}

@media (min-width: 992px) {
  .c-arrow {
    --arrow-size: 1.4em;
    --tri-w: 10px;
    --tri-h: 7px;
  }
}
/* ------------------------------------------------------------
   Layout wrapper
------------------------------------------------------------ */
.page {
  background: #fff;
}

.page-main {
  padding-bottom: 4.8rem;
}

/* 一覧・詳細ページ共通ラッパー */
.page-layout {
  background: #fff;
}

.page-layout__contents {
  position: relative;
  /* ============================================================
    SNS（LINE / Instagram バナー）
  ============================================================ */
}
.page-layout__contents .sns {
  background: var(--bg-white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.page-layout__contents .sns__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  justify-items: center;
}
@media (min-width: 768px) {
  .page-layout__contents .sns__list {
    -ms-grid-columns: minmax(0, 1fr) 3.2rem minmax(0, 1fr);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 3.2rem;
  }
}
.page-layout__contents .sns .sns-card {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
          box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  /* ホバー時のふわっと持ち上がる動き（pickup / seminar と統一） */
}
.page-layout__contents .sns .sns-card__thumb {
  margin: 0;
}
.page-layout__contents .sns .sns-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.page-layout__contents .sns .sns-card:hover {
  opacity: 0.98;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
          box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

/* =========================
  Header（キャリアナビ薬学生）
========================= */
.site-header {
  position: relative;
  background: #FFFFFF;
  border-bottom: 1px solid #e0f5f8;
}
.site-header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 1.6rem;
  min-height: 2.6rem;
  padding-block: 0.8rem;
}
@media (min-width: 768px) {
  .site-header__inner {
    min-height: 5.6rem;
    padding-block: 1.2rem;
  }
}
.site-header__logo {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.site-header__logo-img {
  display: block;
  height: 3.6rem;
  width: auto;
}
@media (min-width: 768px) {
  .site-header__logo-img {
    height: 4.4rem;
  }
}
.site-header__actions {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.8rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.site-header__link {
  font-size: 1.2rem;
  color: #00bfd4;
  text-decoration: none;
  line-height: 1;
}
@media (min-width: 768px) {
  .site-header__link {
    font-size: 1.3rem;
  }
}
.site-header__link:hover {
  opacity: 0.8;
}
.site-header__btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 3.2rem;
  padding-inline: 1.6rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}
@media (min-width: 768px) {
  .site-header__btn {
    min-height: 3.8rem;
    font-size: 1.3rem;
  }
}
.site-header__btn:hover {
  opacity: 0.95;
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.site-header__btn:focus-visible {
  outline: 0;
  -webkit-box-shadow: 0 0 0 3px rgba(0, 191, 212, 0.35);
          box-shadow: 0 0 0 3px rgba(0, 191, 212, 0.35);
}
.site-header__btn--sub {
  border-color: #00bfd4;
  color: #00bfd4;
  background: #FFFFFF;
}
.site-header__btn--primary {
  color: #FFFFFF;
  background: linear-gradient(120deg, #ffdc5c, #ffb400);
}

/* ============================================================
   Footer（キャリアナビ薬学生）
============================================================ */
.site-footer {
  background: #004d5c;
  color: #FFFFFF;
}
.site-footer__inner {
  text-align: center;
  padding-block: 2.4rem 3.2rem;
}
.site-footer__logo {
  margin-bottom: 1.2rem;
}
.site-footer__logo img {
  display: block;
  margin-inline: auto;
  height: 3.2rem;
  width: auto;
}
.site-footer__nav {
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.2rem;
}
.site-footer__item {
  font-size: 1.1rem;
}
.site-footer__link {
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}
.site-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: width 0.2s ease;
  transition: width 0.2s ease;
}
.site-footer__link:hover, .site-footer__link:focus-visible {
  outline: none;
}
.site-footer__link:hover::after, .site-footer__link:focus-visible::after {
  width: 100%;
}
.site-footer__copy {
  margin: 0;
  font-size: 1rem;
  opacity: 0.8;
}

/* ============================================================
   Fade-in utility
============================================================ */
.feadin {
  opacity: 0;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  -webkit-transition: opacity 1.2s ease, -webkit-transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 1.2s ease, -webkit-transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), -webkit-transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.feadin[data-feadin-delay] {
  -webkit-transition-delay: calc(attr(data-feadin-delay number) * 1ms);
          transition-delay: calc(attr(data-feadin-delay number) * 1ms);
}
@media (min-width: 1200px) {
  .feadin {
    -webkit-transform: translateY(24px);
            transform: translateY(24px);
  }
}
.feadin.is-inview {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* ============================================================
   Ornaments（汎用デコレーション）
   - 必要に応じてセクションに .ornaments を配置
============================================================ */
.ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.ornaments--back {
  z-index: 0;
}
.ornaments__spark {
  --size: 20px;
  --x: 10px;
  --y: 18%;
  --rgb: 255 255 255;
  --alpha: 0.5;
  position: absolute;
  top: var(--y);
  width: var(--size);
  aspect-ratio: 74/84;
  background-color: rgba(var(--rgb)/var(--alpha));
  -webkit-filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
          filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  -webkit-mask: url(/assets/img/edge-spark.svg) center/contain no-repeat;
  mask: url(/assets/img/edge-spark.svg) center/contain no-repeat;
  opacity: 0;
  -webkit-transform: translateY(8px) scale(0.95);
          transform: translateY(8px) scale(0.95);
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 0.5s ease, -webkit-transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), -webkit-transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ornaments__spark.-left {
  left: var(--x);
}
.ornaments__spark.-right {
  right: var(--x);
}
.ornaments__spark.is-on {
  opacity: 1;
  -webkit-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
}
.ornaments__spark.-md {
  --size: 20px;
}
.ornaments__spark.-lg {
  --size: 32px;
}
.ornaments__spark.-white {
  --rgb: 255 255 255;
  --alpha: 1;
}
.ornaments__spark.-blue {
  --rgb: 154 213 234;
}
.ornaments__spark.-pink {
  --rgb: 224 128 146;
}
.ornaments__spark.-yellow {
  --rgb: 254 228 162;
}
@media (min-width: 768px) {
  .ornaments__spark {
    --x: 16px;
  }
  .ornaments__spark.-md {
    --size: 24px;
  }
  .ornaments__spark.-lg {
    --size: 40px;
  }
}
@media (min-width: 1400px) {
  .ornaments__spark {
    --x: 24px;
    --alpha: 1;
  }
  .ornaments__spark.-white {
    --alpha: 1;
  }
  .ornaments__spark.-md {
    --size: 28px;
  }
  .ornaments__spark.-lg {
    --size: 48px;
  }
}
.ornaments__human {
  --w: 140px;
  --x: 3%;
  --y: 50%;
  --bottom: auto;
  position: absolute;
  display: none;
  width: var(--w);
  height: auto;
  pointer-events: none;
  z-index: 2;
  top: var(--y, auto);
  bottom: var(--bottom, auto);
  opacity: 0;
  -webkit-transform: translateY(12px);
          transform: translateY(12px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 0.6s ease, -webkit-transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), -webkit-transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ornaments__human.-left {
  left: var(--x);
}
.ornaments__human.-right {
  right: var(--x);
}
.ornaments__human.-bottom {
  top: auto !important;
  bottom: var(--bottom, 0);
}
.ornaments__human.is-on {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.ornaments__human.-flip {
  -webkit-transform: scaleX(-1) translateY(12px);
          transform: scaleX(-1) translateY(12px);
}
.ornaments__human.-flip.is-on {
  -webkit-transform: scaleX(-1) translateY(0);
          transform: scaleX(-1) translateY(0);
}
@media (min-width: 1400px) {
  .ornaments__human {
    display: block;
  }
}

/* ============================================================
   Page Title（共通）
   - トップ以外の一覧 / 詳細 / 固定ページ等で使用
============================================================ */
.page-title {
  /* 各ページ用のデフォルト値（ページ側で上書き可） */
  --page-title-bg: #f5f5f5;
  --page-title-color: #333333;
  background: var(--page-title-bg);
}
.page-title__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.6rem;
  padding-block: 2.4rem;
}
.page-title__icon {
  width: 88px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
}
.page-title__icon img {
  display: block;
  width: 70%;
  height: auto;
}
.page-title__headline {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--page-title-color);
}
@media (min-width: 768px) {
  .page-title__inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 2.4rem;
    padding-block: 3.2rem;
  }
  .page-title__headline {
    font-size: 2rem;
    text-align: left;
  }
}

/* ============================================================
   Page Hero（共通：タイトル＋画像＋本文）
============================================================ */
.page-hero {
  /* デフォルト値（ページ側で上書き） */
  --page-hero-bg: var(--bg-white);
  --page-hero-accent: #00a0e9;
  --page-hero-title-color: #444444;
  --page-hero-text-color: #555555;
  background: var(--page-hero-bg);
  padding-block: 4rem;
  /* タイトル下の横線（ページのアクセント色と連動） */
}
.page-hero__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--page-hero-title-color);
}
.page-hero__underline {
  width: 100%;
  height: 3px;
  margin: 1.6rem auto 3.2rem;
  background-color: var(--page-hero-accent);
}
.page-hero__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2.4rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.page-hero__image {
  margin: 0;
  width: 100%;
  max-width: 520px;
}
.page-hero__image img {
  display: block;
  width: 100%;
  height: auto;
}
.page-hero__text {
  max-width: 520px;
  font-size: 1.6rem;
  line-height: 1.9;
  color: var(--page-hero-text-color);
}
@media (min-width: 768px) {
  .page-hero {
    padding-block: 4.8rem;
  }
  .page-hero__title {
    font-size: 2.4rem;
  }
  .page-hero__body {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 4rem;
  }
  .page-hero__image {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 48%;
            flex: 0 0 48%;
    max-width: none;
  }
  .page-hero__text {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
  }
}

/* ============================================================
   Pagination（共通）
   - paginate_links() の ul.page-numbers を対象
============================================================ */
.c-pagination {
  margin-top: 3.2rem;
  text-align: center;
  /* 数字・矢印共通 */
  /* ホバー */
  /* 現在ページ（下線・濃い文字） */
}
.c-pagination .page-numbers {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-pagination .page-numbers > li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.c-pagination .page-numbers a,
.c-pagination .page-numbers span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  font-size: 1.5rem;
  color: #555;
  text-decoration: none;
  line-height: 1;
  -webkit-transition: background-color 0.15s ease, border-color 0.15s ease;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.c-pagination .page-numbers a:hover {
  background: #f5f5f5;
  border-color: #c8c8c8;
}
.c-pagination .page-numbers .current {
  font-weight: 700;
  border-color: #000; /* borderは薄いままでも可 */
  color: #000;
  position: relative;
}
.c-pagination .page-numbers .current::after {
  content: "";
  position: absolute;
  bottom: 4px; /* 数字の下に細い線 */
  left: 20%;
  width: 60%;
  height: 2px;
  background: #000;
  border-radius: 1px;
}