/* ==========================================
   ベース・要素セレクタ
   ========================================== */
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* background: rgba(0, 0, 0, 0.5); */
  color: white;
  z-index: 1000;
}

header .inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 0;
  position: relative;
  background-image: url("/wp-content/themes/jstar/images/header/br-header_bk.png");
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.8);
}

main {
  /* padding: 80px 20px; */
  padding: 0 0 80px;
}

footer {
  text-align: center;
  color: #fff;
  font-size: 16px;
  background-color: #001348;
  padding: 10px 0;
  line-height: 1.0em;
}

/* ==========================================
   汎用・ユーティリティクラス
   ========================================== */
.f-times {
  font-family: 'Times New Roman', Times, serif;
}

.f-koh {
  font-family: 'Koh Santepheap', cursive;
}

.shadow {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
}

.ah:hover {
  opacity: 0.8;
}

.lano-a {
  word-break: break-all;
}

/* aタグ非活性化用クラス */
.is-disabled {
  /* マウスクリックやタップイベントを完全に無効化する */
  pointer-events: none;
  /* 非活性だと一目でわかるようにグレーアウトする */
  opacity: 0.5;
  /* カーソルを「禁止マーク」にする */
  cursor: not-allowed;
  /* フォーカス枠線を目立たなくする */
  outline: none;
}

/* ==========================================
   レイアウト・コンテンツエリア
   ========================================== */
.main-contents {
  max-width: 1000px;
  margin: 0 auto 100px;
}

.main-contents p {
  font-size: 16px;
  margin: 0 0 20px;
  line-height: 2.0;
}

.main-image {
  max-width: 1400px;
  height: 260px;
  margin: 0 auto;
  padding: 0 0 0 0;
}

.main-image img {
  width: 100%;
}

.main-image-back {
  background-image: url("../images/br/br-activity-report/br-activity-report-header.png");
  display: flex;
  align-items: end;
  padding: 0 0 43px 170px;
  background-size: cover;
}

.main-image-back span {
  color: #0063bf;
  font-size: 28px;
  font-weight: bold;
  text-shadow:
    0px 0px 5px rgba(255, 255, 255, 1),
    0px 0px 5px rgba(255, 255, 255, 1),
    0px 0px 5px rgba(255, 255, 255, 1),
    0px 0px 10px rgba(255, 255, 255, 1),
    0px 0px 10px rgba(255, 255, 255, 1);
  letter-spacing: 0.03em;
}

.section-title {
  font-family: "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  display: flex;
  font-weight: normal;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 40px auto 20px;
  padding: 6px 0;
  width: 100%;
  line-height: 1.0;
  letter-spacing: 0.01em;
  background-color: #012d8c;
  color: #fff;
  font-size: 24px;
}

.sub-title {
  font-family: "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  border-bottom: 2px solid #00306b;
  color: #00306b;
  font-weight: bold;
  font-size: 20px;
  position: relative;
  margin: 18px auto;
  padding: 6px 0;
  line-height: 1.0;
  letter-spacing: 0.01em;
}

/* ==========================================
   ヘッダーパーツ・コンポーネント
   ========================================== */
.logo {
  font-size: 48px;
  color: #000;
  text-align: center;
  width: 100%;
  position: relative;
}

.sns {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0 20px;
  line-height: 1.0em;
  padding: 20px 20px 0 0;
}

.sns-pc {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 0 20px;
  line-height: 1.0em;
  padding: 15px 20px 0 0;
}

.lang {
  background-color: #012d8c;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.0;
  padding: 5px 15px;
  border: 1px solid #0060ff;
  width: 125px;
  text-align: center;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: calc((75 / 750)*100vw);
  height: calc((74 / 750)*100vw);
  cursor: pointer;
  position: relative;
}

.burger img {
  width: calc((75 / 750)*100vw);
  height: calc((74 / 750)*100vw);
}

.burger span {
  background: white;
  height: 3px;
  border-radius: 2px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  /* gap: 20px; */
  position: relative;
  /* background-color: #00238a; */
  height: auto;
}

.nav-menu a {
  color: #000;
  text-decoration: none;
  padding: 0 25px;
  position: relative;
  text-align: center;
  font-size: 18px;
  display: flex;
  align-items: center;
}

/* ==========================================
   メインコンテンツパーツ・グリッド・ボタン
   ========================================== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.image-item {
  text-align: center;
}

.image-item picture,
.image-item img {
  width: 100%;
  height: auto;
  display: block;
}

.main-banner {
  padding: 80px 0 0 0;
}

.main-banner .inner {
  text-align: center;
}

.main-banner .inner a {
  display: inline-block;
  text-decoration: none;
}

.main-banner .inner a figure {
  margin: 0;
}

.main-banner .inner a figcaption {
  font-size: 15px;
  color: #024287;
  padding: 0;
}

.labo-2lm {
  display: flex;
  justify-content: space-between;
}

.labo-2lm .left {
  padding-right: 30px;
}

.labo-2lm .right {
  flex: 0 0 27%;
  text-align: right;
}

p.scholar-name {
  text-align: center;
  font-size: 26px;
  line-height: 1.7;
}

p.scholar-name small{
  line-height: 1.4;
  font-size: 20px;
  display: inline-block;
}

.image-box {
  display: inline-block;
  margin: 0;
  text-align: center;
}

.image-box img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.image-box figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #666666;
}

.act-button-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0;
}

.act-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px 6px;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  background: linear-gradient(to bottom, #618ff3, #03297c);
  border: 1px solid #012d8c;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  flex-wrap: wrap;
  line-height: 1.6;
}

.act-btn.pt08 {
  padding: 8px 20px 6px;
}

.act-btn.pt04 {
  padding: 8px 20px 6px;
}

.act-btn small{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.2;
  width: 100%;
}

.act-btn.pt04 small,
.act-btn.pt08 small{
  height: 33px;
}

.act-btn.current,
.act-btn:hover {
  background: linear-gradient(to bottom, #fea3a3, #b60613);
  border: 1px solid #89010a;
  transform: translateY(-2px);
}

.labo-1lm-img {
  text-align: center;
  margin-bottom: 15px;
}

/* カスタムラベル */
.custom-label {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #1a237e;
  background-color: #ffffff;
  line-height: 1;
}

.custom-label__number-box {
  background-color: #1a237e;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.custom-label__number-circle {
  width: 20px;
  height: 20px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: bold;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  line-height: 0;
}

.custom-label__text {
  color: #1a237e;
  font-size: 18px;
  padding: 0 25px;
  letter-spacing: 0.05em;
}

.underline-label {
  display: inline-block;
  color: #2b3a8c;
  border-bottom: 1px solid #2b3a8c;
  font-size: 18px;
  font-weight: normal;
  padding-bottom: 0px;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: 4px;
}

.underline-label__number {
  margin-right: 6px;
}

/* ==========================================
   メディアクエリ (レスポンシブ対応)
   ========================================== */

/* PC表示（768px以上） */
@media (min-width: 768px) {


  .nav-menu {
    height: 38px;
    display: flex !important;
  }

  .nav-menu a:not(:first-child)::before {
    /* 必要に応じて解除してください */
  }

  .pc-none {
    display: none !important;
  }

  .align-right-img {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .clearfix::after {
    content: "";
    display: block;
    clear: both;
  }
}

/* 画面幅 1400px 以下 */
@media (max-width: 1400px) {
  .logo {
    font-size: calc((48 / 1400)*100vw);
  }

  .sns img {
    width: calc((34 / 1400)*100vw);
  }

  .sns .lang {
    font-size: calc((18 / 1400)*100vw);
    padding: calc((5 / 1400)*100vw) calc((15 / 1400)*100vw);
  }

  .nav-menu a {
    padding: 0 calc((25 / 1400)*100vw);
    font-size: calc((18 / 1400)*100vw);
  }

  .sub-title {
    margin: calc((40 / 1400)*100vw) auto;
    padding: calc((6 / 1400)*100vw) 0;
  }

  .main-banner .inner a {
    width: calc((338 / 1400)*100vw);
  }

  .main-banner .inner a figcaption {
    font-size: calc((18 / 1400)*100vw);
  }

  .main-contents {
    padding: 0 50px;
  }

  .main-image {
    height: calc((260 / 1400)*100vw);
  }

  .section-title {
    margin: calc((40 / 1400)*100vw) auto;
    padding: calc((6 / 1400)*100vw) 0;
    font-size: calc((26 / 1400)*100vw);
  }

  .main-image-back {
    padding: 0 0 calc((43 / 1400)*100vw) calc((170 / 1400)*100vw);
  }

  .main-image-back span {
    font-size: calc((28 / 1400)*100vw);
  }
}

/* 画面幅 1100px 以下 */
@media screen and (max-width: 1100px) {
  .main-image-back {
    padding: 0 0 calc((28 / 1100)*100vw) calc((120 / 1100)*100vw);
  }
}


.act-title{
  text-align: center;
  color: #00306b;
  font-size: 26px;
  font-weight: bold;
  padding: 50px 0 0 0;
}

/* スマホ表示（768px以下） */
@media (max-width: 768px) {

.act-title{
  font-size: 22px;
  padding: 30px 0 0 0;
}

  header {
    height: calc((100 / 750)*100vw);
  }

  header .inner {
    padding: 8px 0 0;
    display: flex;
    justify-content: space-between;
    background-image: url("/wp-content/themes/jstar/images/header/br-header_sp_bk.png");
  }

  .logo {
    font-size: calc((60 / 750)*100vw);
    text-align: center;
    width: 100%;
  }

  .sns-pc img {
    width: calc((52 / 750)*100vw);
  }

  .sns-pc {
    padding: 10px 20px 0 0;
  }

  .sns-pc .lang {
    font-size: calc((20 / 750)*100vw);
    padding: calc((8 / 750)*100vw) calc((20 / 750)*100vw);
  }

  .burger #burger-open {
    display: inline;
  }

  .burger #burger-close {
    display: none;
  }

  .burger.open #burger-open {
    display: none;
  }

  .burger.open #burger-close {
    display: inline;
  }

  .burger {
    display: flex;
    position: absolute;
    top: calc((15 / 750)*100vw);
    right: calc((40 / 750)*100vw);
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc((100 / 750)*100vw);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu a {
    color: #000;
    display: block;
    width: calc((670 / 750)*100vw);
    padding: 15px;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #000;
    margin: 0 auto;
    font-size: calc((36 / 750)*100vw);
    box-sizing: border-box;
  }

  .nav-menu a:last-child {
    border: none;
  }

  main {
    padding: 0 0 calc((80 / 750)*100vw);
  }

  .main-image {
    height: calc((330 / 750)*100vw);
  }

  .section-title {
    margin: calc((40 / 750)*100vw) auto;
    padding: 1vw 0;
    font-size: 22px;
  }

  .image-grid {
    gap: calc((50 / 750)*100vw) 0;
    grid-template-columns: 1fr;
  }

  .image-item a {
    display: inline-block;
  }

  .image-item picture,
  .image-item img {
    width: calc((540 / 750)*100vw);
  }

  .main-banner {
    padding: calc((200 / 750)*100vw) 0 0 0;
  }

  .main-banner .inner a {
    width: auto;
  }

  .main-banner .inner a figure img {
    width: calc((540 / 750) * 100vw);
  }

  .main-banner .inner a figcaption {
    font-size: calc((30 / 750)*100vw);
  }

  footer {
    font-size: calc((22 / 750)*100vw);
  }

  .sp-none {
    display: none !important;
  }

  .main-contents {
    padding: 0 calc((40 / 750)*100vw);
  }

  .main-image-back {
    background-image: url("../images/br/br-activity-report/br-activity-report-header_sp.png");
    padding: 0 0 calc((60 / 750)*100vw) calc((40 / 750)*100vw);
  }

  .main-image-back span {
    font-size: calc((40 / 750)*100vw);
  }

  .labo-2lm {
    display: flex;
    flex-wrap: wrap;
  }

  .labo-2lm .right {
    text-align: center;
    order:1;
    width: 100%;
    flex: 0 0 60%;
    margin:0 auto;
  }

  .labo-2lm .left {
    padding-right: 0;
    order:2;
  }

  .image-box{
    margin-bottom: 30px;
  }

  .act-button-container {
    grid-template-columns: 1fr;
  }

  p.scholar-name {
    line-height: 1.4;
  }

.act-btn small{
  font-size: 12px;
}

.act-btn.pt04 small{
    height: auto;
}

.sp-center{
  text-align: center;
}

.sp-center p{
  text-align: left;
}

}

