/* ==========著者プロフィール（税理士NAKAGAKIマスターアカデミー / 中垣健）========================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@600;700&display=swap');

.nk-author-box {
  position: relative;
  max-width: 900px;
  margin: 40px auto 24px;
  padding: 0;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e6e9ee;
  border-radius: 18px;
  overflow: hidden;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #2b3648;
  box-shadow: 0 6px 20px rgba(10, 61, 151, 0.07);
}

/* 上部の講師タグバー */
.nk-author-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
//  padding: 15px 26px;
  padding: 10px 23px;
  background: #0a3d97;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.nk-author-eyebrow::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.nk-author-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 30px 30px 28px;
}

.nk-author-photo {
  flex-shrink: 0;
  width: 200px;
}

.nk-author-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  border-radius: 50%;
  border: 3px solid #eef2fa;
}

.nk-author-body {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.nk-author-office {
  font-size: 13.5px;
  color: #7c8798;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.nk-author-name-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.nk-author-name {
  font-family: "Noto Serif JP", serif;
  font-size: 24.5px;
  font-weight: 700;
  color: #0a3d97;
  letter-spacing: 0.02em;
}

.nk-author-kana {
  font-size: 13px;
  color: #9aa4b3;
}

.nk-author-titles {
  font-size: 14px;
  font-weight: 700;
  color: #5b7bb8;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.nk-author-titles::before {
  content: "｜";
  color: #a9bde3;
  margin-right: 2px;
}

.nk-author-bio {
  /* font-size: 14.5px; */
  font-size: 15px;
  line-height: 1.95;
  color: #3a4459;
  margin: 0 0 20px;
  text-align: justify;
}

/* SNSアイコン列（控えめなトーン） */
.nk-author-social {
  display: flex;
  gap: 12px;
}

.nk-author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2f8;
  color: #55677f;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nk-author-social a svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .nk-author-social a:hover {
    background: #0a3d97;
    color: #ffffff;
  }
}

.nk-author-social a:active {
  background: #0a3d97;
  color: #ffffff;
}

/* ==========スマホ対応========================== */
@media screen and (max-width: 640px) {
  .nk-author-box {
    border-radius: 14px;
  }

  .nk-author-eyebrow {
    padding: 13px 20px;
    font-size: 12.5px;
  }

  .nk-author-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px 26px;
  }

  .nk-author-photo {
    width: 180px;
  }

  .nk-author-photo img {
    width: 180px;
    height: 180px;
  }

  .nk-author-body {
    width: 100%;
    padding-top: 14px;
  }

  .nk-author-office {
    text-align: center;
  }

  .nk-author-name-row {
    justify-content: center;
  }

  .nk-author-name {
    font-size: 21px;
  }

  .nk-author-titles {
    text-align: center;
  }

  .nk-author-bio {
    text-align: left;
    font-size: 14px;
  }

  .nk-author-social {
    justify-content: center;
  }
  .nk-author-social a {
    width: 50px;      /* スマホ用の丸背景サイズ */
    height: 50px;
  }

  .nk-author-social a svg {
    width: 30px;      /* スマホ用のアイコンサイズ */
    height: 30px;
  }
}





/*黄色下線、数値が低いほど太くなる*/
    .under1 {
      background: linear-gradient(transparent  50%, #ffff00  50%);
    }
/*-------------------右下に動画固定（動画）-----------------------------------*/
.douga { 
//	width: 320px;
//	height: 180px;
position: fixed;
bottom: 310px;
right: -4.5px;
z-index: 999;		/フッターの下に隠れないように最前面へ表示*/
}



/* ==========右にvoice固定================================== */
.voice { 
position: fixed;
bottom: 100px;
right: 0px;
//z-index: 999;
z-index: 1;
}
/* ==========右にsiryo固定================================== */
.siryo{ 
position: fixed;
bottom: 0px;
right: 0px;
//z-index: 999;
z-index: 1;
}
