@charset "utf-8";
/* CSS Document */

html,body{
  font-family: 'Noto Self JP', serif;
  color: #333333;
}
button, input, select, textarea {
  font-family: 'Noto serif JP', serif;
}
serect {
  background: #FFFFFF;
  color: #333333;
}

/* 追尾ヘッダー用　*/
main{
  padding-top: 110px;
}

@media (max-width:1250px) {
  html {
    scroll-padding-top: 50px;
  }
  main {
    padding-top: 50px;
  }
}

/*　セクション　*/
.section {
  padding-top: 100px;
}

@media (max-width:767px) {
  .section {
    padding-top: 60px;
  }
}

/* リンクボタン 山崎塾について*/
.link_text {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
}
.link_text a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:#128B8E;
  color: #FFFFFF;
  padding: 12px 11px;
  text-decoration: none;
}
.link_text img {
  margin-left: 5px;
  flex-shrink: 0;
}
.link_text a:hover{
  background: #67B5B7;
}

@media (max-width:767px){
  .link_text {
    margin: 30px 0;
    font-size: 14px;
  }
  .link_text a{
    padding: 10px 12px;
  }
  .link_text img {
    width: 17px;
  } 
}

/* リンクボタン　その他 */
.link {
  margin-left: 60px;
  margin-top: 40px;
  font-size: 18px;
}
.link a{
  align-items: center;
  justify-content: center;
  display: inline-flex;
  background:#128B8E;
  color: #FFFFFF;
  padding: 12px 11px;
  text-decoration: none;
}
.link img {
  margin-left: 5px;
  flex-shrink: 0;
}
.link a:hover{
  background: #67B5B7;
}
  
  @media (max-width:767px) {
    .link {
      margin: 30px 0;
      text-align: center;
      font-size: 14px;
    }
  .link a{
    padding: 10px 12px;
    text-decoration: none;
  }
  .link img {
    width: 17px;
  }
}

/* コンテナ　*/
.container {
  max-width: 1246px;
  width: calc(100% - (20px * 2));
  margin: 0 auto;
}


/* 見出し　山崎塾についてと入塾に関するお問い合わせについて */
.title_section-element {
  text-align: center;
  margin-bottom: 20px;
}
.title_section-element {
  display: block;
  font-size: 32px;
  font-weight: bold;
}

@media (max-width:767px) {
  .title_section-element {
    margin-bottom: 15px;
    font-size: 20px;
  }
}

/* 見出し その他*/
.title_section {
  text-align: center;
  margin-bottom: 40px;
}
.title_section {
  display: block;
  font-size: 32px;
  font-weight: bold;
}
  
@media (max-width:767px) {
  .title_section {
    margin-bottom: 25px;
    font-size: 20px;
  }
}

/* ヘッダー */
.header {
  display: flex;
  width:100%;
  height: 110px;
  background: #67B5B7;
  border-bottom: 2px solid #FFFFFF;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
}
  
@media (max-width:1250px) {
  .header {
    height:50px;
    z-index: 10;
  }
}

/*　ハンバーガーボタン　*/
.header_hamburger{
  display: none;
}
  
@media (max-width:1250px) {
  .header_hamburger {
    display: block;
    width: 50px;
    height: 50px;
    background: #128B8E;
    border: none;
    position: relative;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
  }
  .header_hamburger span {
    display: block;
    width: 20px;
    height: 1px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }
  .header_hamburger span:nth-child(1) {
    background: #FFFFFF;
    top:-16px;
    transition: opacity .3s;
  }
  .header_hamburger span:nth-child(3) {
    background: #FFFFFF;
    bottom:-16px;
    transition: opacity .3s;
  }
  .header_hamburger span:nth-child(2)::before,
  .header_hamburger span:nth-child(2)::after {
    content:'';
    display: block;
    width: 20px;
    height: 1px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: transform .3s;
    transform-origin: center;
  }
  .header_hamburger:hover{
    background: #67B5B7;
  }
}

/* メニュー */
.header_menu {
  display: flex;
  align-items: center;
}
  
@media (max-width:1250px) {
  .header_menu .header_nav {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: #128B8E;
    text-align: center;
  }
}

/* ヘッダー名前 */
.header_name .span {
  flex-direction: column;
}
.location {
  display: block;
  font-size: 14px;
  margin: 0 35px;
  text-decoration: none;
  color: #333333;
}
.name {
  display: block;
  font-size: 41px;
  font-weight: bold;
  margin:0 30px;
  text-decoration: none;
  color: #333333;
}
.header_name a{
  text-decoration: none;
}
.header_name:hover{
  color: #FFFFFF;
}
  
@media (max-width:1250px){
  .location {
    font-size: 12px;
    margin: 0 30px; 
  }
  .name {
    font-size: 22px;
    margin: 0 45px;
  }
}
/* ナビゲーションリスト */
.header_nav-list {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-right: 40px;
  font-size: 17px;
  font-weight: bold;
}
.header_nav-item a {
  color: #333333;
  text-decoration: none;
}
.header_nav-item a:hover {
  color: #FFFFFF;
}
.header_tel-sp {
  display: none;
}

@media (max-width:1250px){
.header_tel-sp {
  display: block;
}
  
  .header_nav-list {
    flex-direction: column;
  }
  .header_nav-item a{
    color: #FFFFFF;
  }
  .header_nav-item a:hover {
    color: #939393;
  }
}

/* ヘッダーメール */
.header_mail {
  background: #C05E60;
  padding: 0 20px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
}
.header_mail h2{
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: bold;
}
.header_mail-a{
  text-decoration: none;
}
.header_mail:hover{
  background: #DE7F7E;
}
  
@media (max-width:1250px) {
  .header_mail {
    padding: 0 5px;
    height:50px;
    width: 100px;
    z-index: 10;
    }
  .header_mail h2{
    color: #FFFFFF;
    font-size: 11px;
    margin-bottom: 5px;
  }
  .header_mail img{
    width: 20px;
  }
}

/* ヘッダー電話リンク */
.header_tel {
  color: #FFFFFF;
  background: #128B8E;
  padding: 25px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-decoration: none;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
}
.header_tel:hover {
  background: #67B5B7;
}
.header_tel-number {
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.header_tel img {
  width: 22px;
  margin-right: 3px;
}
.header_tel-sp{
  display: none;
}

@media (max-width:1250px){
    .header_tel {
      display: none;
    }
    .header_tel-sp {
      display: inline-flex;
      padding: 20px 70px;
      font-size: 21px;
      margin: 40px 0;
      font-weight: bold;
      color: #FFFFFF;
      border-radius: 20px;
      border: 1px solid #FFFFFF;
      background:#C05E60;
      text-decoration: none;
      flex-direction: column;
  }
  .header_tel-number-sp img {
    margin-bottom: 7px;
  }
  .header_information-item-sp {
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 7px;
    font-size: 15px;
  }
  .header_information-item-sp dt::after {
    content: ':';
  }
  .header_tel-sp:hover{
    background: #DE7F7E
  }
}

/* ヘッダー電話リンク 塾長 */
.header_information-item {
  display: flex;
  column-gap: 0.5em;
  font-size: 15px;
}
.header_information-item dt::after {
  content: ':';
}

/* スマホメニューを開いたときの設定　*/
@media (max-width:1250px) {
  .is-spMenuOpen .header_nav {
    display: block;
  }
  .is-spMenuOpen .header_hamburger span:nth-child(1),
  .is-spMenuOpen .header_hamburger span:nth-child(3) {
    opacity: 0;
  } 
  .is-spMenuOpen .header_hamburger span:nth-child(2)::before {
    transform: rotate(45deg);
  }
  .is-spMenuOpen .header_hamburger span:nth-child(2)::after {
    transform: rotate(-45deg);
  }
}

/* フッター　*/
.footer {
  background: #67B5B7;
  padding: 40px 0;
  position: relative;
  z-index: 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  gap:40px;
}
  
@media (max-width: 1250px) {
  .footer {
    padding: 20px 0;
  }
  .footer .container {
    display: block;
    gap: 0px;
  }
}

/* フッター　山崎塾 */
.footer_information .span {
  flex-direction: column;
}
.footer_information .location{
  font-weight: bold;
}
.footer_information .name{
  font-size: 41px;
  font-weight: bold;
}
.footer_information a{
  text-decoration: none;
}
@media (max-width:1250px) {
  .footer_information .name{
    font-size: 22px;
  }
}
.footer_information .name{
  font-size: 22px;
}

/* フッター　住所　*/
.footer_address {
  margin-top: 20px;
  font-style:normal;
}
  
@media (max-width:1250px) {
  .footer_address {
    font-size: 14px;
  }
}

/* フッター　電話リンク　*/
.footer_tel {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  margin-top: 20px;
  color: #333333;
  font-weight: bold;
  font-size: 21px;
  text-decoration: none;
}
.footer_tel:hover{
  color: #FFFFFF;
}
.footer_tel img{
  width: 22px;
  margin-right: 3px;
  flex-shrink: 0;
}

@media (max-width:1250px) {
  .footer_tel {
  font-size: 18px;
  text-align: left;
  }
  .footer_tel img{
    width: 19px;
  }
}

/* 塾長名 */
.footer_access_name-item {
  display: flex;
  margin-top: 7px;
  margin-left: 30px;
}
.footer_access_name-item dt::after {
  content: ':';
}

/* フッター　メール */
.footer_access_contact {
  text-align: center;
  margin-top: 20px;
}
.footer_access_contact a {
  font-size: 17px;
  color: #333333;
}
.footer_access_contact a:hover {
  color: #939393;
  text-decoration: none;
}
.footer_access_contact img{
  margin-right: 7px;
  width: 27px;
}

@media (max-width:1250px) {
  .footer_access_contact {
    text-align: left;
  }
  .footer_access_contact a {
    font-size: 16px;
  }
  .footer_access_contact img{
    width: 23px;
  }
}

/* フッター　ナビゲーション　*/
.footer_nav-list {
  display: flex;
  font-weight: bold;
  gap: 30px 40px;
  flex-wrap: wrap;
}
.footer_nav-item a{
  color: #333333;
  text-decoration: none;
}
.footer_nav-item a:hover{
  color: #FFFFFF;
}

@media (max-width:1250px){
  .footer_nav-list {
    gap: 20px 30px;
  }
}

/* フッター　お問い合わせ */
.footer_contact a{
  margin: 80px 95px;
  font-size: 21px;
  font-weight: bold;
  color: #FFFFFF;
  border-radius: 20px;
  display: inline-flex;
  border: 1px solid #FFFFFF;
  background:#C05E60;
  padding: 25px 85px;
  text-decoration: none;
}
.letter_footer {
  width: 30px;
  margin-left: 20px;
}
.footer_contact a:hover{
  background: #DE7F7E;
}

@media (max-width:1250px){
  .footer_contact a{
    margin: 40px 0;
    text-align: center;
    padding: 15px 34px;
  }
  .letter_footer {
    width: 30px;
    height: 30px;
  }
}

/* フッター　コピーライト*/
.footer_copyright {
  font-size: 12px;
}

.footer_information {
  flex-shrink: 0;
}

.footer_contents {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}
  
@media (max-width:1250px) {
  .footer_copyright {
    margin-top: 60px;
    align-self: center;
  }
  .footer_contents {
    align-items: flex-start;
  }
}

/* sp版フッターコンテンツ並び順 */
@media (max-width:1250px) {
  .footer_contact {
    order: 1;
  }
  .footer_nav {
    order: 2;
  }
  .footer_copyright {
    order: 3;
  }
}

/* フッター　トップページに戻る */
.footer_pagetop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #C05E60;
  position: absolute;
  right: 30px;
  top:-90px;
}
.footer_pagetop:hover {
  background: #DE7F7E;
}

@media (max-width:767px) {
  .footer_pagetop {
    width: 60px;
    height: 60px;
    right: 0;
    top: -60px;
  }
}

/* パンくず　*/
.pankuzu {
  padding: 10px 0;
}
.pankuzu_list {
  display: flex;
  font-size: 12px;
}
.pankuzu_list-item:not(:last-child) {
  position: relative;
  z-index: 0;
  padding-right: 1.4em;
}
.pankuzu_list-item:not(:last-child)::after {
  content: '';
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-top: 1px solid #707070;
  border-right: 1px solid #707070;
  transform: rotate(45deg);
  position: absolute;
  right: 0.5em;
  top: 0;
  bottom: 0;
  margin: auto;
}
.pankuzu_list-link {
  color: #333333;
  text-decoration-color: inherit;
}
.pankuzu_list-link:hover {
  color: #00AA00;
}
.pankuzu_list-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  padding-bottom: 2px;
  margin-bottom: -2px;
}
.pankuzu_list-item:last-child {
  overflow: hidden;
}
@media (max-width:767px) {
  .pankuzu_list {
    font-size: 10px;
  }
}

/* ページヒーロー　*/
.page_hero {
  padding: 30px 0 60px;
}
.page_hero .title_section {
  margin-bottom: 0;
}
@media (max-width:767px) {
  .page_hero {
    padding: 20px 0 50px;
  }
}
