@charset "utf-8";

/* カスタムプロパティ定義 */
:root {
  --color-highschool_home: #FFCF3F;
  --color-highschool_home_sub: #FFC87A;
  --color-calligraphy: #CC9FFF;
  --color-calligraphy_sub: #EF85FF;
  --color-highschool_public: #FEEA3D;
  --color-junior_tech_home: #A2FF92;
}
body.highschool_home {
  --color-main: #FFCF3F;
}
body.highschool_home_sub {
  --color-main: #FFC87A;
}
body.calligraphy {
  --color-main: #CC9FFF;
}
body.calligraphy_sub {
  --color-main: #EF85FF;
}
body.highschool_public {
  --color-main: #FEEA3D;
}
body.junior_tech_home {
  --color-main: #A2FF92;
}

html {
  box-sizing: border-box;
  letter-spacing: 0.05em;
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 10px;
}
body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ",
    Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.5;
  color: #333;
  box-sizing: border-box;
}
img {
}
.main-contents {
  width: 100%;
}
.sp_only{
  display: none;
}
.pc_only {
  display: inherit;
}
.imgCenter{
  margin: auto;
  display: block;
}
.inner {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.inner-1120 {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.inner-1200 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.inner-1320 {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
section {
  margin: 10rem 0;
}
.back-bg{
  margin: 0;
}
.breadcrumbs {
  text-align: right;
  background: var(--Linear, linear-gradient(90deg, #ffbf77 0%, #ffd676 100%));
  font-size: 1.4rem;
  padding: 10px 5%;
}
.breadcrumbs a span,
.breadcrumbs a {
  font-size: 1.4rem;
}

.article-btn {
  text-align: right;
  margin-top: 2rem;
  position: relative;
  padding-right: 30px;
}
.article-btn::after {
  content: "";
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fb4368;
}
.article-btn::before {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: translateY(-50%) rotate(45deg);
  display: block;
  z-index: 2;
}

header{
  border-top: 10px solid #FFBF77;
  padding: 1px;
  width: 100%;
  background: #fff; 
  position: fixed ;
  top: 0;
  z-index: 100;
}
nav {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
nav .inner-1200  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
nav .inner-1200  > ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
nav .inner-1200 > ul li img:nth-child(1) {
  margin-right: 10px;
}

nav .inner-1200 > ul li button:nth-child(1) {
  background: none;
  border: none;
}

nav .inner-1200 > ul li.icon-img img:nth-child(1) {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

nav  ul.inner {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  justify-content: center;
  gap: 1rem;
}
ul.inner > li a:nth-child(1) {
  display: block;
  text-align: center;
  padding: 5px 0;

  
}
nav ul.inner > li > a {
  border-left: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 !important;
  position: relative;
}ul.inner > li.sp-sub_menu > ul li a{
  position: relative;
}
ul.inner > li.sp-sub_menu > ul li a::after{
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid #ffaa35;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  top: 50%;
  right: -11%;
  transform: translateY(-50%);
}
ul.inner > li:not(:first-child) > a {
  border-left: solid 1px;
}

ul.inner > li a img{
  display: none;
}
.sp-sub_menu > ul{
  display: none;
  background: rgba(255,255,255,0.9);
  position: fixed;
  padding: 2rem 3rem 2rem 2rem;
  width: 190px;
}
li.sp-sub_menu:nth-child(1) > ul:nth-child(2) > p{
  background: #FFBF77;
  width: fit-content;
  padding: 2px 1.2rem;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 1rem;
}
li.sp-sub_menu:nth-child(1) > ul:nth-child(2) > p:nth-of-type(2){
  margin-top: 2.5rem;
}
ul.inner > li a:nth-child(1) {
  text-align: left;
  font-size: 1.5rem;
}


footer {
  background: #ffe6b7;
}
footer h1 {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: solid 1px #000;
}

footer > div {
  padding: 5rem 0;
}
footer .inner-1120 > div {
  display: flex;
  gap: 6rem;
}
.footer_link ul > li {
  margin-bottom: 1.5rem;

}
.footer_link ul > li > a {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}
.footer_link ul > li >p{
  font-weight: bold;
  margin-top: 5px;
}
.footer_link ul:nth-child(1) > li > ul {
  display: flex;
  gap: 1rem;
}
.footer_link ul > li > ul > li{
  margin-bottom: 5px;

}
.footer_link ul > li > ul > li > a {
  font-size: 1.6rem;
  font-weight: normal;
}

.copyright {
  background: #ffbf77;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
}

.sns-contact-block {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: baseline;
}

.single-news_list,
.post-type-archive-news_list{
  background: url(../images/common/header-bg@2x.webp)no-repeat;
  background-size: 100%;
  background-position: top center;
}

.h-education > nav h1 {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.h-education > nav h1 a{
  display: flex;
  align-items: center;
  padding: 5px 0;
  justify-content: center;
  margin:
auto;
}


header.h-education {
  border: none;
  border-top: none;
  width: 1100px;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 2rem;
}
.h-education nav{
  margin: 0;
}
.h-education nav .Scroll-inner {
  display: grid;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  grid-template-columns: 1fr 2fr;
}
.h-education  ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;

}
.h-education  ul  li{
  height: 100%;
  border-left: solid 1px;
}
.h-education  ul  li a{
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;

}

.h-education  ul li.search02 a{
  background: #FF8462;
  padding: 0 1.5rem;
}
.h-education  ul li button{
  background: #fff;
  padding: 0 1.5rem;
  border: none;
  cursor: pointer;
  height: 100%;

}
.h-education  ul li button img{
  display: flex;
justify-content: center;
align-items: center;
}
.f-education {
  /* background: #ffe6b7; */
  background: #fff;
}

.f-education h1 {
  /* margin-bottom: 3rem; */
  /* border-bottom: solid 1px #000; */
  margin-bottom: 1rem;
  border: none;
}


.f-education > div:nth-child(1) {
  border-style: ;
  border-top: solid 1px;
  margin: 0 3%;
}
.f-education .inner-1120 > div:nth-child(2) > p:nth-child(1) {
  font-size: 1.4rem;
}

.f-education  .f-education-box2 > div{
  display: flex;
  gap: 2rem;
}
.f-education  .f-education-box2 > div:nth-of-type(1){
  justify-content: space-between;

}

.f-education-box2 > div:nth-child(3) > p:nth-child(2) > a:nth-child(1) {
  display: ;
  font-size: 2rem;
}

.f-education .f-education-box2 div h1 {
  margin-bottom: 0;
  margin-top: 3px;
  padding-bottom: 0;
}
.f-education .f-education-box2 div h1  img:nth-child(1) {
  width: 100px;
}

.f-education  .sns-contact-block {
 
  gap: 2rem;
}

.f-education .sns-contact-block > div a img:nth-child(1) {
  height: 30px;
  object-fit: contain;
}

.f-education > div:nth-child(1) > div:nth-child(1) > div:nth-child(3) > h1:nth-child(1) > a:nth-child(1) > img:nth-child(1) {
  width: 120px;
}
.f-education > div:nth-child(1) > div:nth-child(1) > div:nth-child(3) > p:nth-child(2) > a:nth-child(1) {
  font-size: 2rem;
}

.f-education  .inner-1120 > div {
  /* gap: 6rem; */
  gap: 2rem;
  display: block;
}
@media screen and (min-width: 736px) {  

  body.top{
    margin-top: 0 !important;
  }
.h-link,.sns-contact-block{
  display: none;
}
}
@page {
	size: A4 portrait;
	
}
@media print {
  header,footer,.top-btn,.bnr-img{
    display: none;
  }
  .textbook-toggle_block > div:nth-child(2) {
    display: block;
  }
  body.highschool_home .textbook-toggle_block h3:nth-child(1) {
    background: rgb(255, 207, 63);
  }
  body.calligraphy .textbook-toggle_block h3:nth-child(1) {
    background: rgb(204, 159, 255);
  }
  body.highschool_public .textbook-toggle_block h3:nth-child(1) {
    background:rgb(254, 234, 61);
  }
  body.junior_tech_home .textbook-toggle_block h3:nth-child(1) {
    background: rgb(162, 255, 146);
  }
  .single_faq dd{
    display: block;
  }
  .foot-contact{
    display: none;
  }
  .iframe-container{
    display: none;
  }
  .textbook-ttl{
    padding: 0; 
    background: none !important;
  }
  .single-textbook section{
    margin: 5rem 0
    ;
  }
.textbook-column dl {
  grid-template-columns: 1fr;
  gap: 0rem;
  margin-bottom: 3rem;
}

}