@charset "utf-8";

/*
Theme Name: アドダス
Author: アドダス
Author URI: https://addas.jp
Description: Bootstrap5@Webpack
*/

body {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  color: #333;
}

a {
  text-decoration: none;
}

.border-brown {
  border: solid 2px #fffbe6;
}

.border-brown-thin {
  border: solid 2px #e1c035;
}

.bg-brown {
  background-color: #fffbe6;
}

.bg-brown-thin {
  background-color: #e1c035;
}

.text-gold {
    color:#e1c035;
}

@media (min-width: 1200px) {
  .container-2 {
    max-width: 1000px;
    margin: 0 auto;
  }
}

/*ロゴ*/
.header-logo {
  width: 20%;
  min-width: 265px;
  aspect-ratio: 305/48;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  text-indent: -9999em;
  background-image: url(img/logo.png);
  margin-bottom: 0;
  position: relative;
  z-index: 9999;
}

@media (max-width: 576px) {
  .header-logo {
    width: 220px;
    min-width: 220px;
  }
}

/*
*ヘッダーナビ
*/
@media (min-width: 992px) {
  .navbar {
    padding: 24px 0;
  }

  .header-nav ul {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content: space-between;
  }

  .header-nav ul li {
    list-style: none;
    margin: 0 8px;
    font-size: 16px;
  }

  .header-nav ul li a {
    position: relative;
    text-decoration: none;
    padding: 4px 0;
  }

  .header-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease-in-out;
  }

  .header-nav ul li a:hover::after {
    width: 100%;
  }

  #menu-global-menu {
    width: 100%;
  }
}

@media (min-width: 1400px) {
  .navbar {
    padding: 24px 4%;
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .navbar {
    padding: 24px 2%;
  }
}

/*ヘッダースマホ*/
.openbtn {
  position: relative;
  z-index: 9999; /* ボタンを最前面に */
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

/* ×マークに変化 */
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

@media (max-width: 991px) {
  .header-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh; /*ナビの高さ*/
    background: #fffbe6;
    /*動き*/
    transition: all 0.6s;
  }

  /*アクティブクラスがついたら位置を0に*/
  .header-nav.panelactive {
    top: 0;
  }

  /*ナビゲーションの縦スクロール*/
  .hader-nav.panelactive #navbarSupportedContent {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav ul {
    list-style: none;
    padding-top: 100px;
    padding-left: 0;
    width: 95%;
    margin-right: auto;
    margin-left: auto;
  }

  .header-nav ul li {
    list-style: none;
  }

  .header-nav li a {
    position: relative;
    display: block;
    padding: 12px 0 12px 12px;
    border-bottom: solid 1px #666;
    color: #333;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
  }

  .header-nav li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #e1c035;
    transition: left 0.3s ease-in-out;
    z-index: -1;
  }

  .header-nav li a:hover {
    color: #fff;
  }

  .header-nav li a:hover::before {
    left: 0;
  }
}

/*
スライダー
*/
.slider {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.slick-slide img {
  width: 100%;
}

/*
.動く文字
*/
.moving-text {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.moving-text p {
  color: #fff;
  font-weight: bold;
  font-size: 42px;
  white-space: nowrap;
  margin-bottom: 0;
}

/*
*フッター
*/
#area-footer {
  background-color: #f9f2d9;
}

.footer-school-link {
  padding: 16px;
  font-size: 14px;
}

/*
*ページタイトル
*/
#area-page-title {
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  aspect-ratio: 5/1;
}

@media (max-width: 991px) and (min-width: 576px) {
  #area-page-title {
    aspect-ratio: 3/1;
  }
}

@media (max-width: 575px) {
  #area-page-title {
    aspect-ratio: 3/1;
  }
}

#area-page-title .rayout-title {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#area-page-title .rayout-title h1 {
  font-size: 28px;
  color: #e1c035;
  font-weight: bold;
}

@media (max-width: 991px) and (min-width: 576px) {
  #area-page-title .rayout-title h1 {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  #area-page-title .rayout-title h1 {
    font-size: 22px;
  }
}

#area-page-title .rayout-title h1 span {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 12px;
  display: block;
  white-space: nowrap;
}

#area-page-title .rayout-title i {
  font-style: normal;
}

/*
*見出し
*/

h2.title {
  font-weight: bold;
  padding-bottom: 0.7em;
  text-align: center;
  position: relative;
}
h2.title::after {
  content: "";
  position: absolute;
  border-bottom: 10px dotted #e1c035;
  width: 50px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

h3.title-2 {
  font-weight: bold;
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 991px) and (min-width: 576px) {
  h3.title-2 {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  h3.title-2 {
    font-size: 18px;
  }
}

/*
*ボタン
*/
.btn-rayout {
  width: 280px;
  max-width: 100%;
  text-align: center;
  padding: 12px 16px;
  display: block;
  margin: 0 auto;
  color: #333;
  position: relative;
}

.btn-rayout p {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 0px;
}

.btn-rayout i {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

a.btn-rayout:hover i {
  transform: translateY(-50%) translateX(5px);
}

a.btn-rayout:hover {
  color: #333;
}

/*
*ホーム
*/

/*コンテンツ3 スライド*/
.slick-front-3 {
  width: calc(100% - 70px);
  margin: 0 auto;
  padding: 0;
  line-height: 0;
}

.slide-voice-post .slick-next:before,
.slide-voice-post .slick-prev:before {
  color: #333 !important;
  font-size: 25px;
}

.slide-voice-post .slick-prev {
  left: -30px;
  width: 25px;
  height: 25px;
}

.slide-voice-post .slick-next {
  right: -30px;
  width: 25px;
  height: 25px;
}

.slide-voice-rayout {
  padding: 0 12px;
}

/*お知らせ*/
ul.news-list {
  width: 100%;
  list-style: none;
  padding-left: 0;
}

ul.news-list li:first-child a {
  border-top: solid 1px #333;
}

ul.news-list li a {
  padding: 12px 8px;
  position: relative;
  border-bottom: solid 1px #333;
  display: flex;
  overflow: hidden;
}

ul.news-list li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #e1c035;
  transition: transform 0.3s ease-in-out;
}

ul.news-list li a:hover::before {
  transform: translateX(100%);
}

ul.news-list li p {
  margin-bottom: 0;
  color: #333;
  position: relative;
  z-index: 2;
}

ul.news-list li a:hover p {
  color: #fff;
}

ul.news-list li a .time {
  width: 15%;
  min-width: 100px;
  color: #333;
  position: relative;
  z-index: 2;
}

ul.news-list li a:hover .time {
  color: #fff;
}

/*
*求人ページ
*/
.recruit-post {
  background-color: #fffbe6;
  color: #333;
  padding: 16px 30px 16px 24px;
  line-height: 1;
}

.recruit-post .recruit-new {
  min-width: 50px;
  width: 12%;
  font-weight: bold;
}

.recruit-post .recruit-new p {
  color: #e1c035;
}

.recruit-post h3 {
  margin-bottom: 0;
  font-size: 18px;
  color: #333;
}

.recruit-post .recruit-arrow {
  position: absolute;
  color: #333;
  font-size: 18px;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

a.recruit-post:hover .recruit-arrow {
  transform: translateY(-50%) translateX(5px);
}

/*
*卒業生の活躍
*/
.voice-post-rayout {
  padding: 24px;
  border: solid 2px #e1c035;
}

.voice-btn {
  width: 280px;
  max-width: 100%;
  text-align: center;
  padding: 4px 16px;
  display: block;
  margin: 0 auto;
  background-color: #fffbe6;
  color: #333;
  position: relative;
}

.voice-btn p {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 0px;
}

.voice-btn i {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

a.voice-btn:hover i {
  transform: translateY(-50%) translateX(5px);
}

a.voice-btn:hover {
  color: #333;
}

/*
*アーカイブページ
*/
.archive-post-list article:first-child {
  border-top: solid 1px #333;
}

.archive-post-list article {
  padding: 12px 8px;
  position: relative;
  border-bottom: solid 1px #333;
  display: flex;
  overflow: hidden;
}

.archive-post-list article::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #fffbe6;
  transition: transform 0.3s ease-in-out;
}

.archive-post-list article:hover::before {
  transform: translateX(100%);
}

.archive-post-list article a {
  color: #333;
  position: relative;
  z-index: 2;
  width: 100%;
}

.archive-post-list article .time {
  width: 15%;
  min-width: 100px;
  color: #333;
}

.archive-post-list article .time {
  margin-bottom: 0;
}

table.contact-form {
  width: 100%;
}

@media (min-width:768px){
  table.contact-form th {
    width: 40%;
    padding: 12px;
    background-color: rgb(249, 242, 217);
    border-right:dashed 1px #333;
    border-left:solid 1px #333;
  }

  table.contact-form td {
    width: 60%;
    padding: 12px;
    border-right:solid 1px #333;
  }
}

@media (max-width:767px){
  table.contact-form th {
    width: 100%;
    display:block;
    padding: 12px;
    background-color: rgb(249, 242, 217);
  }

  table.contact-form td {
    width: 100%;
    padding: 12px;
    display:block;
  }
}

table.contact-form tr {
  border-bottom:solid 1px #333;
}

table.contact-form tr:first-child {
  border-top:solid 1px #333;
}

table.contact-form .wpcf7-form-control {
  width: 100%;
}

.submit-btn p{
  text-align: center;
}

.submit-btn .wpcf7-submit {
  border: none;
  background-color: rgb(249, 242, 217);
  color: #333;
  padding: 8px 48px;
}

.submit-btn .wpcf7-spinner {
  display: none !important;
}
