@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

/*新規デザイン用*/
.c-history{display:none!important}.c-share__link a{border-top:6px solid #0a4fee;padding-top:20px}.scbtn{font-size:16px;line-height:18px;position:fixed;font-weight:700;top:150px;right:0;color:#fff;background-color:#ff9b02;border:3px solid #000;border-right:none;color:#fff;padding:10px;display:flex;z-index:520;border-radius:20px 0 0 20px;width:36px;height:136px;align-items:center;justify-content:flex-start;writing-mode:vertical-rl;letter-spacing:2px;}.scbtn02{font-size:16px;line-height:18px;position:fixed;font-weight:700;top:296px;right:0;color:#fff;background-color:#ff9b02;border:3px solid #000;border-right:none;color:#fff;padding:10px;display:flex;z-index:520;border-radius:20px 0 0 20px;width:36px;height:118px;align-items:center;justify-content:flex-start;writing-mode:vertical-rl;letter-spacing:2px;}.scbtn,.scbtn02{opacity: 0;visibility: hidden;transform: translateY(50px);transition: opacity 1s, visibility 1s, transform 1s;}.pagetop.show a {opacity: 1;visibility: visible;transform: translateY(0px);}
/**/

.lb-data .lb-caption {
    font-size: 16px !important;
    line-height: 1.4em !important;
}

.wrap_slider {
  width: 100%;
  height: 100%;
}

.wrap_slider img {
  width: 100%;
  object-fit: cover;
} 
.main-img .slick-dots,.main-img .slick-arrow{display:none !important;}

.slider{pointer-events:none !important;}

[aria-hidden=true] {visibility: visible !important;}

/* dots */
  .slick-dots {
  position: absolute;
  bottom: 14px;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}
.slick-dots li button:before {
  font-family: 'slick';
  font-size: 24px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: '•';
  text-align: center;
  opacity: 1;
  color: #737373;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #4592d0;
}
.slick-arrow {
  display: block;
  position: absolute;
  /*top: 0;*/
  top:36px;
  bottom: 0;
  margin: auto;
  padding: 0;
  width: 20px;
  height: 38px;
  color: transparent;
  z-index: 1;
  transition: opacity 0.5s;
  pointer-events:auto;
}
.slick-arrow:hover {
  opacity: 0.7;
}
.slick-next::before, .slick-next::after, .slick-prev::before, .slick-prev::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  opacity: 1;
}
.slick-next::after, .slick-prev::after {
  width: 18px;
  height: 18px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
} /* next */ .slick-next {
  right: 26px;
}
.slick-next::after {
  right: 4px;
  transform: rotate(45deg);
} /* prev */ .slick-prev {
  left: 26px;
}
.slick-prev::after {
  left: 4px;
  transform: rotate(-135deg);
}
@media screen and (max-width: 767px) {
  .slick-next::after, .slick-prev::after {
    width: 10px;
    height: 10px;
  }
  .slick-next {
    right: 8px;
  }
  .slick-prev {
    left: 8px;
  }
  .slick-next::after {
    right: 2px;
  }
  .slick-dots li {
    margin: 0;
  }
}
.ld-inner {
  background-color: #fff;
  padding-bottom: 10px;
}
#contents_box h1,
#contents_box h2,
#contents_box h3,
#contents_box h4,
#contents_box p,
#contents_box li,
#contents_box ol,
#contents_box ul {
  margin: 0;
  padding: 0;
}
#contents_box h1,
#contents_box h2,
#contents_box h4,
#contents_box li,
#contents_box ol,
#contents_box ul {
  font-weight: normal;
  font-style: normal !important;
  font-family: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
}
#contents_box em {
  font-style: normal !important;
}
#contents_box li,
#contents_box ol,
#contents_box ul {
  list-style: none;
}
#contents_box img {
  width: auto;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: inline;
}
img {
  image-rendering: -webkit-optimize-contrast;
}
.max-w780 {
  max-width: 780px;
  margin-left: auto!important;
  margin-right: auto!important;
}
.max-w800 {
  max-width: 800px;
  margin-left: auto!important;
  margin-right: auto!important;
}
.max-w880 {
  max-width: 880px;
  margin-left: auto!important;
  margin-right: auto!important;
}
.max-w980 {
  max-width: 980px;
  margin-left: auto!important;
  margin-right: auto!important;
}
.max-w1120 {
  max-width: 1120px;
  margin-left: auto!important;
  margin-right: auto!important;
}
.max-w1360 {
  max-width: 1360px;
  margin-left: auto!important;
  margin-right: auto!important;
}
.mt5 {
  margin-top: 5px !important;
}
.mt10 {
  margin-top: 10px !important;
}
.mt16 {
  margin-top: 16px !important;
}
.mt20 {
  margin-top: 20px !important;
}
.mt30 {
  margin-top: 30px !important;
}
.mt40 {
  margin-top: 40px !important;
}
.mt50 {
  margin-top: 50px !important;
}
.mt60 {
  margin-top: 60px !important;
}
.mt80 {
  margin-top: 80px !important;
}
.mt100 {
  margin-top: 100px !important;
}
.mt0 {
  margin-top: 0px !important;
}
@media screen and (max-width: 750px) {
  .mt5 {
    margin-top: 4px !important;
  }
  .mt10 {
    margin-top: 8px !important;
  }
  .mt16 {
    margin-top: 12px !important;
  }
  .mt20 {
    margin-top: 15px !important;
  }
  .mt30 {
    margin-top: 20px !important;
  }
  .mt40 {
    margin-top: 30px !important;
  }
  .mt50 {
    margin-top: 40px !important;
  }
  .mt60 {
    margin-top: 50px !important;
  }
  .mt80 {
    margin-top: 60px !important;
  }
  .mt100 {
    margin-top: 80px !important;
  }
}
@media screen and (max-width: 480px) {
  .mt5 {
    margin-top: 3px !important;
  }
  .mt10 {
    margin-top: 5px !important;
  }
  .mt16 {
    margin-top: 8px !important;
  }
  .mt20 {
    margin-top: 10px !important;
  }
  .mt30 {
    margin-top: 15px !important;
  }
  .mt40 {
    margin-top: 20px !important;
  }
  .mt50 {
    margin-top: 30px !important;
  }
  .mt60 {
    margin-top: 40px !important;
  }
  .mt80 {
    margin-top: 50px !important;
  }
  .mt100 {
    margin-top: 60px !important;
  }
}

.txt_c {
  text-align: center;
}
.txt_l {
  text-align: left;
}
.txt_r {
  text-align: right;
}
.txt_b {
  font-weight: bold!important;
}

#contents_box {
  width: 100%;
  color: #000;
  line-height: 1.5 !important;
}

#contents_box > * {
  font-family: 'Noto Sans JP', "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif !important;
}
/* .min */
.min {
  font-family: "游明朝", "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif" !important;
  font-weight: bold;
}
/*******************************************/
.hiragino {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
}
/* panel width用 */
.ld-inner:not(.cd-breadcrumbs__item){max-width:100%;width:100%;}
/* ----------- */
#contents_box {
  width: 100%;
  font-family: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
  font-weight: normal !important;
  color: #000 !important;
  letter-spacing: 0;
  font-size: 16px;
}
#contents_box .contents {
  width: 100%;
  margin: 0 auto;
  letter-spacing: 1px;
}
@media screen and (max-width: 750px) {
  #contents_box .contents {
    max-width: 100%;
    padding: 0 0;
  }
}
@media screen and (max-width: 480px) {
  #contents_box {
    font-size: 14px;
  }
#contents_box .contents {
    max-width: 90%;
}
}
@media screen and (max-width: 380px) {
  #contents_box {
    font-size: 12px;
  }
} /* .main-img */ .main-img {
  max-width: 1120px;
  margin: 0 auto 60px;
}
@media screen and (max-width:768px) {
  .main-img {
    margin: 0 auto 40px;
  }
}
@media screen and (max-width:480px) {
  .main-img {
    margin: 0 auto 30px;
  }
}

div#n2-ss-127 .n2-ss-slide .n2-ss-slide-background img {
  margin-left: 0 !important;
  height: auto !important;
}

/* .readtext */
.readtext {
  max-width: 980px;
  margin: 0 auto 40px !important;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 2.0;
}
@media screen and (max-width: 750px) {
  .readtext {
    max-width: 100%;
    padding: 0 0;
    font-size: 16px;
  }
}
@media screen and (max-width: 480px) {
  .readtext {
    line-height: 1.8;
    margin: 0 auto 30px !important;
    font-size: 14px;
    width:90%;
  }
}
@media screen and (max-width: 380px) {
  .readtext {
    font-size: 14px;
  }
}

/* ------------------------- .slider ------------------------- */
.slider-wrap {
  position: relative;
}

.slider-wrap__img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/* ------------------------- .section 共通 ------------------------- */
#contents_box .section:last-child {
  margin-bottom: 100px;
}
#contents_box .section {
  box-sizing: border-box;
  width: 100%;
  margin: 100px auto 0;
  line-height: 1.3;
}

#contents_box .section__text {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
  #contents_box .section {
    margin: 80px auto 0;
  }
  #contents_box .section:last-child {
    margin-bottom: 80px;
  }

  #contents_box .section__text {
    font-size: 15px;
  }
}

@media screen and (max-width: 480px) {
  #contents_box .section {
    margin: 40px auto 0;
  }
  #contents_box .section:last-child {
    margin-bottom: 60px;
  }

  #contents_box .section__text {
    font-size: 14px;
	line-height: 1.8;
  }
}


/* =========================================================
   国学院久我山 記事ページ 専用スタイル
   ========================================================= */

/* ------------------------- .kg-leadtitle (メインビジュアル直下の題字) ------------------------- */
/* 今回のメインビジュアルはタイトル文字が画像に合成済みのため、テキストとしては使用しない。
   将来的にテキストで置き出す場合に備えて要素とスタイルのみ用意 */
.kg-leadtitle {
  display: none;
}

/* ------------------------- .kg-gradetitle (学年 + セクション大見出し) ------------------------- */
.kg-gradetitle {
  text-align: center;
}
.kg-gradetitle__icon {
  width: 28px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.kg-gradetitle__grade {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #333;
  margin-top: 8px !important;
  display: block;
}
/* 学年ラベル下の2本線（左右に互い違いにオフセット） */
.kg-gradetitle__grade::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 400px;
  height: 8px;
  margin: 10px auto 0;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 82% 1px, 82% 1px;
  background-position: left top, right bottom;
}
.kg-gradetitle--pink .kg-gradetitle__grade::after {
  color: #d99b9e;
}
.kg-gradetitle--green .kg-gradetitle__grade::after {
  color: #7fbfae;
}
.kg-gradetitle--blue .kg-gradetitle__grade::after {
  color: #7f97c3;
}
.kg-gradetitle__title {
  font-size: 46px;
  font-weight: bold;
  line-height: 1.2;
  margin-top: 12px !important;
}
.kg-gradetitle--pink .kg-gradetitle__title { color: #da7377; }
.kg-gradetitle--green .kg-gradetitle__title { color: #4ea48e; }
.kg-gradetitle--blue .kg-gradetitle__title { color: #45547e; }

.kg-gradetitle__lead {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 4px !important;
  display: block;
}
.kg-gradetitle--green .kg-gradetitle__lead { color: #4ea48e; }
.kg-gradetitle--blue .kg-gradetitle__lead { color: #45547e; }

@media screen and (max-width: 768px) {
  .kg-gradetitle__title {
    font-size: 26px;
  }
  .kg-gradetitle__lead {
    font-size: 15px;
  }
}
@media screen and (max-width: 480px) {
  .kg-gradetitle__title {
    font-size: 22px;
  }
  .kg-gradetitle__lead {
    font-size: 13px;
  }
}

/* ------------------------- .kg-heading (本文中の中見出し) ------------------------- */
.kg-heading {
  font-size: 38px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
.kg-heading--pink { color: #da7377; }
.kg-heading--green { color: #4ea48e; }
.kg-heading--blue { color: #45547e; }

@media screen and (max-width: 768px) {
  .kg-heading {
    font-size: 26px;
  }
}
@media screen and (max-width: 480px) {
  .kg-heading {
    font-size: 21px;
  }
}

/* ------------------------- .kg-note (脚注ボックス ＜＊1＞＜＊2＞) ------------------------- */
.kg-note {
  position: relative;
  background: #fdf3f4;
  border-radius: 4px;
  padding: 28px 36px;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
  letter-spacing:0.1em;
}
/* 右下の花装飾（支給画像 kokugakuin-bg01.webp を使用） */
#contents_box .kg-note__flower {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 90px;
  max-width: 90px;
  height: auto;
  pointer-events: none;
}
.kg-note__caption-imgs {
  display: flex;
  gap: 16px;
  margin-top: 20px !important;
}
.kg-note__caption-imgs li {
  flex: 1;
  position: relative;
}
#contents_box .kg-note__caption-imgs img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
}

@media screen and (max-width: 480px) {
  .kg-note {
    padding: 20px 20px;
    font-size: 12.5px;
  }
  .kg-note__caption-imgs {
    /*display: block;*/
  }
  .kg-note__caption-imgs li {
    /*margin-top: 10px !important;*/
	margin-top: 0 !important;
  }
  .kg-note__caption-imgs li:first-child {
    margin-top: 0 !important;
  }
}

/* ------------------------- .kg-teacher (先生インタビュー プロフィール) ------------------------- */
.kg-teacher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.kg-teacher__photowrap {
  position: relative;
  flex: none;
}
.kg-teacher__photo {
  position: relative;
  z-index: 1;
  width: 369px;
  height: 369px;
}
.kg-teacher__info {
  text-align: left;
}
.kg-teacher__tag {
  display: inline-block;
  background: #faf5e1;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  padding: 6px 30px;
}
.kg-teacher__role {
  color: #646464;
  font-weight: bold;
  font-size: 20px;
  margin-top: 14px !important;
  display: block;
}
.kg-teacher__name {
  font-size: 34px;
  font-weight: bold;
  margin-top: 4px !important;
  display: block;
}
.kg-teacher__name em {
  font-size: 24px;
  font-weight: bold;
  margin-left: 4px;
}

@media screen and (max-width: 768px) {
  .kg-teacher__photo {
    width: 200px;
    height: 200px;
  }
}
@media screen and (max-width: 480px) {
  .kg-teacher {
    gap: 18px;
  }
  .kg-teacher__photo {
    width: 130px;
    height: 130px;
  }
  .kg-teacher__tag {
    font-size: 12px;
    padding: 5px 12px;
  }
  .kg-teacher__role {
    font-size: 14px;
    margin-top: 8px !important;
  }
  .kg-teacher__name {
    font-size: 19px;
  }
  .kg-teacher__name em {
    font-size: 12px;
  }
}

/* ------------------------- .kg-voice (生徒の感想文ボックス) ------------------------- */
.kg-voice {
  background-color: #f9f8f4;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.7) 0,
    rgba(255,255,255,0.7) 2px,
    transparent 2px,
    transparent 8px
  );
  border-top: 6px solid #45547e;
  border-bottom: 6px solid #45547e;
  padding: 48px 56px;
}
.kg-voice__tag {
  display: inline-block;
  background: #efe9dd;
  border-radius: 999px;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 6px 20px;
}
.kg-voice__title {
  font-size: 34px;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
  margin-top: 14px !important;
  letter-spacing: 0.05em;
}
.kg-voice__list {
  margin-top: 30px !important;
}
.kg-voice__item {
  display: flex;
  align-items: center;
  gap: 30px;
}
.kg-voice__icon {
  /*width: 52px;*/
  width: 60px;
  height: auto;
  flex: none;
  fill: #b8a787;
  visibility: visible;
  display: block;
}
.kg-voice__icon--flip {
  transform: scaleX(-1);
}
.kg-voice__text {
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
  padding-top: 4px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .kg-voice {
    padding: 36px 32px;
  }
  .kg-voice__title {
    font-size: 22px;
  }
}
@media screen and (max-width: 480px) {
  .kg-voice {
    padding: 28px 20px;
  }
  .kg-voice__tag {
    font-size: 12px;
    padding: 5px 14px;
  }
  .kg-voice__title {
    font-size: 18px;
  }
  .kg-voice__item {
    gap: 20px;
  }
  .kg-voice__icon {
    width: 50px;
  }
  .kg-voice__text {
    font-size: 13px;
	line-height: 1.6;
  }
}

/* ------------------------- .kg-decor (装飾アイコン：花 / インラインSVG) ------------------------- */

.kg-decor {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  display: block;
  visibility: visible;
}
.kg-gradetitle--pink .kg-decor { fill: #ec8d9b; }
.kg-gradetitle--green .kg-decor { fill: #b1dfd3; }
.kg-gradetitle--blue .kg-decor { fill: #41558d; }

