@charset "utf-8";

.mt30{margin-top: 30px;}	

 main:before{
	background: none;
}
	
/*.container{
	max-width: 1400px!important;
	padding-top: 15px!important;
}*/
	
.shidouya-kv{
	/*background: url(/material/img/shidousya/shidousya_kv-bg.png) no-repeat top center;
    background-size: cover;
    height: 403px;
    margin-top: 10px;
    */
  background: url(/shidousya/img/slider_jikkyo_digital_contents_introduction_pc.jpg) no-repeat top center;
  background-size: auto;
  background-size: auto;
  background-size: contain;
  height: 403px;
  margin-top: 10px;
}
	
.shidousya-ttl{
	width: 1150px;
	height: 100%;
	display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直方向の中央寄せ */
	text-align: center;
}

.shidousya-ttl h1{
	font-size: 50px !important;
}
	
.shidousya-ttl .ttl-read{
	font-size: 30px;
    line-height: 1.2em;
    margin-top: 15px;
    letter-spacing: 1px;
}
	
.ancor-area {
  display: flex; /* 横並びにする */
  justify-content: center;
  gap: 20px; /* ボタン間の間隔 */
  margin-top: 30px;
}

.ancor-area a {
  background-color: #FFEDAE; /* 背景色 */
  border: 3px solid #333; /* 境界線の設定 */
  border-radius: 100px; /* 角丸の設定 */
  color: #333; /* テキスト色 */
  font-weight: bold; /* テキストを太字に */
  text-decoration: none; /* 下線を消す */
  padding: 10px 60px; /* 内側の余白を上下10px、左右20pxに設定 */
  display: flex; /* テキストの位置を中央寄せに */
  align-items: center; /* 垂直方向の中央寄せ */
  justify-content: center; /* 水平方向の中央寄せ */
  flex-direction: column; /* 子要素を縦に並べる */
  position: relative; /* 矢印のための相対位置 */
  transition: background-color 0.3s;
}
	
.ancor-area a:hover{
  background-color: #fff;
  color: #fff;	
}

/* 数学のローカルナビゲーション追加設定 20250425
/shidousya/sugaku/ */
.ancor-area a.btn-q-bank{
background-color: #aee7ff;
background-color: #2871b7;
color: #fff;
}
.ancor-area a.btn-q-bank::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-left:3px solid #fff;
  border-bottom:3px solid #fff;
  transform: rotate(-130deg);
}

.ancor-area a.btn-q-bank:hover {
  background-color: #333;
  color: #fff;
}
.ancor-area a p{font-size: 16px;}



/* 最後のアンカーには余白を追加しない */
.ancor-area a:last-child {
  margin-right: 0;
}

.ancor-area a p {
  margin: 0; /* <p>タグの余白を取り除く */
  text-align: center; /* テキストを中央寄せに */
  line-height: 1.2em;
}

/* ボタンの右側に矢印アイコンを追加 */
.ancor-area a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-left: 3px solid #333;
  border-bottom: 3px solid #333;
  transform: rotate(-45deg);
  position: absolute;
  right: 20px; /* 右端からの距離 */
}

/* ホバー時のボーダー色の変更 */
.ancor-area a:hover::after {
  border-left: 3px solid #fff; /* ホバー時のボーダー色 */
  border-bottom: 3px solid #fff; /* ホバー時のボーダー色 */
}
	
main section h2.shidousy-h2{
  position: static;
  margin-top: 40px;
  margin-bottom: 0px;
  font-size: 24px;
  letter-spacing: 1px;
  font-weight: bold;
  text-align: left;
  padding: 10px 15px;
  background-color: #D5DBEF;
  line-height: normal;
}
	
main section h3.shidousy-h3{
  font-weight: bold;
  font-size: 20px;
  margin: 20px 0 0 0;
}
	
.anchor-block{
  margin-top: 20px;	
}

.s-tags-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
  margin-top: 10px;
  margin-left: 20px;
}

.s-tags {
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
    border: solid 2px #333;
    padding: 5px 15px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    background-color: #FFEDAE;
    transition: background-color 0.3s;
    font-weight: bold;
    text-align: center;
    font-size: 16px !important;
    line-height: normal;
}

.s-tags:hover {
  text-decoration-line: none;
  color: #fff;
  background-color: #333;
}
	
.document-block{
  margin-top: 30px;
}
	
.document-block .download-link{
    display: inline-flex; /* flexからinline-flexへ変更 */
    align-items: center;
    justify-content: center; /* 中央揃えはそのままに */
    gap: 10px;
    border-radius: 5px;
    border: solid 2px #195EC7;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
    color: #195EC7;
    background-color: #fff;
    transition: background-color 0.3s;
    font-weight: bold;
    text-align: left;
    font-size: 16px !important;
    line-height: normal;
	margin-top: 20px;
    margin-left: 20px;	
}

.document-block .download-link.powerpoint::after {
  content: '';
  display: inline-block;
  width: 121px;
  height: 30px;
  background: url(/material/img/shidousya/icon-powerpoint.svg) no-repeat top center;
}	
	
.document-block .download-link.word::after {
  content: '';
  display: inline-block;
  width: 70px;
  height: 30px;
  background: url(/material/img/shidousya/icon-word.svg) no-repeat top center;
}

.document-block .download-link.excel::after {
  content: '';
  display: inline-block;
  width: 70px;
  height: 30px;
  background: url(/material/img/shidousya/icon-excel.svg) no-repeat top center;
}
	
.document-block .download-link.pdf::after {
  content: '';
  display: inline-block;
  width: 59px;
  height: 30px;
  background: url(/material/img/shidousya/icon-pdf.svg) no-repeat top center;
}
	
.document-block .download-link.googleforms::after {
  content: '';
  display: inline-block;
  width: 140px;
  height: 30px;
  background: url(/material/img/shidousya/icon-googleforms.svg) no-repeat top center;
}

.document-block .download-link.microsoftform::after {
  content: '';
  display: inline-block;
  width: 209px;
  height: 30px;
  background: url(/material/img/shidousya/icon-microsoftforms.svg) no-repeat top center;
}
	
.document-block .download-link.googleslides::after {
  content: '';
  display: inline-block;
  width: 140px;
  height: 30px;
  background: url(/material/img/shidousya/icon-googleslides.svg) no-repeat top center;
}
	
.document-block .ttl-box{
  display: flex;
  align-items: center;	
}
	
.document-block .ttl-box img{
  padding: 0px 5px;
  height: 24px;
}
	
.document-box .illustration{
  max-width: 750px;
  margin-top: 30px;
}
	
.document-box .illustration img{
  border: solid 1px #333;
}
	
.document-block .sample-link{
    display: inline-flex; /* flexからinline-flexへ変更 */
    align-items: center;
    justify-content: center; /* 中央揃えはそのままに */
    gap: 10px;
    border-radius: 5px;
    border: solid 2px #195EC7;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
    color: #195EC7;
    background-color: #fff;
    transition: background-color 0.3s;
    font-weight: bold;
    text-align: left;
    font-size: 16px !important;
    line-height: normal;
	margin-top: 20px;
    margin-left: 20px;	
}
span.new {
    padding: 1px 10px 2px;
    background-color: red;
    color: white;
    font-size: 0.8em;
    vertical-align: 2px;

}
	
main section h3.document-h3 {
    font-weight: bold;
    font-size: 20px;
	padding-left: 10px;
    border-left: solid 10px #97AAEE;
	margin-bottom: 0px;
}
	
main section h3.document-h3 span{
    font-size: 16px;
}
	
.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* 他のコンテンツより前面に表示 */
}

/* オーバーレイ内の画像 */
.image-overlay img {
  max-width: 90%; /* 画面の幅に対して少し小さめに */
  max-height: 90%; /* 画面の高さに対して少し小さめに */
}
	
.document-box .annotation{
  color: #C71919;
  font-weight: bold;
  margin-top: 10px;
}
	
.document-block .ipass-block{
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-left: 20px;
}
	
.document-block .ipass-block .sample-link{
  margin-top: 0px;
  margin-left: 0px;	
}
	
.document-block .ipass-block .ipass{
 font-weight: bold;
 margin-left: 30px;
}

	
.document-box span br.sp {
  display: none;
}

@media (max-width: 768px) {
  main{
	background: none;	
  }
	
  section.container{
	padding-top: 20px!important;
}
	/*
  .shidouya-kv{
	background: url(/material/img/shidousya/shidousya_kv-bg-sp.png) no-repeat top center;
    height: 73vw;
    background-size: cover;
}
	
  .shidousya-ttl{
	width: 100%;
	display: block;
	padding: 4%;
	text-align: left;
}

  .shidousya-ttl h1{
	font-size: 2em !important;
}

  .shidousya-ttl .ttl-read{
	font-size: 1.4em;
    line-height: 1.4em;
    margin-top: 10px;
    letter-spacing: 0px;
	font-weight: bold;
}

	*/
	
   .s-tags{
	padding: 3px 10px;	
}
	
	.s-tags-block {
	  margin-left: 0px;
}

	
  .document-block .download-link{
	margin-left: 0px;
	margin-top: 5px;
}
	
  main section h2.shidousy-h2{
	font-size: 18px;	
}
	
  main section h3.shidousy-h3{
	font-size: 16px;	
}
	
  main section h3.document-h3 {
    font-size: 16px;
    line-height: 1.4em;
	margin-bottom: 5px;
}
	
  main section h3.document-h3 span{
    font-size: 14px;
}
	
.document-block .ttl-box{
  display: block;
}
	
.document-block .ttl-box img{
  padding: 0px;
  height: 20px;	
}
	
.document-block .sample-link{
	margin-top: 10px;
	margin-left: 0px;
}
	
  .speech-bubble{
	width: auto;
	font-size: 1em;
    line-height: 1.2em;
	margin-bottom: 30px;
  }
  .s-categories {
    gap: 10px;
  }
  .ancor-area {
    flex-wrap: wrap; /* アイテムがコンテナの幅を超えた場合に折り返し */
    justify-content: space-around; /* アイテム間に均等なスペースを設置 */
	gap: 10px 5px;
    margin-top: 20px;
  }
  
  .ancor-area a {
    padding: 10px; /* スマホサイズでのパディングを調整 */
    width: calc(50% - 5px); /* 2カラムレイアウトを実現するための幅設定。gapの値によって調整が必要かもしれません */
  }
	
  .ancor-area a::after{
	width: 5px;
    height: 5px;
    right: 9px;
  }
	
  .document-box .illustration{
  max-width: 100%;
  margin-top: 20px;
}
	
.document-box .annotation{
  margin-top: 0px;
}
	
.document-block .ipass-block{
  margin-left: 0px;
}
	
  .document-box span br.sp {
    display: block;
  }
	
}

@media (min-width: 769px) {
  .s-categories {
    justify-content: start;
  }
  .s-category {
    flex: 1 1 22%; /* PC表示では1行に最大4つ */
    flex-direction: column; /* PC表示ではアイコンとテキストを縦に並べる */
	width: auto; /* PC表示では幅を自動調整に戻す */
  }
}


/*20260316*/
:root {
  --chiri: #2F9E4E;
  --rekishi: #2F9E4E;
  --koukyo: #2F9E4E;
  --sugaku: #312F9E;
  --kagaku: #2F9E9E;
  --seibutsu: #2F9E9E;
  --butsuri: #2F9E9E;
  --chigaku: #2F9E9E;
  --jyouhou: #4C2F9E;
  --katei: #FA3939;    
  --shogyo: #EF8E1C;          
}

/*共通*/

.ancor-area a {
  color: #fff;
}
.s-tags{
  background-color: #fff;
}
.ancor-area a:after {
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
}


/*教科別
body#chiri .ancor-area a {
  background-color: var(--chiri);
  border-color: var(--chiri);
}
body#chiri .s-tags{
  border: solid 2px var(--chiri);
  color: var(--chiri);
}
body#chiri .ancor-area a:hover{
  color: var(--chiri);
}

body#chiri .ancor-area a:hover::after {
  border-left: 3px solid var(--chiri);
  border-bottom: 3px solid var(--chiri);
}

*/
/* 共通 */
.ancor-area a {
  background-color: var(--subject-color);
  border-color: var(--subject-color);
}

.s-tags {
  border: solid 2px var(--subject-color);
  color: var(--subject-color);
}

.ancor-area a:hover {
  color: var(--subject-color);
}

.ancor-area a:hover::after {
  border-left: 3px solid var(--subject-color);
  border-bottom: 3px solid var(--subject-color);
}
.s-tags:hover{
  background-color:var(--subject-color);
}

/* 教科ごと */
body#chiri { --subject-color: var(--chiri); }
body#rekishi { --subject-color: var(--rekishi); }
body#koukyo { --subject-color: var(--koukyo); }
body#sugaku { --subject-color: var(--sugaku); }
body#kagaku { --subject-color: var(--kagaku); }
body#seibutsu { --subject-color: var(--seibutsu); }
body#butsuri { --subject-color: var(--butsuri); }
body#chigaku { --subject-color: var(--chigaku); }
body#jyouhou { --subject-color: var(--jyouhou); }
body#katei { --subject-color: var(--katei); }
body#shogyo { --subject-color: var(--shogyo); }


/*style.css 再調整用*/
main{
  padding-top: 0;
}
main section h2::before{
  display: none;
}

/*common.cssからの転載*/
.container {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto; }
  @media only screen and (max-width: 1520px) {
    .container {
      padding-left: 3%;
      padding-right: 3%; } }


 @media (max-width: 768px){
.shidouya-kv{
background: url(/shidousya/img/slider_jikkyo_digital_contents_introduction_pc.jpg) no-repeat top center;
    background-size: auto;
  background-size: auto;
  background-size: contain;
  height: auto;
  margin-top: 10px;
  aspect-ratio: 1200/300;
  background-size: cover;
}
}

#breadcrumb{
  font-size: 16px;
}

/*ドロワー*/
header #gnavi .parent_menu{
  
}

@media only screen and (max-width: 62.5rem) {
.nav-list .c-btn01 {
    width: 100%;
    background: #4478ee;
    border-color: #4478ee;
    color: #fff;
  }
}


/*ドロワーメニュー*/

	header #page_title {
  margin-top: 0;
}
header #spMenu {
    display: none;
    position: absolute;
    width: 50px;
    height: 50px;
}

	header #spMenu span::before{
    top: -10px;
}
	 header #spMenu span::after {

}
header #spMenu::before {
    display: none;
}
#gnavi .c-icon.store,#gnavi .c-icon.mortarboard,#gnavi .c-icon.book {
    display: none;
}
#gnavi .link-list-area {
    display: none;
}
@media only screen and (max-width: 1600px) {
	 .shidouya-kv {
    background: url(/shidousya/img/slider_jikkyo_digital_contents_introduction_pc.jpg) no-repeat top center;
    background-size: auto;
    background-size: auto;
    background-size: auto;
    background-size: contain;
    height: auto;
    margin-top: 10px;
    aspect-ratio: 1200/300;
    background-size: cover;
  }
  .ancor-area{
	gap: 10px;
  flex-wrap: wrap;
  }
    .ancor-area a {
    padding: 10px;
    width: calc(50% - 5px);
  }
}
@media only screen and (max-width: 960px) {
	  main {
    background-color: #fff;
  }
	header #spMenu{
		display: block;
	}
   #gnavi  .link-list-area {
        display: block;
        margin-top: 24px;
    }
    header #gnavi .parent_menu li::before {
        display: none;
    }
    header #gnavi .parent_menu {
        background-color: #2753b2;
        width: 100%;
        padding: 24px 16px;
        padding-top: 10vw;
    }
    header #spMenu.open {
        z-index: 10000;
        background-color: #fff;
        position: fixed;
        border: 1px solid #e0e0e0;
    }
    header #gnavi .parent_menu li a {
        display: flex;
        align-items: center;
        width: 100%;
        background: #4478ee;
        border-color: #4478ee;
        color: #fff;
        padding: .8125rem 1rem;
        margin-bottom: 8px;
        border-radius: 5px;
		display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    }
    header #gnavi .parent_menu li.has_child::after {
        display: none;
    }
    header #gnavi .parent_menu li a .c-icon {
        background: #fff;
        display: inline-block !important;
		justify-self: start;
    }
	    header #gnavi .parent_menu li a .inn-txt {
			justify-self: center;
		}
		header #gnavi .parent_menu .link-list li a .inn-txt{
			justify-self: unset;
		}
    a.c-link-btn {
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: .625rem;
        padding-block: .5rem;
    }
}

/*各ページ記述を転載*/
#backToTop {
  display: none; /* 最初は非表示 */
  position: fixed; /* 画面に固定 */
  bottom: 20px; /* 下から20pxの位置 */
  right: 20px; /* 右から20pxの位置 */
  background-color: #333; /* 背景色 */
  color: #fff; /* テキスト色 */
  border: none; /* ボーダーなし */
  padding: 10px; /* パディング */
  cursor: pointer; /* カーソルをポインタに */
  border-radius: 5px; /* 角丸 */
  font-size: 16px; /* フォントサイズ */
  display: flex; /* Flexbox を使う */
  align-items: center; /* 中央揃え */
  justify-content: center; /* 中央揃え */
  flex-direction: column; /* 子要素を縦に並べる */
  z-index: 999;
}

#backToTop::before {
  content: '';
  border: solid #fff;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(-135deg);
  margin-bottom: 5px;
}

