@charset "utf-8";
 main:before{
	background: none;
}
/*
.shidouya-kv{
	background: url(/material/img/shidousya/shidousya_kv-bg.png) no-repeat top center;
    background-size: cover;
    height: 403px;
    margin-top: 10px;	
}
*/
.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: auto;
  background-size: contain;
  height: 403px;
  margin-top: 10px;
}
#breadcrumb {
  max-width: 1400px;
  margin: 20px auto 15px auto; }
  @media only screen and (max-width: 960px) {
    #breadcrumb {
      padding-left: 10px;
      padding-right: 10px;
      margin-top: 10px;
      margin-bottom: 10px; } }
  #breadcrumb li {
    display: inline-block; }
    @media only screen and (max-width: 960px) {
      #breadcrumb li {
        font-size: 12px; } }
    #breadcrumb li a {
      color: #000;
      text-decoration: underline;
      display: block;
      padding-right: 20px;
      margin-right: 15px;
      position: relative; }
      @media only screen and (max-width: 960px) {
        #breadcrumb li a {
          padding-right: 10px;
          margin-right: 5px; } }
      #breadcrumb li a:before {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        border-right: 1px #000 solid;
        border-bottom: 1px #000 solid;
        transform: rotate(-45deg);
        position: absolute;
        right: 0;
        top: 6px; }
        @media only screen and (max-width: 960px) {
          #breadcrumb li a:before {
            width: 6px;
            height: 6px;
            top: 8px; } }



.shidousya-ttl{
	width: 1150px;
	height: 100%;
	margin: 0 auto;
	display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直方向の中央寄せ */
}

.shidousya-ttl h1{
	font-size: 50px !important;
}
	
.shidousya-ttl .ttl-read{
	font-size: 22px;
    line-height: 1.2em;
    margin-top: 15px;
    letter-spacing: 1px;
}

.speech-bubble{
    position:relative;
    width:600px;
    background:#FFEDAE;
    padding:20px;
    text-align:center;
    border:3px solid #333333;
    color:#333333;
    font-size:24px;
    font-weight:bold;
	margin: 0 auto;
	margin-bottom: 60px;
    border-radius:100px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
}
.speech-bubble:after,.speech-bubble:before{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    top:100%;
    left:50%;
}
.speech-bubble:after{
    border-color: rgba(255, 237, 174, 0);
    border-top-width:10px;
    border-bottom-width:10px;
    border-left-width:10px;
    border-right-width:10px;
    margin-left: -10px;
    border-top-color:#FFEDAE;
}
.speech-bubble:before{
    border-color: rgba(51, 51, 51, 0);
    border-top-width:13px;
    border-bottom-width:13px;
    border-left-width:13px;
    border-right-width:13px;
    margin-left: -13px;
    margin-top: 3px;
    border-top-color:#333333;
}


.s-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1150px;
  margin: 0 auto;
}

.s-category {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  border: solid 2px #333;
  padding: 10px;
  flex: 1 1 48%; /* デフォルトではスマートフォン表示に最適化 */
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  transition: background-color 0.3s;
  min-height: 150px; /* ブロックの最小高さを指定して高さを統一 */
  width: calc(50% - 10px); /* スマートフォン表示で2カラムレイアウトに */
  font-weight: bold;
  text-align: center;
}

.s-category:hover {
  text-decoration-line: none;
  color: #fff;
}
	
.s-category br.s-sp {
  display: none;
}
	
.s-category.s-green{
  color: #2F9E4E;
  border-color: #2F9E4E;
}
	
.s-category.s-green:hover{
  background-color: #2F9E4E;
  color: #fff;
}
	
.s-category.s-blue{
  color: #312F9E;
  border-color: #312F9E;
}
	
.s-category.s-blue:hover{
  background-color: #312F9E;
  color: #fff;
}
	
.s-category.s-sky{
  color: #2F9E9E;
  border-color: #2F9E9E;
}
	
.s-category.s-sky:hover{
  background-color: #2F9E9E;
  color: #fff;
}
	
.s-category.s-ppl{
  color: #4C2F9E;
  border-color: #4C2F9E;
}
	
.s-category.s-ppl:hover{
  background-color: #4C2F9E;
  color: #fff;
}
	
.s-category.s-red{
  color: #FA3939;
  border-color: #FA3939;
}
	
.s-category.s-red:hover{
  background-color: #FA3939;
  color: #fff;
}
	
.s-category.s-yellow{
  color: #EF8E1C;
  border-color: #EF8E1C;
}
	
.s-category.s-yellow:hover{
  background-color: #EF8E1C;
  color: #fff;
}

.s-category img {
  width: 50px; /* アイコンサイズを調整 */
  height: 50px;
}
	
.s-category.empty {
  visibility: hidden;
}

@media (max-width: 768px) {
  main{
	background: none;	
  }
	
  section.container{
	padding-top: 20px!important;
}
	/*20260319コメントアウト
 #page_title .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%;
}

.shidousya-ttl h1{
	font-size: 2em !important;
}
	
.shidousya-ttl .ttl-read{
	font-size: 1em;
    line-height: 1.4em;
    margin-top: 10px;
    letter-spacing: 0px;
}
	*/
  .speech-bubble{
	width: auto;
	font-size: 1em;
    line-height: 1.2em;
	margin-bottom: 30px;
  }
  .s-categories {
    gap: 10px;
  }
  .s-category {
    flex-direction: row; /* スマートフォン表示では左右に並べる */
	line-height: 1.2em;
	justify-content: left;
	padding: 5px;
	min-height: 67px;
	text-align: left;
  }
  .s-category img {
    width: 40px;
    height: 40px;
  }
  .s-category br.s-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表示では幅を自動調整に戻す */
  }
}




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

	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;
}

